Branch Coverage

blib/lib/YAML/Perl/Error.pm
Criterion Covered Total %
branch 4 22 18.1


line true false branch
22 0 2 @_ ? :
23 0 2 @_ ? :
24 2 0 unless (defined $self->buffer)
34 0 0 if ($self->pointer - $start)
47 0 0 if ($end - $self->pointer > $max_length / 2 - 1)
65 0 2 if (defined $snippet)
100 0 0 if (defined $self->context)
103 0 0 if ($self->context_mark and !($self->problem && $self->problem_mark) || $self->context_mark->name ne $self->problem_mark->name || $self->context_mark->line != $self->problem_mark->line || $self->context_mark->column != $self->problem_mark->column)
114 0 0 if ($self->problem)
117 0 0 if ($self->problem_mark)
120 0 0 if ($self->note)