Condition Coverage

blib/lib/Math/Symbolic/Custom/DefaultTests.pm
Criterion Covered Total %
condition 39 60 65.0


and 3 conditions

line !l l&&!r l&&r condition
260 0 0 109 defined $sp1 and defined $sp2
0 3 106 defined $sp1 and defined $sp2 and $sp1 eq $sp2
3 105 1 defined $sp1 and defined $sp2 and $sp1 eq $sp2 and $sp1 ne ""
108 0 1 defined $sp1 and defined $sp2 and $sp1 eq $sp2 and $sp1 ne "" and $sp1 =~ /\S/
319 0 2 4 $tt1 == 0 && $o1->type == 7
321 0 3 3 $tt2 == 0 && $o2->type == 7
455 10 23 0 not ref($t2) =~ /^Math::Symbolic/ and ref $t2 ne "CODE"
482 600 340 1680 $limits->{$_} and not $limits->{$_}->($num)

or 2 conditions

line l !l condition
462 16 17 $args{'limits'} || {}
463 0 33 $args{'tests'} || 20
464 0 33 $args{'epsilon'} || 1e-07
465 0 33 $args{'retries'} || 5
466 0 33 $args{'upper'} || 10
467 0 33 $args{'lower'} || -10

or 3 conditions

line l !l&&r !l&&!r condition
357 3 1 11 $ttype == 1 or $ttype == 2
362 2 1 8 $type == 0 or $type == 1
3 1 7 $type == 0 or $type == 1 or $type == 4
1 0 0 $type == 5 or $type == 6
370 5 0 1 $tree->{'operands'}[0]->is_integer || $tree->{'operands'}[1]->is_integer
380 0 0 1 $ttype == 1 or $ttype == 2
385 0 0 1 $type == 5 or $type == 6
521 0 0 660 $y1 + $eps < $y2 or $y1 - $eps > $y2