Condition Coverage

blib/lib/Pod/L10N/Html.pm
Criterion Covered Total %
condition 40 71 56.3


and 3 conditions

line !l l&&!r l&&r condition
217 28 1 0 $opts->{'verbose'} and defined $opts->{'flush'}
232 1 0 28 $self->{'Htmlroot'} eq "" and defined $self->{'Htmldir'}
1 13 15 $self->{'Htmlroot'} eq "" and defined $self->{'Htmldir'} and $self->{'Htmldir'} ne ""
13 4 11 $self->{'Htmlroot'} eq "" and defined $self->{'Htmldir'} and $self->{'Htmldir'} ne "" and substr($self->{'Htmlfile'}, 0, length $self->{'Htmldir'}) eq $self->{'Htmldir'}
277 27 0 0 $self->{'Podroot'} =~ /\.\./l && !($self->{'Podroot'} =~ m[[^\.\\/]]l)
314 29 0 0 $self->{'Saved_Cache_Key'} and $this_cache_key eq $self->{'Saved_Cache_Key'}
382 29 0 0 @ARGV and $ARGV[0]
383 0 0 29 $self->{'Podfile'} and $self->{'Podfile'} ne "-"
414 0 0 22 $podtree->[0] eq "Document" and ref $podtree->[2] eq "ARRAY"
0 0 22 $podtree->[0] eq "Document" and ref $podtree->[2] eq "ARRAY" and $podtree->[2][0] eq "head1"
0 0 22 $podtree->[0] eq "Document" and ref $podtree->[2] eq "ARRAY" and $podtree->[2][0] eq "head1" and @{$podtree->[2];} == 3
0 0 22 $podtree->[0] eq "Document" and ref $podtree->[2] eq "ARRAY" and $podtree->[2][0] eq "head1" and @{$podtree->[2];} == 3 and ref $podtree->[2][2] eq ""
0 1 21 $podtree->[0] eq "Document" and ref $podtree->[2] eq "ARRAY" and $podtree->[2][0] eq "head1" and @{$podtree->[2];} == 3 and ref $podtree->[2][2] eq "" and $podtree->[2][2] eq "NAME"
1 0 21 $podtree->[0] eq "Document" and ref $podtree->[2] eq "ARRAY" and $podtree->[2][0] eq "head1" and @{$podtree->[2];} == 3 and ref $podtree->[2][2] eq "" and $podtree->[2][2] eq "NAME" and ref $podtree->[3] eq "ARRAY"
1 0 21 $podtree->[0] eq "Document" and ref $podtree->[2] eq "ARRAY" and $podtree->[2][0] eq "head1" and @{$podtree->[2];} == 3 and ref $podtree->[2][2] eq "" and $podtree->[2][2] eq "NAME" and ref $podtree->[3] eq "ARRAY" and $podtree->[3][0] eq "Para"
0 0 21 $podtree->[0] eq "Document" and ref $podtree->[2] eq "ARRAY" and $podtree->[2][0] eq "head1" and @{$podtree->[2];} == 3 and ref $podtree->[2][2] eq "" and $podtree->[2][2] eq "NAME" and ref $podtree->[3] eq "ARRAY" and $podtree->[3][0] eq "Para" and @{$podtree->[3];} >= 3
0 0 21 $podtree->[0] eq "Document" and ref $podtree->[2] eq "ARRAY" and $podtree->[2][0] eq "head1" and @{$podtree->[2];} == 3 and ref $podtree->[2][2] eq "" and $podtree->[2][2] eq "NAME" and ref $podtree->[3] eq "ARRAY" and $podtree->[3][0] eq "Para" and @{$podtree->[3];} >= 3 and not grep({ref $_ ne "";} @{$$podtree[3];}[2 .. $#{$$podtree[3];}])
0 4 17 $podtree->[0] eq "Document" and ref $podtree->[2] eq "ARRAY" and $podtree->[2][0] eq "head1" and @{$podtree->[2];} == 3 and ref $podtree->[2][2] eq "" and $podtree->[2][2] eq "NAME" and ref $podtree->[3] eq "ARRAY" and $podtree->[3][0] eq "Para" and @{$podtree->[3];} >= 3 and not grep({ref $_ ne "";} @{$$podtree[3];}[2 .. $#{$$podtree[3];}]) and @$podtree == 4 || ref $podtree->[4] eq 'ARRAY' && $podtree->[4][0] eq 'head1'
488 528 0 12 $tree->[0] eq 'X' && $parser->nix_X_codes
501 0 0 29 $self->{'Htmlfile'} and $self->{'Htmlfile'} ne "-"
661 63 0 6 $_[0]->backlink && $h - $add == 0

or 2 conditions

line l !l condition
428 26 3 $self->{'Title'} //= ""

or 3 conditions

line l !l&&r !l&&!r condition
414 2 17 2 @$podtree == 4 || ref $podtree->[4] eq 'ARRAY' && $podtree->[4][0] eq 'head1'
585 76 47 0 defined $to or defined $section