Condition Coverage

blib/lib/Net/XMPP/Roster.pm
Criterion Covered Total %
condition 26 72 36.1


and 3 conditions

line !l l&&!r l&&r condition
298 0 1 0 exists $args{'connection'} and $args{'connection'}->isa('Net::XMPP::Connection')
340 2 0 0 ref $jid and $jid->isa('Net::XMPP::JID')
367 2 0 0 ref $jid and $jid->isa('Net::XMPP::JID')
421 68 0 0 ref $jid and $jid->isa('Net::XMPP::JID')
601 6 1 1 $type eq 'nogroup' and exists $$self{'JIDS'}{$jid}{'groups'}
7 0 1 $type eq 'nogroup' and exists $$self{'JIDS'}{$jid}{'groups'} and $#{$$self{'JIDS'}{$jid}{'groups'};} > -1
610 0 0 2 defined $group and $self->groupExists($group)
633 12 0 0 ref $jid and $jid->isa('Net::XMPP::JID')
655 6 0 0 ref $jid and $jid->isa('Net::XMPP::JID')
681 9 0 0 ref $jid and $jid->isa('Net::XMPP::JID')
703 1 0 1 ref $jid and $jid->isa('Net::XMPP::JID')
738 2 0 0 ref $jid and $jid->isa('Net::XMPP::JID')
760 0 0 2 exists $$self{'JIDS'}{$jid}{'priorities'}{$oldPriority} and $#{$$self{'JIDS'}{$jid}{'priorities'}{$oldPriority};} == -1
779 4 0 0 ref $jid and $jid->isa('Net::XMPP::JID')
802 12 0 0 ref $jid and $jid->isa('Net::XMPP::JID')
823 7 0 0 ref $jid and $jid->isa('Net::XMPP::JID')
845 16 0 0 ref $jid and $jid->isa('Net::XMPP::JID')
878 1 0 0 ref $jid and $jid->isa('Net::XMPP::JID')
902 1 0 0 ref $jid and $jid->isa('Net::XMPP::JID')

or 3 conditions

line l !l&&r !l&&!r condition
501 0 0 0 $type eq 'set' or $type eq 'result'
540 0 0 0 $type eq '' or $type eq 'available'
0 0 0 $type eq '' or $type eq 'available' or $type eq 'unavailable'
561 0 0 0 $type eq '' or $type eq 'available'
594 5 1 2 $type eq 'all' or $type eq 'nogroup'