blib/lib/Nagios/Passive/CommandFile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 12 | 33.3 |
line | true | false | branch |
---|---|---|---|
19 | 1 | 2 | unless -p $cf |
25 | 1 | 1 | if (defined $s->service_description) { } |
39 | 0 | 0 | unless $s->has_command_file |
45 | 0 | 0 | unless open my $f, '>>', $cf |
46 | 0 | 0 | unless print $f $output |
47 | 0 | 0 | unless close $f |