blib/lib/DDG/Longtail.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 13 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 17 | 17 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package DDG::Longtail; | ||||||
2 | our $AUTHORITY = 'cpan:DDG'; | ||||||
3 | # ABSTRACT: Longtail package for easy keywords | ||||||
4 | $DDG::Longtail::VERSION = '1017'; | ||||||
5 | 2 | 2 | 665 | use strict; | |||
2 | 3 | ||||||
2 | 47 | ||||||
6 | 2 | 2 | 8 | use warnings; | |||
2 | 4 | ||||||
2 | 39 | ||||||
7 | 2 | 2 | 324 | use DDG::Meta; | |||
2 | 5 | ||||||
2 | 128 | ||||||
8 | |||||||
9 | sub import { | ||||||
10 | 5 | 5 | 1727 | my ( $class ) = @_; | |||
11 | 5 | 14 | my $target = caller; | ||||
12 | |||||||
13 | 5 | 29 | DDG::Meta->apply_base_to_package($target); | ||||
14 | 5 | 4873 | DDG::Meta->apply_longtail_keywords($target); | ||||
15 | } | ||||||
16 | |||||||
17 | |||||||
18 | 1; | ||||||
19 | |||||||
20 | __END__ |