blib/lib/Module/Setup/Path/Plugins.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 16 | 16 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 21 | 22 | 95.4 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Module::Setup::Path::Plugins; | ||||||
2 | 41 | 41 | 170 | use strict; | |||
41 | 56 | ||||||
41 | 1135 | ||||||
3 | 41 | 41 | 165 | use warnings; | |||
41 | 57 | ||||||
41 | 1054 | ||||||
4 | 41 | 41 | 167 | use base 'Module::Setup::Path::Base'; | |||
41 | 57 | ||||||
41 | 2655 | ||||||
5 | |||||||
6 | 41 | 41 | 19285 | use Module::Collect; | |||
41 | 67752 | ||||||
41 | 2986 | ||||||
7 | |||||||
8 | sub collect { | ||||||
9 | 176 | 176 | 0 | 239 | my $self = shift; | ||
10 | 176 | 554 | my $collect = Module::Collect->new( path => $self->path ); | ||||
11 | 176 | 63182 | @{ $collect->modules }; | ||||
176 | 584 | ||||||
12 | } | ||||||
13 | |||||||
14 | 1; |