blib/lib/IOC/Service/ConstructorInjection.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 15 | 73.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
26 | 1 | 1 | 19 | defined $component_class and defined $component_constructor |
28 | 1 | 2 | 16 | defined $parameters and ref $parameters eq 'ARRAY' |
70 | 11 | 0 | 8 | blessed($parameters[$i]) and $parameters[$i]->isa('ComponentParameter') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
17 | 0 | 21 | 0 | ref $_class || $_class |
49 | 17 | 0 | 2 | keys %{"${component_class}::";} || (defined ${"${component_class}::VERSION";} || defined @{"${component_class}::ISA";}) |