Branch Coverage

blib/lib/Test/Perl/Lint.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
26 0 1 if (defined $targets and ref $targets ne 'ARRAY')
30 0 1 if (defined $ignore_files and ref $ignore_files ne 'ARRAY')
41 1 0 if (-d $target) { }
0 0 elsif (-f $target) { }
44 3 0 if ($path->is_file)
46 2 1 if (not grep({$_ eq $path_string;} @$ignore_files))
53 0 0 unless (grep {$_ eq $target;} @$ignore_files)
65 1 1 if (scalar @$violations == 0) { }
77 1 0 if (ref $explanation eq 'ARRAY')
85 1 0 unless &Test::More::ok(0, "$package for $path_string")