Branch Coverage

blib/lib/Marpa/HTML/Callback.pm
Criterion Covered Total %
branch 33 58 56.9


line true false branch
19 0 9 unless defined $parse_instance
23 0 9 unless $element
26 6 3 unless defined(my $start_tag_token_id = $$Marpa::HTML::Internal::PER_NODE_DATA{'start_tag_token_id'})
42 0 9 unless defined $parse_instance
46 0 9 unless $element
49 8 1 unless defined(my $end_tag_token_id = $$Marpa::HTML::Internal::PER_NODE_DATA{'end_tag_token_id'})
64 0 14 unless defined $parse_instance
69 0 14 unless $element
71 8 6 defined $$Marpa::HTML::Internal::PER_NODE_DATA{'start_tag_token_id'} ? :
79 6 8 defined $$Marpa::HTML::Internal::PER_NODE_DATA{'end_tag_token_id'} ? :
94 0 12 unless defined $parse_instance
110 0 395 unless defined $parse_instance
144 212 418 $child_type eq 'token' ? :
151 0 0 $child_type eq 'valued_span' ? :
159 418 212 $child_type eq 'valued_span' ? :
167 0 0 $child_type eq 'token' ? :
176 212 418 $child_type eq 'token' ? :
190 0 0 $child_type eq 'token' ? :
205 0 0 $child_type eq 'valued_span' ? :
223 0 395 unless defined $parse_instance
231 262 133 unless defined $start_tag_token_id
244 0 6530 unless defined $parse_instance
252 630 5900 unless defined $start_tag_token_id
259 744 5156 defined $attribute_value ? :
278 0 0 unless defined $parse_instance
288 0 108 unless defined $parse_instance
290 0 108 unless defined $parse_instance
301 0 0 unless defined $parse_instance
309 0 2 unless defined $parse_instance