blib/lib/Mojolicious/ServiceManage.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 22 | 59.0 |
line | true | false | branch |
---|---|---|---|
19 | 0 | 1 | $name =~ /^[a-z]/ ? : |
22 | 1 | 2 | if (_load($class)) |
39 | 0 | 0 | if (_load($_)) |
49 | 1 | 0 | if $conf->{'namespaces'} |
51 | 1 | 0 | if ($namespaces and ref $namespaces eq 'ARRAY') |
54 | 0 | 1 | unless $self->lazy |
62 | 1 | 1 | if ($service) |
67 | 1 | 0 | unless ($self->services->{$name}) |
72 | 0 | 1 | unless $self->services->{$name} |
82 | 2 | 1 | unless my $e = load_class($module) |
83 | 0 | 1 | ref $e ? : |