Branch Coverage

blib/lib/YAML/PP/Reader.pm
Criterion Covered Total %
branch 8 12 66.6


line true false branch
29 1104 6756 unless (length $self->{'input'})
32 6756 0 if ($self->{'input'} =~ /\G([^\r\n]*(?:\n|\r\n|\r|\z))/g)
34 1659 5097 unless (length $line)
52 1 18 if (&openhandle($_[0]{'input'}))
56 0 18 unless open my $fh, "<:encoding(UTF-8)", $_[0]{'input'}
62 0 0 if (wantarray) { }