blib/lib/Dancer2/FileUtils.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 14 | 85.7 |
line | true | false | branch |
---|---|---|---|
30 | 1 | 1 | -e $path ? : |
45 | 3 | 62 | unless open my $fh, $mode, $filename |
52 | 1 | 33 | unless my $file = shift() |
56 | 1 | 30 | wantarray ? : |
66 | 1 | 31 | wantarray ? : |
74 | 0 | 15652 | unless my $path = shift() |
89 | 0 | 51 | unless my $filename = shift() |