| blib/lib/Try/Lite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 18 | 20 | 90.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 17 | 0 | 29 | unless @catches | 
| 22 | 0 | 31 | unless $catches[$i] and ref $catches[$i + 1] eq 'CODE' | 
| 42 | 7 | 22 | if ($wantarray) { } | 
| 7 | 15 | elsif (defined $wantarray) { } | |
| 57 | 22 | 7 | if ($failed) | 
| 60 | 5 | 3 | unless $class eq '*' or &Scalar::Util::blessed($error) and UNIVERSAL::isa($error, $class) | 
| 65 | 4 | 15 | if ($wantarray) { } | 
| 4 | 11 | elsif (defined $wantarray) { } | |
| 74 | 4 | 12 | $wantarray ? : | 
| 82 | 3 | 4 | $wantarray ? : |