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 = '1017'; |
5
|
1
|
|
|
1
|
|
16346
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
23
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
21
|
|
7
|
1
|
|
|
1
|
|
4
|
use Carp; |
|
1
|
|
|
|
|
13
|
|
|
1
|
|
|
|
|
45
|
|
8
|
1
|
|
|
1
|
|
10
|
use Test::More; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
9
|
1
|
|
|
1
|
|
488
|
use DDG::Test::Block; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
10
|
1
|
|
|
1
|
|
336
|
use DDG::Longtail; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
11
|
1
|
|
|
1
|
|
534
|
use Package::Stash; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
88
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub import { |
15
|
1
|
|
|
1
|
|
9
|
my ( $class, %params ) = @_; |
16
|
1
|
|
|
|
|
2
|
my $target = caller; |
17
|
1
|
|
|
|
|
31
|
my $stash = Package::Stash->new($target); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |