Branch Coverage

blib/lib/MetaPOD/Extractor.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
166 1 2 defined $version ? :
217 1 1 if defined $version
219 2 0 if defined $start_line
236 0 3 if ($self->in_segment)
239 1 2 if ($event->{'content'} =~ $self->regexp_begin_with_version)
242 2 0 if ($event->{'content'} =~ $self->regexp_begin)
259 0 0 unless ($self->in_segment or $event->{'content'} =~ $self->regexp_begin)
263 3 0 if ($self->in_segment)
265 0 3 if ($statement ne $expected_end)
270 0 0 if ($event->{'content'} =~ $self->regexp_begin)
284 1 1 if ($event->{'content'} =~ $self->regexp_for_with_version)
287 1 0 if ($event->{'content'} =~ $self->regexp_for)
312 0 3 unless $self->in_segment
324 0 4 if ($self->in_segment)
338 5 23 unless 'command' eq $event->{'type'}
339 13 10 unless $event->{'command'} eq $command
343 3 2 if ('text' eq $event->{'type'})