line |
true |
false |
branch |
60
|
12 |
12 |
if (exists $params{$_}) { } |
65
|
6 |
0 |
if ref $self->{'_attr'}{$_} eq 'HASH' and exists $self->{'_attr'}{$_}{'default'} |
80
|
2 |
1 |
unless grep /BEGIN/, keys %Monitoring::GLPlugin::Commandline::Extraopts:: |
93
|
0 |
0 |
unless $old_arg->{'spec'} =~ /(\w+).*/ and $argname eq $1 |
105
|
0 |
2 |
if (not &GetOptions(\%commandline, @params)) { } |
111
|
0 |
2 |
if (exists $commandline{'extra-opts'}) |
117
|
0 |
0 |
if (not $extras->is_valid) { } |
124
|
0 |
2 |
if ($commandline{'help'}) |
125
|
0 |
2 |
if ($commandline{'version'}) |
126
|
0 |
2 |
if ($commandline{'usage'}) |
137
|
56 |
10 |
if exists $_->{'required'} |
138
|
0 |
2 |
unless (exists $commandline{$_}) |
152
|
0 |
2 |
if (exists $ENV{'NAGIOS__HOST' . $_->{'env'}}) |
155
|
0 |
2 |
if (exists $ENV{'NAGIOS__SERVICE' . $_->{'env'}}) |
163
|
0 |
2 |
if $self->{'opts'}{$field} |
211
|
0 |
0 |
if $self->{'_attr'}{'url'} |