WC_emerchantpay_Subscription_Helper S

Total Complexity 49
Dependencies 10
Dependents 3
Total lines 340
Lines of code 158
Logical lines of code 79
Comment lines 112
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
getOrderSubscriptions()
S
60 7 14
is_cart_has_subscriptions()
S
57 5 18
hasOrderSubscriptions()
S
63 5 11
get_3dsv2_recurring_parameters()
S
55 3 21
saveTerminalTokenToOrderSubscriptions()
S
62 3 11
isInitGatewayResponseSuccessful()
S
64 3 9
saveInitRecurringResponseToOrderSubscriptions()
S
63 3 10
isInitRecurringReconciliation()
S
64 3 9
updateOrderSubscriptionsStatus()
S
65 3 9
get_cart()
S
69 2 7
isSubscriptionProduct()
S
75 2 4
isWCSubscriptionsInstalled()
S
76 2 4
filter_wc_subscription_price()
S
67 2 8
getOrderInitRecurringIdMeta()
S
79 1 3
setInitRecurringOrderFinished()
S
79 1 3
isInitRecurring()
S
68 1 7
getTerminalTokenMetaFromSubscriptionOrder()
S
79 1 3
updateSubscriptionStatus()
S
79 1 3
isInitRecurringOrderFinished()
S
74 1 4