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
121 61 0 0 defined $opts->{'linum_start'} and $linum < $opts->{'linum_start'}
122 61 0 0 defined $opts->{'linum_end'} and $linum > $opts->{'linum_end'}
139 7 0 2 defined $merge and $num_seen_section_lines > 1
174 15 0 0 defined $merge and $num_seen_section_lines > 1
199 31 0 0 defined $opts->{'linum_start'} and $linum < $opts->{'linum_start'}
200 31 0 0 defined $opts->{'linum_end'} and $linum > $opts->{'linum_end'}
207 15 0 0 $opts->{'unique_section'} && $seen_sections{$cur_section}++
211 16 0 0 $opts->{'unique_key'} and $seen_keys{$key}++
219 14 1 1 $opts->{'early_exit'} and not $res
269 4 3 1 $opts->{'unique'} and $mem{$args{'key'}}++
335 10 3 1 $opts->{'unique'} and $seen{$section}++
352 11 1 1 $opts->{'early_exit'} and not $res
415 14 1 2 @res and not defined $res[-1][1]
419 7 1 2 @res and not $opts->{'all'}
423 3 2 12 @res and not defined $res[-1][1]
736 3 0 0 $found and not $opts->{'all'}

or 2 conditions

line l !l condition
142 0 9 $res->{$cur_section} //= {}
246 0 0 $p->_parse_command_line($l->[6]) // []
519 2 0 $linum //= 1
778 4 109 $line->[5] // ''
4 109 $line->[6] // ''
4 109 $line->[7] // ''

or 3 conditions

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