Condition Coverage

blib/lib/TemplateM.pm
Criterion Covered Total %
condition 15 84 17.8


and 3 conditions

line !l l&&!r l&&r condition
765 0 0 0 $uscode and ref $uscode eq 'CODE'
768 0 0 0 $reqcode and ref $reqcode eq 'CODE'
770 0 0 0 $rescode and ref $rescode eq 'CODE'
812 0 0 0 $cf and -e $cf
850 0 0 0 $cachefile and -e $cachefile
893 0 0 0 $server_port and not $server_port =~ /^(80|443)$/
894 0 0 0 $hostname and not $hostname =~ /\:\d+$/

or 2 conditions

line l !l condition
631 4 2 shift @args || 'default'
671 3 3 $file ||= 'index.shtml'
715 0 6 $timeout || 0
6 0 $file || ''
0 6 $login || ''
0 6 $password || ''
0 6 $cachedir || ''
0 6 $cache || ''
0 6 $header || ''
6 0 $module || ''
751 0 0 shift() || ''
752 0 0 shift() || ''
753 0 0 shift() || ''
754 0 0 shift() || 0
755 0 0 shift() || 'GET'
756 0 0 shift() || {}
757 0 0 shift() || undef
758 0 0 shift() || undef
759 0 0 shift() || undef
787 0 0 shift() || ''
789 0 0 shift() || ''
808 0 0 shift() || ''
830 3 0 shift() || ''
847 0 0 shift() || ''
848 0 0 shift() || 0
871 0 0 shift() || ''
872 0 0 shift() || 0
875 0 0 $ENV{'REQUEST_URI'} || ''
876 0 0 $ENV{'HTTP_HOST'} || ''
877 0 0 $ENV{'SERVER_PORT'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
632 4 2 0 $modules{lc $mdl} || $modules{'galore'}