Condition Coverage

blib/lib/Math/SigFigs.pm
Criterion Covered Total %
condition 39 39 100.0


and 3 conditions

line !l l&&!r l&&r condition
110 1 1 7 defined $n1 && defined $n2
140 1 2 208 defined $N and $n =~ /^\d+$/
3 1 207 defined $N and $n =~ /^\d+$/ and $n > 0
224 15 6 13 $l == 0 and $m == length $ret

or 3 conditions

line l !l&&r !l&&!r condition
34 58 1 1 defined $n1 or defined $n2
94 17 1 1 defined $n1 or defined $n2
109 8 1 1 defined $n1 or defined $n2
110 2 1 6 not defined $n1 && defined $n2 or $n1 == 0
3 1 5 not defined $n1 && defined $n2 or $n1 == 0 or $n2 == 0
123 8 1 1 defined $n1 or defined $n2
124 1 1 7 not defined $n1 or $n1 == 0
125 1 1 5 not defined $n2 or $n2 == 0
313 189 532 1 $n =~ /^\s*([+-]?)\s*0*(\.\d+)\s*$/ or $n =~ /^\s*([+-]?)\s*0*(\d+\.?\d*)\s*$/