Branch Coverage

blib/lib/SysV/Init/Service.pm
Criterion Covered Total %
branch 12 14 85.7


line true false branch
34 1 9 unless (defined $self->{'service'})
37 1 8 if ($self->{'service'} =~ /\.sh$/ms)
42 1 7 unless (-x $self->{'_service_path'})
56 1 2 if ($stderr)
60 2 1 if ($stdout =~ /{([\w\|\-]+)}/ms) { }
1 0 elsif ($stdout =~ /([\w\-]+)\s*$/ms) { }
99 0 2 if ($stderr)