MemberOrder D

Total Complexity 248
Dependencies 3
Dependents 28
Total lines 1,852
Lines of code 972
Logical lines of code 583
Comment lines 591
Methods 41
Properties 27

Methods 41

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
55 7 20
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
getTax()
S
70 3 6
getLastMemberOrderBySubscriptionTransactionID()
S
64 3 10
getMemberOrderByPaymentTransactionID()
S
64 3 10
getGatewaySubscriptionStatus()
S
74 2 5
getGatewayTransactionStatus()
S
74 2 5
getTimestamp()
S
78 2 3
updateBilling()
S
74 2 5
cancel()
S
70 2 7
confirm()
S
74 2 5
process()
S
74 2 5
__isset()
S
77 2 3
__unset()
S
69 2 7
getMemberOrderByPayPalToken()
S
66 2 8
getMemberOrderByCode()
S
66 2 8
getEmptyMemberOrder()
S
69 1 7