Condition Coverage

blib/lib/Proc/Govern.pm
Criterion Covered Total %
condition 14 65 21.5


and 3 conditions

line !l l&&!r l&&r condition
422 0 0 0 $args{'on_multiple_instance'} and $args{'on_multiple_instance'} eq 'exit'
614 2 0 0 $everr and not $everr =~ /^IPC::Run: timeout/
640 2 0 0 $lw and !$lastlw_time || $lastlw_time <= $now - $lwfreq

or 2 conditions

line l !l condition
419 0 0 $args{'pid_dir'} // '/var/run'
432 0 1 $args{'show_stdout'} // 1
433 0 1 $args{'show_stderr'} // 1
435 0 1 $args{'load_watch'} // 0
436 0 1 $args{'load_check_every'} // 10
437 0 1 $args{'load_high_limit'} // 1.25
438 0 1 $args{'load_low_limit'} // 0.25
452 0 0 $fwrargs{'dir'} //= '/var/log'
457 0 0 $_[0] // ''
470 0 0 $fwrargs{'dir'} //= '/var/log'
474 0 0 $_[0] // ''
486 0 0 $fwrargs{'dir'} //= '/var/log'
490 0 0 $_[0] // ''
496 0 0 $_[0] // ''
504 1 0 $_[0] // ''
505 0 1 $out //= sub { print STDERR $_[0] // '' if $showerr; }
507 0 0 $_[0] // ''
508 0 1 $err //= sub { print STDERR $_[0] // '' if $showerr; }
711 0 1 $exitcode || 0

or 3 conditions

line l !l&&r !l&&!r condition
524 0 0 0 $res->[0] == 200 or $res->[0] == 304
535 0 0 0 $res->[0] == 200 or $res->[0] == 304
550 0 0 1 defined $args{'euid'} or defined $args{'egid'}
566 0 0 1 defined $args{'euid'} or defined $args{'egid'}
640 0 0 0 !$lastlw_time || $lastlw_time <= $now - $lwfreq
675 0 0 0 not $noss_lastprevent_time or $noss_lastprevent_time <= $now - $noss_timeout + 10