Condition Coverage

lib/MCP/Run/Compress.pm
Criterion Covered Total %
condition 36 59 61.0


and 3 conditions

line !l l&&!r l&&r condition
112 0 0 186 $parsed and $filter_spec
922 0 0 0 $omit > 0 and $tail > 0
943 7 0 1 not length trim($out) and $matched_filter->{'on_empty'}

or 2 conditions

line l !l condition
81 9 324 $parsed_command->{'flags'} // {}
82 9 0 $parsed_command->{'flags'}{$flag} // 1
84 333 0 $parsed_command->{'program'} // ""
234 99 $parsed_command->{'subcommand'} // ""
105 0 423 $args{'strip_ansi'} // 0
414 9 $args{'strip_lines_matching'} // []
0 423 $args{'keep_lines_matching'} // []
180 243 $args{'truncate_lines_at'} // 0
423 0 $args{'max_lines'} // 0
9 414 $args{'tail_lines'} // 0
9 414 $args{'head_lines'} // 0
9 414 $args{'on_empty'} // ""
0 423 $args{'replace'} // []
18 405 $args{'match_output'} // []
9 414 $args{'filter_stderr'} // 0
9 414 $args{'output_detect'} // undef
18 405 $args{'transform'} // undef
115 186 0 $filter_spec->{'program'} // ""
186 0 $parsed->{'program'} // ""
119 2 0 $filter_spec->{'subcommand'} // ""
2 0 $parsed->{'subcommand'} // ""
123 0 0 $filter_spec->{'flags'} // {}
250 0 0 $4 // 0
851 8 0 $stderr // ""
920 0 0 $matched_filter->{'tail_lines'} // 0