Branch Coverage

blib/lib/Protocol/XMPP/Stream.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
73 0 0 unless length $data
95 0 0 if $self->{'on_queued_write'}
115 0 0 unless @{$self->{'write_buffer'};}
124 0 0 unless @{$self->{'write_buffer'};}
171 0 0 unless $self->{'sax'} = "XML::SAX::ParserFactory"->parser("Handler", $self->{'handler'})
208 0 0 if $sub
237 0 0 if (@_)
240 0 0 if index($self->{'hostname'}, "/") != -1
340 0 0 if (defined $msg and length $msg)
355 0 0 $msg ? :
372 0 0 if exists $self->{'pending_iq'}{$id}
379 0 0 unless exists $self->{'pending_iq'}{$id}
392 0 0 if (@_)
395 0 0 $state ? :
396 0 0 if ($state) { }
427 0 0 if (@_)
430 0 0 $state ? :
452 0 0 unless ($self->{'request_id'})
559 0 0 exists $args{'to'} ? :