Branch Coverage

blib/lib/App/Info/HTTPD/Apache.pm
Criterion Covered Total %
branch 76 142 53.5


line true false branch
141 4 14 if (exists $$self{$exe}) { }
142 4 0 unless ref $$self{$exe} eq 'ARRAY'
154 2 0 if (my $exe = $u->first_cat_exe(\@exes, @paths)) { }
207 2 0 $_[0]{'executable'} ? :
266 0 2 unless $$self{'executable'}
269 2 0 unless exists $$self{-'v'}
311 0 2 unless $$self{'executable'}
314 0 2 unless exists $$self{-'v'}
317 0 2 unless ($$self{'version'})
323 0 0 unless $x and defined $y and defined $z
375 0 2 unless $$self{'executable'}
377 0 2 unless exists $$self{-'v'}
379 0 2 unless $$self{'major'}
420 0 2 unless $$self{'executable'}
422 0 2 unless exists $$self{-'v'}
424 0 2 unless defined $$self{'minor'}
464 0 2 unless $$self{'executable'}
466 0 2 unless exists $$self{-'v'}
468 0 2 unless defined $$self{'patch'}
553 0 12 unless $$self{'executable'}
555 2 10 unless $$self{-'V'}
557 0 12 unless defined $$self{'httpd_root'}
597 0 2 unless $$self{'executable'}
599 0 2 unless $$self{-'V'}
601 0 2 unless defined $$self{'magic_number'}
649 0 4 unless $$self{'executable'}
651 0 4 unless $$self{-'V'}
654 0 4 unless defined $$self{$option}
696 0 4 unless $$self{'executable'}
697 2 2 unless (exists $$self{'conf_file'})
701 0 2 $u->file_name_is_absolute($conf) ? :
2 0 if $conf
703 0 2 if ($conf and -f $conf) { }
709 0 2 unless $$self{'conf_file'} = $u->first_cat_path(\@confs, $self->search_conf_dirs)
719 0 4 unless defined $$self{'conf_file'}
792 0 2 unless $$self{'executable'}
793 2 0 unless exists $$self{'user'}
798 0 2 unless $$self{'user'}
844 0 2 unless $$self{'executable'}
845 0 2 unless exists $$self{'group'}
851 0 2 unless $$self{'group'}
897 0 2 unless $$self{'executable'}
898 0 2 unless exists $$self{'port'}
900 0 2 unless $$self{'port'}
942 0 4 unless $$self{'executable'}
943 2 2 unless (exists $$self{'bin_dir'})
945 2 0 $parts[0] eq '' ? :
993 0 2 unless $$self{'executable'}
994 2 0 unless (exists $$self{'inc_dir'})
997 0 2 unless $$self{'inc_dir'} = $u->first_dir($self->search_inc_dirs)
1001 0 2 unless $$self{'inc_dir'}
1047 0 4 unless $$self{'executable'}
1048 2 2 unless (exists $$self{'lib_dir'})
1049 2 0 if ($self->httpd_root) { }
1051 2 0 if (my $d = $u->first_dir($self->search_lib_dirs)) { }
1160 0 2 unless $$self{'executable'}
1161 0 2 unless exists $$self{'static_mods'}
1162 0 2 unless $$self{'static_mods'}
1163 0 2 wantarray ? :
1215 0 1 unless $$self{'executable'}
1216 0 1 unless exists $$self{'so_mods'}
1217 0 1 unless $$self{'static_mods'}
1218 1 0 wantarray ? :
1247 0 2 unless $$self{'executable'}
1248 0 2 unless exists $$self{'static_mods'}
1283 0 2 unless $$self{'executable'}
1284 2 0 unless exists $$self{'static_mods'}
1285 1 1 unless $$self{'mod_perl'} or exists $$self{'so_mods'}
1407 0 2 $@ ? :
1463 2 0 $root ? :
1497 2 0 $root ? :