blib/lib/CPAN/DeferredCode.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 10 | 11 | 90.9 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 0 | 1 | 0.0 |
total | 13 | 16 | 81.2 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package CPAN::DeferredCode; | ||||||
2 | |||||||
3 | 13 | 13 | 105 | use strict; | |||
13 | 32 | ||||||
13 | 490 | ||||||
4 | 13 | 13 | 75 | use vars qw/$VERSION/; | |||
13 | 319 | ||||||
13 | 1003 | ||||||
5 | |||||||
6 | 13 | 30 | use overload fallback => 1, map { ($_ => 'run') } qw/ | ||||
39 | 178 | ||||||
7 | bool "" 0+ | ||||||
8 | 13 | 13 | 95 | /; | |||
13 | 31 | ||||||
9 | |||||||
10 | $VERSION = "5.50"; | ||||||
11 | |||||||
12 | sub run { | ||||||
13 | 0 | 0 | 0 | $_[0]->(); | |||
14 | } | ||||||
15 | |||||||
16 | 1; |