blib/lib/IOC/Container.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 23 | 91.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
46 | 3 | 1 | 28 | blessed $parent_container and $parent_container->isa('IOC::Container') |
73 | 3 | 1 | 29 | blessed $container and $container->isa('IOC::Container') |
121 | 3 | 1 | 50 | blessed $visitor and $visitor->isa('IOC::Visitor') |
130 | 3 | 1 | 97 | blessed $service and $service->isa('IOC::Service') |
161 | 3 | 1 | 3 | blessed $proxy and $proxy->isa('IOC::Proxy') |
191 | 26 | 1 | 69 | blessed $instance and not ref($instance) =~ /\:\:\_\:\:Proxy$/ |
line | l | !l | condition |
---|---|---|---|
34 | 68 | 22 | $name || 'default' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
20 | 0 | 90 | 0 | ref $_class || $_class |