blib/lib/YAML/Perl/Reader.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 24 | 54.1 |
line | true | false | branch |
---|---|---|---|
54 | 0 | 3198 | if ($$self{'index'} + $index > length $$self{'buffer'}) |
64 | 395 | 0 | @_ ? : |
70 | 339 | 231 | @_ ? : |
75 | 102 | 707 | if ($ch =~ /[\n\x85]/ or $ch eq "\r" and $self->peek(2) != "\n") { } |
707 | 0 | elsif ($ch ne '') { } | |
91 | 0 | 543 | unless (defined $self->stream) |
126 | 0 | 30 | if ($match) |
142 | 0 | 30 | unless (defined $self->raw_buffer) |
148 | 0 | 30 | unless ($self->eof) |
152 | 0 | 30 | if (defined $self->raw_decode) { } |
179 | 30 | 0 | if ($self->eof) |
191 | 0 | 0 | if ($data) { } |