blib/lib/Parse/CPAN/Distributions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 18 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
187 | 6 | 6 | 2 | defined $author and not defined $authors{$author} |
220 | 3 | 1 | 3 | $$self{'file'} and -f $$self{'file'} |
256 | 0 | 0 | 414924 | $dist and $dist->dist |
line | l | !l | condition |
---|---|---|---|
237 | 5 | 0 | 'IO::Zlib'->new($$self{'file'}, 'rb') || (return "Failed to read archive [$$self{'file'}]: $!") |
240 | 2 | 0 | 'IO::File'->new($$self{'file'}, 'r') || (return "Failed to read file [$$self{'file'}]: $!") |
262 | 414106 | 818 | $dist->version || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
230 | 0 | 0 | 4 | $@ or not -f $filename |