DRI/Protocol/EPP/Extensions/TCI/Message.pm

filter: Statementstmt 55.5% 10 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 56.5% 13 / 23 CC 1 SCAR 2.2
CC
1
Cov
56%
parse_greeting
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« DRI/DRD/RDS.pm ↑ Summary DRI/Logging/Null.pm »
1 ## Domain Registry Interface, .RU/.SU/.XN--P1AI EPP Message Extension for Net::DRI
2 ##
3 ## Copyright (c) 2010-2011 Dmitry Belyavsky <beldmit@gmail.com>
4 ## 2011 Patrick Mevzek <netdri@dotandco.com>. All rights reserved.
5 ##
6 ## This file is part of Net::DRI
7 ##
8 ## Net::DRI is free software; you can redistribute it and/or modify
9 ## it under the terms of the GNU General Public License as published by
10 ## the Free Software Foundation; either version 2 of the License, or
11 ## (at your option) any later version.
12 ##
13 ## See the LICENSE file that comes with this distribution for more details.
14 ####################################################################################################
15  
16 package Net::DRI::Protocol::EPP::Extensions::TCI::Message;
17  
18 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 1 ▶use base qw(Net::DRI::Protocol::EPP::Message);
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 sub parse_greeting
24 {
25 0 ▶ my ($self,$g)=@_;
Subroutine parse_greeting: not called CC=1 SCAR=6.9
Pod undocumented
26  
27 0 my $tmp = $self->SUPER::parse_greeting($g);
28 0 delete $tmp->{svcext};
29  
30 0 my @svcs = map {(split(/\s+/, $_))[0]} @{$tmp->{svcs}};
31 0 $tmp->{svcs} = \@svcs;
32  
33 0 return $tmp;
34 }
35  
36 ####################################################################################################
37 1 1;
38  
39 =pod
40  
41 =head1 NAME
42  
43 Net::DRI::Protocol::EPP::Extensions::TCI::Message - TCI EPP Message Extension for Net::DRI
44  
45 =head1 DESCRIPTION
46  
47 Please see the README file for details.
48  
49 =head1 SUPPORT
50  
51 For now, support questions should be sent to:
52  
53 E<lt>netdri@dotandco.comE<gt>
54  
55 Please also see the SUPPORT file in the distribution.
56  
57 =head1 SEE ALSO
58  
59 E<lt>http://www.dotandco.com/services/software/Net-DRI/E<gt>
60  
61 =head1 AUTHOR
62  
63 Dmitry Belyavsky, E<lt>beldmit@gmail.comE<gt>
64 Patrick Mevzek, E<lt>netdri@dotandco.comE<gt>
65  
66 =head1 COPYRIGHT
67  
68 Copyright (c) 2010-2011 Dmitry Belyavsky <beldmit@gmail.com>
69 Copyright (c) 2011 Patrick Mevzek <netdri@dotandco.com>.
70 All rights reserved.
71  
72 This program is free software; you can redistribute it and/or modify
73 it under the terms of the GNU General Public License as published by
74 the Free Software Foundation; either version 2 of the License, or
75 (at your option) any later version.
76  
77 See the LICENSE file that comes with this distribution for more details.
78  
79 =cut
« DRI/DRD/RDS.pm ↑ Summary DRI/Logging/Null.pm »