line |
true |
false |
branch |
17
|
1 |
27 |
if @_ % 2 |
23
|
25 |
1 |
if (defined $ua) |
27
|
0 |
25 |
unless defined $self->{'ua'} |
43
|
1 |
4 |
if ($args{'service'} and not $args{'services'}) |
49
|
2 |
2 |
if $args{'services'} |
71
|
1 |
2 |
if defined $args{'name'} |
76
|
1 |
1 |
if defined $args{'service'} |
85
|
2 |
1 |
if (ref $args) { } |
109
|
1 |
2 |
defined $args{'host'} ? : |
128
|
2 |
1 |
$args{'service'} ? : |
148
|
0 |
1 |
unless ref $r eq 'ARRAY' and defined $r->[0] and defined $r->[0]{'status'}{'icingaapplication'}{'app'} |
167
|
1 |
2 |
if @unknown_attrs |
219
|
17 |
4 |
if (defined $getargs and ref $getargs) |
224
|
1 |
20 |
$getargs ? : |
227
|
0 |
21 |
unless my $r = $self->do_request($method, $url, $getargs, $postdata) |
240
|
2 |
16 |
unless &all(sub {
defined $args->{$_};
}
, @_) |
250
|
1 |
9 |
unless &any(sub {
defined $args->{$_};
}
, grep({exists $args->{$_};} @_)) |
260
|
1 |
11 |
unless defined $args->{'host'} |
262
|
3 |
8 |
if $args->{'service'} |