Branch Coverage

blib/lib/POE/Component/Client/TCPMulti.pm
Criterion Covered Total %
branch 22 58 37.9


line true false branch
24 2 0 unless (defined *{"${caller}::CHEAP";})
44 2 0 unless (defined &DEBUG)
47 2 0 unless (defined &TRACE_EVENTS)
50 2 0 unless (defined &TRACE_CONNECT)
53 2 0 unless (defined &TRACE_FILENAME)
90 1 0 if $_[0] eq 'POE::Component::Client::TCPMulti'
113 0 1 if (ref $user_code{'Filter'} eq 'ARRAY')
129 0 1 if defined $user_code{'Alias'}
132 1 0 if ref $user_code{'UserStates'}{'_start'} eq 'CODE'
140 0 0 if ref $user_code{'UserStates'}{'_child'} eq 'CODE'
148 1 0 if ref $user_code{'UserStates'}{'_stop'} eq 'CODE'
162 0 30 if (ref $user_code{'Filter'} and UNIVERSAL::isa($user_code{'Filter'}, 'UNIVERSAL'))
190 30 0 if ($user_code{'InputTimeout'}) { }
0 0 elsif ($$cheap{-'ALARM'}) { }
191 30 0 if ($$cheap{-'ALARM'}) { }
219 0 30 if (ref $_[10] eq 'HASH' or ref $_[10] eq 'ARRAY')
230 0 30 unless (defined $address)
261 0 30 unless $$cheap{-'RUNNING'}
267 30 0 if ($$cheap{-'TIMEOUT'})
281 0 30 if (not defined $_[11]) { }
30 0 elsif (defined $$cheap{-'SERVER'}) { }
305 0 0 if $_[-1]{-'RUNNING'}
322 0 0 if $_[-1]{-'RUNNING'}
378 0 30 unless (defined $id)
383 0 30 unless (exists $heap{$id})
495 30 0 if ($heap{$id}{-'TIMEOUT'}) { }
546 0 0 if $$cheap{-'ALARM'}
548 0 0 unless (defined $timeout)
551 0 0 if ($timeout) { }