Condition Coverage

blib/lib/File/Process.pm
Criterion Covered Total %
condition 19 27 70.3


and 3 conditions

line !l l&&!r l&&r condition
106 36 6 12 $args->{'trim'} and $args->{'trim'} =~ /(front|both)/msx
110 36 6 12 $args->{'trim'} and $args->{'trim'} =~ /(both|back)/msx
119 6 5 1 $args->{'skip_blank_lines'} and "$current_line" eq $EMPTY
124 12 0 0 not $args->{'chomp'} and "$current_line" eq $NL
128 6 5 1 $args->{'skip_comments'} and $current_line =~ /^\#/msx
190 0 0 10 $fh && ref $all_lines

or 3 conditions

line l !l&&r !l&&!r condition
117 6 6 42 $args->{'skip_blank_lines'} or $args->{'skip_comments'}
175 10 0 0 $file || $EMPTY
190 0 0 10 not $fh && ref $all_lines or !&reftype($all_lines) eq "ARRAY"