DDG/Goodie.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 24 / 24 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« DDG/Fathead.pm ↑ Summary DDG/HasAttribution.pm »
1 package DDG::Goodie;
2 6 our $AUTHORITY = 'cpan:DDG';
3 # ABSTRACT: Goodie package for easy keywords
4 6 $DDG::Goodie::VERSION = '1016';
5 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 6 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 6 ▶use DDG::Meta;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10  
11 sub import {
12 24 ▶ my ( $class ) = @_;
Subroutine import: called CC=1 SCAR=0.0
13 24 my $target = caller;
14  
15 #
16 # Make base
17 #
18  
19 24 DDG::Meta->apply_base_to_package($target);
20
21 #
22 # Apply keywords
23 #
24  
25 24 DDG::Meta->apply_goodie_keywords($target);
26
27 }
28  
29 6 1;
30  
31 __END__
« DDG/Fathead.pm ↑ Summary DDG/HasAttribution.pm »