Branch Coverage

blib/lib/AnyEvent/FTP/Client/Role/RequestBuffer.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
22 25 475 if ref $_[-1] eq 'AnyEvent::CondVar'
38 31 0 if ref $_[-1] eq 'AnyEvent::CondVar'
56 3 1240 unless defined $self->{'handle'}
58 565 675 unless (@{$self->request_buffer;} > 0)
64 1 674 unless $self->{'ready'}
67 483 191 defined $args ? :
72 47 697 if (defined $cb)
75 0 47 if (defined $error)
82 70 674 if ($res->is_preliminary) { }
89 591 83 if ($res->is_success) { }
91 143 448 if (@{$self->request_buffer->[0]{'cmd'};} > 0) { }