line |
true |
false |
branch |
28
|
0 |
38 |
if ($params->$Bolts::Util::_can('does') and $params->$Bolts::Util::_does('Bolts::Blueprint')) { }
|
35
|
0 |
38 |
unless $params{'blueprint'}->$Bolts::Util::_can('does') and $params{'blueprint'}->$Bolts::Util::_does('Bolts::Blueprint::Role::Injector')
|
39
|
8 |
30 |
if defined $params{'isa'}
|
41
|
0 |
38 |
if defined $params{'does'}
|
59
|
2 |
43 |
if (@_ == 0) { }
|
|
6 |
37 |
elsif (@_ == 1) { }
|
72
|
3 |
3 |
if $_[0]->$Bolts::Util::_can('does') and $_[0]->$Bolts::Util::_does('Bolts::Role::Artifact')
|
84
|
0 |
37 |
if (defined $params{'blueprint'}) { }
|
|
2 |
35 |
elsif (defined $params{'path'} and $params{'path'}) { }
|
|
0 |
35 |
elsif (exists $params{'value'}) { }
|
|
12 |
23 |
elsif (defined $params{'class'}) { }
|
|
23 |
0 |
elsif (defined $params{'builder'}) { }
|
92
|
0 |
2 |
unless ref $params{'path'} eq 'ARRAY'
|
120
|
6 |
36 |
if (defined $params{'parameters'})
|
123
|
0 |
6 |
if ($parameters->$Bolts::Util::_does('Bolts::Blueprint')) { }
|
|
5 |
1 |
elsif (ref $parameters eq 'HASH') { }
|
|
1 |
0 |
elsif (ref $parameters eq 'ARRAY') { }
|
151
|
1 |
41 |
if (defined $params{'setters'})
|
162
|
1 |
41 |
if (defined $params{'indexes'})
|
166
|
4 |
0 |
if (not &Scalar::Util::blessed($def) and &Scalar::Util::reftype($def) eq 'HASH')
|
177
|
9 |
33 |
if (defined $params{'push'})
|
193
|
1 |
41 |
if (defined $params{'keys'})
|
229
|
231 |
0 |
if ($bag->$Bolts::Util::_does('Bolts::Role::Locator')) { }
|
|
0 |
0 |
elsif (defined $locator{$bag}) { }
|
245
|
57 |
0 |
if (defined $meta) { }
|
|
0 |
0 |
elsif (defined $meta_locator{$bag}) { }
|
247
|
57 |
0 |
if ($meta_meta->$Bolts::Util::_can('does_role') and $meta_meta->does_role('Bolts::Meta::Class::Trait::Locator'))
|