lib/Spoon/Registry.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 18 | 33.3 |
line | true | false | branch |
---|---|---|---|
21 | 0 | 2 | if (-e $path) { } |
23 | 0 | 0 | if $@ |
38 | 0 | 0 | unless $object->can('register') |
56 | 0 | 10 | if $@ |
64 | 2 | 20 | unless $key =~ /(.*)_class$/ |
95 | 20 | 0 | unless $object->can('inline_classes') |
108 | 0 | 0 | if ($key eq 'hook') { } |
128 | 2 | 0 | unless defined $$lookup{'hook'} |
137 | 0 | 0 | unless $target_class_id and $target_class_name and $args{'pre'} || $args{'post'} |