Condition Coverage

blib/lib/Pod/Site.pm
Criterion Covered Total %
condition 41 62 66.1


and 3 conditions

line !l l&&!r l&&r condition
122 0 14 0 $shebang and $shebang =~ /^#!.*\bperl/
319 2 0 2 -e $dest and not $$self{"replace_$ext"}
333 62 493 1 $desc && $encoding
1 555 0 not $desc && $encoding and $_ = <$fh>
338 0 15 1 $desc and $encoding
341 16 0 0 $$self{'verbose'} and not $desc
561 2 2 4 $to && $search->name2path->{$to}
563 2 0 2 $id and not $to

or 2 conditions

line l !l condition
343 16 0 $desc || ''
472 6 4 $$mods{shift @names} ||= {}
474 0 4 $$data{$_} ||= {}
509 2 0 $self->bin_files || {}
560 6 2 $$flags{'to'} || ''
566 2 0 $self->title || $self->default_title || ''
572 70 0 $self->force_title || $self->title || $self->default_title || ''

or 3 conditions

line l !l&&r !l&&!r condition
348 1 2 0 $$self{'sample_module'} ||= $self->main_module
353 14 2 0 $$self{'main_module'} ||= $self->_find_module
363 4 2 0 $$self{'title'} ||= join(' ', $self->name, $self->versioned_title ? $self->version : (), $self->label ? $self->label : ())
383 0 1 0 $$self{'version'} ||= $info->version
431 2 2 9 $opts{'help'} or $opts{'man'}
490 6 8 0 $desc ||= $self->get_desc($class, $fn)
563 4 0 4 $url or $id and not $to
566 4 2 0 $to ||= $self->title || $self->default_title || ''