Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
103 9 6 1 $div and $n2 == 0
118 161 7 2 $N == 0 and $n == 1
127 4 3 38 $dec ne '' and $dec > 0
141 50 77 16 $n < $sig and substr($num, $n + 2, 1) eq '5'
286 133 67 48 $lsp == 0 and $int =~ /0$/
200 14 34 $lsp == 0 and $int =~ /0$/ and $int ne '0'

or 2 conditions

line l !l condition
217 82 641 $1 || ''

or 3 conditions

line l !l&&r !l&&!r condition
103 2 1 15 not defined $n2 or $div and $n2 == 0
113 2 1 171 not $n =~ /^\d+$/ or $n == 0
291 50 23 640 $num == 0 or $s eq '+'