| blib/lib/Net/XMPP3/Roster.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 30 | 36.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 231 | 0 | 1 | 0 | exists $args{'connection'} and $args{'connection'}->isa('Net::XMPP3::Connection') |
| 532 | 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 | |
| 541 | 0 | 0 | 2 | defined $group and $self->groupExists($group) |
| 691 | 0 | 0 | 2 | exists $$self{'JIDS'}{$jid}{'priorities'}{$oldPriority} and $#{$$self{'JIDS'}{$jid}{'priorities'}{$oldPriority};} == -1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 432 | 0 | 0 | 0 | $type eq 'set' or $type eq 'result' |
| 471 | 0 | 0 | 0 | $type eq '' or $type eq 'available' |
| 0 | 0 | 0 | $type eq '' or $type eq 'available' or $type eq 'unavailable' | |
| 492 | 0 | 0 | 0 | $type eq '' or $type eq 'available' |
| 525 | 5 | 1 | 2 | $type eq 'all' or $type eq 'nogroup' |