Condition Coverage

blib/lib/Bolts/Util.pm
Criterion Covered Total %
condition 15 28 53.5


and 3 conditions

line !l l&&!r l&&r condition
28 38 0 0 $params->$Bolts::Util::_can('does') and $params->$Bolts::Util::_does('Bolts::Blueprint')
35 0 0 38 $params{'blueprint'}->$Bolts::Util::_can('does') and $params{'blueprint'}->$Bolts::Util::_does('Bolts::Blueprint::Role::Injector')
72 3 0 3 $_[0]->$Bolts::Util::_can('does') and $_[0]->$Bolts::Util::_does('Bolts::Role::Artifact')
84 35 0 2 defined $params{'path'} and $params{'path'}
166 0 0 4 not &Scalar::Util::blessed($def) and &Scalar::Util::reftype($def) eq 'HASH'
247 0 0 57 $meta_meta->$Bolts::Util::_can('does_role') and $meta_meta->does_role('Bolts::Meta::Class::Trait::Locator')

or 2 conditions

line l !l condition
206 1 41 delete $params{'scope'} // '_'
207 3 39 delete $params{'infer'} // 'none'

or 3 conditions

line l !l&&r !l&&!r condition
167 0 4 0 $$def{'position'} //= $index
182 0 5 9 $$def{'key'} // $i