MemberOrder D

Total Complexity 251
Dependencies 3
Dependents 29
Total lines 1,925
Lines of code 985
Logical lines of code 590
Comment lines 644
Methods 44
Properties 27

Methods 44

Method Rating Maintainability Complexity Lines of code
get_orders()
D
27
36 139
saveOrder()
C
28
27 130
get_subscription()
A
43 16 43
getMembershipLevel()
A
48 11 31
getLastMemberOrder()
A
50 11 25
getTaxForPrice()
A
51 10 25
has_billing_address()
A
57 10 18
get_original_subscription_order()
A
46 8 46
getMemberOrderByID()
A
40 6 59
setGateway()
S
54 7 21
getMembershipLevelAtCheckout()
S
59 7 14
find_billing_address()
S
46 5 40
get_order()
S
54 6 23
getRandomCode()
S
52 6 22
__set()
S
56 6 19
__get()
S
58 6 17
is_renewal()
S
50 5 31
updateDiscountCode()
S
49 4 36
__construct()
S
53 4 25
updateTimestamp()
S
55 4 19
updateStatus()
S
56 4 18
get_tos_consent_log_entry()
S
62 4 12
get_test_order()
S
47 2 34
getUser()
S
63 4 10
getDiscountCode()
S
63 4 9
deleteMe()
S
60 3 13
getLastMemberOrderBySubscriptionTransactionID()
S
64 3 10
getTax()
S
70 3 6
getMemberOrderByPaymentTransactionID()
S
64 3 10
getGatewayTransactionStatus()
S
74 2 5
__isset()
S
77 2 3
__unset()
S
69 2 7
cancel()
S
70 2 7
getGatewaySubscriptionStatus()
S
74 2 5
updateBilling()
S
74 2 5
confirm()
S
74 2 5
process()
S
74 2 5
getMemberOrderByCode()
S
66 2 8
getTimestamp()
S
78 2 3
getMemberOrderByPayPalToken()
S
66 2 8
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