Branch Coverage

blib/lib/HTML/Blitz/CodeGen.pm
Criterion Covered Total %
branch 223 372 59.9


line true false branch
31 0 290 if @_ < 1
0 290 if @_ > 1 and (@_ - 1) % 2
17 273 exists ${__rest}{'_scope'} ? :
0 290 if keys %{__rest}
32 279 11 defined $name ? :
41 0 1 if @_ < 2
0 1 if @_ > 2
47 3 9 if ($op->{'type'} eq ":OP-LOOP" or $op->{'type'} eq ":OP-COND")
51 2 1 if ($model eq "JSON" and $op->{'type'} eq ":OP-COND")
52 1 1 ref $_->[1] eq 'SCALAR' ? :
60 0 1 if @_ < 4
0 1 if @_ > 4
61 0 1 unless $repr_version <= 1
66 4 4 if ($type eq "exit")
72 0 4 unless $type eq "init"
76 3 9 if ($op->{'type'} eq ":OP-LOOP" or $op->{'type'} eq ":OP-COND")
77 2 1 if ($model eq "JSON" and $op->{'type'} eq ":OP-COND")
78 1 1 ref $_->[1] eq 'ARRAY' ? :
88 0 746 if @_ < 1
0 746 if @_ > 1
92 0 10027 if @_ < 2
0 10027 if @_ > 2
93 4 10023 if $str eq ""
94 9937 86 if (+(my $op = $self->{'code'}[-1])->{'type'} eq ':OP-RAW') { }
101 0 8 if @_ < 1
0 8 if @_ > 1
105 0 30 if @_ < 2
0 30 if @_ > 2
106 0 30 if $content =~ /\A(-?>)/u
108 0 30 if $content =~ /(