Condition Coverage

lib/OODoc/Parser/Markov.pm
Criterion Covered Total %
condition 0 114 0.0


and 3 conditions

line !l l&&!r l&&r condition
199 0 0 0 not $self->inDoc || $line =~ /^\s*package\s*DB\s*;/ and $line =~ s/^(\s*package\s*([\w\-\:]+)\s*\;)//
0 0 0 not $self->inDoc and $line =~ /^=package\s*([\w\-\:]+)\s*$/
566 0 0 0 $self->inDoc and not $self->currentManual->isPurePod
607 0 0 0 defined $subroutine and length $subroutine
625 0 0 0 defined $option and length $option
658 0 0 0 defined $text and length $text
660 0 0 0 defined $item and length $item
687 0 0 0 defined $string and length $string
696 0 0 0 $lines[$i] =~ /^\s*$/ and $protect
0 0 0 $lines[$i] =~ /^\s*$/ and $protect and $protect eq "for"
707 0 0 0 $i > 0 and $lines[$i - 1] ne "\n"
0 0 0 $i < $#lines and $lines[$i + 1] ne "\n"
0 0 0 $i < $#lines and $lines[$i + 1] ne "\n" and substr($lines[$i], 0, 5) ne "=for "
720 0 0 0 $i < $#lines and $lines[$i] eq "\n"
0 0 0 $i < $#lines and $lines[$i] eq "\n" and $lines[$i + 1] eq "\n"
726 0 0 0 @lines and $lines[0] eq "\n"
727 0 0 0 @lines and $lines[-1] eq "\n"
771 0 0 0 defined $string and length $string
940 0 0 0 $args{'make_m'} && !($struct->type eq 'Chapter' && $struct->name eq 'NAME')

or 2 conditions

line l !l condition
545 0 0 $line || ''
907 0 0 $args{'params'} || {}
1018 0 0 $args{'wrap_c'} || ['undef', 'true', 'false']

or 3 conditions

line l !l&&r !l&&!r condition
158 0 0 0 $args{'output'} || 'File::Spec'->devnull
199 0 0 0 $self->inDoc || $line =~ /^\s*package\s*DB\s*;/
0 0 0 $pure_pod or $self->inDoc
269 0 0 0 not $self->inDoc or $pure_pod
421 0 0 0 $self->{'OPM_subsection'} || $self->{'OPM_section'} || $self->{'OPM_chapter'}
540 0 0 0 $self->activeSubroutine || $self->{'OPM_subsubsection'} || $self->{'OPM_subsection'} || $self->{'OPM_section'} || $self->{'OPM_chapter'}
556 0 0 0 $self->inDoc or $self->currentManual->isPurePod
588 0 0 0 not $@ or $@ =~ /attempt to reload/i
0 0 0 not $@ or $@ =~ /attempt to reload/i or $self->skipManualLink($link)
646 0 0 0 $text // $link
654 0 0 0 $self->index->findManual($name) || $name
670 0 0 0 $text //= $man->name
674 0 0 0 $text //= $item
679 0 0 0 $text //= "$man"
775 0 0 0 $string =~ /(?:\A|\n) # start of line \=begin\s+(:?\w+)\s* # begin statement (.*?) # encapsulated \n\=end\s+\1\s* # related end statement /sx or $string =~ /(?:\A|\n) # start of line \=for\s+(:?\w+)\b # for statement (.*?)\n # encapsulated (\n|\Z) # end of paragraph /sx
959 0 0 0 not @options or $params->{'%options'}
1044 0 0 0 $object->isa("OODoc::Text::Option") or $object->isa("OODoc::Text::Default")