| line |
true |
false |
branch |
|
818
|
0 |
0 |
exists $$self{'ERRORCODE'} && $$self{'ERRORCODE'} ne '' ? : |
|
861
|
0 |
0 |
if (not ref($object) =~ /^Net::XMPP3/) { } |
|
863
|
0 |
0 |
if ($$self{'DEBUG'}->GetLevel >= 1 or exists $$self{'CB'}{'receive'}) |
|
867
|
0 |
0 |
if exists $$self{'CB'}{'receive'} |
|
872
|
0 |
0 |
if defined $object->get_attrib('id') |
|
884
|
0 |
0 |
if $id ne '' |
|
887
|
0 |
0 |
unless exists $$self{'CB'}{$tag} or exists $$self{'CB'}{'XPath'} or exists $$self{'CB'}{'DirectXPath'} or $self->CheckID($tag, $id) |
|
894
|
0 |
0 |
if ($pass) { } |
|
898
|
0 |
0 |
if (exists $$self{'CB'}{'DirectXPath'}) |
|
907
|
0 |
0 |
if ($object->XPathCheck($xpath)) |
|
918
|
0 |
0 |
if $direct_pass |
|
922
|
0 |
0 |
if (not ref($object) =~ /^Net::XMPP3/) { } |
|
931
|
0 |
0 |
if ($NXObject == -1) { } |
|
937
|
0 |
0 |
if ($self->CheckID($tag, $id)) { } |
|
941
|
0 |
0 |
if ($self->TimedOutID($id)) { } |
|
956
|
0 |
0 |
if (exists $$self{'CB'}{'XPath'}) |
|
962
|
0 |
0 |
if ($NXObject->GetTree->XPathCheck($xpath)) |
|
973
|
0 |
0 |
if (exists $$self{'CB'}{$tag}) { } |
|
1004
|
0 |
0 |
if (exists $Net::XMPP3::Protocol::NEWOBJECT{$tag}) |
|
1030
|
3 |
0 |
if (defined $func) { } |
|
1038
|
0 |
3 |
if $tag eq 'update' |
|
1061
|
0 |
0 |
if (defined $$hash{$type}) { } |
|
1088
|
4 |
0 |
if (defined $types{$type}) { } |
|
1114
|
0 |
0 |
if (defined $types{$type}) { } |
|
1159
|
0 |
0 |
if scalar keys %{$$self{'CB'}{'XPath'}{$xpath};} == 0 |
|
1161
|
0 |
0 |
if scalar keys %{$$self{'CB'}{'XPath'};} == 0 |
|
1199
|
0 |
0 |
if scalar keys %{$$self{'CB'}{'DirectXPath'}{$xpath};} == 0 |
|
1201
|
0 |
0 |
if scalar keys %{$$self{'CB'}{'DirectXPath'};} == 0 |
|
1217
|
0 |
0 |
unless defined $ignoreActivity |
|
1219
|
0 |
0 |
if (ref $object eq '') { } |
|
1240
|
0 |
0 |
unless defined $ignoreActivity |
|
1243
|
0 |
0 |
if exists $$self{'CB'}{'send'} |
|
1270
|
0 |
0 |
if (ref $object eq '') { } |
|
1328
|
0 |
0 |
if exists $$self{'CB'}{'startwait'} |
|
1333
|
0 |
0 |
if exists $$self{'CB'}{'endwait'} |
|
1350
|
0 |
0 |
if exists $$self{'RCVDB'}{$id} |
|
1368
|
0 |
0 |
if $self->ReceivedID($id) |
|
1399
|
0 |
0 |
unless defined $timeout |
|
1406
|
0 |
0 |
unless defined $self->Process(1) |
|
1407
|
0 |
0 |
if exists $$self{'CB'}{'update'} |
|
1409
|
0 |
0 |
if (not $self->ReceivedID($id)) { } |
|
1451
|
0 |
0 |
unless defined $id |
|
1454
|
0 |
0 |
if $id eq '' |
|
1579
|
0 |
0 |
unless defined $type |
|
1580
|
0 |
0 |
unless $type eq '' or $type eq 'available' or $type eq 'unavailable' |
|
1586
|
0 |
0 |
unless defined $fromID |
|
1588
|
0 |
0 |
unless $resource ne '' |
|
1590
|
0 |
0 |
unless defined $priority |
|
1595
|
0 |
0 |
if (exists $$self{'PRESENCEDB'}{$fromID}) |
|
1598
|
0 |
0 |
unless defined $oldPriority |
|
1603
|
0 |
0 |
if $$self{'PRESENCEDB'}{$fromID}{'priorities'}{$oldPriority}[$index]{'resource'} eq $resource |
|
1610
|
0 |
0 |
if exists $$self{'PRESENCEDB'}{$fromID}{'priorities'}{$oldPriority} and $#{$$self{'PRESENCEDB'}{$fromID}{'priorities'}{$oldPriority};} == -1 |
|
1612
|
0 |
0 |
if scalar keys %{$$self{'PRESENCEDB'}{$fromID};} == 0 |
|
1617
|
0 |
0 |
if ($type eq '' or $type eq 'available') |
|
1621
|
0 |
0 |
if $$self{'PRESENCEDB'}{$fromID}{'priorities'}{$priority}[$index]{'resource'} eq $resource |
|
1624
|
0 |
0 |
if $loc == -1 |
|
1636
|
0 |
0 |
defined $currentPresence ? : |
|
1651
|
0 |
0 |
if $jid->isa('Net::XMPP3::JID') |
|
1653
|
0 |
0 |
unless exists $$self{'PRESENCEDB'}{$indexJID} |
|
1690
|
0 |
0 |
if $jid->isa('Net::XMPP3::JID') |
|
1692
|
0 |
0 |
unless exists $$self{'PRESENCEDB'}{$indexJID} |
|
1693
|
0 |
0 |
if scalar keys %{$$self{'PRESENCEDB'}{$indexJID}{'priorities'};} == 0 |
|
1714
|
0 |
0 |
if $jid->isa('Net::XMPP3::JID') |
|
1718
|
0 |
0 |
unless exists $$self{'PRESENCEDB'}{$indexJID} |
|
1724
|
0 |
0 |
if $$self{'PRESENCEDB'}{$indexJID}{'priorities'}{$priority}[$index]{'resource'} eq ' ' |
|
1743
|
0 |
0 |
unless exists $args{'ignoreactivity'} |
|
1802
|
0 |
0 |
unless exists $args{'username'} |
|
1804
|
0 |
0 |
unless exists $args{'password'} |
|
1807
|
0 |
0 |
if ($$self{'STREAM'}->GetStreamFeature($self->GetStreamID, 'xmpp-sasl')) |
|
1830
|
0 |
0 |
unless exists $args{'resource'} |
|
1847
|
0 |
0 |
unless defined $iqAuth |
|
1848
|
0 |
0 |
if $iqAuth->GetType eq 'error' |
|
1851
|
0 |
0 |
if ($iqAuth->GetType eq 'error') { } |
|
1858
|
0 |
0 |
if $iqAuthQuery->DefinedPassword |
|
1859
|
0 |
0 |
if $iqAuthQuery->DefinedDigest |
|
1860
|
0 |
0 |
if $iqAuthQuery->DefinedSequence and $iqAuthQuery->DefinedToken |
|
1862
|
0 |
0 |
if $authType eq 'zerok' |
|
1863
|
0 |
0 |
if $authType eq 'zerok' |
|
1881
|
0 |
0 |
if ($authType eq 'zerok') |
|
1900
|
0 |
0 |
if ($authType eq 'digest') |
|
1924
|
0 |
0 |
unless defined $iqLogin |
|
1925
|
0 |
0 |
if $iqLogin->GetType eq 'error' |
|
1947
|
0 |
0 |
unless exists $args{'username'} |
|
1949
|
0 |
0 |
unless exists $args{'password'} |
|
1952
|
0 |
0 |
unless exists $args{'resource'} |
|
1958
|
0 |
0 |
defined $args{'host'} ? : |
|
1966
|
0 |
0 |
unless exists $args{'timeout'} |
|
1975
|
0 |
0 |
unless defined $self->Process(1) |
|
1976
|
0 |
0 |
if exists $$self{'CB'}{'update'} |
|
1982
|
0 |
0 |
unless ($$self{'STREAM'}->SASLClientDone($sid)) |
|
1991
|
0 |
0 |
unless ($$self{'STREAM'}->SASLClientAuthed($sid)) |
|
2011
|
0 |
0 |
if ($bind) |
|
2022
|
0 |
0 |
if ($session) |
|
2048
|
0 |
0 |
if (defined $resource and $resource ne '') |
|
2106
|
0 |
0 |
if (exists $args{'list'}) |
|
2112
|
0 |
0 |
unless defined $iq |
|
2135
|
0 |
0 |
if (exists $args{'list'}) |
|
2170
|
0 |
0 |
unless defined $iq |
|
2172
|
0 |
0 |
if $iq->DefinedError |
|
2194
|
0 |
0 |
exists $args{'timeout'} ? : |
|
2200
|
0 |
0 |
if exists $args{'to'} |
|
2208
|
0 |
0 |
if ($args{'mode'} eq 'passthru') |
|
2216
|
0 |
0 |
if $args{'mode'} eq 'nonblock' |
|
2223
|
0 |
0 |
unless defined $iq |
|
2224
|
0 |
0 |
if ($iq->GetType eq 'error') |
|
2259
|
0 |
0 |
if exists $args{'to'} |
|
2274
|
0 |
0 |
unless defined $iq |
|
2275
|
0 |
0 |
if $iq->GetType eq 'error' |
|
2340
|
0 |
0 |
if (defined $query) |
|
2374
|
0 |
0 |
unless defined $iq |
|
2473
|
0 |
0 |
if ($jid->isa('Net::XMPP3::JID')) |
|
2478
|
0 |
0 |
unless exists $$self{'ROSTERDB'} |
|
2479
|
0 |
0 |
unless exists $$self{'ROSTERDB'}{'JIDS'} |
|
2480
|
0 |
0 |
unless exists $$self{'ROSTERDB'}{'JIDS'}{$jid} |
|
2496
|
0 |
0 |
unless exists $$self{'ROSTERDB'} |
|
2497
|
0 |
0 |
unless exists $$self{'ROSTERDB'}{'GROUPS'} |
|
2498
|
0 |
0 |
unless exists $$self{'ROSTERDB'}{'GROUPS'}{$group} |
|
2513
|
0 |
0 |
unless $self->RosterDBGroupExists($group) |
|
2532
|
0 |
0 |
unless exists $$self{'ROSTERDB'}{'GROUPS'} |
|
2533
|
0 |
0 |
if scalar keys %{$$self{'ROSTERDB'}{'GROUPS'};} == 0 |
|
2550
|
0 |
0 |
unless exists $$self{'ROSTERDB'} |
|
2551
|
0 |
0 |
unless exists $$self{'ROSTERDB'}{'JIDS'} |
|
2572
|
0 |
0 |
unless exists $$self{'ROSTERDB'} |
|
2573
|
0 |
0 |
unless exists $$self{'ROSTERDB'}{'JIDS'} |
|
2577
|
0 |
0 |
if exists $$self{'ROSTERDB'}{'JIDS'}{$jid}{'groups'} and $#{$$self{'ROSTERDB'}{'JIDS'}{$jid}{'groups'};} > -1 |
|
2599
|
0 |
0 |
unless $type eq 'set' or $type eq 'result' |
|
2621
|
0 |
0 |
if ($roster{$jid}{'subscription'} ne 'remove') |
|
2641
|
0 |
0 |
if ($jid->isa('Net::XMPP3::JID')) |
|
2646
|
0 |
0 |
unless $self->RosterDBExists($jid) |
|
2647
|
0 |
0 |
if (defined $key) |
|
2649
|
0 |
0 |
unless exists $$self{'ROSTERDB'}{'JIDS'}{$jid}{$key} |
|
2666
|
0 |
0 |
if ($self->RosterDBExists($jid)) |
|
2668
|
0 |
0 |
if (defined $self->RosterDBQuery($jid, 'groups')) |
|
2674
|
0 |
0 |
if scalar keys %{$$self{'ROSTERDB'}{'GROUPS'}{$group};} == 0 |
|
2676
|
0 |
0 |
if scalar keys %{$$self{'ROSTERDB'}{'GROUPS'};} == 0 |
|
2722
|
0 |
0 |
if ($tag eq 'failure') |
|
2727
|
0 |
0 |
if ($tag eq 'proceed') |
|
2743
|
0 |
0 |
unless defined $timeout |
|
2744
|
0 |
0 |
if $timeout eq '' |
|
2754
|
0 |
0 |
unless ($self->TLSClientSecure) |
|
2775
|
0 |
0 |
if ($status) { } |
|
2910
|
0 |
0 |
if ($tag eq 'challenge') |
|
2915
|
0 |
0 |
if ($tag eq 'failure') |
|
2920
|
0 |
0 |
if ($tag eq 'success') |
|
2964
|
0 |
0 |
unless defined $mechanisms |
|
3176
|
0 |
0 |
if $message->DefinedType |
|
3180
|
0 |
0 |
if (exists $$self{'CB'}{'Mess'}{$type}) { } |
|
3205
|
0 |
0 |
if $presence->DefinedType |
|
3209
|
0 |
0 |
if (exists $$self{'CB'}{'Pres'}{$type}) |
|
3231
|
0 |
0 |
unless $iq->DefinedChild |
|
3233
|
0 |
0 |
unless defined $query |
|
3240
|
0 |
0 |
if (exists $$self{'CB'}{'IQns'}{$ns} and ref $$self{'CB'}{'IQns'}{$ns} != 'HASH') { } |
|
|
0 |
0 |
elsif (exists $$self{'CB'}{'IQns'}{$ns}{$type}) { } |