Branch Coverage

blib/lib/App/Info/HTTPD/Apache.pm
Criterion Covered Total %
branch 102 160 63.7


line true false branch
139 34 128 if (exists $$self{$exe}) { }
140 34 0 unless ref $$self{$exe} eq 'ARRAY'
152 17 1 if (my $exe = $u->first_cat_exe(\@exes, @paths)) { }
205 2 0 $_[0]{'executable'} ? :
264 0 4 unless $$self{'executable'}
267 3 1 unless exists $$self{-'v'}
309 0 5 unless $$self{'executable'}
312 1 4 unless exists $$self{-'v'}
315 0 5 unless ($$self{'version'})
321 0 0 unless $x and defined $y and defined $z
373 0 4 unless $$self{'executable'}
375 1 3 unless exists $$self{-'v'}
377 0 4 unless $$self{'major'}
418 0 3 unless $$self{'executable'}
420 1 2 unless exists $$self{-'v'}
422 0 3 unless defined $$self{'minor'}
462 0 3 unless $$self{'executable'}
464 1 2 unless exists $$self{-'v'}
466 0 3 unless defined $$self{'patch'}
551 0 26 unless $$self{'executable'}
553 9 17 unless $$self{-'V'}
555 0 26 unless defined $$self{'httpd_root'}
595 0 4 unless $$self{'executable'}
597 1 3 unless $$self{-'V'}
599 0 4 unless defined $$self{'magic_number'}
647 0 10 unless $$self{'executable'}
649 1 9 unless $$self{-'V'}
652 2 8 unless defined $$self{$option}
694 0 10 unless $$self{'executable'}
695 6 4 unless (exists $$self{'conf_file'})
699 0 6 $u->file_name_is_absolute($conf) ? :
6 0 if $conf
701 0 6 if ($conf and -f $conf) { }
707 0 6 unless $$self{'conf_file'} = $u->first_cat_path(\@confs, $self->search_conf_dirs)
717 0 10 unless defined $$self{'conf_file'}
799 0 4 unless $$self{'executable'}
800 4 0 unless exists $$self{'user'}
805 0 4 unless $$self{'user'}
853 0 4 unless $$self{'executable'}
854 1 3 unless exists $$self{'group'}
860 0 4 unless $$self{'group'}
908 0 4 unless $$self{'executable'}
909 1 3 unless exists $$self{'port'}
911 0 4 unless $$self{'port'}
963 0 2 unless $$self{'executable'}
964 0 2 unless exists $$self{'doc_root'}
966 0 2 unless $$self{'doc_root'}
1018 0 1 unless $$self{'executable'}
1019 0 1 unless exists $$self{'cgibinv'}
1021 0 1 unless $$self{'cgibinv'}
1073 0 1 unless $$self{'executable'}
1074 0 1 unless exists $$self{'cgibinp'}
1076 0 1 unless $$self{'cgibinp'}
1118 0 5 unless $$self{'executable'}
1119 3 2 unless (exists $$self{'bin_dir'})
1121 3 0 $parts[0] eq '' ? :
1169 0 5 unless $$self{'executable'}
1170 4 1 unless (exists $$self{'inc_dir'})
1173 0 4 unless $$self{'inc_dir'} = $u->first_dir($self->search_inc_dirs)
1177 0 5 unless $$self{'inc_dir'}
1223 0 7 unless $$self{'executable'}
1224 4 3 unless (exists $$self{'lib_dir'})
1225 4 0 if ($self->httpd_root) { }
1227 4 0 if (my $d = $u->first_dir($self->search_lib_dirs)) { }
1336 0 3 unless $$self{'executable'}
1337 1 2 unless exists $$self{'static_mods'}
1338 0 3 unless $$self{'static_mods'}
1339 0 3 wantarray ? :
1391 0 2 unless $$self{'executable'}
1392 1 1 unless exists $$self{'so_mods'}
1393 0 2 unless $$self{'static_mods'}
1394 1 1 wantarray ? :
1423 0 4 unless $$self{'executable'}
1424 1 3 unless exists $$self{'static_mods'}
1459 0 4 unless $$self{'executable'}
1460 3 1 unless exists $$self{'static_mods'}
1461 1 3 unless $$self{'mod_perl'} or exists $$self{'so_mods'}
1583 18 0 $@ ? :
1639 4 0 $root ? :
1673 4 0 $root ? :