Condition Coverage

blib/lib/File/Process.pm
Criterion Covered Total %
condition 18 24 75.0


and 3 conditions

line !l l&&!r l&&r condition
75 0 0 18 $fh and ref $all_lines
165 108 6 12 $args->{'trim'} and $args->{'trim'} =~ /(front|both)/msx
169 108 6 12 $args->{'trim'} and $args->{'trim'} =~ /(both|back)/msx
178 6 5 1 $args->{'skip_blank_lines'} and "$current_line" eq $File::Process::EMPTY
183 12 0 0 not $args->{'chomp'} and "$current_line" eq $File::Process::NL
187 6 5 1 $args->{'skip_comments'} and $current_line =~ /^\#/msx

or 3 conditions

line l !l&&r !l&&!r condition
60 18 0 0 $file || $File::Process::EMPTY
176 6 6 114 $args->{'skip_blank_lines'} or $args->{'skip_comments'}