| blib/lib/App/PDBRun.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 19 | 36.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 178 | 1 | 0 | 0 | $pkg->cache and $store = 'IO::File'->new($local_path) |
| 180 | 0 | 0 | 1 | $ftp = 'Net::FTP'->new($pkg->ftp, 'Debug', 0) and $ftp->login('anonymous', '-anonymous@') |
| 0 | 0 | 1 | $ftp = 'Net::FTP'->new($pkg->ftp, 'Debug', 0) and $ftp->login('anonymous', '-anonymous@') and $ftp->cwd(join('', map("/$_", @dir))) | |
| 184 | 1 | 0 | 0 | $pkg->cache and File::Path::mkpath($dir) |
| 1 | 0 | 0 | $pkg->cache and File::Path::mkpath($dir) and $store = 'IO::File'->new($local_path, '+>') |
| line | l | !l | condition |
|---|---|---|---|
| 126 | 0 | 1 | $ftp || 'ftp.wwpdb.org' |
| 139 | 0 | 3 | $cache || undef |