Branch Coverage

blib/lib/POE/Component/Server/BigBrother.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
51 0 0 ref $options eq 'HASH' ? :
91 0 0 if $self->_pluggable_process('MESSAGE', $event, \(@args)) == 4
107 0 0 if ($$self{'alias'}) { }
114 0 0 'POE::Component::Server::TCP'->VERSION > 1.007 ? :
121 0 0 $$self{'alias'} ? :
147 0 0 unless @events
152 0 0 unless $event =~ /^_/
155 0 0 unless ($$self{'sessions'}{$sender_id}{'refcnt'}++ or $session == $sender)
168 0 0 unless @events
173 0 0 if (--$$self{'sessions'}{$sender_id}{'refcnt'} <= 0)
175 0 0 unless ($session == $sender)
200 0 0 if $$self{'listener'}
214 0 0 if (ref $_[10] eq 'HASH') { }
0 0 elsif (ref $_[10] eq 'ARRAY') { }
237 0 0 if ($input_length > $$self{'max_msg_size'})
244 0 0 if ($input =~ /^ ((?:(?:(?:dis|en)abl|pag)e|status)) # the command ($1) (\+\d+)? # the offset ($2) \s+ # some spaces (\S+?)\.(\S+) # server.probe ($3, $4) \s+ # some spaces (.*)$ # last args ($5) /sx) { }
0 0 elsif ($input =~ /^(?:event\s+)(.+)$/is) { }
256 0 0 if defined $2
263 0 0 if ($command eq 'enable') { }
267 0 0 if ($command eq 'status' or $command eq 'page') { }
291 0 0 if (length $$heap{'buffer'})
297 0 0 if (my $message = $bb_server->_decode_bb_message($cooked_input))