line |
true |
false |
branch |
27
|
1 |
0 |
unless $self->user_agent |
34
|
0 |
2 |
defined $self->email ? : |
39
|
0 |
2 |
defined $self->password ? : |
44
|
0 |
0 |
if (defined $self->delay) { } |
|
0 |
0 |
elsif ($ENV{'NET_NICOVIDEO_DELAY'}) { } |
57
|
0 |
0 |
if $res->is_error |
65
|
0 |
0 |
defined $self->delay ? : |
66
|
0 |
0 |
if $delay |
79
|
0 |
0 |
if $res->is_error |
83
|
0 |
0 |
if $parsed_content->is_error |
94
|
0 |
0 |
if ($video_id and $video_id =~ /^so\d+$/) |
100
|
0 |
0 |
if $res->is_error |
103
|
0 |
0 |
unless ($res->is_authflagged) |
106
|
0 |
0 |
if $res->is_error |
108
|
0 |
0 |
unless $res->is_authflagged |
113
|
0 |
0 |
if $parsed_content->is_error |
124
|
0 |
0 |
if $res->is_error |
127
|
0 |
0 |
unless ($res->is_authflagged) |
130
|
0 |
0 |
if $res->is_error |
132
|
0 |
0 |
unless $res->is_authflagged |
137
|
0 |
0 |
if $parsed_content->is_error |
146
|
0 |
0 |
if ($something and not ref $something and not $something =~ m[^https?://]) |
151
|
0 |
0 |
if $res->is_error |
155
|
0 |
0 |
if $parsed_content->is_error |
164
|
0 |
0 |
if ($something and not ref $something) |
169
|
0 |
0 |
if $res->is_error |
173
|
0 |
0 |
if $parsed_content->is_error |
188
|
0 |
0 |
if $res->is_error |
192
|
0 |
0 |
if $parsed_content->is_error |
213
|
0 |
0 |
if $res->is_error and $res->code ne '403' |
217
|
0 |
0 |
if (!$res->is_authflagged || $parsed_content->is_closed and defined $self->get_email and defined $self->get_password) |
223
|
0 |
0 |
if $res->is_error and $res->code ne '403' |
225
|
0 |
0 |
unless $res->is_authflagged |
230
|
0 |
0 |
if $res->is_content_error |
246
|
0 |
0 |
if $res->is_error |
249
|
0 |
0 |
unless ($res->is_authflagged) |
252
|
0 |
0 |
unless $res->is_authflagged |
257
|
0 |
0 |
if $parsed_content->is_error |
269
|
0 |
0 |
if $res->is_error |
272
|
0 |
0 |
unless ($res->is_authflagged) |
275
|
0 |
0 |
if $res->is_error |
277
|
0 |
0 |
unless $res->is_authflagged |
282
|
0 |
0 |
if $parsed_content->is_error |
298
|
0 |
0 |
if $res->is_error |
303
|
0 |
0 |
unless ($parsed_content->is_success) |
304
|
0 |
0 |
if ($parsed_content->is_error_noauth) |
307
|
0 |
0 |
if $res->is_error |
310
|
0 |
0 |
unless ($parsed_content->is_success) |
311
|
0 |
0 |
if $parsed_content->is_error_noauth |
326
|
0 |
0 |
if $res->is_error |
331
|
0 |
0 |
unless ($parsed_content->is_success) |
332
|
0 |
0 |
if ($parsed_content->is_error_noauth) |
335
|
0 |
0 |
if $res->is_error |
338
|
0 |
0 |
unless ($parsed_content->is_success) |
339
|
0 |
0 |
if $parsed_content->is_error_noauth |
352
|
0 |
0 |
unless $token |
355
|
0 |
0 |
if $res->is_error |
364
|
0 |
0 |
unless $token |
367
|
0 |
0 |
if $res->is_error |
376
|
0 |
0 |
unless $token |
379
|
0 |
0 |
if $res->is_error |
396
|
0 |
0 |
if $res->is_error |
400
|
0 |
0 |
unless ($parsed_content->is_success) |
401
|
0 |
0 |
if ($parsed_content->is_error_noauth) |
404
|
0 |
0 |
if $res->is_error |
408
|
0 |
0 |
unless ($parsed_content->is_success) |
409
|
0 |
0 |
if $parsed_content->is_error_noauth |
423
|
0 |
0 |
unless $token |
426
|
0 |
0 |
if $res->is_error |
435
|
0 |
0 |
unless $token |
438
|
0 |
0 |
if $res->is_error |
447
|
0 |
0 |
unless $token |
450
|
0 |
0 |
if $res->is_error |
461
|
0 |
0 |
unless $token |
464
|
0 |
0 |
if $res->is_error |
473
|
0 |
0 |
unless $token |
476
|
0 |
0 |
if $res->is_error |