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
77 0 0 0 $nc and $str =~ s/^\Q$nc\E//
83 0 0 0 $fc && $str =~ /\Q$fc\E/
105 0 0 0 $fc and $str =~ s/^(.*)\Q$fc\E(.*)$/$1$2/
145 0 0 0 $is_dec and $$self{'radix_char'}
168 0 0 0 $num != 0 || $i >= 0 and $i > -1024

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
94 0 0 0 $is_dec or not $$self{'digitset_name'}
152 0 0 0 $is_dec or not $$self{'digitset_name'}
168 0 0 0 $num != 0 || $i >= 0