Condition Coverage

blib/lib/Net/OSCAR/Connection/Direct.pm
Criterion Covered Total %
condition 0 64 0.0


and 3 conditions

line !l l&&!r l&&r condition
46 0 0 0 $read and $$self{'rv'}{'ft_state'} eq 'listening'
0 0 0 $write and $$self{'rv'}{'ft_state'} eq 'proxy_connect'
0 0 0 $read and $$self{'rv'}{'ft_state'} eq 'proxy_ack'
0 0 0 $read and $$self{'rv'}{'ft_state'} eq 'proxy_connect'
0 0 0 $write and $$self{'rv'}{'ft_state'} eq 'connecting'
0 0 0 $write and $$self{'rv'}{'ft_state'} eq 'connected'
0 0 0 $read and $$self{'rv'}{'ft_state'} eq 'connected'
171 0 0 0 $$self{'rv'}{'direction'} eq 'send' and not $$self{'got_files'}
182 0 0 0 $$self{'sent_oft_header'} and $$self{'sent_oft_header'} >= 2
221 0 0 0 $write and $$self{'rv'}{'direction'} eq 'send'
0 0 0 $read and $$self{'rv'}{'direction'} eq 'receive'
280 0 0 0 $read and $$self{'rv'}{'direction'} eq 'send'
0 0 0 $write and $$self{'rv'}{'direction'} eq 'receive'
319 0 0 0 $$self{'sent_oft_header'} and $$self{'sent_oft_header'} != 2
0 0 0 $$self{'rv'}{'ft_state'} eq 'connected' and ($$self{'sent_oft_header'} and $$self{'sent_oft_header'} != 2)

or 2 conditions

line l !l condition
255 0 0 $$self{'rv'}{'data'} ||= []
427 0 0 $protobit ||= 'direct_connect_proxy_hdr'

or 3 conditions

line l !l&&r !l&&!r condition
34 0 0 0 $$self{'rv'}{'ft_state'} eq 'connecting' or $$self{'rv'}{'ft_state'} eq 'connected'
97 0 0 0 $$ret{'magic'} != 1098 or $$ret{'msg_type'} != 3
123 0 0 0 $$ret{'magic'} != 1098 or $$ret{'msg_type'} != 5
182 0 0 0 $$self{'rv'}{'file_count'} == 1 or $$self{'sent_oft_header'} and $$self{'sent_oft_header'} >= 2
368 0 0 0 $protodata{'file_count'} != $$self{'rv'}{'file_count'} or $protodata{'byte_count'} != $$self{'rv'}{'total_size'}