SOAP/OrderLineWS.pm

filter: Statementstmt 81.2% 26 / 32 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 70.0% 28 / 40 CC 4 SCAR 26.1
CC
4
Cov
72%
soapify
20.0
BEGIN
1.0
BEGIN
1.0
CRAP 13.7
« SOAP/MetaFieldValueWS.pm ↑ Summary SOAP/JavaDouble.pm »
1 package jBilling::Client::SOAP::OrderLineWS;
2 1 ▶ use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 our $VERSION = 0.01;
4 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 extends 'jBilling::Client::SOAP::Object';
6 1 has 'amount', is => 'rw', isa => 'Str';
7 1 has 'createDatetime', is => 'rw', isa => 'Str';
8 1 has 'deleted', is => 'rw', isa => 'Bool';
9 1 has 'description', is => 'rw', isa => 'Str';
10 1 has 'editable', is => 'rw', isa => 'Str';
11 1 has 'id', is => 'rw', isa=> 'Str';
12 1 has 'itemId', is => 'rw', isa=> 'Int';
13 1 has 'orderId', is => 'rw', isa=> 'Int';
14 1 has 'price', is => 'rw', isa=> 'Str';
15 1 has 'priceStr', is => 'rw', isa=> 'Str';
16 1 has 'provisioningRequestId', is => 'rw', isa=> 'Str';
17 1 has 'provisioningStatusId', is => 'rw', isa=> 'Int';
18 1 has 'quantity', is => 'rw', isa => 'Str';
19 1 has 'typeId', is => 'rw', isa => 'Str';
20 1 has 'useItem', is => 'rw', isa => 'Str';
21 1 has 'orderLinePlanItems', is => 'rw', isa => 'Str';
22 1 has 'versionNum', is => 'rw', isa => 'Int';
23 1 has 'jbilling', is => 'rw', isa => 'jBilling::Client::SOAP';
24
25 0 ▶ sub soapify{
Subroutine soapify: not called CC=4 SCAR=30.0
Pod undocumented
26 0 my $self = shift;
27 0 my @ols;
28 my @ol;
29 0 foreach my $method ($self->getClassMethods){
30 0 ▶ push @ol, SOAP::Data->new(name => $method, value => $self->$method)
Branch: 1 branch
BranchTrueFalseTotal
if defined $self->$method 0 0 0
31 if (defined $self->$method );
32 }
33 0 push @ols, \SOAP::Data->value(@ol);
34 0 ▶ return @ols if @ols;
Branch: 1 branch
BranchTrueFalseTotal
if @ols 0 0 0
35 }
36 1 1;
« SOAP/MetaFieldValueWS.pm ↑ Summary SOAP/JavaDouble.pm »