Condition Coverage

blib/lib/Math/Symbolic/Custom/ToShorterString.pm
Criterion Covered Total %
condition 58 69 84.0


and 3 conditions

line !l l&&!r l&&r condition
97 538 52 342 _is_all_operator($t, [0, 1, 2]) and _is_expanded($t)
114 0 2 10 $op_info->{'prefix_string'} eq "log" and $t->op1->term_type == 1
2 9 1 $op_info->{'prefix_string'} eq "log" and $t->op1->term_type == 1 and $t->op1->{'special'} eq "euler"
129 59 103 12 $t->op2->term_type == 1 and $t->op2->value == "0.5"
130 30 2 $t->op2->term_type == 0 and $t->op2->type == 3
160 2 0 $t->op2->term_type == 0 and $t->op2->type == 3 and $t->op2->op1->term_type == 1
32 0 0 $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 0 $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
0 0 0 $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
98 10 54 $t->op1->term_type == 1 and $t->op1->{'special'} eq "euler"
173 178 82 8 $t->op1->term_type == 0 && $t->op1->type == 7
528 8 260 $op_str eq "*" and not $t->op1->term_type == 0 && $t->op1->type == 7
216 0 3763 342 defined $op->{'prefix_string'} and not defined $op->{'infix_string'}
245 0 558 181 defined $op->{'prefix_string'} and not defined $op->{'infix_string'}
249 416 97 45 $flag and $t->type == 0 || $t->type == 1

or 3 conditions

line l !l&&r !l&&!r condition
84 684 475 1191 $t->term_type == 1 or $t->term_type == 2
93 165 87 680 _is_all_operator($t, 2) or _is_all_operator($t, 0)
155 295 76 587 $op->term_type == 1 or $op->term_type == 2
173 108 770 26 $op_str eq "^" or $op_str eq "*" and not $t->op1->term_type == 0 && $t->op1->type == 7
212 987 587 4105 $t->term_type == 1 or $t->term_type == 2
242 361 276 739 $t->term_type == 1 or $t->term_type == 2
249 40 27 75 $t->type == 0 || $t->type == 1
253 221 93 177 $t->type == 2 or $t->type == 1