lib/Test/CPANfile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 21 | 47.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
64 | 5 | 0 | 2 | $required_version and $required_version =~ /^[0-9._]+$/ |
65 | 0 | 0 | 2 | defined $declared_version && $req->accepts_module($module, $required_version) |
79 | 0 | 0 | 2 | $uri && $uri_map{$uri} |
line | l | !l | condition |
---|---|---|---|
28 | 0 | 1 | delete $args{'cpanfile'} || 'cpanfile' |
65 | 2 | 0 | $required_version || 0 |
2 | 0 | $declared_version || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
53 | 28 | 8 | 0 | $uri_cache{$module} ||= do { my $res = $index->search_packages({'package', $module}); $res ? $res->{'uri'} : undef } |
74 | 0 | 2 | 0 | $uri_cache{$module} ||= do { my $res = $index->search_packages({'package', $module}); $res ? $res->{'uri'} : undef } |