| blib/lib/Monitoring/Icinga2/Client/Simple.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 21 | 34 | 82.3 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 43 | 3 | 1 | 1 | $args{'service'} and not $args{'services'} | 
| 148 | 0 | 0 | 1 | ref $r eq 'ARRAY' and defined $r->[0] | 
| 0 | 0 | 1 | ref $r eq 'ARRAY' and defined $r->[0] and defined $r->[0]{'status'}{'icingaapplication'}{'app'} | |
| 222 | 1 | 0 | 1 | $expand and @$names | 
| 239 | 3 | 1 | 22 | defined $getargs and ref $getargs | 
| line | l | !l | condition | 
|---|---|---|---|
| 217 | 2 | 0 | $self->query_host(%args) // {} | 
| 219 | 2 | 0 | $results->{'attrs'}{'vars'}{'parents'} // [] | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 20 | 30 | 1 | 0 | delete $args{'server'} // croak(q[`server' arg is required]) | 
| 32 | 0 | 29 | 0 | getlogin || getpwuid $< | 
| 41 | 4 | 1 | 0 | $args{'author'} //= $self->{'_mics_author'} | 
| 121 | 2 | 1 | 0 | $args{'author'} // $self->{'_mics_author'} | 
| 229 | 1 | 1 | 0 | $args{'service'} // $args{'services'} |