line |
true |
false |
branch |
50
|
4 |
20 |
if exists $args{'shortname'} |
63
|
1 |
23 |
if (exists $args{'usage'}) |
121
|
14 |
6 |
if ($#_ == 0 and !ref($_[0]) || ref $_[0] eq 'ARRAY') { } |
136
|
3 |
16 |
if (exists $args{'warning'} or exists $args{'critical'}) { } |
|
11 |
5 |
elsif (defined $self->threshold) { } |
|
1 |
4 |
elsif (defined $self->opts) { } |
161
|
2 |
0 |
if $self->_check_for_opts |
165
|
1 |
0 |
if $self->_check_for_opts |
170
|
2 |
3 |
unless ref $self->opts eq 'Monitoring::Plugin::Getopt' |
185
|
2 |
16 |
unless defined $Monitoring::Plugin::ERRORS{uc $code} or defined $Monitoring::Plugin::STATUS_TEXT{$code} |
189
|
7 |
9 |
if $Monitoring::Plugin::STATUS_TEXT{$code} |
191
|
2 |
14 |
if $code eq 'unknown' or $code eq 'dependent' |
194
|
0 |
14 |
unless $self->messages->{$code} |
205
|
48 |
42 |
if ($args{$code}) { } |
206
|
4 |
44 |
unless (ref $args{$code} eq 'ARRAY') |
207
|
4 |
0 |
if ($code eq 'ok') { } |