Condition Coverage

blib/lib/Text/Merge/Lists.pm
Criterion Covered Total %
condition 23 53 43.4


and 3 conditions

line !l l&&!r l&&r condition
294 0 45 0 $$self{'_Text_Merge_Liststyles'} and $style =~ /^(list|table\d+)\_(\w+)$/
338 0 2 0 $items and ref $items
340 0 2 0 $value and $method =~ /numeric/
358 0 0 0 defined $fh and $_ = <$fh>
365 62 0 0 $cache and defined($_ = $$cache{$ind})
392 0 0 0 $cache and $$cache{$cind}
427 0 0 17 $item and $_ = $$item{'ItemType'} || 'default'
431 8 0 9 $itemct++ and $divider
452 0 0 8 $item and $_ = $$item{'ItemType'} || 'default'
464 1 0 1 $fw and $fw = $width - $fw

or 2 conditions

' || ''
line l !l condition
341 0 0 $self->publish_text($value, $$a{'Data'}, $$a{'Actions'}) || 0
0 0 $self->publish_text($value, $$b{'Data'}, $$b{'Actions'}) || 0
366 0 0 -f ($_ = $path . $type . '.txt') && $_ || -f ($_ = $path . $type . '.TXT') && $_ || -f ($_ = $path . $ind . '.txt') && $_ || -f ($_ = $path . uc($type) . '.txt') && $_ || -f ($_ = $path . uc($type) . '.TXT') && $_ || -f ($_ = $path . $ind . '.TXT') && $_ || ''
380 9 13 $$self{'_Text_Merge_Lists_Depth'} || 0
381 10 12 $$self{'_Text_Merge_Lists_MaxDepth'} || 3
427 13 4 $$item{'ItemType'} || 'default'
428 13 4 $$item{'ItemType'} || 'default'
452 0 8 $$item{'ItemType'} || 'default'
453 0 8 $$item{'ItemType'} || 'default'
456 2 2 $itemct && '

or 3 conditions

line l !l&&r !l&&!r condition
371 62 0 0 $file or $type =~ /^(?:header|footer|divider|empty|default)/i