Condition Coverage

blib/lib/Config/IOD/Document.pm
Criterion Covered Total %
condition 41 63 65.0


and 3 conditions

line !l l&&!r l&&r condition
123 61 0 0 defined $opts->{'linum_start'} and $linum < $opts->{'linum_start'}
124 61 0 0 defined $opts->{'linum_end'} and $linum > $opts->{'linum_end'}
141 7 0 2 defined $merge and $num_seen_section_lines > 1
176 15 0 0 defined $merge and $num_seen_section_lines > 1
201 31 0 0 defined $opts->{'linum_start'} and $linum < $opts->{'linum_start'}
202 31 0 0 defined $opts->{'linum_end'} and $linum > $opts->{'linum_end'}
209 15 0 0 $opts->{'unique_section'} && $seen_sections{$cur_section}++
213 16 0 0 $opts->{'unique_key'} and $seen_keys{$key}++
221 14 1 1 $opts->{'early_exit'} and not $res
271 4 3 1 $opts->{'unique'} and $mem{$args{'key'}}++
337 10 3 1 $opts->{'unique'} and $seen{$section}++
354 11 1 1 $opts->{'early_exit'} and not $res
417 14 1 2 @res and not defined $res[-1][1]
421 7 1 2 @res and not $opts->{'all'}
425 3 2 12 @res and not defined $res[-1][1]
738 3 0 0 $found and not $opts->{'all'}

or 2 conditions

line l !l condition
144 0 9 $res->{$cur_section} //= {}
248 0 0 $p->_parse_command_line($l->[6]) // []
521 2 0 $linum //= 1
780 4 109 $line->[5] // ""
4 109 $line->[6] // ""
4 109 $line->[7] // ""

or 3 conditions

line l !l&&r !l&&!r condition
112 2 2 0 $res->{$cur_section}{$k} //= $res->{$merge}{$k}