Condition Coverage

blib/lib/PPI/HTML/CodeFolder.pm
Criterion Covered Total %
condition 15 41 36.5


and 3 conditions

line !l l&&!r l&&r condition
530 0 0 2 $$self{'fold'}{'Abbreviate'} and not ref $$self{'fold'}{'Abbreviate'}
1045 2 0 0 exists $$pkgs{$pkg} and $$pkgs{$pkg}{'URL'}
1139 0 546 7244 $ln <= $#$lnmap and $$lnmap[$ln] <= $$_[0]
1141 0 546 1194 $ln <= $#$lnmap and $$lnmap[$ln] <= $$_[1]
1173 8 0 620 @$first and @$second
1270 62 0 0 substr($jspath, 0, 2) eq './' and substr($path, 0, 2) eq './'
1282 0 0 0 @parts and @jsparts
0 0 0 @parts and @jsparts and $parts[0] eq $jsparts[0]

or 2 conditions

line l !l condition
619 2 0 $self->_css_html || qq[<style type="text/css">\n<!--\nbody {\n font-family: fixed, Courier;\n font-size: 10pt;\n}\n]

or 3 conditions

line l !l&&r !l&&!r condition
690 0 0 0 $script ||= $src
2 0 0 ref $src or substr($src, -3) eq '.pm'
817 2774 0 0 $$abvs{$2} || $2
819 108 0 0 $$abvs{$2} || $2
1108 2 8 0 $_ eq 'Whitespace' or $$opts{$_}