Condition Coverage

blib/lib/Monitoring/Icinga2/Client/Simple.pm
Criterion Covered Total %
condition 15 24 79.1


and 3 conditions

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'}
219 3 1 17 defined $getargs and ref $getargs

or 3 conditions

line l !l&&r !l&&!r condition
20 26 1 0 delete $args{'server'} // croak(q[`server' arg is required])
32 0 25 0 getlogin || getpwuid $<
41 4 1 0 $args{'author'} //= $self->{'_mics_author'}
121 2 1 0 $args{'author'} // $self->{'_mics_author'}