Branch Coverage

blib/lib/Test/C2FIT/Parse.pm
Criterion Covered Total %
branch 33 48 68.7


line true false branch
45 0 37 unless $tags
46 3 34 unless $level
47 3 34 unless $offset
58 0 37 if (substr($lc, $endTag - 2, 1) eq '/') { }
71 0 37 if ($startTag < 0 or $endTag < 0 or $startEnd < 0 or $endEnd < 0)
78 0 37 if ($isEmpty) { }
92 13 24 if ($level + 1 < scalar @{$tags;}) { }
101 0 24 if ($index >= 0)
108 21 16 if ($startMore >= 0)
128 0 37 if $embeddedTag < 0 and $embeddedTagEnd < 0
131 16 21 if $embeddedTag < 0
132 0 37 if $embeddedTagEnd < 0
134 0 37 if ($embeddedTag < $embeddedTagEnd) { }
37 0 elsif ($embeddedTagEnd < $embeddedTag) { }
150 0 0 $self->more ? :
155 3 2 $self->more ? :
160 2 1 $self->parts ? :
166 4 30 if 3 == @_
167 3 27 if 2 == @_
168 22 5 $_[0] == 0 || !defined($self->more) ? :
191 2 30 unless $s
276 0 0 if ($self->parts) { }
283 0 0 if ($self->more) { }
318 1 50 if @_