lib/App/Sandy/Role/IO.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 12 | 41.6 |
line | true | false | branch |
---|---|---|---|
15 | 0 | 20 | $file =~ /\.gz$/u ? : |
17 | 0 | 20 | unless open $fh, $mode, $file |
28 | 0 | 10 | if ($level) { } |
29 | 0 | 0 | unless $fh = "IO::Compress::Gzip"->new($file, "-Level", $level) |
32 | 0 | 10 | unless open $fh, ">", $file |
42 | 0 | 5 | unless open my $fh, ">>", $file |