blib/lib/Exception/Class.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 25 | 52.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
156 | 1 | 0 | 3 | ref $fields && &reftype($fields) eq 'ARRAY' |
202 | 0 | 1 | 1 | &blessed($e) and $e->isa($_[1]) |
line | l | !l | condition |
---|---|---|---|
14 | 0 | 4 | $BASE_EXC_CLASS ||= 'Exception::Class::Base' |
61 | 16 | 0 | $def || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
94 | 4 | 0 | 0 | exists $needs->{$subclass} or $CLASSES{$subclass} |
0 | 0 | 0 | exists $needs->{$subclass} or $CLASSES{$subclass} or keys %{"${subclass}::";} | |
99 | 3 | 0 | 1 | $CLASSES{$c} or keys %{"${c}::";} |
109 | 1 | 0 | 3 | $CLASSES{$subclass} or keys %{"${subclass}::";} |
128 | 7 | 12 | 0 | $isa ||= $BASE_EXC_CLASS |