Condition Coverage

blib/lib/Lingua/NLD/Numbers.pm
Criterion Covered Total %
condition 38 63 60.3


and 3 conditions

line !l l&&!r l&&r condition
88 2 1 0 defined $$digits[10] and $$digits[10] != 0
2 1 0 defined $$digits[9] and $$digits[9] != 0
97 2 1 0 defined $$digits[8] and $$digits[8] != 0
98 0 0 0 $$digits[7] == 0 and $$digits[6] == 0
107 2 1 0 defined $$digits[7] and $$digits[7] != 0
2 1 0 defined $$digits[6] and $$digits[6] != 0
116 1 1 1 defined $$digits[5] and $$digits[5] != 0
117 1 0 0 $$digits[4] == 0 and $$digits[3] == 0
126 1 1 1 defined $$digits[4] and $$digits[4] != 0
1 1 0 defined $$digits[3] and $$digits[3] == 1
2 0 0 defined $$digits[3] and $$digits[3] == 1 and $number < 2000
1 1 0 defined $$digits[3] and $$digits[3] != 0
138 0 2 1 defined $$digits[2] and $$digits[2] == 1
0 1 1 defined $$digits[2] and $$digits[2] != 0
186 2 0 1 $$digits[0] == 0 and $$digits[1] == 0

or 2 conditions

line l !l condition
57 0 1 shift() || ''
74 3 1 shift() // (return '')
211 3 1 shift() || ' en '

or 3 conditions

line l !l&&r !l&&!r condition
186 0 0 2 $$digits[0] == 0 or $$digits[1] == 0
0 0 2 $$digits[0] == 0 or $$digits[1] == 0 or $$digits[1] == 1
214 3 0 1 $units or $tens
218 0 0 3 $tens == 1 or $units == 0