Condition Coverage

blib/lib/Test/AnyEventFTPServer.pm
Criterion Covered Total %
condition 27 59 45.7


and 3 conditions

line !l l&&!r l&&r condition
118 0 1 28 $_[0] eq $user && $_[1] eq $pass
208 0 0 10 $error eq '' && @missing == 0

or 2 conditions

line l !l condition
76 25 1 $context //= "Memory"
253 140 0 eval { do { $self->res->code } } // "undefined"
267 0 2 $message //= "response code matches"
270 2 0 eval { do { $self->res->code } } // "undefined"
284 0 80 $message //= "response message matches"
288 80 0 eval { do { $self->res->message } } // []
312 0 23 $message //= "response message matches"
316 23 0 eval { do { $self->res->message } } // []
433 0 9 $message ||= "content matches"
457 1 3 $timeout //= 120

or 3 conditions

line l !l&&r !l&&!r condition
136 0 26 0 $message //= "created FTP ($name) server at $uri"
172 0 5 0 $message //= "connected to FTP server at " . $self->test_uri
187 5 5 0 $class //= $self->default_context
199 96 0 0 eval { do { $client->help($cmd)->recv } } || $@
205 0 10 0 $message //= "help coverage for $class"
228 72 73 0 eval { do { $client->push_command([$command, $args])->recv } } || $@
235 0 145 0 $message //= "command: $command"
250 0 140 0 $message //= "response code is $code"
341 0 0 0 $message //= defined $location ? "list: $location" : "list"
368 0 6 0 $message //= defined $location ? "nlst: $location" : "nlst"
458 0 4 0 $message //= "global timeout of $timeout seconds"