Branch Coverage

blib/lib/POE/Component/Client/Halo.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
85 0 0 if @_ % 2
90 0 0 unless defined $alias
93 0 0 unless defined $timeout and $timeout >= 0
96 0 0 unless defined $retry and $retry >= 0
98 0 0 if scalar keys %params
127 0 0 unless open F, '>/tmp/halo-debug'
129 0 0 unless close F
144 0 0 defined $_[13] ? :
146 0 0 unless defined $ip
147 0 0 unless defined $port and $port =~ /^\d+$/
170 0 0 defined $_[13] ? :
172 0 0 unless defined $ip
173 0 0 unless defined $port and $port =~ /^\d+$/
200 0 0 if ($$heap{'jobs'}{$socket}{'action'} eq 'info') { }
0 0 elsif ($$heap{'jobs'}{$socket}{'action'} eq 'detail') { }
218 0 0 if defined $$heap{'jobs'}{$socket}{'timer'}
223 0 0 if ($response eq '') { }
0 0 elsif ($action eq 'info') { }
0 0 elsif ($action eq 'detail') { }
264 0 0 if $str eq '' or not $str =~ /^\d+\,\d+$/
296 0 0 if $str eq '' or not $str =~ /^\d+$/
299 0 0 if ($$flags{'GameType'} == 1) { }
0 0 elsif ($$flags{'GameType'} == 2) { }
0 0 elsif ($$flags{'GameType'} == 3) { }
0 0 elsif ($$flags{'GameType'} == 4) { }
0 0 elsif ($$flags{'GameType'} == 5) { }
328 0 0 if (defined $$POE::Component::Client::Halo::player_flags{$flag_name} and defined $$POE::Component::Client::Halo::player_flags{$flag_name}[$flag_value]) { }
339 0 0 if (defined $$POE::Component::Client::Halo::game_flags{$flag_name} and defined $$POE::Component::Client::Halo::game_flags{$flag_name}[$flag_value]) { }
349 0 0 if ($$heap{'jobs'}{$socket}{'try'} > $$heap{'retry'} + 1) { }
360 0 0 if ($$heap{'jobs'}{$socket}{'action'} eq 'info') { }
0 0 elsif ($$heap{'jobs'}{$socket}{'action'} eq 'detail') { }
379 0 0 if $_ eq ''
387 0 0 if ($ctr % scalar(@fields) == 0) { }