blib/lib/Module/Optimize.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 12 | 75.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 5 | 60.0 |
pod | 0 | 2 | 0.0 |
total | 12 | 19 | 63.1 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 836 | use strict; use warnings; | |||
1 | 1 | 2 | |||||
1 | 35 | ||||||
1 | 3 | ||||||
1 | 2 | ||||||
1 | 41 | ||||||
2 | package Module::Optimize; | ||||||
3 | |||||||
4 | 1 | 1 | 480 | use Module::Compile -base; | |||
1 | 1 | ||||||
1 | 6 | ||||||
5 | |||||||
6 | 0 | 0 | 0 | sub pmc_is_optimizer_module { 1 } | |||
7 | |||||||
8 | # Compile/Filter some source code into something else. This is almost | ||||||
9 | # always overridden in a subclass. | ||||||
10 | sub pmc_optimize { | ||||||
11 | 0 | 0 | 0 | my ($class, $source) = @_; | |||
12 | 0 | return $source; | |||||
13 | } | ||||||
14 | |||||||
15 | 1; |