Branch Coverage

blib/lib/POE/Component/Proxy/TCP.pm
Criterion Covered Total %
branch 16 38 42.1


line true false branch
59 0 1 if @_ & 1
63 0 1 unless exists $param{'Port'}
76 0 2 if defined $param{$_} and ref $param{$_} ne 'CODE'
84 1 0 unless defined $$self{'address'}
85 1 0 unless defined $$self{'remote_client_filter'}
87 1 0 unless defined $$self{'remote_server_input_filter'}
89 1 0 unless defined $$self{'remote_server_output_filter'}
92 1 0 unless defined $$self{'session_type'}
93 0 1 if (defined $$self{'session_params'} and ref $$self{'session_params'}) { }
94 0 0 if (ref $$self{'session_params'} ne 'ARRAY')
102 1 0 unless defined $$self{'client_connected'}
106 0 1 unless defined $$self{'data_from_client'}
107 0 1 unless defined $$self{'data_from_server'}
109 1 0 unless defined $$self{'args'}
115 0 1 if (exists $param{'ClientShutdownOnError'})
232 32 0 if (defined $input) { }
269 6 0 if ($$heap{'is_connected_to_server'}) { }
295 0 0 unless ($syscall eq 'read' and $errno == 0 || $errno == 104)
296 0 0 unless $errno