Condition Coverage

blib/lib/Math/Symbolic/Operator.pm
Criterion Covered Total %
condition 64 87 73.5


and 3 conditions

line !l l&&!r l&&r condition
385 5691 564 2979 @_ and not ref $_[0] eq 'HASH'
473 77 280 169 defined $string_type and $string_type eq 'prefix'
612 0 0 0 $o2->term_type == 1 and $o2->value == 0 || $o2->special eq 'zero'
624 630 15 231 $tt2 == 1 and $tt1 == 0
645 39 192 $tt2 == 1 and $tt1 == 0 and $type == 7
54 192 0 $tt2 == 1 and $tt1 == 0 and $type == 7 and $o2->value == 0
633 630 41 205 $tt2 == 1 and $type == 7
671 205 0 $tt2 == 1 and $type == 7 and $o2->value == 1 || $o2->special eq 'one'
641 630 15 225 $tt2 == 1 and $tt1 == 0
645 39 186 $tt2 == 1 and $tt1 == 0 and $type == 7
54 175 11 $tt2 == 1 and $tt1 == 0 and $type == 7 and $o1->type == 7
687 0 2 0 $constant_first and $const->value == 0
702 59 129 39 $not_c->term_type == 0 and $not_c->type == 2
188 39 0 $not_c->term_type == 0 and $not_c->type == 2 and $not_c->op1->term_type == 1 || $not_c->op2->term_type == 1
59 113 35 $not_c->term_type == 0 and $not_c->type == 3
172 28 7 $not_c->term_type == 0 and $not_c->type == 3 and $not_c->op1->term_type == 1
729 31 0 0 not $constant_first and $const->value == 1
732 31 0 0 not $constant_first and $const->value == 0
741 5 176 7 $tt1 == 0 and $tt2 == 2
807 62 0 0 $tl == 2 and $tr == 1
61 0 1 $tr == 2 and $tl == 1
849 30 0 0 defined $const and $const != 0
967 4554 201 0 $op_type == 3 and $_[1] == 0

or 3 conditions

line l !l&&r !l&&!r condition
383 6112 3122 0 ref $proto || $proto
612 0 0 0 $o2->value == 0 || $o2->special eq 'zero'
633 0 6 199 $o2->value == 1 || $o2->special eq 'one'
671 279 229 351 $tt1 == 1 or $tt2 == 1
702 10 10 19 $not_c->op1->term_type == 1 || $not_c->op2->term_type == 1
863 70 3 141 $in == $out or not defined $ops[$in]