Branch Coverage

blib/lib/Text/NSP/Measures/4D.pm
Criterion Covered Total %
branch 110 194 56.7


line true false branch
228 1 15 unless (defined $values->{'n1111'})
234 1 14 unless (defined $values->{'n1ppp'})
240 1 13 unless (defined $values->{'np1pp'})
246 0 13 unless (defined $values->{'npp1p'})
252 1 12 unless (defined $values->{'nppp1'})
258 0 12 unless (defined $values->{'n11pp'})
264 0 12 unless (defined $values->{'n1p1p'})
270 0 12 unless (defined $values->{'n1pp1'})
276 0 12 unless (defined $values->{'np11p'})
282 0 12 unless (defined $values->{'np1p1'})
288 1 11 unless (defined $values->{'npp11'})
294 0 11 unless (defined $values->{'n111p'})
300 1 10 unless (defined $values->{'n11p1'})
306 0 10 unless (defined $values->{'n1p11'})
312 1 9 unless (defined $values->{'np111'})
318 1 8 unless (defined $values->{'npppp'})
326 1 7 if ($n1111 <= 0)
332 1 6 if ($n1111 > $npppp)
338 1 4 if ($n1111 > $n1ppp or $n1111 > $np1pp or $n1111 > $npp1p or $n1111 > $nppp1)
344 0 4 if ($n1ppp <= 0)
350 0 4 if ($n1ppp > $npppp)
356 0 4 if ($np1pp <= 0)
362 0 4 if ($np1pp > $npppp)
368 0 4 if ($npp1p <= 0)
374 0 4 if ($npp1p > $npppp)
380 0 4 if ($nppp1 <= 0)
386 1 3 if ($nppp1 > $npppp)
392 0 3 if ($n11pp <= 0)
398 0 3 if ($n11pp > $npppp)
404 0 3 if ($n1p1p <= 0)
410 0 3 if ($n1p1p > $npppp)
416 0 3 if ($n1pp1 <= 0)
422 0 3 if ($n1pp1 > $npppp)
428 0 3 if ($np11p <= 0)
434 0 3 if ($np11p > $npppp)
440 0 3 if ($np1p1 <= 0)
446 0 3 if ($np1p1 > $npppp)
452 0 3 if ($npp11 <= 0)
458 0 3 if ($npp11 > $npppp)
464 0 3 if ($n111p <= 0)
470 0 3 if ($n111p > $npppp)
476 0 3 if ($n11p1 <= 0)
482 0 3 if ($n11p1 > $npppp)
488 0 3 if ($n1p11 <= 0)
494 0 3 if ($n1p11 > $npppp)
500 0 3 if ($np111 <= 0)
506 0 3 if ($np111 > $npppp)
537 0 3 if ($n1112 < 0)
543 0 3 if ($n1112 > $npppp)
549 0 3 if ($n1121 < 0)
555 0 3 if ($n1121 > $npppp)
561 0 3 if ($n1122 < 0)
567 0 3 if ($n1122 > $npppp)
573 0 3 if ($n1211 < 0)
579 0 3 if ($n1211 > $npppp)
585 0 3 if ($n1221 < 0)
591 0 3 if ($n1221 > $npppp)
597 0 3 if ($n1222 < 0)
603 0 3 if ($n1222 > $npppp)
609 0 3 if ($n2111 < 0)
615 0 3 if ($n2111 > $npppp)
621 2 1 if ($n2112 < 0)
627 0 1 if ($n2112 > $npppp)
633 0 1 if ($n2121 < 0)
639 0 1 if ($n2121 > $npppp)
645 0 1 if ($n2122 < 0)
651 0 1 if ($n2122 > $npppp)
658 0 1 if ($n2211 < 0)
664 0 1 if ($n2211 > $npppp)
671 0 1 if ($n2212 < 0)
677 0 1 if ($n2212 > $npppp)
683 0 1 if ($n2221 < 0)
689 0 1 if ($n2221 > $npppp)
696 0 1 if ($n2222 < 0)
702 0 1 if ($n2222 > $npppp)
730 1 0 unless (defined $expected_values)
742 0 1 if ($expected_values eq '0 123') { }
0 1 elsif ($expected_values eq '01 2 3') { }
0 1 elsif ($expected_values eq '0 1 23') { }
0 1 elsif ($expected_values eq '0 12 3') { }
0 1 elsif ($expected_values eq '012 3') { }
0 1 elsif ($expected_values eq '0 13 2') { }
0 1 elsif ($expected_values eq '02 13') { }
0 1 elsif ($expected_values eq '03 12') { }
0 1 elsif ($expected_values eq '023 1') { }
0 1 elsif ($expected_values eq '013 2') { }
0 1 elsif ($expected_values eq '01 23') { }
0 1 elsif ($expected_values eq '03 1 2') { }
0 1 elsif ($expected_values eq '02 1 3') { }
1173 0 1 if ($n1ppp <= 0)
1179 0 1 if ($n1ppp > $npppp)
1185 0 1 if ($np1pp <= 0)
1191 0 1 if ($np1pp > $npppp)
1197 0 1 if ($npp1p <= 0)
1203 0 1 if ($npp1p > $npppp)
1209 0 1 if ($nppp1 <= 0)
1215 0 1 if ($nppp1 > $npppp)