Condition Coverage

blib/lib/Text/Fragment.pm
Criterion Covered Total %
condition 17 22 77.2


and 3 conditions

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

or 2 conditions

line l !l condition
68 27 6 $args{'id'} // ""
123 4 14 shift() // ""
180 2 33 $args{'label'} || 'FRAGMENT'
194 6 28 $args{'attrs'} // {}
210 11 22 $args{'comment_style'} // "shell"

or 3 conditions

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