Condition Coverage

lib/ControlFreak/Command.pm
Criterion Covered Total %
condition 15 44 34.0


and 3 conditions

line !l l&&!r l&&r condition
126 0 12 5 defined $value and not length $value
220 0 0 0 defined $value and not length $value
273 0 0 2 $subcmd and $subcmd eq 'service'
305 0 0 0 defined $value and not length $value

or 2 conditions

line l !l condition
58 40 0 $param{'ok_cb'} || sub { }
59 40 0 $param{'err_cb'} || sub { }
93 28 0 $param{'ok_cb'} || sub { }
94 28 0 $param{'err_cb'} || sub { }
161 1 0 $param{'ok_cb'} || sub { }
162 1 0 $param{'err_cb'} || sub { }
185 0 0 $param{'ok_cb'} || sub { }
186 0 0 $param{'err_cb'} || sub { }
246 5 0 $param{'ok_cb'} || sub { }
247 5 0 $param{'err_cb'} || sub { }

or 3 conditions

line l !l&&r !l&&!r condition
121 1 1 15 $value =~ /^"(.*)"/ or $value =~ /^'(.*)'/
169 1 0 0 $command or @args
215 0 0 0 $value =~ /^"(.*)"/ or $value =~ /^'(.*)'/
300 0 0 0 $value =~ /^"(.*)"/ or $value =~ /^'(.*)'/