Branch Coverage

blib/lib/Net/FTP/File.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
66 0 0 if (defined $newp)
68 0 0 if $pretty
69 0 0 unless $pretty
84 0 0 if $ftp->exists(@_) and not $ftp->isdir(@_)
95 0 0 if $c ne $e or not $d
96 0 0 if $_fatal
97 0 0 $r ? :
102 0 0 if (defined $ftp->size(@_)) { }
0 0 elsif ($ftp->isdir(@_)) { }
121 0 0 if ($ftp->isfile($o)) { }
122 0 0 if (not defined $to and defined $cd and $cd =~ /^\d+$/)
126 0 0 if $cd
130 0 0 if $cd
131 0 0 if $ftp->exists($n)
139 0 0 if ($_[0] eq $_[1])
145 0 0 unless defined $cp
146 0 0 unless $cp
147 0 0 unless $ftp->delete($_[0])
148 0 0 if $_fatal
154 0 0 if ($ftp->supported('SITE CHMOD'))
156 0 0 if $chmod == 2
157 0 0 if $chmod == 5
166 0 0 if ($ftp->isdir($rfl)) { }
0 0 elsif ($ftp->isfile($rfl) and $ftp->size($rfl) > 0) { }
167 0 0 if (shift()) { }
168 0 0 unless $ftp->empty($rfl)
173 0 0 unless $ftp->copy($rfl, $rfl)
176 0 0 unless $ftp->empty($rfl)
184 0 0 unless open ZBF, '>', \$zb
185 0 0 unless $ftp->put(\*ZBF, shift())