Branch Coverage

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


line true false branch
174 3 610 if (@_ == 3)
206 24 16 if $_[0]->$check
231 13 19 if $_[0]->uses_makemaker_only
232 6 13 if $_[0]->uses_module_build_only
235 5 8 if $_[0]->prefer_module_build and $_[0]->uses_module_build
237 2 6 if $_[0]->prefer_makemaker and $_[0]->uses_makemaker
241 1 5 if $_[0]->uses_module_build
242 3 2 if $_[0]->uses_makemaker
257 9 8 if $_[0]->preferred_build_file eq $_[0]->build_pl
258 7 1 if $_[0]->preferred_build_file eq $_[0]->makefile_pl
286 1 58 unless $_[0]->has_makefile_pl
296 3 34 unless $_[0]->has_build_pl
314 354 119 if -e $path
335 4 6 if $_[0]->has_build_pl
347 28 1 $_[0]->has_makefile_pl ? :
356 18 0 $_[0]->has_build_pl ? :
365 4 3 $_[0]->has_build_pl ? :
378 8 2 if $_[0]->has_makefile_pl
381 4 6 if $_[0]->has_build_pl
400 8 22 unless $_[0]->has_makefile_pl
415 9 27 unless $_[0]->has_makefile_pl
416 12 15 if $_[0]->has_build_pl
428 4 1 unless $_[0]->uses_makemaker
438 2 1 unless @dirs
445 16 3 unless -e $module
451 0 0 unless $found_module
463 12 25 unless $_[0]->has_build_pl
478 3 22 unless $_[0]->has_build_pl
479 13 9 if $_[0]->has_makefile_pl
491 4 1 unless $_[0]->uses_module_build
503 3 21 unless $_[0]->has_makefile_pl
520 8 2 unless $_[0]->has_makefile_pl and $_[0]->uses_module_install
532 5 1 unless $_[0]->uses_module_install
550 7 3 unless $_[0]->has_build_pl and $_[0]->uses_module_build
562 4 1 unless $_[0]->has_build_pl and $_[0]->has_makefile_pl
570 1 12 unless (open $fh, '<', $_[1])
575 6 122 if /\Q$_[2]\E/