Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
126 161 7 2 $N == 0 and $n == 1
135 4 3 38 $dec ne '' and $dec > 0
149 50 77 16 $n < $sig and substr($num, $n + 2, 1) eq '5'
297 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
223 82 641 $1 || ''

or 3 conditions

line l !l&&r !l&&!r condition
112 1 1 6 not defined $n2 or $n2 == 0
121 2 1 171 not $n =~ /^\d+$/ or $n == 0