Jabber/IQ.pm

filter: Statementstmt 82.2% 37 / 45 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 77.7% 14 / 18 Podpod 0.0% 0 / 10 totaltotal 69.8% 51 / 73 CC 1 SCAR 2.0
CC
1
Cov
82%
AddQuery
2.0
RemoveQuery
2.0
AddX
2.0
CRAP 1.2
« Jabber/Presence.pm ↑ Summary Jabber.pm »
1 ##############################################################################
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Library General Public
5 # License as published by the Free Software Foundation; either
6 # version 2 of the License, or (at your option) any later version.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Library General Public License for more details.
12 #
13 # You should have received a copy of the GNU Library General Public
14 # License along with this library; if not, write to the
15 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16 # Boston, MA 02111-1307, USA.
17 #
18 # Copyright (C) 1998-2004 Jabber Software Foundation http://jabber.org/
19 #
20 ##############################################################################
21  
22 package Net::Jabber::IQ;
23  
24 =head1 NAME
25  
26 Net::Jabber::IQ - Jabber Info/Query Library
27  
28 =head1 DESCRIPTION
29  
30 Net::Jabber::IQ inherits all of its methods from Net::XMPP::IQ.
31  
32 =head1 AUTHOR
33  
34 Ryan Eatmon
35  
36 =head1 COPYRIGHT
37  
38 This module is free software; you can redistribute it and/or modify
39 it under the same terms as Perl itself.
40  
41 =cut
42  
43 49 require 5.003;
44 49 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
45 49 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
46 49 ▶use Net::XMPP::IQ;
Subroutine BEGIN: called CC=1 SCAR=0.0
47 49 ▶use base qw( Net::XMPP::IQ );
Subroutine BEGIN: called CC=1 SCAR=0.0
48  
49 49 ▶use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
50  
51 49 $VERSION = "2.0";
52  
53 2 ▶sub GetQuery { my $self = shift; $self->GetChild(@_); }
Subroutine GetQuery: called CC=1 SCAR=0.0
Pod undocumented
54 4 ▶sub DefinedQuery { my $self = shift; $self->DefinedChild(@_); }
Subroutine DefinedQuery: called CC=1 SCAR=0.0
Pod undocumented
55 3 ▶sub NewQuery { my $self = shift; $self->RemoveFirstChild(); $self->NewFirstChild(@_); }
Subroutine NewQuery: called CC=1 SCAR=0.0
Pod undocumented
56 0 ▶sub AddQuery { my $self = shift; $self->AddChild(@_); }
Subroutine AddQuery: not called CC=1 SCAR=6.9
Pod undocumented
57 0 ▶sub RemoveQuery { my $self = shift; $self->RemoveFirstChild(@_); }
Subroutine RemoveQuery: not called CC=1 SCAR=6.9
Pod undocumented
58  
59 1 ▶sub GetX { my $self = shift; $self->GetChild(@_); }
Subroutine GetX: called CC=1 SCAR=0.0
Pod undocumented
60 2 ▶sub DefinedX { my $self = shift; $self->DefinedChild(@_); }
Subroutine DefinedX: called CC=1 SCAR=0.0
Pod undocumented
61 1 ▶sub NewX { my $self = shift; $self->NewChild(@_); }
Subroutine NewX: called CC=1 SCAR=0.0
Pod undocumented
62 0 ▶sub AddX { my $self = shift; $self->AddChild(@_); }
Subroutine AddX: not called CC=1 SCAR=6.9
Pod undocumented
63 0 ▶sub RemoveX { my $self = shift; $self->RemoveChild(@_); }
Subroutine RemoveX: not called CC=1 SCAR=6.9
Pod undocumented
64  
65 12 ▶sub _new_jid { my $self = shift; return new Net::Jabber::JID(@_); }
Subroutine _new_jid: called CC=1 SCAR=0.0
66 12 ▶sub _new_packet { my $self = shift; return new Net::Jabber::Stanza(@_); }
Subroutine _new_packet: called CC=1 SCAR=0.0
67 2 ▶sub _iq { my $self = shift; return new Net::Jabber::IQ(@_); }
Subroutine _iq: called CC=1 SCAR=0.0
68  
69 49 1;
« Jabber/Presence.pm ↑ Summary Jabber.pm »