Branch Coverage

blib/lib/HTML/Blitz/Builder.pm
Criterion Covered Total %
branch 51 76 67.1


line true false branch
19 0 3 if @_ < 1
25 0 3 if @_ < 1
0 3 if @_ > 1
31 25 9 ref $_ eq 'HTML::Blitz::Builder' ? :
3 26 ref $_ eq 'HTML::Blitz::Builder::_Fragment' ? :
32 0 0 $1 eq '&' ? :
2 0 $1 eq '<' ? :
38 0 0 if @parts == 1 and ref $parts[0] eq 'HTML::Blitz::Builder' || ref $parts[0] eq 'HTML::Blitz::Builder::_Fragment'
43 0 1 if @_ > 0
48 0 6 if @_ < 1
0 6 if @_ > 1
49 2 4 if $content =~ /\A(-?>)/u
51 3 1 if $content =~ /() | ( < (/?) script [ \t\r\n\f/>] ) ]aacgix
124 2 6 if $1
125 0 6 if $3
127 1 5 unless $contents =~ m[ (-->) | ] ]aacgix
129 3 2 if $1