blib/lib/Err.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 20 | 85.0 |
line | true | false | branch |
---|---|---|---|
22 | 5 | 35 | unless length $code |
23 | 0 | 35 | if $code eq '.' |
32 | 4 | 5 | unless blessed $_ |
38 | 4 | 5 | unless blessed $@ |
50 | 3 | 10 | unless $defaults{$err_class} |
65 | 2 | 13 | if defined $args{'isa'} |
66 | 13 | 2 | unless (defined $parent) |
72 | 5 | 8 | unless ($parent =~ s/::[^:]+\z//x) |
88 | 2 | 13 | defined $description ? : |
117 | 0 | 0 | if $classes_we_have_declared{$err_class} |