_build/lib/MyModuleBuilder.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 11 | 11 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package MyModuleBuilder; | ||||||
2 | 29 | 29 | 3667796 | use Module::Build; | |||
29 | 120 | ||||||
29 | 5099 | ||||||
3 | @ISA = qw(Module::Build); | ||||||
4 | |||||||
5 | sub _added_to_INC { # CVE-2016-1238 | ||||||
6 | 29 | 29 | 261860 | my $self = shift; my %seen; | |||
29 | 156 | ||||||
7 | |||||||
8 | 29 | 557 | for ($self->_default_INC) { $seen{ $_ }++ } | ||||
145 | 860 | ||||||
9 | |||||||
10 | 29 | 363 | return grep { not $seen{ $_ }++ } $self->base_dir, @INC; | ||||
493 | 4033 | ||||||
11 | } | ||||||
12 | |||||||
13 | 1; |