Condition Coverage

blib/lib/sanity/BaseCalc.pm
Criterion Covered Total %
condition 2 28 7.1


and 3 conditions

line !l l&&!r l&&r condition
76 0 0 0 $nc and $str =~ s/^\Q$nc\E//
82 0 0 0 $fc && $str =~ /\Q$fc\E/
104 0 0 0 $fc and $str =~ s/^(.*)\Q$fc\E(.*)$/$1$2/
144 0 0 0 $is_dec and $$self{'radix_char'}
167 0 0 0 $num != 0 || $i >= 0 and $i > -1024

or 2 conditions

line l !l condition
28 0 2 $opts{'neg_char'} || '-'
29 0 2 $opts{'radix_char'} || '.'

or 3 conditions

line l !l&&r !l&&!r condition
93 0 0 0 $is_dec or not $$self{'digitset_name'}
151 0 0 0 $is_dec or not $$self{'digitset_name'}
167 0 0 0 $num != 0 || $i >= 0