| blib/lib/App/MaMGal/Logger.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 18 | 88.8 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 1 | 5 | unless my $fh = shift() |
| 23 | 16 | 5 | if $prefix |
| 35 | 2 | 9 | if ($e->isa('App::MaMGal::MplayerWrapper::NotAvailableException')) { } |
| 3 | 6 | elsif ($e->isa('App::MaMGal::MplayerWrapper::ExecutionFailureException')) { } | |
| 2 | 4 | elsif ($e->isa('App::MaMGal::SystemException')) { } | |
| 37 | 1 | 1 | if $not_available_warned_before |
| 41 | 2 | 1 | if $exe_failure_warned_before or not $e->stdout || $e->stderr |
| 45 | 1 | 0 | $e->stdout ? : |
| 47 | 1 | 0 | $e->stderr ? : |