| blib/lib/Log/Tiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 22 | 63.6 |
| line | true | false | branch |
|---|---|---|---|
| 41 | 1 | 0 | if ($t eq 'Log::Tiny::AUTOLOAD') |
| 82 | 0 | 3 | unless open LOG, '>>' . $logfile |
| 147 | 0 | 3 | if ($_[0]) |
| 161 | 0 | 6 | if $op eq '%' |
| 162 | 0 | 6 | unless defined $Log::Tiny::formats{$op} |
| 183 | 0 | 17 | unless defined ref $self |
| 185 | 3 | 14 | if (@{$$self{'methods_only'};}) |
| 188 | 2 | 4 | if uc $method eq uc $_ |
| 190 | 1 | 2 | unless $in |
| 210 | 0 | 16 | unless defined $msg |
| 220 | 0 | 3 | unless close LOG |