inc/Test/Exception.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 26 | 30.7 |
line | true | false | branch |
---|---|---|---|
17 | 0 | 1 | if (@_) |
88 | 0 | 60 | if (wantarray and not @_) { } |
116 | 0 | 4 | unless _is_exception($exception) |
118 | 4 | 0 | if $class and not "$exception" =~ /^\Q$class\E/ |
173 | 0 | 4 | unless defined $expecting |
175 | 4 | 0 | unless defined $description |
181 | 4 | 0 | $regex ? : |
182 | 0 | 0 | ref $expecting ? : |
185 | 0 | 4 | unless ($ok) |
259 | 0 | 0 | unless $ok |
302 | 0 | 0 | unless defined $_[2] |
306 | 0 | 0 | if eval { do { &$test() } } |
309 | 0 | 0 | if (_is_exception($exception)) |