lib/Test/CPANfile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 24 | 45.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
65 | 5 | 0 | 2 | $required_version and $required_version =~ /^[0-9._]+$/ |
66 | 0 | 0 | 2 | defined $declared_version && $req->accepts_module($module, $required_version) |
80 | 0 | 0 | 2 | $uri && $uri_map{$uri} |
0 | 0 | 2 | $uri && $uri_map{$uri} |
line | l | !l | condition |
---|---|---|---|
29 | 0 | 1 | delete $args{'cpanfile'} || 'cpanfile' |
66 | 2 | 0 | $required_version || 0 |
2 | 0 | $declared_version || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
54 | 40 | 8 | 0 | $uri_cache{$module} ||= do { my $res = $index->search_packages({'package', $module}); $res ? $res->{'uri'} : undef } |
75 | 0 | 2 | 0 | $uri_cache{$module} ||= do { my $res = $index->search_packages({'package', $module}); $res ? $res->{'uri'} : undef } |