Branch Coverage

lib/Test/CPANfile.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
30 0 1 unless -f $cpanfile
51 9 0 if ($index)
53 0 36 if $module eq 'perl'
56 8 0 $res ? :
58 36 0 if $uri
65 2 5 if ($required_version and $required_version =~ /^[0-9._]+$/) { }
3 2 elsif (defined $declared_version) { }
74 2 0 if ($index)
77 2 0 $res ? :
80 2 0 $uri && $uri_map{$uri} ? :