Branch Coverage

blib/lib/MPMinus/Helper/Util.pm
Criterion Covered Total %
branch 11 52 21.1


line true false branch
108 0 1 if (isostype('Windows')) { }
110 0 0 if ($httpdpath =~ /^httpd.exe\s+\d+\s+\S+\s+(.+?)\s*$/m) { }
114 0 0 if ($httpdpath =~ /^(apache.+?)\s+\d+\s+\S+\s+(.+?)\1\s*$/im) { }
132 0 6 if $httpdata and $httpdata =~ /HTTPD_ROOT/im
134 1 0 if not $httpdata and @err
137 0 1 $httpdata =~ /HTTPD_ROOT\="(.+?)"/m ? :
138 0 1 $httpdata =~ /SERVER_CONFIG_FILE\="(.+?)"/m ? :
139 0 1 $httpdata =~ m[version\:\s+[a-z]+/([0-9.]+)]im ? :
142 0 1 if ($sver =~ /([0-9]+)\.([0-9]+)\.([0-9]+)/) { }
0 1 elsif ($sver =~ /([0-9]+)\.([0-9]+)/) { }
0 1 elsif ($sver =~ /([0-9]+)/) { }
151 0 1 if ($server_config_file and $httpd_root)
156 1 0 unless ($httpdconfig and -e $httpdconfig)
158 0 0 $acc ? :
161 0 0 if ($httpdconfig and -e $httpdconfig and -f $httpdconfig || -l $httpdconfig)
198 0 0 if (-e $newcfg{'ServerConfigFile'} and -e $newcfg{'HttpdRoot'})
213 0 0 if $vks
215 0 0 if $v and $v eq 'custom'
216 0 0 $v && $v eq 'none' ? :
223 0 0 if $v and $v eq 'custom'
224 0 0 $v && $v eq 'none' ? :
231 0 0 if $v and $v eq 'custom'
232 0 0 $v && $v eq 'none' ? :
239 0 0 if $v and $v eq 'custom'
240 0 0 $v && $v eq 'none' ? :
295 0 0 unless defined $v