Branch Coverage

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


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