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 | 47 | 47 | 268 | use strict; | |||
47 | 97 | ||||||
47 | 1617 | ||||||
3 | 47 | 47 | 259 | use warnings; | |||
47 | 95 | ||||||
47 | 1221 | ||||||
4 | 47 | 47 | 259 | use base 'Module::Setup::Path::Base'; | |||
47 | 83 | ||||||
47 | 5797 | ||||||
5 | |||||||
6 | 47 | 47 | 53505 | use Module::Collect; | |||
47 | 125736 | ||||||
47 | 4160 | ||||||
7 | |||||||
8 | sub collect { | ||||||
9 | 200 | 200 | 0 | 370 | my $self = shift; | ||
10 | 200 | 950 | my $collect = Module::Collect->new( path => $self->path ); | ||||
11 | 200 | 26982 | @{ $collect->modules }; | ||||
200 | 850 | ||||||
12 | } | ||||||
13 | |||||||
14 | 1; |