Condition Coverage

blib/lib/Math/SigDig.pm
Criterion Covered Total %
condition 11 24 45.8


and 3 conditions

line !l l&&!r l&&r condition
56 2 2 0 $places > 0 && $_[2]
60 0 0 9 defined $places && $places =~ /\d/u
202 1 0 0 $pad > $cur_sig_dig and not $new_num =~ /\./u
236 9 1 1 $nowholetail and not $num =~ /\./u

or 3 conditions

line l !l&&r !l&&!r condition
60 0 0 9 not defined $places && $places =~ /\d/u or $places =~ /\D/u
0 0 9 not defined $places && $places =~ /\d/u or $places =~ /\D/u or $places < 0
101 0 0 6 $num =~ /[^0-9\.+\-]/u or $num =~ /\..*\./u
0 0 6 $num =~ /[^0-9\.+\-]/u or $num =~ /\..*\./u or $num =~ /.[+\-]/u