| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Net::NicoVideo::Decorator; |
|
2
|
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
17
|
use strict; |
|
|
3
|
|
|
|
|
5
|
|
|
|
3
|
|
|
|
|
88
|
|
|
4
|
3
|
|
|
3
|
|
23
|
use warnings; |
|
|
3
|
|
|
|
|
5
|
|
|
|
3
|
|
|
|
|
71
|
|
|
5
|
3
|
|
|
3
|
|
15
|
use vars qw($VERSION); |
|
|
3
|
|
|
|
|
4
|
|
|
|
3
|
|
|
|
|
131
|
|
|
6
|
|
|
|
|
|
|
$VERSION = '0.01_26'; |
|
7
|
|
|
|
|
|
|
|
|
8
|
3
|
|
|
3
|
|
14
|
use vars qw($AUTOLOAD); |
|
|
3
|
|
|
|
|
5
|
|
|
|
3
|
|
|
|
|
753
|
|
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub AUTOLOAD { |
|
11
|
10
|
|
|
10
|
|
5781
|
my $self = shift; |
|
12
|
10
|
50
|
|
|
|
43
|
return if $AUTOLOAD =~ /::DESTROY$/; |
|
13
|
10
|
|
|
|
|
12
|
my $method = $AUTOLOAD; |
|
14
|
10
|
|
|
|
|
57
|
$method =~ s/.+:://; |
|
15
|
10
|
|
|
|
|
25
|
$self->_component->$method(@_); |
|
16
|
|
|
|
|
|
|
} |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub new { |
|
19
|
2
|
|
|
2
|
0
|
666
|
my $class = shift; |
|
20
|
2
|
|
33
|
|
|
19
|
$class = ref $class || $class; |
|
21
|
2
|
|
|
|
|
9
|
my $self = { |
|
22
|
|
|
|
|
|
|
_component => $_[0], |
|
23
|
|
|
|
|
|
|
}; |
|
24
|
2
|
|
|
|
|
16
|
bless $self, $class; |
|
25
|
|
|
|
|
|
|
} |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub _component { |
|
28
|
14
|
|
|
14
|
|
5270
|
my $self = shift; |
|
29
|
14
|
100
|
|
|
|
130
|
return @_ ? $self->{_component} = shift : $self->{_component}; |
|
30
|
|
|
|
|
|
|
} |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
|
33
|
|
|
|
|
|
|
__END__ |