Condition Coverage

blib/lib/MPMinus/Helper/Util.pm
Criterion Covered Total %
condition 6 79 7.5


and 3 conditions

line !l l&&!r l&&r condition
132 6 0 0 $httpdata and $httpdata =~ /HTTPD_ROOT/im
134 0 0 1 not $httpdata and @err
151 1 0 0 $server_config_file and $httpd_root
156 1 0 0 $httpdconfig and -e $httpdconfig
161 0 0 0 $httpdconfig and -e $httpdconfig
0 0 0 $httpdconfig and -e $httpdconfig and -f $httpdconfig || -l $httpdconfig
198 0 0 0 -e $newcfg{'ServerConfigFile'} and -e $newcfg{'HttpdRoot'}
215 0 0 0 $v and $v eq 'custom'
216 0 0 0 $v && $v eq 'none'
223 0 0 0 $v and $v eq 'custom'
224 0 0 0 $v && $v eq 'none'
231 0 0 0 $v and $v eq 'custom'
232 0 0 0 $v && $v eq 'none'
239 0 0 0 $v and $v eq 'custom'
240 0 0 0 $v && $v eq 'none'

or 2 conditions

line l !l condition
168 0 1 $httpdconfig || ''
212 0 0 $apacheconfig{'documentroot'} || ''
220 0 0 $apacheconfig{'namevirtualhost'} || ['*:80']
228 0 0 $apacheconfig{'servername'} || ['localhost']
236 0 0 $apacheconfig{'serveradmin'} || ['root@localhost']
260 0 0 value($cfg, lc $k) || 'Windows-1251'
264 0 0 value($cfg, lc $k) || '/usr/sbin/sendmail'
268 0 0 value($cfg, lc $k) || '-t'

or 3 conditions

line l !l&&r !l&&!r condition
161 0 0 0 -f $httpdconfig || -l $httpdconfig
168 0 0 1 $acc || $httpd_root
190 0 0 0 value($cfg, lc $k) || $apache->{'HTTPD_ROOT'}
194 0 0 0 value($cfg, lc $k) || $apache->{'SERVER_CONFIG_FILE'}
248 0 0 0 value($cfg, lc $k) || $newcfg{'ErrorMail'}
256 0 0 0 value($cfg, lc $k) || $newcfg{'ErrorMail'}