blib/lib/Exception/Warning.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 22 | 68.1 |
line | true | false | branch |
---|---|---|---|
178 | 0 | 9 | if ($name eq ':debug') |
182 | 6 | 3 | if ($name eq '%SIG') { } |
184 | 3 | 3 | if (defined $args[0] and $args[0] =~ /^(die|warn)$/) |
188 | 4 | 2 | if ($type eq 'warn') { } |
202 | 1 | 2 | if defined $args[0] and ref $args[0] eq 'HASH' |
206 | 3 | 5 | if (@params) |
226 | 3 | 2 | if ($name eq '%SIG') |
239 | 5 | 0 | unless (ref $_[0]) |
241 | 0 | 5 | if $_[0] =~ /^Exception::(Died|Warning): / |
260 | 0 | 0 | if (not ref $_[0]) { } |
262 | 0 | 0 | if 'Exception::Warning'->ATTRS->{'verbosity'}{'default'} == 0 |