Branch Coverage

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


line true false branch
153 35 0 if ("@_" ne '') { }
156 0 35 if ref $jid ne '' and $jid->isa('Net::XMPP3::JID')
185 1 34 unless (defined $server)
191 1 34 unless defined $userid
192 0 35 unless defined $server
193 0 35 unless defined $resource
211 0 0 if $$self{'USERID'} ne ''
212 0 0 if exists $$self{'SERVER'} and defined $$self{'SERVER'}
214 0 0 if exists $$self{'RESOURCE'} and defined $$self{'RESOURCE'} and $$self{'RESOURCE'} ne ''
267 11 4 unless defined $type
268 2 13 if $type eq 'full'
269 12 1 if $$self{'USERID'} ne ''
285 0 0 if ($#_ > 0) { }
288 0 0 if exists $jid{'userid'}
289 0 0 if exists $jid{'server'}
290 0 0 if exists $jid{'resource'}