Branch Coverage

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


line true false branch
29 4434 35609 unless (length $self->{'input'})
32 35609 0 if ($self->{'input'} =~ /\G([^\r\n]*(?:\n|\r\n|\r|\z))/g)
34 7355 28254 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) { }