WC_emerchantpay_Subscription_Helper A

Total Complexity 52
Dependencies 9
Dependents 3
Total lines 330
Lines of code 154
Logical lines of code 81
Comment lines 109
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
isCartValid()
A
51 8 29
getOrderSubscriptions()
S
60 7 14
getOrderSubscriptionSignUpFee()
S
58 5 15
hasOrderSubscriptions()
S
63 5 11
getOrderSubscriptionInitialPayment()
S
63 4 11
saveTerminalTokenToOrderSubscriptions()
S
62 3 11
saveInitRecurringResponseToOrderSubscriptions()
S
63 3 10
updateOrderSubscriptionsStatus()
S
65 3 9
isInitGatewayResponseSuccessful()
S
64 3 9
isSubscriptionProduct()
S
75 2 4
isWCSubscriptionsInstalled()
S
76 2 4
getTerminalTokenMetaFromSubscriptionOrder()
S
79 1 3
setInitRecurringOrderFinished()
S
79 1 3
isInitRecurringReconciliation()
S
76 1 4
isInitRecurring()
S
68 1 7
isInitRecurringOrderFinished()
S
74 1 4
getOrderInitRecurringIdMeta()
S
79 1 3
updateSubscriptionStatus()
S
79 1 3