Branch Coverage

blib/lib/Acme/Pythonic/Functions.pm
Criterion Covered Total %
branch 0 100 0.0


line true false branch
44 0 0 if ($lenvals != $nr)
52 0 0 if ($nr == 1)
63 0 0 if ($#_ == -1)
66 0 0 if ($#_ == 0)
76 0 0 if ($a[$i] =~ /[^0-9-]/) { }
81 0 0 if ($i != $#a) { }
96 0 0 if ($_[0] =~ /\Q$_[1]\E$/) { }
121 0 0 if ($_[0] =~ /\D/) { }
136 0 0 unless ($a =~ /^\Q$b\E/)
140 0 0 if (length $b > length $a)
152 0 0 if ($nrargs < 3 or $nrargs > 4)
158 0 0 if ($nrargs == 4)
162 0 0 unless (isdigit($count))
169 0 0 if ($count == 0)
200 0 0 unless ($a =~ /\Q$b\E$/)
204 0 0 if (length $b > length $a)
216 0 0 if ($_[0] =~ /^\Q$_[1]\E/) { }
241 0 0 if ($#_ < 1)
250 0 0 if ($#_ < 1)
260 0 0 if ($#_ < 1)
268 0 0 if ($b =~ /\D/)
275 0 0 if ($b > $#c + 1)
293 0 0 if ($#_ < 1)
305 0 0 if ($_[$i] eq $a)
312 0 0 unless ($x)
323 0 0 if ($#_ < 2 or $#_ % 2)
330 0 0 if (exists $hash{$key}) { }
345 0 0 if ($lenarg < 3)
351 0 0 if ($mode ne 's' and $mode ne 'l' and $mode ne 'h')
355 0 0 if ($mode eq 's')
357 0 0 if ($lenarg != 3)
361 0 0 if ($_[0] =~ /\Q$_[1]\E/)
367 0 0 if ($mode eq 'l')
370 0 0 if ($_ eq $a)
379 0 0 if ($lenarg % 2)
386 0 0 if (exists $hash{$key}) { }
398 0 0 if ($lenarg < 2)
404 0 0 if ($mode ne 's' and $mode ne 'l' and $mode ne 'h')
408 0 0 if ($mode eq 's')
410 0 0 if ($lenarg != 2)
417 0 0 if ($mode eq 'l')
423 0 0 if (!$lenarg % 2)
437 0 0 if (-d $_[0]) { }
449 0 0 if (-f $_[0]) { }
463 0 0 unless open FH, "<$file"
473 0 0 if ($#_ < 1)
479 0 0 unless open FH, ">$file"
491 0 0 unless (-d $dir)
496 0 0 unless opendir DIR, $dir
498 0 0 if ($filename ne '.' and $filename ne '..')