| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Net::NicoVideo::Response::Video; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
6177
|
use strict; |
|
|
1
|
|
|
|
|
166
|
|
|
|
1
|
|
|
|
|
825
|
|
|
4
|
1
|
|
|
1
|
|
8
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
43
|
|
|
5
|
1
|
|
|
1
|
|
7
|
use vars qw($VERSION); |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
53
|
|
|
6
|
|
|
|
|
|
|
$VERSION = '0.28'; |
|
7
|
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
6
|
use base qw/Net::NicoVideo::Response/; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
102
|
|
|
9
|
1
|
|
|
1
|
|
7
|
use Net::NicoVideo::Content::Video; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
11
|
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub parsed_content { # implement |
|
12
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
|
13
|
|
|
|
|
|
|
|
|
14
|
0
|
|
|
|
|
|
my $parsed_content = Net::NicoVideo::Content::Video->new($self->_component)->parse; |
|
15
|
0
|
0
|
0
|
|
|
|
if( $self->header("X-Died") or $self->header("Client-Aborted") ){ |
|
16
|
0
|
|
|
|
|
|
$parsed_content->set_status_error; |
|
17
|
|
|
|
|
|
|
}else{ |
|
18
|
0
|
|
|
|
|
|
$parsed_content->set_status_success; |
|
19
|
|
|
|
|
|
|
} |
|
20
|
0
|
|
|
|
|
|
return $parsed_content; |
|
21
|
|
|
|
|
|
|
} |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
|
25
|
|
|
|
|
|
|
__END__ |