Condition Coverage

blib/lib/Web/Scaffold.pm
Criterion Covered Total %
condition 20 107 18.6


and 3 conditions

line !l l&&!r l&&r condition
127 0 0 0 exists $$specs{'autocheck'} and ref $$specs{'autocheck'}
265 0 1 3 exists $$pp{$_} and exists $$pp{$_}{'submenu'}
1 1 2 exists $$pp{$_} and exists $$pp{$_}{'submenu'} and @{$$pp{$_}{'submenu'};}
314 0 0 0 exists $$pp{$page} and exists $$pp{$page}{'menu'}
0 0 0 exists $$pp{$page} and exists $$pp{$page}{'menu'} and @selectbar = @{$$pp{$page}{'menu'};}
337 0 0 0 exists $$pp{$name} and exists $$pp{$name}{'submenu'}
0 0 0 exists $$pp{$name} and exists $$pp{$name}{'submenu'} and @{$$pp{$name}{'submenu'};}
381 0 0 0 exists $$pp{$page}{'trailer'}{'links'} and $cols = @selectbar = @{$$pp{$page}{'trailer'}{'links'};}
387 0 0 0 exists $$pp{$page}{'trailer'}{'text'} and $$pp{$page}{'trailer'}{'text'}
412 0 0 0 exists $$pp{$page}{'trailer'}{'text'} and $$pp{$page}{'trailer'}{'text'}
422 0 0 0 $html and exists $$pp{$page}{'trailer'}{'bottom'}
480 4 0 1 -e $file and open F, $file
496 0 0 0 -e $file and open F, $file
517 1 0 1 exists $$pp{$page}{'column'} && ref $$pp{$page}{'column'} eq 'ARRAY'
539 2 0 0 $page eq 'Sitemap' and exists $$specs{'sitemapdir'}
560 4 0 0 $smn and $smn == $_
610 5 0 4 'GET' eq $tmp and defined $ENV{'QUERY_STRING'}
2 0 3 'POST' eq $tmp and defined $ENV{'CONTENT_LENGTH'}
2 2 1 'POST' eq $tmp and defined $ENV{'CONTENT_LENGTH'} and $ENV{'CONTENT_LENGTH'}
714 0 0 0 exists $$pp{$page}{'menu'} and ref $$pp{$page}{'menu'} eq 'ARRAY'
0 0 0 exists $$pp{$page}{'menu'} and ref $$pp{$page}{'menu'} eq 'ARRAY' and @{$$pp{$page}{'menu'};}
729 0 0 0 exists $$pp{$page}{'trailer'} and ref $$pp{$page}{'trailer'} eq 'HASH'
899 0 0 0 exists $$pages{$pg} and exists $$pages{$pg}{'menu'}
908 0 0 0 exists $$pages{$pg}{'trailer'} and exists $$pages{$pg}{'trailer'}{'links'}
1067 0 0 0 exists $$specs{'sitemapdir'} and -e $$specs{'sitemapdir'}
0 0 0 exists $$specs{'sitemapdir'} and -e $$specs{'sitemapdir'} and -w $$specs{'sitemapdir'}

or 2 conditions

line l !l condition
455 0 34 $1 || 'B'
541 0 0 $$pp{'Sitemap'}{'autocol'} || 1
543 0 2 $$pp{$page}{'heading'} || ''
651 0 0 $query{'page'} || 'Home'
653 0 0 $$pp{$page}{'debug'} || ''
1005 0 0 $ENV{'SERVER_PORT'} || 80
1008 0 0 $ENV{'SERVER_NAME'} || 'WebScaffoldText'

or 3 conditions

line l !l&&r !l&&!r condition
347 0 0 0 $name eq $page || $name eq $debug
787 0 0 0 $plink =~ m[\://] || $plink =~ /\@/
829 0 0 0 exists $$sm{$link} or $link =~ m[\://]s
0 0 0 exists $$sm{$link} or $link =~ m[\://]s or $link =~ /\@/s
927 0 0 0 $pgname =~ m[\://] || $pgname =~ /\@/