Branch Coverage

lib/Ubic/Multiservice.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
23 10 55 if ($self->{'service_cache'}{$name})
24 0 10 if (my $error = $self->{'service_cache'}{$name}{'error'}) { }
34 46 9 if (@parts == 1) { }
36 5 37 unless (defined $service->name)
44 0 9 unless ($top_level->isa('Ubic::Multiservice'))
47 3 6 unless (defined $top_level->name)
67 21 6 if (@parts == 1)
71 1 5 unless $self->has_service($parts[0])
73 3 2 unless ($top_level->isa('Ubic::Multiservice'))
85 0 12 if ($@)