line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package My::Module::Mock_Tokenizer; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
650
|
use 5.006; |
|
1
|
|
|
|
|
3
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
18
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
5
|
use Carp; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
71
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '0.087'; |
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
5
|
use constant ARRAY_REF => ref []; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
298
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub new { |
15
|
7
|
|
|
7
|
1
|
19
|
my ( $class, %arg ) = @_; |
16
|
7
|
|
33
|
|
|
98
|
return bless \%arg, ref $class || $class; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub capture { |
20
|
1
|
|
|
1
|
1
|
4
|
my ( $self ) = @_; |
21
|
|
|
|
|
|
|
ARRAY_REF eq ref $self->{capture} |
22
|
1
|
50
|
|
|
|
6
|
or return; |
23
|
1
|
|
|
|
|
2
|
return @{ $self->{capture} }; |
|
1
|
|
|
|
|
8
|
|
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub cookie { |
27
|
4
|
|
|
4
|
1
|
13
|
my ( $self, $cookie ) = @_; |
28
|
4
|
|
|
|
|
18
|
return $self->{cookie}{$cookie}; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
2
|
1
|
|
sub modifier_modify {} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub __recognize_postderef { |
34
|
2
|
|
|
2
|
|
5
|
my ( $self ) = @_; |
35
|
2
|
|
|
|
|
18
|
return $self->{postderef}; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |