| blib/lib/Log/Report/Minimal.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 32 | 34.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 62 | 0 | 12 | 0 | @_ == 1 and &blessed($_[0]) |
| 94 | 2 | 0 | 0 | &use_errno($reason) and not defined $opts->{'errno'} |
| 130 | 0 | 0 | 0 | @_ && ref $_[0] eq 'HASH' |
| 188 | 2 | 1 | 2 | @_ && $_[0] =~ /^\+\d+$/ |
| 208 | 0 | 0 | 0 | $syntax ne 'REPORT' and $syntax ne 'LONG' |
| line | l | !l | condition |
|---|---|---|---|
| 94 | 0 | 0 | $! + 0 || $? || 1 |
| 103 | 0 | 1 | $opts->{'errno'} || 0 |
| 191 | 0 | 5 | delete $opts{'syntax'} || 'SHORT' |
| 207 | 0 | 5 | delete $opts{'syntax'} || 'SHORT' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 74 | 6 | 6 | 0 | $textdomains{$name} ||= 'Log::Report::Minimal::Domain'->new('name', $name) |
| 88 | 2 | 0 | 0 | $need{$reason} or $stop |
| 94 | 0 | 0 | 0 | $opts->{'errno'} ||= $! + 0 || $? || 1 |