Condition Coverage

blib/lib/Math/Symbolic/Custom/ToTallString.pm
Criterion Covered Total %
condition 85 106 80.1


and 2 conditions

line l !l condition
445 16 85 $i >= $f1_h_offset and scalar @frag1_rows
453 5 96 $i >= $f2_h_offset and scalar @frag2_rows

and 3 conditions

line !l l&&!r l&&r condition
87 0 0 30 defined $pretty and ref $pretty eq "ARRAY"
157 0 1 1 $op_info->{'prefix_string'} eq "log" and $t->op1->term_type == 1
1 1 0 $op_info->{'prefix_string'} eq "log" and $t->op1->term_type == 1 and $t->op1->{'special'} eq "euler"
232 8 0 22 defined $p and $p->term_type == 0
8 20 2 defined $p and $p->term_type == 0 and $p->type == 7
246 16 5 1 $t->op2->term_type == 1 and $t->op2->value == "0.5"
9 7 5 $t->op2->term_type == 0 and $t->op2->type == 3
16 1 4 $t->op2->term_type == 0 and $t->op2->type == 3 and $t->op2->op1->term_type == 1
8 1 3 $t->op2->term_type == 0 and $t->op2->type == 3 and $t->op2->op1->term_type == 1 and $t->op2->op1->value == 1
2 0 3 $t->op2->term_type == 0 and $t->op2->type == 3 and $t->op2->op1->term_type == 1 and $t->op2->op1->value == 1 and $t->op2->op2->term_type == 1
1 0 3 $t->op2->term_type == 0 and $t->op2->type == 3 and $t->op2->op1->term_type == 1 and $t->op2->op1->value == 1 and $t->op2->op2->term_type == 1 and $t->op2->op2->value == 2
386 9 4 26 _is_all_operator($t, [0, 1, 2, 4, 7]) and _is_expanded($t)
403 0 0 5 $new_h > 1 and $new_h % 2 == 0
410 0 7 6 $new_h > 1 and $new_h % 2 == 0
423 0 5 14 $h1 == 1 and $h2 == 1
3 2 0 $t->op1->term_type == 0 and $t->op1->type == 7
0 2 3 $t->op2->term_type == 0 and $t->op2->type == 7
473 13 0 43 defined $p and $p->term_type == 0
13 34 9 defined $p and $p->term_type == 0 and $p->type == 7
474 13 0 43 defined $p and $p->term_type == 0
13 29 14 defined $p and $p->term_type == 0 and $p->type == 3
475 13 42 1 defined $p and $p->arity == 1
476 13 42 1 defined $op and $op eq 'ln' || $op eq 'sqrt'
498 0 185 4 defined $op->{'prefix_string'} and not defined $op->{'infix_string'}
523 0 64 2 defined $op->{'prefix_string'} and not defined $op->{'infix_string'}
527 44 20 0 $flag and $t->type == 0 || $t->type == 1

or 3 conditions

line l !l&&r !l&&!r condition
246 1 9 12 $t->op2->term_type == 1 and $t->op2->value == "0.5" or $t->op2->term_type == 0 and $t->op2->type == 3 and $t->op2->op1->term_type == 1 and $t->op2->op1->value == 1 and $t->op2->op2->term_type == 1 and $t->op2->op2->value == 2
318 1 2 0 $t->op1->term_type == 2 or $t->op1->term_type == 1
383 4 14 21 _is_all_operator($t, 2) or _is_all_operator($t, 0)
476 0 1 42 $op eq 'ln' || $op eq 'sqrt'
494 69 74 189 $t->term_type == 1 or $t->term_type == 2
520 41 40 66 $t->term_type == 1 or $t->term_type == 2
527 4 0 16 $t->type == 0 || $t->type == 1
531 17 3 40 $t->type == 2 or $t->type == 1