Branch Coverage

blib/lib/Pod/Cats.pm
Criterion Covered Total %
branch 28 42 66.6


line true false branch
196 0 0 unless -e $filename
243 21 25 if (/^\s*$/) { }
0 25 elsif (/^([=+-])/) { }
10 15 elsif (/^\s+\S/) { }
286 5 5 unless $self->_buftype
288 5 0 if ($self->_buftype eq 'verbatim')
290 0 5 if $self->{'buffer'}[-1] =~ /\S/
304 0 21 unless $self->_buftype
308 9 12 if ($self->_buftype eq 'verbatim')
330 5 5 if ($self->_buftype ne 'verbatim')
342 5 10 if ($self->_buftype eq 'verbatim')
346 15 0 unless ($self->_buftype)
355 82 35 if (@{$self->{'buffer'};})
369 0 20 unless $self->_buftype
374 15 5 if ($_ eq 'paragraph') { }
5 0 elsif ($_ eq 'verbatim') { }
0 0 elsif ($_ eq 'command' or $_ eq 'begin') { }
0 0 elsif ($_ eq 'end') { }
382 5 0 if $buffer[-1] eq ''
386 4 10 unless length $1
458 14 1 defined $parsed->[0] || @$parsed > 1 ? :