Condition Coverage

blib/lib/Pod/Simple/HTMLBatch.pm
Criterion Covered Total %
condition 30 84 35.7


and 3 conditions

line !l l&&!r l&&r condition
55 0 0 0 defined $ARGV[1] and length $ARGV[1]
134 0 0 1 defined $outdir and length $outdir
153 0 1 0 not $progress and $self->verbose > 0
1 0 0 not $progress and $self->verbose > 0 and $self->verbose <= 5
580 0 0 0 not $name =~ /\?/ and $name =~ m[([^/]+)$]s
606 0 0 11 ref $chunk->[-1] and $url =~ /^(_[-a-z0-9_]+\.css$)/
641 0 0 121 $chunk and @$chunk
767 0 0 1 ref $script->[-1] and $url =~ /^(_[-a-z0-9_]+\.js$)/
806 0 0 11 $s and @$s

or 2 conditions

line l !l condition
118 1 0 $self ||= "Pod::Simple::HTMLBatch"
130 0 0 $Config::Config{'path_sep'} || ':'
304 1 0 $self->_contents_filespec($outdir) || (return)
330 1 0 $self->contents_page_start || ''
381 1 0 $self->contents_page_end || ''
481 10 0 $page->html_header_after_title || ''
497 10 0 $page->html_footer || ''
585 0 11 $media ||= "all"
586 0 11 $content_type ||= "text/css"
693 7 2 $4 || ''
751 0 1 $content_type || 'text/javascript'
789 1 0 $self->_javascript || (return)

or 3 conditions

line l !l&&r !l&&!r condition
68 0 1 0 ref $_[0] || $_[0]
79 0 1 0 $HTML_EXTENSION || $Pod::Simple::HTML::HTML_EXTENSION
98 1 0 0 eval { do { $new->VERSION } } || $VERSION
0 1 0 $ENV{'SOURCE_DATE_EPOCH'} || time
121 0 0 1 not defined $dirs or $dirs eq ""
0 0 1 not defined $dirs or $dirs eq "" or $dirs eq "\@INC"
147 0 1 0 $self->{'_batch_start_time'} ||= time
229 0 10 0 $outfile ||= do { my(@n) = @namelets; $n[-1] .= $HTML_EXTENSION || $Pod::Simple::HTML::HTML_EXTENSION; $self->filespecsys->catfile($outdir, @n) }
231 0 10 0 $HTML_EXTENSION || $Pod::Simple::HTML::HTML_EXTENSION
368 0 10 0 $HTML_EXTENSION || $Pod::Simple::HTML::HTML_EXTENSION
660 0 132 0 $url =~ m[^\./] || !($url =~ m[[/\:]])