blib/lib/Log/Report/Minimal.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 32 | 34.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
66 | 0 | 12 | 0 | @_ == 1 and &blessed($_[0]) |
98 | 2 | 0 | 0 | &use_errno($reason) and not defined $opts->{'errno'} |
134 | 0 | 0 | 0 | @_ && ref $_[0] eq 'HASH' |
192 | 2 | 1 | 2 | @_ && $_[0] =~ /^\+\d+$/ |
212 | 0 | 0 | 0 | $syntax ne 'REPORT' and $syntax ne 'LONG' |
line | l | !l | condition |
---|---|---|---|
98 | 0 | 0 | $! + 0 || $? || 1 |
107 | 0 | 1 | $opts->{'errno'} || 0 |
195 | 0 | 5 | delete $opts{'syntax'} || 'SHORT' |
211 | 0 | 5 | delete $opts{'syntax'} || 'SHORT' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
78 | 6 | 6 | 0 | $textdomains{$name} ||= 'Log::Report::Minimal::Domain'->new('name', $name) |
92 | 2 | 0 | 0 | $need{$reason} or $stop |
98 | 0 | 0 | 0 | $opts->{'errno'} ||= $! + 0 || $? || 1 |