line |
true |
false |
branch |
32
|
0 |
0 |
unless $code_ref |
37
|
0 |
0 |
if ($ref_type eq 'Try::Tiny::SmartCatch::Catch::When') { } |
|
0 |
0 |
elsif ($ref_type eq 'Try::Tiny::SmartCatch::Catch::Default') { } |
|
0 |
0 |
elsif ($ref_type eq 'Try::Tiny::SmartCatch::Finally') { } |
|
0 |
0 |
elsif ($ref_type eq 'Try::Tiny::SmartCatch::Then') { } |
43
|
0 |
0 |
unless defined $catch_default |
52
|
0 |
0 |
unless defined $then |
77
|
0 |
0 |
if ($wantarray or $then) { } |
|
0 |
0 |
elsif (defined $wantarray) { } |
97
|
0 |
0 |
$failed ? : |
105
|
0 |
0 |
if ($failed) { } |
107
|
0 |
0 |
if (scalar @catch_when or $catch_default) |
114
|
0 |
0 |
if $catch_data->for_error($error) |
118
|
0 |
0 |
if $catch_default |
131
|
0 |
0 |
if ($then) |
132
|
0 |
0 |
if ($wantarray) { } |
|
0 |
0 |
elsif (defined $wantarray) { } |
143
|
0 |
0 |
unless defined $wantarray |
144
|
0 |
0 |
$wantarray ? : |
220
|
0 |
0 |
defined $types ? : |
|
0 |
0 |
ref $types eq 'ARRAY' ? : |
235
|
0 |
0 |
unless defined $types |
237
|
0 |
0 |
if ref $types ne 'ARRAY' |
240
|
0 |
0 |
if (blessed $error) { } |
242
|
0 |
0 |
if $error->isa($_) |
248
|
0 |
0 |
if ref $type eq 'Regexp' and $error =~ /$type/ or not ref $type and index($error, $type) > -1 |