blib/lib/Class/LazyFactory.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 26 | 46.1 |
line | true | false | branch |
---|---|---|---|
22 | 0 | 1 | if ref $class |
26 | 1 | 0 | if (exists $p{'namespace'}) |
27 | 0 | 1 | unless defined $p{'namespace'} |
33 | 1 | 0 | if (exists $p{'constructor'}) |
34 | 0 | 1 | unless defined $p{'constructor'} |
44 | 0 | 2 | if ref $class |
46 | 0 | 2 | unless $concrete_class |
48 | 2 | 0 | if (exists $$class_config[0]{$class}) |
53 | 0 | 2 | unless defined $loaded |
55 | 0 | 2 | unless ($loaded) |
56 | 0 | 0 | unless eval "require $concrete_class;" |
61 | 2 | 0 | if (exists $$class_config[1]{$class}) |
64 | 0 | 2 | unless $concrete_class->can($constructor) |