Branch Coverage

blib/lib/Check/supervisorctl.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
104 0 0 if ($^O eq "linux")
109 0 0 if (defined $opts{'ignore'})
110 0 0 if (ref $opts{'ignore'} ne "ARRAY")
114 0 0 if (ref $to_ignore ne "")
122 0 0 if (defined $opts{'config_ignore'})
123 0 0 if (ref $opts{'config_ignore'} ne "ARRAY")
127 0 0 if (ref $to_ignore ne "")
138 0 0 if (defined $opts{$to_read_in})
139 0 0 if (ref $opts{$to_read_in} ne "")
142 0 0 unless ($opts{$to_read_in} =~ /^[0123]$/)
150 0 0 if (defined $opts{'status_mapping'})
151 0 0 if (ref $opts{'status_mapping'} ne "HASH")
156 0 0 if (ref $opts{'status_mapping'}{$status} ne "")
163 0 0 unless (defined $self->{'status_mapping'}{$lc_status})
169 0 0 unless ($opts{'status_mapping'}{$status} =~ /^[0123]$/)
180 0 0 if (defined $opts{'config_check'})
181 0 0 if (ref $opts{'config_check'} ne "")
185 0 0 if (defined $opts{'config_dir'})
186 0 0 if (ref $opts{'config_dir'} ne "")
279 0 0 if (defined $status and defined $name)
281 0 0 if (defined $self->{'ignore'}{$name}) { }
284 0 0 if ($self->{'ignore'}{$name}) { }
288 0 0 if (defined $self->{'status_mapping'}{$status})
289 0 0 if ($to_return->{'exit'} < $self->{'status_mapping'}{$status})
307 0 0 if ($self->{'config_check'})
309 0 0 if (-d $self->{'config_dir'}) { }
312 0 0 if ($@)
314 0 0 if ($to_return->{'exit'} < $self->{'config_dir_nonreadable_val'})
319 0 0 if ($to_return->{'config_dir_readable'})
325 0 0 if ($entry =~ /\.conf$/ and -f $self->{'config_dir'} . '/' . $entry)
327 0 0 if ($self->{'config_ignore'}{$entry}) { }
333 0 0 if (not defined $to_return->{'status'}{$entry}) { }
341 0 0 if ($to_return->{'exit'} < $self->{'not_running_val'})
353 0 0 unless ($configs{$running})
365 0 0 if ($to_return->{'exit'} < $self->{'config_dir_missing_val'})