Branch Coverage

blib/lib/Net/XMPP/JID.pm
Criterion Covered Total %
branch 14 32 43.7


line true false branch
202 35 0 if ("@_" ne '') { }
205 0 35 if ref $jid ne '' and $jid->isa('Net::XMPP::JID')
234 1 34 unless (defined $server)
240 1 34 unless defined $userid
241 0 35 unless defined $server
242 0 35 unless defined $resource
260 0 0 if $$self{'USERID'} ne ''
261 0 0 if exists $$self{'SERVER'} and defined $$self{'SERVER'}
263 0 0 if exists $$self{'RESOURCE'} and defined $$self{'RESOURCE'} and $$self{'RESOURCE'} ne ''
316 11 4 unless defined $type
317 2 13 if $type eq 'full'
318 12 1 if $$self{'USERID'} ne ''
334 0 0 if ($#_ > 0) { }
337 0 0 if exists $jid{'userid'}
338 0 0 if exists $jid{'server'}
339 0 0 if exists $jid{'resource'}