Branch Coverage

blib/lib/Test/AnyEventFTPServer.pm
Criterion Covered Total %
branch 32 64 50.0


line true false branch
77 26 0 unless $context =~ /::/
94 0 26 if ($ENV{'AEF_DEBUG'})
139 0 26 if $error
158 5 0 if ($self->auto_login) { }
176 0 5 if $error
195 10 0 unless ($error)
199 0 96 if ((eval { do { $client->help($cmd)->recv } } || $@)->code != 214)
209 0 10 if $error
210 0 10 if @missing
211 0 10 if $count == 0
226 145 0 unless ($error)
229 145 0 if (eval { do { $res->isa('AnyEvent::FTP::Client::Response') } }) { }
239 0 145 if $error
255 4 136 unless $actual == $code
272 0 2 unless $actual =~ /$regex/
291 80 2 if $line =~ /$regex/
296 0 80 unless ($ok)
320 23 0 if $line eq $string
325 0 23 unless ($ok)
341 0 0 defined $location ? :
348 0 0 unless ($error)
352 0 0 unless $error
357 0 0 if $error
368 4 2 defined $location ? :
375 6 0 unless ($error)
379 6 0 unless $error
384 0 6 if $error
398 2 4 unless (defined $temp)
408 6 0 if (-T $file) { }
414 0 0 if (eval { do { require Data::HexDump } }) { }
439 3 6 unless ($ok)
475 0 4 if $error