EPP/Frame/Command/Login.pm

filter: Statementstmt 33.3% 7 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 20.0% 2 / 10 Podpod 14.2% 1 / 7 totaltotal 26.3% 10 / 38 CC 1 SCAR 5.9
CC
1
Cov
33%
_addCommandElements
2.0
clID
2.0
pw
2.0
CRAP 1.8
« EPP/Frame/Command.pm ↑ Summary EPP/Frame/Command/Transfer/Domain.pm »
1 package Net::EPP::Frame::Command::Login;
2 1 ▶use base qw(Net::EPP::Frame::Command);
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 =pod
6  
7 =head1 NAME
8  
9 Net::EPP::Frame::Command::Login - an instance of L<Net::EPP::Frame::Command>
10 for the EPP C<E<lt>loginE<gt>> command.
11  
12 =head1 OBJECT HIERARCHY
13  
14 L<XML::LibXML::Node>
15 +----L<XML::LibXML::Document>
16 +----L<Net::EPP::Frame>
17 +----L<Net::EPP::Frame::Command>
18 +----L<Net::EPP::Frame::Command::Login>
19  
20 =cut
21  
22 0 ▶sub _addCommandElements {
Subroutine _addCommandElements: not called CC=1 SCAR=6.9
23 0 my $self = shift;
24 0 $self->getNode('login')->addChild($self->createElement('clID'));
25 0 $self->getNode('login')->addChild($self->createElement('pw'));
26 0 $self->getNode('login')->addChild($self->createElement('options'));
27  
28 0 $self->getNode('options')->addChild($self->createElement('version'));
29 0 $self->getNode('options')->addChild($self->createElement('lang'));
30  
31 0 $self->getNode('login')->addChild($self->createElement('svcs'));
32 }
33  
34 =pod
35  
36 =head1 METHODS
37  
38 my $node = $frame->clID;
39  
40 This method returns the L<XML::LibXML::Element> object corresponding to the
41 C<E<lt>clIDE<gt>> element.
42  
43 my $node = $frame->pw;
44  
45 This method returns the L<XML::LibXML::Element> object corresponding to the
46 C<E<lt>pwE<gt>> element.
47  
48 my $node = $frame->newPW;
49  
50 This method returns the L<XML::LibXML::Element> object corresponding to the
51 C<E<lt>newPWE<gt>> element.
52  
53 my $node = $frame->svcs;
54  
55 This method returns the L<XML::LibXML::Element> object corresponding to the
56 C<E<lt>svcsE<gt>> element.
57  
58 my $node = $frame->options;
59  
60 This method returns the L<XML::LibXML::Element> object corresponding to the
61 C<E<lt>optionsE<gt>> element.
62  
63 my $node = $frame->version;
64  
65 This method returns the L<XML::LibXML::Element> object corresponding to the
66 C<E<lt>versionE<gt>> element.
67  
68 my $node = $frame->lang;
69  
70 This method returns the L<XML::LibXML::Element> object corresponding to the
71 C<E<lt>langE<gt>> element.
72  
73 =cut
74  
75 0 ▶sub clID { $_[0]->getNode('clID') }
Subroutine clID: not called CC=1 SCAR=6.9
Pod undocumented
76 0 ▶sub pw { $_[0]->getNode('pw') }
Subroutine pw: not called CC=1 SCAR=6.9
Pod undocumented
77 0 ▶sub newPW { $_[0]->getNode('newPW') }
Subroutine newPW: not called CC=1 SCAR=6.9
Pod undocumented
78 0 ▶sub svcs { $_[0]->getNode('svcs') }
Subroutine svcs: not called CC=1 SCAR=6.9
Pod undocumented
79 0 ▶sub options { $_[0]->getNode('options') }
Subroutine options: not called CC=1 SCAR=6.9
Pod undocumented
80 0 ▶sub version { $_[0]->getNode('version') }
Subroutine version: not called CC=1 SCAR=6.9
Pod documented
81 0 ▶sub lang { $_[0]->getNode('lang') }
Subroutine lang: not called CC=1 SCAR=6.9
Pod undocumented
82  
83 1 1;
« EPP/Frame/Command.pm ↑ Summary EPP/Frame/Command/Transfer/Domain.pm »