Branch Coverage

blib/lib/Test/Dist.pm
Criterion Covered Total %
branch 27 54 50.0


line true false branch
391 3 0 unless $match
395 0 0 if (UNIVERSAL::isa($_, 'Regexp')) { }
402 0 0 if $match_eq{$_[0]}
404 0 0 if $_[0] =~ /$_/
414 3 55 $_ =~ /$args{'file_match'}/ && !&$skip($_) ? :
420 1 0 unless defined $args{'file_match'}
422 1 0 unless defined $args{'mod_match'}
429 0 2 &$skip($x) ? :
439 0 3 if (@_ and $_[0] eq 'as')
443 0 0 unless %TEST_OK
444 0 0 if $VERSION ne $version
454 0 1 unless delete $args{'skip'}
459 0 1 unless $$self{'testqueue'}
468 0 32 if $gen =~ /Unpack/
469 6 26 if $gen =~ /(^?:CpantsErrors|Distname|Prereq)$/
470 2 24 if ($gen eq 'Module::CPANTS::Kwalitee::Manifest')
478 0 1 unless ($Test->has_plan or $$self{'args'}{'run'})
479 0 0 if $INC{'Test/NoWarnings.pm'}
496 0 8 unless $TEST_OK{$key}
497 1 7 if $$self{'skip'}{$key}
498 5 2 ref $use ? :
501 4 3 if (eval "$req; 1") { }
505 2 0 ref $$self{'args'}{$key} eq 'HASH' ? :
0 2 ref $$self{'args'}{$key} eq 'ARRAY' ? :
2 2 $$self{'args'}{$key} ? :
518 1 0 unless $Test->has_plan
545 0 0 unless unlink $_