| 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 my $logfh, '>>' . $logfile |
| 149 | 0 | 3 | if ($_[0]) |
| 163 | 0 | 6 | if $op eq '%' |
| 164 | 0 | 6 | unless defined $Log::Tiny::formats{$op} |
| 185 | 0 | 17 | unless defined ref $self |
| 187 | 3 | 14 | if (@{$self->{'methods_only'};}) |
| 190 | 2 | 4 | if uc $method eq uc $_ |
| 192 | 1 | 2 | unless $in |
| 212 | 0 | 16 | unless defined $msg |
| 222 | 0 | 3 | unless close((shift())->{'logfh'}) |