line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
6
|
|
|
6
|
|
42
|
use strict; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
181
|
|
2
|
6
|
|
|
6
|
|
32
|
use warnings; |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
351
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Test::Tester::Delegate; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '1.302181'; |
7
|
|
|
|
|
|
|
|
8
|
6
|
|
|
6
|
|
90
|
use Scalar::Util(); |
|
6
|
|
|
|
|
16
|
|
|
6
|
|
|
|
|
180
|
|
9
|
|
|
|
|
|
|
|
10
|
6
|
|
|
6
|
|
35
|
use vars '$AUTOLOAD'; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
1687
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub new |
13
|
|
|
|
|
|
|
{ |
14
|
6
|
|
|
6
|
0
|
14
|
my $pkg = shift; |
15
|
|
|
|
|
|
|
|
16
|
6
|
|
|
|
|
10
|
my $obj = shift; |
17
|
6
|
|
|
|
|
15
|
my $self = bless {}, $pkg; |
18
|
|
|
|
|
|
|
|
19
|
6
|
|
|
|
|
44
|
return $self; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub AUTOLOAD |
23
|
|
|
|
|
|
|
{ |
24
|
73
|
|
|
73
|
|
1255
|
my ($sub) = $AUTOLOAD =~ /.*::(.*?)$/; |
25
|
|
|
|
|
|
|
|
26
|
73
|
50
|
|
|
|
238
|
return if $sub eq "DESTROY"; |
27
|
|
|
|
|
|
|
|
28
|
73
|
|
|
|
|
147
|
my $obj = $_[0]->{Object}; |
29
|
|
|
|
|
|
|
|
30
|
73
|
|
|
|
|
235
|
my $ref = $obj->can($sub); |
31
|
73
|
|
|
|
|
146
|
shift(@_); |
32
|
73
|
|
|
|
|
162
|
unshift(@_, $obj); |
33
|
73
|
|
|
|
|
291
|
goto &$ref; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub can { |
37
|
1
|
|
|
1
|
0
|
10
|
my $this = shift; |
38
|
1
|
|
|
|
|
3
|
my ($sub) = @_; |
39
|
|
|
|
|
|
|
|
40
|
1
|
50
|
|
|
|
17
|
return $this->{Object}->can($sub) if Scalar::Util::blessed($this); |
41
|
|
|
|
|
|
|
|
42
|
0
|
|
|
|
|
|
return $this->SUPER::can(@_); |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
1; |