| blib/lib/Bolts/Role/RootLocator.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 20 | 55.0 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 227 | 136 | if (@path > 1 and ref $path[-1]) |
| 40 | 297 | 362 | if $current_path |
| 52 | 0 | 31 | if (@path > 1 and ref $path[-1]) |
| 57 | 31 | 0 | if (ref $bag eq 'ARRAY') { } |
| 72 | 375 | 317 | if $item->$Bolts::Role::RootLocator::_can('does') and $item->$Bolts::Role::RootLocator::_does('Bolts::Role::Artifact') |
| 89 | 0 | 662 | unless defined $bag |
| 93 | 662 | 0 | if (&Scalar::Util::blessed($bag)) { } |
| 0 | 0 | elsif (ref $bag eq 'HASH') { } | |
| 0 | 0 | elsif (ref $bag eq 'ARRAY') { } | |
| 96 | 662 | 0 | if ($bag->can($component)) { } |