MemberOrder D

Total Complexity 280
Dependencies 3
Dependents 29
Total lines 1,963
Lines of code 1,034
Logical lines of code 638
Comment lines 646
Methods 44
Properties 27

Methods 44

Method Rating Maintainability Complexity Lines of code
__get()
D
30 40 97
get_orders()
D
27
36 139
saveOrder()
C
29
23 127
get_subscription()
A
44 15 43
getMembershipLevel()
A
48 11 31
getTaxForPrice()
A
50 11 27
getLastMemberOrder()
A
50 11 25
get_original_subscription_order()
A
46 8 46
has_billing_address()
A
58 10 16
setGateway()
S
54 7 21
getMembershipLevelAtCheckout()
S
59 7 14
get_order()
S
54 6 23
getRandomCode()
S
52 6 22
__set()
S
56 6 19
getMemberOrderByID()
S
43 4 47
is_renewal()
S
50 5 31
updateDiscountCode()
S
49 4 36
find_billing_address()
S
56 5 17
getDiscountCode()
S
59 5 13
__construct()
S
52 4 26
updateTimestamp()
S
55 4 19
updateStatus()
S
56 4 18
get_tos_consent_log_entry()
S
61 4 13
get_test_order()
S
48 2 32
getUser()
S
63 4 10
deleteMe()
S
60 3 13
getLastMemberOrderBySubscriptionTransactionID()
S
64 3 10
getTax()
S
70 3 6
getMemberOrderByPaymentTransactionID()
S
64 3 10
getGatewayTransactionStatus()
S
71 2 6
__isset()
S
77 2 3
__unset()
S
69 2 7
updateBilling()
S
74 2 5
getGatewaySubscriptionStatus()
S
71 2 6
getMemberOrderByPayPalToken()
S
66 2 8
cancel()
S
70 2 7
confirm()
S
71 2 6
process()
S
74 2 5
getMemberOrderByCode()
S
66 2 8
getTimestamp()
S
78 2 3
getEmptyMemberOrder()
S
69 1 7
get_formatted_total()
S
75 1 4
get_formatted_subtotal()
S
75 1 4
get_formatted_tax()
S
75 1 4