Branch Coverage

blib/lib/Module/Collection.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
76 0 1 unless ($self->root and -d $self->root)
121 4 2 if (wantarray) { }
159 0 6 unless ($file and $$self{'dists'}{$file})
164 3 3 if (ref $$self{'dists'}{$file})
170 0 3 unless my $module = 'Module::Inspector'->new($$self{'dists'}{$file}, $self->dist_path($file))
200 0 1 unless ($file and $$self{'dists'}{$file})
242 2 1 unless (exists $keep{$name})
248 1 0 if ($version > $keep{$name}[1]) { }