blib/lib/Math/ModInt/Event/Trap.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 16 | 100.0 |
line | true | false | branch |
---|---|---|---|
52 | 12 | 5 | if ($trap_id == $handlers[--$hx][0]) |
74 | 1 | 14 | $is_static ? : |
75 | 5 | 10 | unless (ref $handler) |
76 | 2 | 3 | unless ($handler and exists $generic_handlers{$handler}) |
84 | 1 | 12 | if $is_static |
97 | 13 | 4 | if ($event->isa(ref $handler->[1])) |
99 | 1 | 8 | unless $handler->[2]->($event, @details) |
102 | 36 | 74 | unless ($event->is_recoverable) |