blib/lib/WWW/Xunlei/Downloader.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 15 | 20.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
240 | 0 | 0 | 0 | $filename and $task->{'name'} ne $filename |
line | l | !l | condition |
---|---|---|---|
104 | 1 | 0 | shift() || 'running' |
120 | 0 | 1 | $number ||= 20 |
121 | 0 | 1 | $pos ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
292 | 0 | 0 | 0 | $path || $self->get_config->{'defaultPath'} |
301 | 0 | 0 | 0 | $path ||= $self->get_config->{'defaultPath'} |