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 = '1017'; | ||||||
5 | 2 | 2 | 1304 | use strict; | |||
2 | 5 | ||||||
2 | 48 | ||||||
6 | 2 | 2 | 11 | use warnings; | |||
2 | 3 | ||||||
2 | 57 | ||||||
7 | 2 | 2 | 616 | use DDG::Meta; | |||
2 | 6 | ||||||
2 | 143 | ||||||
8 | |||||||
9 | sub import { | ||||||
10 | 11 | 11 | 6504 | my ( $class ) = @_; | |||
11 | 11 | 28 | my $target = caller; | ||||
12 | |||||||
13 | 11 | 59 | DDG::Meta->apply_base_to_package($target); | ||||
14 | 11 | 10427 | DDG::Meta->apply_spice_keywords($target); | ||||
15 | } | ||||||
16 | |||||||
17 | |||||||
18 | 1; | ||||||
19 | |||||||
20 | __END__ |