| blib/lib/Log/Report/Minimal.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 32 | 34.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 69 | 0 | 12 | 0 | @_ == 1 and builtin::blessed($_[0]) |
| 101 | 2 | 0 | 0 | &use_errno($reason) and not defined $opts->{'errno'} |
| 136 | 0 | 0 | 0 | @_ && ref $_[0] eq 'HASH' |
| 191 | 2 | 1 | 2 | @_ && $_[0] =~ /^\+\d+$/ |
| 211 | 0 | 0 | 0 | $syntax ne "REPORT" and $syntax ne "LONG" |
| line | l | !l | condition |
|---|---|---|---|
| 101 | 0 | 0 | $! + 0 || $? || 1 |
| 110 | 0 | 1 | $opts->{'errno'} || 0 |
| 194 | 0 | 5 | delete $opts{'syntax'} || 'SHORT' |
| 210 | 0 | 5 | delete $opts{'syntax'} || 'SHORT' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 81 | 6 | 6 | 0 | $textdomains{$name} ||= "Log::Report::Minimal::Domain"->new("name", $name) |
| 95 | 2 | 0 | 0 | $need{$reason} or $stop |
| 101 | 0 | 0 | 0 | $opts->{'errno'} ||= $! + 0 || $? || 1 |