MemberOrder D

Total Complexity 240
Dependencies 3
Dependents 29
Total lines 1,833
Lines of code 1,006
Logical lines of code 633
Comment lines 539
Methods 40
Properties 29

Methods 40

Method Rating Maintainability Complexity Lines of code
saveOrder()
D
23
42 182
get_orders()
D
29 37 115
getMembershipLevel()
A
49 11 30
getTaxForPrice()
A
51 10 25
has_billing_address()
A
57 10 18
get_original_subscription_order()
A
46 8 46
getLastMemberOrder()
A
53 9 21
getMemberOrderByID()
A
39 6 62
setGateway()
S
55 7 20
getMembershipLevelAtCheckout()
S
57 7 19
find_billing_address()
S
46 5 40
get_order()
S
54 6 23
cancel()
S
42 4 52
is_renewal()
S
50 5 31
updateDiscountCode()
S
49 4 36
__set()
S
59 5 15
updateTimestamp()
S
54 4 19
getRandomCode()
S
57 4 15
get_tos_consent_log_entry()
S
62 4 12
__get()
S
63 4 11
__construct()
S
55 3 22
get_test_order()
S
47 2 34
getUser()
S
63 4 10
updateStatus()
S
59 3 14
deleteMe()
S
60 3 13
getEmptyMemberOrder()
S
49 1 33
getTax()
S
70 3 6
getDiscountCode()
S
65 3 8
getLastMemberOrderBySubscriptionTransactionID()
S
63 3 10
getMemberOrderByPaymentTransactionID()
S
63 3 10
getGatewayTransactionStatus()
S
74 2 5
getMemberOrderByCode()
S
66 2 8
confirm()
S
74 2 5
getGatewaySubscriptionStatus()
S
74 2 5
updateBilling()
S
74 2 5
__unset()
S
69 2 7
process()
S
74 2 5
getMemberOrderByPayPalToken()
S
66 2 8
getTimestamp()
S
78 2 3
__isset()
S
77 2 3