Condition Coverage

blib/lib/Text/Fragment.pm
Criterion Covered Total %
condition 16 22 72.7


and 3 conditions

line !l l&&!r l&&r condition
305 11 0 1 $good_pattern and $text =~ /$good_pattern/
322 7 0 1 $replace_pattern and $text =~ /($replace_pattern)/

or 2 conditions

line l !l condition
67 27 6 $args{'id'} // ''
122 18 0 shift() // ''
179 2 33 $args{'label'} || 'FRAGMENT'
193 6 28 $args{'attrs'} // {}
209 11 22 $args{'comment_style'} // 'shell'

or 3 conditions

line l !l&&r !l&&!r condition
33 0 0 6 $c eq '\\' or $c eq '"'
157 2 0 10 $f{'is_multi'} or $pl =~ /\R/