| blib/lib/DDG/Fathead.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::Fathead; | ||||||
| 2 | our $AUTHORITY = 'cpan:DDG'; | ||||||
| 3 | # ABSTRACT: Fathead package for easy keywords | ||||||
| 4 | $DDG::Fathead::VERSION = '1018'; | ||||||
| 5 | 2 | 2 | 538 | use strict; | |||
| 2 | 4 | ||||||
| 2 | 62 | ||||||
| 6 | 2 | 2 | 11 | use warnings; | |||
| 2 | 4 | ||||||
| 2 | 63 | ||||||
| 7 | 2 | 2 | 492 | use DDG::Meta; | |||
| 2 | 9 | ||||||
| 2 | 179 | ||||||
| 8 | |||||||
| 9 | sub import { | ||||||
| 10 | 5 | 5 | 1804 | my ( $class ) = @_; | |||
| 11 | 5 | 21 | my $target = caller; | ||||
| 12 | |||||||
| 13 | 5 | 42 | DDG::Meta->apply_base_to_package($target); | ||||
| 14 | 5 | 6905 | DDG::Meta->apply_fathead_keywords($target); | ||||
| 15 | } | ||||||
| 16 | |||||||
| 17 | |||||||
| 18 | 1; | ||||||
| 19 | |||||||
| 20 | __END__ |