blib/lib/WWW/NicoVideo.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 27 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
49 | 0 | 0 | 0 | defined $$self{'mail'} and defined $$self{'passwd'} |
56 | 0 | 0 | 0 | $domain eq '.nicovideo.jp' and time + 60 < $expires |
65 | 0 | 0 | 0 | $res->is_success and not $res->as_string =~ / |
130 | 0 | 0 | 0 | not $res->is_success and $count < $$self{'retry'} |
0 | 0 | 0 | not $res->is_success and $count < $$self{'retry'} and $html =~ /^ \x{3010}\x{3054}\x{6ce8}\x{610f}\x{3011} |
line | l | !l | condition |
---|---|---|---|
35 | 0 | 0 | $opts{'retry'} || 5 |
0 | 0 | $opts{'retryInterval'} || 30 | |
133 | 0 | 0 | $$self{'retryInterval'} || 30 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
31 | 0 | 0 | 0 | $opts{'agent'} || 'LWP::UserAgent'->new('agent', $AGENT_NAME, 'timeout', 30, %{$opts{'agentOpts'};}) |
33 | 0 | 0 | 0 | $opts{'cookies'} || 'HTTP::Cookies'->new(%{$opts{'cookiesOpts'};}) |