| blib/lib/DDG/Spice.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::Spice; | ||||||
| 2 | our $AUTHORITY = 'cpan:DDG'; | ||||||
| 3 | # ABSTRACT: Spice package for easy keywords | ||||||
| 4 | $DDG::Spice::VERSION = '1018'; | ||||||
| 5 | 2 | 2 | 1552 | use strict; | |||
| 2 | 5 | ||||||
| 2 | 72 | ||||||
| 6 | 2 | 2 | 16 | use warnings; | |||
| 2 | 5 | ||||||
| 2 | 76 | ||||||
| 7 | 2 | 2 | 680 | use DDG::Meta; | |||
| 2 | 10 | ||||||
| 2 | 214 | ||||||
| 8 | |||||||
| 9 | sub import { | ||||||
| 10 | 11 | 11 | 6821 | my ( $class ) = @_; | |||
| 11 | 11 | 36 | my $target = caller; | ||||
| 12 | |||||||
| 13 | 11 | 78 | DDG::Meta->apply_base_to_package($target); | ||||
| 14 | 11 | 13208 | DDG::Meta->apply_spice_keywords($target); | ||||
| 15 | } | ||||||
| 16 | |||||||
| 17 | |||||||
| 18 | 1; | ||||||
| 19 | |||||||
| 20 | __END__ |