Branch Coverage

blib/lib/Mojolicious/Services.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
19 0 1 $name =~ /^[a-z0-9]/ ? :
22 1 2 if (_load($class))
42 0 0 if (_load($_))
55 1 0 if $conf->{'namespaces'}
57 1 0 if ($namespaces and ref $namespaces eq 'ARRAY')
60 0 1 unless $self->lazy
68 1 1 if ($service)
73 1 0 unless ($self->services->{$name})
78 0 1 unless $self->services->{$name}
88 2 1 unless my $e = load_class($module)
89 0 1 ref $e ? :