| blib/lib/Class/Throwable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 22 | 63.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 32 | 1 | 0 | 1 | defined $_[2] and ref $_[2] eq 'CODE' |
| 77 | 17 | 0 | 2 | blessed $class and $class->isa('Class::Throwable') |
| 203 | 1 | 0 | 4 | blessed $e and $e->isa('Class::Throwable') |
| line | l | !l | condition |
|---|---|---|---|
| 162 | 11 | 1 | $depth ||= 1 |
| 190 | 4 | 7 | $depth ||= 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 24 | 0 | 4 | 0 | ref $class || $class |
| 68 | 0 | 2 | 0 | ref $class || $class |
| 109 | 15 | 4 | 0 | $message || 'An ' . ref($self) . ' Exception has been thrown' |