Branch Coverage

blib/lib/Distribution/Guess/BuildSystem.pm
Criterion Covered Total %
branch 71 74 95.9


line true false branch
173 3 610 if (@_ == 3)
205 24 16 if $_[0]->$check
230 13 19 if $_[0]->uses_makemaker_only
231 6 13 if $_[0]->uses_module_build_only
234 5 8 if $_[0]->prefer_module_build and $_[0]->uses_module_build
236 2 6 if $_[0]->prefer_makemaker and $_[0]->uses_makemaker
240 1 5 if $_[0]->uses_module_build
241 3 2 if $_[0]->uses_makemaker
256 9 8 if $_[0]->preferred_build_file eq $_[0]->build_pl
257 7 1 if $_[0]->preferred_build_file eq $_[0]->makefile_pl
285 1 58 unless $_[0]->has_makefile_pl
295 3 34 unless $_[0]->has_build_pl
313 354 119 if -e $path
334 4 6 if $_[0]->has_build_pl
346 28 1 $_[0]->has_makefile_pl ? :
355 18 0 $_[0]->has_build_pl ? :
364 4 3 $_[0]->has_build_pl ? :
377 8 2 if $_[0]->has_makefile_pl
380 4 6 if $_[0]->has_build_pl
399 8 22 unless $_[0]->has_makefile_pl
414 9 27 unless $_[0]->has_makefile_pl
415 12 15 if $_[0]->has_build_pl
427 4 1 unless $_[0]->uses_makemaker
437 2 1 unless @dirs
444 16 3 unless -e $module
450 0 0 unless $found_module
462 12 25 unless $_[0]->has_build_pl
477 3 22 unless $_[0]->has_build_pl
478 13 9 if $_[0]->has_makefile_pl
490 4 1 unless $_[0]->uses_module_build
502 3 21 unless $_[0]->has_makefile_pl
519 8 2 unless $_[0]->has_makefile_pl and $_[0]->uses_module_install
531 5 1 unless $_[0]->uses_module_install
549 7 3 unless $_[0]->has_build_pl and $_[0]->uses_module_build
561 4 1 unless $_[0]->has_build_pl and $_[0]->has_makefile_pl
569 1 12 unless (open $fh, '<', $_[1])
574 6 122 if /\Q$_[2]\E/