Branch Coverage

blib/lib/POE/Component/Client/Ident/Agent.pm
Criterion Covered Total %
branch 15 34 44.1


line true false branch
25 0 1 unless ($peeraddr and $peerport and $sockaddr and $sockport)
57 1 0 $$self{'identport'} ? :
1 0 $$self{'sockaddr'} ? :
78 0 1 if ($$self{'buggyidentd'}) { }
93 0 1 unless $$self{'socket'}
94 1 0 if $$self{'socket'}
102 0 0 unless $$self{'had_a_response'}
134 0 1 if ($$ev{'name'} eq 'barf') { }
140 1 0 if ($self->_port_pair_matches($port1, $port2)) { }
169 1 0 if $port1 == $$self{'peerport'} and $port2 == $$self{'sockport'}
179 1 0 if (defined $hash{'Reference'})
182 1 0 if (defined $hash{'IdentPort'})
185 0 1 if (defined $hash{'BuggyIdentd'} and $hash{'BuggyIdentd'} == 1)
188 0 0 if (defined $hash{'TimeOut'} and $hash{'TimeOut'} > 5 || $hash{'TimeOut'} < 30)
191 1 0 unless defined $returns[6]
192 0 1 if (defined $hash{'Socket'})
199 1 0 if (defined $hash{'PeerAddr'} and defined $hash{'PeerPort'} and defined $hash{'SockAddr'} and defined $hash{'SockAddr'})