Condition Coverage

blib/lib/Math/Int2Base.pm
Criterion Covered Total %
condition 23 27 85.1


or 2 conditions

line l !l condition
24 130 4 $num ||= 0
25 134 0 $base ||= 10
26 11 123 $minlen ||= 1
46 65 3 $num ||= 0
47 68 0 $base ||= 10
65 2 0 $base ||= 10

or 3 conditions

line l !l&&r !l&&!r condition
28 1 1 132 $num < 0 or $base < 2
2 1 131 $num < 0 or $base < 2 or $MaxBase < $base
2 1 130 $num < 0 or $base < 2 or $MaxBase < $base or $minlen < 1
50 3 0 65 not $num =~ /^[$chars]+$/ or $base < 2
3 1 64 not $num =~ /^[$chars]+$/ or $base < 2 or $MaxBase < $base