Branch Coverage

lib/Parse/BACKPAN/Packages.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
20 0 1 if (not $self->no_cache) { }
45 1 0 if ($response->is_success) { }
48 0 1 unless $data
55 1580 1159243 unless $size
78 1159178 64 unless $prefix =~ m[\/$name-]
79 33 31 if $prefix =~ /\.(readme|meta)$/
89 7 24 unless $dist eq $name
109 1 3 unless $author
113 1 2 unless $$dists_by{$author}
129 631493 527749 if $prefix =~ /\.(readme|meta)$/
139 291867 235882 unless $dist and $cpanid