Branch Coverage

blib/lib/Protocol/XMPP/Handler.pm
Criterion Covered Total %
branch 0 16 0.0


line true false branch
29 0 0 if ($self->{'stack'} and $self->{'stack'}[-1])
31 0 0 if $local
61 0 0 unless my $class = {"unknown", "", "stream:features", "Protocol::XMPP::Element::Features", "iq", "Protocol::XMPP::Element::IQ", "feature", "Protocol::XMPP::Element::Feature", "bind", "Protocol::XMPP::Element::Bind", "session", "Protocol::XMPP::Element::Session", "mechanism", "Protocol::XMPP::Element::Mechanism", "mechanisms", "Protocol::XMPP::Element::Mechanisms", "auth", "Protocol::XMPP::Element::Auth", "challenge", "Protocol::XMPP::Element::Challenge", "response", "Protocol::XMPP::Element::Response", "success", "Protocol::XMPP::Element::Success", "register", "Protocol::XMPP::Element::Register", "starttls", "Protocol::XMPP::Element::StartTLS", "proceed", "Protocol::XMPP::Element::Proceed", "jid", "Protocol::XMPP::Element::JID", "presence", "Protocol::XMPP::Element::Presence", "html", "Protocol::XMPP::Element::HTML", "message", "Protocol::XMPP::Element::Message", "body", "Protocol::XMPP::Element::Body", "subject", "Protocol::XMPP::Element::Subject", "active", "Protocol::XMPP::Element::Active", "nick", "Protocol::XMPP::Element::Nick", "stream:stream", "Protocol::XMPP::Element::Stream"}->{$name or "unknown"}
62 0 0 unless ($ClassLoaded{$class})
102 0 0 if ($class) { }
125 0 0 if ($obj)
138 0 0 if (@{$self->{'stack'};})
140 0 0 if $obj