blib/lib/WWW/Rapidshare/Free.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 54 | 14.8 |
line | true | false | branch |
---|---|---|---|
42 | 0 | 0 | if exists $_[0]{'class'} and $_[0]{'class'} eq 'klappbox' |
49 | 0 | 0 | if $tagname eq 'script' |
50 | 0 | 0 | if ($class eq 'klappbox') |
51 | 0 | 0 | if ($counter == 1) { } |
0 | 0 | elsif ($counter == 2) { } | |
66 | 0 | 0 | if /var c=(\d+)/ |
68 | 0 | 0 | if / ' |
102 | 0 | 0 | if (@forms) { } |
107 | 0 | 0 | unless $dl = shift @download_links |
121 | 0 | 0 | unless (defined $check_links) |
122 | 0 | 0 | if (defined $callbacks{'delay'}) { } |
129 | 0 | 0 | unless open my $fh, '>', $file_name |
136 | 0 | 0 | unless ($file_size) |
138 | 0 | 0 | if defined $callbacks{'properties'} |
143 | 0 | 0 | if $verbose |
144 | 0 | 0 | if defined $callbacks{'progress'} |
149 | 0 | 0 | if $verbose |
150 | 0 | 0 | if (-e $file_name and defined $callbacks{'file_complete'}) |
156 | 1 | 0 | if (defined $check_links) |
177 | 13 | 15 | if (not /^\s*#/ || !is_http_uri($link) || !m[^http://(?:www.)?rapidshare.com/]) { } |
191 | 12 | 15 | if &_store_links($_) |
198 | 0 | 2 | unless open my $fh, '<', $file_name |
200 | 2 | 0 | if (-f $file_name) { } |
203 | 1 | 0 | if &_store_links($_) |
214 | 0 | 0 | if (exists $connection{'reconnect'}) { } |
0 | 0 | elsif (keys %connection != 2) { } | |
231 | 0 | 0 | if ($verbose) { } |