Condition Coverage

blib/lib/POE/Component/Client/FTP.pm
Criterion Covered Total %
condition 24 56 42.8


and 3 conditions

line !l l&&!r l&&r condition
197 0 0 4 defined $events and ref $events eq 'ARRAY'
315 0 31 16 defined $more and $more eq '-'
319 0 0 47 defined $code and defined $more
0 16 31 defined $code and defined $more and $more eq ' '
579 0 0 4 defined $heap->{'user'} and defined $heap->{'pass'}
958 47 44 3 $state eq 'cmd_input' and defined $heap->{'data_rw_wheel'}

or 2 conditions

line l !l condition
334 24 0 pop @{$$heap{'stack'};} || ['none', {}]
340 4 0 pop @{$$heap{'stack'};} || ['none', {}]
347 0 0 pop @{$$heap{'stack'};} || ['none', {}]
966 51 3 $$state_map{$heap->{'state'}}{$state} || $state_map->{'global'}{$state} || \&POE::Component::Client::FTP::enqueue_event

or 3 conditions

line l !l&&r !l&&!r condition
191 0 4 0 $filters->{'dir'} ||= 'POE::Filter::Line'->new('Literal', "\r\n")
192 0 4 0 $filters->{'ls'} ||= 'POE::Filter::Line'->new('Literal', "\r\n")
193 4 0 0 $filters->{'get'} ||= 'POE::Filter::Stream'->new
194 0 4 0 $filters->{'put'} ||= 'POE::Filter::Stream'->new
211 0 0 4 $tlscmd or $tlsdata
507 0 0 0 @{$heap->{'complex_stack'}{'sendq'};} > 1 or $heap->{'complex_stack'}{'pending'}
522 0 0 0 @{$heap->{'complex_stack'}{'sendq'};} > 0 or $heap->{'complex_stack'}{'pending'}
983 29 0 7 exists $heap->{'events'}{$session}{$event} or exists $heap->{'events'}{$session}{'all'}
990 29 0 0 $heap->{'events'}{$session}{$event} || $event
1015 4 20 0 $command_map{$command} || $command