Condition Coverage

blib/lib/Parse/CPAN/Distributions.pm
Criterion Covered Total %
condition 12 18 66.6


and 3 conditions

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

or 2 conditions

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 || ''

or 3 conditions

line l !l&&r !l&&!r condition
230 0 0 4 $@ or not -f $filename