Condition Coverage

blib/lib/Lingua/NOR/Num2Word.pm
Criterion Covered Total %
condition 19 25 76.0


and 3 conditions

line !l l&&!r l&&r condition
68 50 0 1 defined $2 and $2 > 0
112 2 4 2 $reminder < 100 and $reminder != 0
114 7 0 1 $tmp3 == 1 and $tmp2 == 1
135 1 2 1 $reminder < 100000 and $reminder != 0
137 3 0 1 $tmp3 == 1 and $tmp2 == 1

or 2 conditions

line l !l condition
48 1 1 $singleton ||= bless({}, $class)
61 52 1 shift() // (return $result)

or 3 conditions

line l !l&&r !l&&!r condition
47 0 2 0 ref $invocant || $invocant
68 1 0 51 $number < 0 or defined $2 and $2 > 0