line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DDG::Test::Longtail; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:DDG'; |
3
|
|
|
|
|
|
|
# ABSTRACT: Adds keywords to easily test Longtail plugins. |
4
|
|
|
|
|
|
|
$DDG::Test::Longtail::VERSION = '1018'; |
5
|
1
|
|
|
1
|
|
67276
|
use strict; |
|
1
|
|
|
|
|
13
|
|
|
1
|
|
|
|
|
26
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
24
|
|
7
|
1
|
|
|
1
|
|
4
|
use Carp; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
42
|
|
8
|
1
|
|
|
1
|
|
4
|
use Test::More; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
9
|
1
|
|
|
1
|
|
474
|
use DDG::Test::Block; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
6
|
|
10
|
1
|
|
|
1
|
|
440
|
use DDG::Longtail; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
10
|
|
11
|
1
|
|
|
1
|
|
960
|
use Package::Stash; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
104
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub import { |
15
|
1
|
|
|
1
|
|
11
|
my ( $class, %params ) = @_; |
16
|
1
|
|
|
|
|
4
|
my $target = caller; |
17
|
1
|
|
|
|
|
51
|
my $stash = Package::Stash->new($target); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |