Condition Coverage

lib/ControlFreak/Service.pm
Criterion Covered Total %
condition 36 55 65.4


and 3 conditions

line !l l&&!r l&&r condition
968 15 12 5 POSIX::WIFEXITED($es) and not POSIX::WEXITSTATUS($es)
12 3 12 POSIX::WIFSIGNALED($es) and POSIX::WTERMSIG($es) == 15

or 2 conditions

line l !l condition
126 0 24 $$svc{'tags'} ||= {}
127 0 24 $$svc{'env'} ||= {}
141 26 0 (shift())->state || ''
152 77 2 (shift())->state || ''
163 15 0 (shift())->state || ''
174 53 0 (shift())->state || ''
185 61 0 (shift())->state || ''
196 3 0 (shift())->state || ''
207 53 0 (shift())->state || ''
219 75 3 $svc->state || ''
281 2 13 $param{'err_cb'} ||= sub { }
282 2 13 $param{'ok_cb'} ||= sub { }
284 15 0 $svc->name || 'unnamed service'
383 3 32 $param{'err_cb'} ||= sub { }
384 2 33 $param{'ok_cb'} ||= sub { }
386 35 0 $svc->name || 'unnamed service'
437 3 0 shift() || ''
529 7 0 shift() || 1
572 2 0 $param{'err_cb'} ||= sub { }
573 2 0 $param{'ok_cb'} ||= sub { }
577 2 0 $svc->stopwait_secs || 1
603 0 0 $proxy->name || ''
1005 9 0 ++$$svc{'backoff_retry'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
1031 3 0 1 not $$svc{'normal_exit'} or $$svc{'wants_down'}