| blib/lib/AnyEvent/FTP/Client.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 20 | 30 | 66.6 | 
| line | true | false | branch | 
|---|---|---|---|
| 60 | 54 | 9 | $self->passive ? : | 
| 72 | 31 | 38 | if ($host =~ /^ftp:/) | 
| 80 | 31 | 38 | if (ref $host and eval { do { $host->isa('URI') } }) { } | 
| 91 | 0 | 69 | if $self->_connected | 
| 98 | 0 | 69 | unless ($fh) | 
| 129 | 0 | 69 | unless $res->is_success | 
| 131 | 31 | 38 | if (defined $uri) { } | 
| 137 | 4 | 27 | if $uri->path ne "" | 
| 175 | 0 | 21 | ref $_[0] eq 'HASH' ? : | 
| 202 | 3 | 3 | if defined $name | 
| 237 | 0 | 24 | if $@ | 
| 268 | 7 | 0 | if ($dir) { } | 
| 281 | 0 | 6 | if (my $error = $@) { } | 
| 307 | 38 | 0 | if (defined $res and $res->is_success) { } | 
| 0 | 0 | elsif (defined $res) { } |