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 = '1016'; | ||||||
5 | 2 | 2 | 1240 | use strict; | |||
2 | 2 | ||||||
2 | 47 | ||||||
6 | 2 | 2 | 6 | use warnings; | |||
2 | 2 | ||||||
2 | 40 | ||||||
7 | 2 | 2 | 589 | use DDG::Meta; | |||
2 | 4 | ||||||
2 | 141 | ||||||
8 | |||||||
9 | sub import { | ||||||
10 | 11 | 11 | 5080 | my ( $class ) = @_; | |||
11 | 11 | 21 | my $target = caller; | ||||
12 | |||||||
13 | 11 | 54 | DDG::Meta->apply_base_to_package($target); | ||||
14 | 11 | 7860 | DDG::Meta->apply_spice_keywords($target); | ||||
15 | } | ||||||
16 | |||||||
17 | |||||||
18 | 1; | ||||||
19 | |||||||
20 | __END__ |