Branch Coverage

blib/lib/YAML/Perl/Composer.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
23 1 0 if (wantarray) { }
31 0 0 $self->check_node ? :
37 19 37 if $self->parser->check_event('YAML::Perl::Event::StreamStart')
44 0 19 $self->parser->check_event('YAML::Perl::Event::StreamEnd') ? :
75 2 74 if ($self->parser->check_event('YAML::Perl::Event::Alias'))
78 0 2 unless ($self->anchors->{$anchor})
87 0 74 if (defined $anchor and $self->anchors->{$anchor})
93 14 0 $self->parser->check_event('YAML::Perl::Event::MappingStart') ? :
11 14 $self->parser->check_event('YAML::Perl::Event::SequenceStart') ? :
49 25 $self->parser->check_event('YAML::Perl::Event::Scalar') ? :
120 0 49 if defined $anchor
130 9 2 if (not $tag or $tag eq '!')
142 0 11 if ($anchor)
160 12 2 if (not defined $tag or $tag eq '!')
174 2 12 if ($anchor)