Branch Coverage

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


line true false branch
165 1 2 defined $version ? :
216 1 1 if defined $version
218 2 0 if defined $start_line
235 0 3 if ($self->in_segment)
238 1 2 if ($$event{'content'} =~ $self->regexp_begin_with_version)
241 2 0 if ($$event{'content'} =~ $self->regexp_begin)
258 0 0 unless ($self->in_segment or $$event{'content'} =~ $self->regexp_begin)
262 3 0 if ($self->in_segment)
264 0 3 if ($statement ne $expected_end)
269 0 0 if ($$event{'content'} =~ $self->regexp_begin)
283 1 1 if ($$event{'content'} =~ $self->regexp_for_with_version)
286 1 0 if ($$event{'content'} =~ $self->regexp_for)
311 0 3 unless $self->in_segment
323 0 4 if ($self->in_segment)
337 5 23 unless 'command' eq $$event{'type'}
338 13 10 unless $$event{'command'} eq $command
342 3 2 if ('text' eq $$event{'type'})