DRI/Protocol/EPP/Extensions/PL/Report.pm

filter: Statementstmt 6.7% 13 / 193 Branchbran 0.0% 0 / 106 Conditioncond 0.0% 0 / 12 MC/DCmcdc 0.0% 0 / 8 Subroutinesub 21.0% 4 / 19 Podpod 0.0% 0 / 4 totaltotal 4.9% 17 / 342 CC 70 SCAR 45.3
CC
70
Cov
4%
create
240.0
_create_domain
156.0
create_parse
132.0
CRAP 93.0
« DRI/Protocol/EPP/Extensions/E164.pm ↑ Summary DRI/Logging.pm »
1 ## Domain Registry Interface, .PL EPP Report extension commands
2 ##
3 ## Copyright (c) 2012,2013,2018-2019 Patrick Mevzek <netdri@dotandco.com>. All rights reserved.
4 ##
5 ## This file is part of Net::DRI
6 ##
7 ## Net::DRI is free software; you can redistribute it and/or modify
8 ## it under the terms of the GNU General Public License as published by
9 ## the Free Software Foundation; either version 2 of the License, or
10 ## (at your option) any later version.
11 ##
12 ## See the LICENSE file that comes with this distribution for more details.
13 ####################################################################################################
14  
15 package Net::DRI::Protocol::EPP::Extensions::PL::Report;
16  
17 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 1 ▶use Net::DRI::Util;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 ▶use Net::DRI::Exception;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 ####################################################################################################
24  
25 sub register_commands
26 0 ▶{
Subroutine register_commands: not called CC=1 SCAR=6.9
Pod undocumented
27 0 my ($class,$version)=@_;
28 0 return { 'report' => { create => [ \&create, \&create_parse ] } };
29 }
30  
31 sub setup
32 0 ▶{
Subroutine setup: not called CC=1 SCAR=6.9
Pod undocumented
33 0 my ($class,$po,$version)=@_;
34 0 $po->ns({ 'extreport' => 'urn:ietf:params:xml:ns:extreport-1.0' });
35 0 return;
36 }
37  
38 ####################################################################################################
39  
40 sub create
41 0 ▶{
Subroutine create: not called CC=15 SCAR=54.8
Pod undocumented
42 0 my ($epp,$id,$rp)=@_;
43  
44 0 ▶ Net::DRI::Exception::usererr_insufficient_parameters('An ID must be provided to track this report results') unless defined $id && length $id;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $id and length $id 0 0 0
Condition0%0/3
defined $id and length $id
!ll&&!rl&&r
000
MC/DC0%0/2
defined $id and length $id
defined $id length $id
Truth table0%0/3
A and B
A= defined $idB= length $id
ABresult
0X0
100
111
45 0 ▶ Net::DRI::Exception::usererr_insufficient_parameters('An hash ref must be provided with at least a type key') unless Net::DRI::Util::has_key($rp,'type');
Branch: 1 branch
BranchTrueFalseTotal
unless Net::DRI::Util::has_key($rp, "type") 0 0 0
46 0 ▶ Net::DRI::Exception::usererr_invalid_parameters('Type value must be domain,contact,host,future,payment or funds') unless $rp->{type}=~m/^(?:domain|contact|host|future|payment|funds)$/;
Branch: 1 branch
BranchTrueFalseTotal
unless $rp->{"type"} =~ /^(?:domain|contact|host|future|payment|funds)$/ 0 0 0
47  
48 0 my @n;
49 0 ▶ if ($rp->{type} eq 'domain')
Branch: 6 branches
BranchTrueFalseTotal
if ($rp->{'type'} eq 'domain') { } 0 0 0
elsif ($rp->{'type'} eq 'contact') { } 0 0 0
elsif ($rp->{'type'} eq 'host') { } 0 0 0
elsif ($rp->{'type'} eq 'future') { } 0 0 0
elsif ($rp->{'type'} eq 'payment') { } 0 0 0
elsif ($rp->{'type'} eq 'funds') { } 0 0 0
50 {
51 0 push @n,['extreport:domain',_create_domain($rp)];
52 } elsif ($rp->{type} eq 'contact')
53 {
54 0 push @n,['extreport:contact',_create_contact($rp)];
55 } elsif ($rp->{type} eq 'host')
56 {
57 0 push @n,['extreport:host',_create_host($rp)];
58 } elsif ($rp->{type} eq 'future')
59 {
60 0 push @n,['extreport:future',_create_future($rp)];
61 } elsif ($rp->{type} eq 'payment')
62 {
63 0 push @n,['extreport:prepaid',['extreport:payment',_create_payment($rp)]];
64 } elsif ($rp->{type} eq 'funds')
65 {
66 0 push @n,['extreport:prepaid',['extreport:paymentFunds',_create_payment($rp)]];
67 }
68  
69 0 ▶ push @n,['extreport:offset',$rp->{offset}] if Net::DRI::Util::has_key($rp,'offset') && $rp->{offset}=~m/^\d+$/;
Branch: 1 branch
BranchTrueFalseTotal
if Net::DRI::Util::has_key($rp, "offset") and $rp->{"offset"} =~ /^\d+$/ 0 0 0
Condition0%0/3
Net::DRI::Util::has_key($rp, "offset") and $rp->{"offset"} =~ /^\d+$/
!ll&&!rl&&r
000
MC/DC0%0/2
Net::DRI::Util::has_key($rp, "offset") and $rp->{"offset"} =~ /^\d+$/
Net::DRI::Util::has_key($rp, "offset") $rp->{"offset"} =~ /^\d+$/
Truth table0%0/3
A and B
A= Net::DRI::Util::has_key($rp, "offset")B= $rp->{"offset"} =~ /^\d+$/
ABresult
0X0
100
111
70 0 ▶ push @n,['extreport:limit',$rp->{limit}] if Net::DRI::Util::has_key($rp,'limit') && $rp->{limit}=~m/^\d+$/;
Branch: 1 branch
BranchTrueFalseTotal
if Net::DRI::Util::has_key($rp, "limit") and $rp->{"limit"} =~ /^\d+$/ 0 0 0
Condition0%0/3
Net::DRI::Util::has_key($rp, "limit") and $rp->{"limit"} =~ /^\d+$/
!ll&&!rl&&r
000
MC/DC0%0/2
Net::DRI::Util::has_key($rp, "limit") and $rp->{"limit"} =~ /^\d+$/
Net::DRI::Util::has_key($rp, "limit") $rp->{"limit"} =~ /^\d+$/
Truth table0%0/3
A and B
A= Net::DRI::Util::has_key($rp, "limit")B= $rp->{"limit"} =~ /^\d+$/
ABresult
0X0
100
111
71  
72 0 $epp->message()->command_extension('extreport', ['report', @n]);
73 0 return;
74 }
75  
76 sub _create_domain
77 0 ▶{
Subroutine _create_domain: not called CC=12 SCAR=50.5
78 0 my ($rp)=@_;
79 0 my @n;
80 0 ▶ if (Net::DRI::Util::has_key($rp,'state'))
Branch: 1 branch
BranchTrueFalseTotal
if (Net::DRI::Util::has_key($rp, "state")) 0 0 0
81 {
82 0 my $state=$rp->{state};
83 0 ▶ Net::DRI::Exception::usererr_invalid_parameters('Domain state must be from list of registry states') unless $state=~m/^(?:STATE_)?(?:REGISTERED|EXPIRED|BLOCKED|RESERVED|BOOK_BLOCKED|DELETE_BLOCKED|TASTED|TASTED_BLOCKED)$/i;
Branch: 1 branch
BranchTrueFalseTotal
unless $state =~ /^(?:STATE_)?(?:REGISTERED|EXPIRED|BLOCKED|RESERVED|BOOK_BLOCKED|DELETE_BLOCKED|TASTED|TASTED_BLOCKED)$/i 0 0 0
84 0 $state=uc $state;
85 0 ▶ $state='STATE_'.$state unless $state=~m/^STATE_/;
Branch: 1 branch
BranchTrueFalseTotal
unless $state =~ /^STATE_/ 0 0 0
86 0 push @n,['extreport:state',$state];
87 }
88 0 ▶ if (Net::DRI::Util::has_key($rp,'exDate'))
Branch: 1 branch
BranchTrueFalseTotal
if (Net::DRI::Util::has_key($rp, "exDate")) 0 0 0
89 {
90 0 my $date=$rp->{exDate};
91 0 ▶ $date=Net::DRI::Util::dto2zstring($date) if Net::DRI::Util::is_class($date,'DateTime');
Branch: 1 branch
BranchTrueFalseTotal
if Net::DRI::Util::is_class($date, "DateTime") 0 0 0
92 0 ▶ Net::DRI::Exception::usererr_invalid_parameters('exDate must be in ISO8601 format') unless $date=~m/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z?$/;
Branch: 1 branch
BranchTrueFalseTotal
unless $date =~ /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z?$/ 0 0 0
93 0 ▶ $date.='Z' unless $date=~m/Z$/;
Branch: 1 branch
BranchTrueFalseTotal
unless $date =~ /Z$/ 0 0 0
94 0 push @n,['extreport:exDate',$date];
95 }
96 0 ▶ if (Net::DRI::Util::has_key($rp,'status'))
Branch: 1 branch
BranchTrueFalseTotal
if (Net::DRI::Util::has_key($rp, "status")) 0 0 0
97 {
98 0 ▶ Net::DRI::Exception::usererr_invalid_parameters('status must be a StatusList object') unless Net::DRI::Util::is_class($rp->{status},'Net::DRI::Data::StatusList');
Branch: 1 branch
BranchTrueFalseTotal
unless Net::DRI::Util::is_class($rp->{"status"}, "Net::DRI::Data::StatusList") 0 0 0
99 0 my %s;
100 0 ▶ if (Net::DRI::Util::has_key($rp,'status_in'))
Branch: 1 branch
BranchTrueFalseTotal
if (Net::DRI::Util::has_key($rp, "status_in")) 0 0 0
101 {
102 0 ▶ $s{statusesIn}=$rp->{status_in} ? 'true' : 'false';
Branch: 1 branch
BranchTrueFalseTotal
$rp->{'status_in'} ? : 0 0 0
103 }
104 0 push @n,['extreport:statuses',\%s,map { ['extreport:status',$_] } $rp->{status}->list_status()];
105 }
106 0 return @n;
107 }
108  
109 sub _create_contact
110 0 ▶{
Subroutine _create_contact: not called CC=3 SCAR=24.8
111 0 my ($rp)=@_;
112 0 my @n;
113 0 ▶ if (Net::DRI::Util::has_key($rp,'id'))
Branch: 1 branch
BranchTrueFalseTotal
if (Net::DRI::Util::has_key($rp, "id")) 0 0 0
114 {
115 0 ▶ push @n,['extreport:conId',Net::DRI::Util::is_class($rp->{id},'Net::DRI::Data::Contact')? $rp->{id}->srid() : $rp->{id} ];
Branch: 1 branch
BranchTrueFalseTotal
Net::DRI::Util::is_class($rp->{'id'}, 'Net::DRI::Data::Contact') ? : 0 0 0
116 }
117 0 return @n;
118 }
119  
120 sub _create_host
121 0 ▶{
Subroutine _create_host: not called CC=3 SCAR=24.8
122 0 my ($rp)=@_;
123 0 my @n;
124 0 ▶ if (Net::DRI::Util::has_key($rp,'name'))
Branch: 1 branch
BranchTrueFalseTotal
if (Net::DRI::Util::has_key($rp, "name")) 0 0 0
125 {
126 0 ▶ push @n,['extreport:name',Net::DRI::Util::is_class($rp->{name},'Net::DRI::Data::Hosts')? $rp->{name}->get_names(1) : $rp->{name} ];
Branch: 1 branch
BranchTrueFalseTotal
Net::DRI::Util::is_class($rp->{'name'}, 'Net::DRI::Data::Hosts') ? : 0 0 0
127 }
128 0 return @n;
129 }
130  
131 sub _create_future
132 0 ▶{
Subroutine _create_future: not called CC=5 SCAR=34.0
133 0 my ($rp)=@_;
134 0 my @n;
135  
136 0 ▶ if (Net::DRI::Util::has_key($rp,'exDate'))
Branch: 1 branch
BranchTrueFalseTotal
if (Net::DRI::Util::has_key($rp, "exDate")) 0 0 0
137 {
138 0 my $date=$rp->{exDate};
139 0 ▶ $date=Net::DRI::Util::dto2zstring($date) if Net::DRI::Util::is_class($date,'DateTime');
Branch: 1 branch
BranchTrueFalseTotal
if Net::DRI::Util::is_class($date, "DateTime") 0 0 0
140 0 ▶ Net::DRI::Exception::usererr_invalid_parameters('exDate must be in ISO8601 format') unless $date=~m/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z?$/;
Branch: 1 branch
BranchTrueFalseTotal
unless $date =~ /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z?$/ 0 0 0
141 0 ▶ $date.='Z' unless $date=~m/Z$/;
Branch: 1 branch
BranchTrueFalseTotal
unless $date =~ /Z$/ 0 0 0
142 0 push @n,['extreport:exDate',$date];
143 }
144  
145 0 return @n;
146 }
147  
148 sub _create_payment
149 0 ▶{
Subroutine _create_payment: not called CC=3 SCAR=24.8
150 0 my ($rp)=@_;
151 0 my @n;
152  
153 0 ▶ Net::DRI::Exception::usererr_insufficient_parameters('account_type value is mandatory for payment reports') unless Net::DRI::Util::has_key($rp,'account_type') && length $rp->{account_type};
Branch: 1 branch
BranchTrueFalseTotal
unless Net::DRI::Util::has_key($rp, "account_type") and length $rp->{"account_type"} 0 0 0
Condition0%0/3
Net::DRI::Util::has_key($rp, "account_type") and length $rp->{"account_type"}
!ll&&!rl&&r
000
MC/DC0%0/2
Net::DRI::Util::has_key($rp, "account_type") and length $rp->{"account_type"}
Net::DRI::Util::has_key($rp, "account_type") length $rp->{"account_type"}
Truth table0%0/3
A and B
A= Net::DRI::Util::has_key($rp, "account_type")B= length $rp->{"account_type"}
ABresult
0X0
100
111
154 0 push @n,['extreport:accountType',$rp->{account_type}];
155  
156 0 return @n;
157 }
158  
159 sub create_parse
160 0 ▶{
Subroutine create_parse: not called CC=11 SCAR=48.8
Pod undocumented
161 0 my ($po,$otype,$oaction,$oname,$rinfo)=@_;
162 0 my $mes=$po->message();
163 0 ▶ return unless $mes->is_success();
Branch: 1 branch
BranchTrueFalseTotal
unless $mes->is_success 0 0 0
164  
165 0 my $data=$mes->get_extension('extreport','reportData');
166 0 ▶ return unless defined $data;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $data 0 0 0
167  
168 0 my $ns=$mes->ns('extreport');
169 0 my @nodes=Net::DRI::Util::xml_list_children($data);
170 0 my ($name,$c)=@{shift @nodes};
171  
172 0 ▶ if ($name eq 'domDataRsp')
Branch: 6 branches
BranchTrueFalseTotal
if ($name eq 'domDataRsp') { } 0 0 0
elsif ($name eq 'conDataRsp') { } 0 0 0
elsif ($name eq 'hosDataRsp') { } 0 0 0
elsif ($name eq 'futDataRsp') { } 0 0 0
elsif ($name eq 'paymentDataRsp') { } 0 0 0
elsif ($name eq 'paymentFundsDataRsp') { } 0 0 0
173 {
174 0 _parse_domain($po,$otype,$oaction,$oname,$rinfo,$c);
175 0 $rinfo->{report}->{$oname}->{type}='domain';
176 } elsif ($name eq 'conDataRsp')
177 {
178 0 _parse_contact($po,$otype,$oaction,$oname,$rinfo,$c);
179 0 $rinfo->{report}->{$oname}->{type}='contact';
180 } elsif ($name eq 'hosDataRsp')
181 {
182 0 _parse_host($po,$otype,$oaction,$oname,$rinfo,$c);
183 0 $rinfo->{report}->{$oname}->{type}='host';
184 } elsif ($name eq 'futDataRsp')
185 {
186 0 _parse_future($po,$otype,$oaction,$oname,$rinfo,$c);
187 0 $rinfo->{report}->{$oname}->{type}='future';
188 } elsif ($name eq 'paymentDataRsp')
189 {
190 0 _parse_payment($po,$otype,$oaction,$oname,$rinfo,$c);
191 0 $rinfo->{report}->{$oname}->{type}='payment';
192 } elsif ($name eq 'paymentFundsDataRsp')
193 {
194 0 _parse_funds($po,$otype,$oaction,$oname,$rinfo,$c);
195 0 $rinfo->{report}->{$oname}->{type}='funds';
196 }
197  
198 0 foreach my $el (@nodes)
199 {
200 0 my ($name,$node)=@$el;
201 0 ▶ if ($name=~m/^(?:offset|limit|size)$/)
Branch: 1 branch
BranchTrueFalseTotal
if ($name =~ /^(?:offset|limit|size)$/) 0 0 0
202 {
203 0 $rinfo->{report}->{$oname}->{$name}=$node->textContent();
204 }
205 }
206 0 return;
207 }
208  
209 sub _parse_domain
210 0 ▶{
Subroutine _parse_domain: not called CC=6 SCAR=37.4
211 0 my ($po,$otype,$oaction,$oname,$rinfo,$c)=@_;
212  
213 0 my @r;
214 0 foreach my $el (map { $_->[1] } grep { $_->[0] eq 'domData' } Net::DRI::Util::xml_list_children($c))
215 {
216 0 my %r;
217 0 foreach my $subel (Net::DRI::Util::xml_list_children($el))
218 {
219 0 my ($name,$node)=@$subel;
220 0 ▶ if ($name=~m/^(?:name|roid)$/)
Branch: 3 branches
BranchTrueFalseTotal
if ($name =~ /^(?:name|roid)$/) { } 0 0 0
elsif ($name eq 'exDate') { } 0 0 0
elsif ($name eq 'statuses') { } 0 0 0
221 {
222 0 $r{$name}=$node->textContent();
223 } elsif ($name eq 'exDate')
224 {
225 0 $r{$name}=$po->parse_iso8601($node->textContent());
226 } elsif ($name eq 'statuses')
227 {
228 0 my @s=map { $_->[1]->textContent() } grep { $_->[0] eq 'status' } Net::DRI::Util::xml_list_children($node);
229 0 $r{status}=$po->create_local_object('status')->add(@s);
230 }
231 }
232 0 push @r,\%r;
233 }
234  
235 0 $rinfo->{report}->{$oname}->{results}=\@r;
236 0 return;
237 }
238  
239 sub _parse_contact
240 0 ▶{
Subroutine _parse_contact: not called CC=5 SCAR=34.0
241 0 my ($po,$otype,$oaction,$oname,$rinfo,$c)=@_;
242  
243 0 my @r;
244 0 foreach my $el (map { $_->[1] } grep { $_->[0] eq 'conData' } Net::DRI::Util::xml_list_children($c))
245 {
246 0 my $c=$po->create_local_object('contact');
247 0 foreach my $subel (Net::DRI::Util::xml_list_children($el))
248 {
249 0 my ($name,$node)=@$subel;
250 0 ▶ if ($name eq 'conId')
Branch: 2 branches
BranchTrueFalseTotal
if ($name eq 'conId') { } 0 0 0
elsif ($name eq 'roid') { } 0 0 0
251 {
252 0 $c->srid($node->textContent());
253 } elsif ($name eq 'roid')
254 {
255 0 $c->roid($node->textContent());
256 }
257 }
258 0 push @r,$c;
259 }
260  
261 0 $rinfo->{report}->{$oname}->{results}=\@r;
262 0 return;
263 }
264  
265 sub _parse_host
266 0 ▶{
Subroutine _parse_host: not called CC=5 SCAR=34.0
267 0 my ($po,$otype,$oaction,$oname,$rinfo,$c)=@_;
268  
269 0 my $h=$po->create_local_object('hosts');
270 0 foreach my $el (map { $_->[1] } grep { $_->[0] eq 'hosData' } Net::DRI::Util::xml_list_children($c))
271 {
272 0 my ($hostname,$hostroid);
273 0 foreach my $subel (Net::DRI::Util::xml_list_children($el))
274 {
275 0 my ($name,$node)=@$subel;
276 0 ▶ if ($name eq 'name')
Branch: 2 branches
BranchTrueFalseTotal
if ($name eq 'name') { } 0 0 0
elsif ($name eq 'roid') { } 0 0 0
277 {
278 0 $hostname=$node->textContent();
279 } elsif ($name eq 'roid')
280 {
281 0 $hostroid=$node->textContent();
282 }
283 }
284 0 $h->add($hostname,undef,undef,{roid => $hostroid});
285 }
286  
287 0 $rinfo->{report}->{$oname}->{results}=$h;
288 0 return;
289 }
290  
291 sub _parse_future
292 0 ▶{
Subroutine _parse_future: not called CC=5 SCAR=34.0
293 0 my ($po,$otype,$oaction,$oname,$rinfo,$c)=@_;
294  
295 0 my @r;
296 0 foreach my $el (map { $_->[1] } grep { $_->[0] eq 'futData' } Net::DRI::Util::xml_list_children($c))
297 {
298 0 my %r;
299 0 foreach my $subel (Net::DRI::Util::xml_list_children($el))
300 {
301 0 my ($name,$node)=@$subel;
302 0 ▶ if ($name=~m/^(?:name|roid)$/)
Branch: 2 branches
BranchTrueFalseTotal
if ($name =~ /^(?:name|roid)$/) { } 0 0 0
elsif ($name eq 'exDate') { } 0 0 0
303 {
304 0 $r{$name}=$node->textContent();
305 } elsif ($name eq 'exDate')
306 {
307 0 $r{$name}=$po->parse_iso8601($node->textContent());
308 }
309 }
310 0 push @r,\%r;
311 }
312  
313 0 $rinfo->{report}->{$oname}->{results}=\@r;
314 0 return;
315 }
316  
317 sub _parse_payment
318 0 ▶{
Subroutine _parse_payment: not called CC=6 SCAR=37.4
319 0 my ($po,$otype,$oaction,$oname,$rinfo,$c)=@_;
320  
321 0 my @r;
322 0 foreach my $el (map { $_->[1] } grep { $_->[0] eq 'paymentData' } Net::DRI::Util::xml_list_children($c))
323 {
324 0 my %r;
325 0 foreach my $subel (Net::DRI::Util::xml_list_children($el))
326 {
327 0 my ($name,$node)=@$subel;
328 0 ▶ if ($name eq 'roid')
Branch: 3 branches
BranchTrueFalseTotal
if ($name eq 'roid') { } 0 0 0
elsif ($name eq 'crDate') { } 0 0 0
elsif ($name =~ /^(?:grossValue|vatPercent|vatValue|initialFunds|currentFunds)$/) { } 0 0 0
329 {
330 0 $r{$name}=$node->textContent();
331 } elsif ($name eq 'crDate')
332 {
333 0 $r{$name}=$po->parse_iso8601($node->textContent());
334 } elsif ($name=~m/^(?:grossValue|vatPercent|vatValue|initialFunds|currentFunds)$/)
335 {
336 0 $r{Net::DRI::Util::remcam($name)}=0+$node->textContent();
337 }
338 }
339 0 push @r,\%r;
340 }
341  
342 0 $rinfo->{report}->{$oname}->{results}=\@r;
343 0 return;
344 }
345  
346 sub _parse_funds
347 0 ▶{
Subroutine _parse_funds: not called CC=3 SCAR=24.8
348 0 my ($po,$otype,$oaction,$oname,$rinfo,$c)=@_;
349  
350 0 my %r;
351 0 my ($el)=(map { $_->[1] } grep { $_->[0] eq 'paymentFundsData' } Net::DRI::Util::xml_list_children($c)); ## only one of them
352 0 foreach my $subel (Net::DRI::Util::xml_list_children($el))
353 {
354 0 my ($name,$node)=@$subel;
355 0 ▶ if ($name eq 'currentBalance')
Branch: 1 branch
BranchTrueFalseTotal
if ($name eq "currentBalance") 0 0 0
356 {
357 0 $r{Net::DRI::Util::remcam($name)}=0+$node->textContent();
358 }
359 }
360  
361 0 $rinfo->{report}->{$oname}->{results}=\%r;
362 0 return;
363 }
364  
365 ####################################################################################################
366 1 1;
367  
368 __END__
« DRI/Protocol/EPP/Extensions/E164.pm ↑ Summary DRI/Logging.pm »