Branch Coverage

blib/lib/HTML/Blitz/CodeGen.pm
Criterion Covered Total %
branch 228 376 60.6


line true false branch
29 0 300 if @_ < 1
0 300 if @_ > 1 and (@_ - 1) % 2
24 276 exists ${__rest}{'_scope'} ? :
0 300 if keys %{__rest}
30 284 16 defined $name ? :
39 0 2 if @_ < 2
0 2 if @_ > 2
45 6 18 if ($op->{'type'} eq ":OP-LOOP" or $op->{'type'} eq ":OP-COND")
49 2 4 if ($model eq "JSON" and $op->{'type'} eq ":OP-COND")
50 1 1 ref $_->[1] eq 'SCALAR' ? :
58 0 2 if @_ < 4
0 2 if @_ > 4
60 0 2 unless $repr_version <= 1
65 8 8 if ($type eq "exit")
71 0 8 unless $type eq "init"
75 6 18 if ($op->{'type'} eq ":OP-LOOP" or $op->{'type'} eq ":OP-COND")
76 2 4 if ($model eq "JSON" and $op->{'type'} eq ":OP-COND")
77 1 1 ref $_->[1] eq 'ARRAY' ? :
87 0 767 if @_ < 1
0 767 if @_ > 1
91 0 10152 if @_ < 2
0 10152 if @_ > 2
92 5 10147 if $str eq ""
93 10059 88 if (+(my $op = $self->{'code'}[-1])->{'type'} eq ':OP-RAW') { }
100 0 9 if @_ < 1
0 9 if @_ > 1
104 0 34 if @_ < 2
0 34 if @_ > 2
105 0 34 if $content =~ /\A(-?>)/u
107 0 34 if $content =~ /(