Branch Coverage

lib/Ubic/Watchdog.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
29 0 0 unless $arg =~ /^[*\w.-]+$/
35 0 0 if @filter
47 0 0 if $name =~ /$filter/
69 0 0 if ($service->isa('Ubic::Multiservice'))
70 0 0 if $self->{'verbose'}
74 0 0 if ($self->{'filter'})
75 0 0 unless &any(sub { &match($name, $_); } , @{$$self{'filter'};})
83 0 0 unless (defined $child)
86 0 0 unless ($child)
100 0 0 if ($self->{'verbose'})
124 0 0 unless ($watchdog_lock)
125 0 0 if ($self->{'verbose'})
132 0 0 unless ('Ubic'->is_enabled($name))
133 0 0 if $self->{'verbose'}
139 0 0 unless ($status->status eq 'running')
143 0 0 if ($cached_status eq 'autostarting') { }
154 0 0 if ($status->status ne 'running')
166 0 0 if $self->{'verbose'}