| blib/lib/Data/Object/Try.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 22 | 81.8 |
| line | true | false | branch |
|---|---|---|---|
| 43 | 30 | 0 | unless $args->{'on_catch'} |
| 59 | 16 | 22 | unless (UNIVERSAL::isa($callback, 'CODE')) |
| 60 | 16 | 0 | $self->invocant ? : |
| 62 | 0 | 16 | unless $method |
| 86 | 19 | 10 | if $self->arguments and @{$self->arguments;} |
| 87 | 19 | 10 | if $self->invocant |
| 144 | 1 | 0 | if (UNIVERSAL::isa($caught, $catcher->[0])) |
| 150 | 4 | 1 | if (not $returned) |
| 151 | 2 | 2 | if $default |
| 152 | 2 | 2 | if not defined $returned |
| 157 | 2 | 24 | if $finally |