Condition Coverage

lib/Pod/PerldocJp.pm
Criterion Covered Total %
condition 0 99 0.0


and 3 conditions

line !l l&&!r l&&r condition
35 0 0 0 -d $dir and -w $dir
48 0 0 0 not $self->opt_F and $self->opt_J || $pages->[0] && $pages->[0] =~ /^https?:/
58 0 0 0 $file->exists and $file->stat->size
0 0 0 $file->exists and $file->stat->size and $file->stat->mtime > time - 86400
60 0 0 0 $res->{'success'} and not +(my $pod = $file->slurp) =~ /^=encoding\s/m
110 0 0 0 defined $rest and length $rest
178 0 0 0 $] >= 5.008 and $self->opt_L
228 0 0 0 $self->opt_L and defined $self->{'translators'}[0]
261 0 0 0 /^=over/ and not $found
0 0 0 /^=back/ and not $found
0 0 0 /^=back/ and not $found and $inlist
269 0 0 0 /^=item\s+$search_re\b/ and $inlist < 2
0 0 0 @related > 1 and /^=item/
0 0 0 $found and /^X<[^>]+>/
278 0 0 0 $found > 1 and $inlist < 2
282 0 0 0 $found > 1 and $inlist < 2
329 0 0 0 $opt ne '$0' and $opt =~ /^\$\d+$/
359 0 0 0 $found and not $inheader
0 0 0 $found and not $inheader and not $inlist
376 0 0 0 $found and not $inheader
0 0 0 $found and not $inheader and not $inlist
455 0 0 0 $self->opt_L and defined $self->{'translators'}[0]
482 0 0 0 @related > 1 and /^=item/
0 0 0 $found and /^X<[^>]+>/
495 0 0 0 $found > 1 and not $inlist
505 0 0 0 $found > 1 and not $inlist

or 2 conditions

line l !l condition
46 0 0 $ENV{'PERLDOCJP_ENCODINGS'} || 'euc-jp shiftjis utf8'
51 0 0 $ENV{'PERLDOCJP_SERVER'} || 'http://perldoc.charsbar.org/api/pod'
144 0 0 $self->{'formatter_classes'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
48 0 0 0 $self->opt_J || $pages->[0] && $pages->[0] =~ /^https?:/
173 0 0 0 $self->opt_f || $self->opt_q || $self->opt_v || $self->opt_a
186 0 0 0 !$self->not_dynamic && $self->opt_f || $self->opt_v || $self->opt_a
273 0 0 0 $related_re ||= join('|', @related)
486 0 0 0 $related_re ||= join('|', @related)