Condition Coverage

blib/lib/Unix/PasswdFileOps.pm
Criterion Covered Total %
condition 0 35 0.0


and 2 conditions

line l !l condition
242 0 0 _error_msg($self, "Cannot open ${passwd}: $!") and return 1
265 0 0 _error_msg($self, "Cannot open ${passwd}: $!") and return 1
308 0 0 _error_msg($self, "Cannot open ${passwd}: $!") and return 1

and 3 conditions

line !l l&&!r l&&r condition
182 0 0 0 $new_val and $new_val >= 0
0 0 0 $new_val and $new_val >= 0 and $new_val <= 6
229 0 0 0 $$self{'sort_field'} and $$self{'sort_field'} <= 0
0 0 0 $$self{'sort_field'} and $$self{'sort_field'} <= 0 and $$self{'sort_field'} >= 6
0 0 0 $$self{'sort_field'} and $$self{'sort_field'} >= 0
0 0 0 $$self{'sort_field'} and $$self{'sort_field'} >= 0 and $$self{'sort_field'} <= 6
249 0 0 0 $lines[2] == 0 and $$self{'protect_zero'}

or 2 conditions

line l !l condition
62 0 0 $params{'passwd'} || undef
63 0 0 $params{'protect_zero'} || undef
64 0 0 $params{'verbose'} || undef
65 0 0 $params{'sort_field'} || undef