lib/Morpheus/Plugin/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 22 | 68.1 |
line | true | false | branch |
---|---|---|---|
22 | 4 | 0 | if (ref $$self{'suffix'} eq 'Regexp') |
26 | 1 | 96 | unless $fname =~ s/$re// |
36 | 0 | 24 | unless open my $fh, '<', "$file" |
38 | 0 | 24 | unless close $fh |
47 | 96 | 0 | if ref $paths eq 'CODE' |
48 | 0 | 96 | unless $paths |
49 | 0 | 96 | unless ref $paths eq 'ARRAY' |
61 | 162 | 97 | unless -f $full_file |
62 | 0 | 97 | unless $full_file =~ m[^\Q$path\E/(.*)] |
65 | 2 | 95 | if not $ns or $desired_ns and $ns ne $desired_ns |
72 | 4 | 188 | if (-d "$path/$main_ns") |