WC_emerchantpay_Subscription_Helper A

Total Complexity 52
Dependencies 10
Dependents 3
Total lines 371
Lines of code 171
Logical lines of code 86
Comment lines 126
Methods 21
Properties 0

Methods 21

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
saveInitRecurringResponseToOrderSubscriptions()
S
62 3 11
isInitGatewayResponseSuccessful()
S
64 3 9
updateOrderSubscriptionsStatus()
S
65 3 9
isInitRecurringReconciliation()
S
64 3 9
get_order_subscription_transaction_class()
S
66 2 8
get_cart()
S
69 2 7
isSubscriptionProduct()
S
75 2 4
isWCSubscriptionsInstalled()
S
76 2 4
filter_wc_subscription_price()
S
67 2 8
updateSubscriptionStatus()
S
79 1 3
getOrderInitRecurringIdMeta()
S
79 1 3
getTerminalTokenMetaFromSubscriptionOrder()
S
79 1 3
isInitRecurring()
S
66 1 8
get_order_init_recurring_transaction_type()
S
79 1 3
isInitRecurringOrderFinished()
S
74 1 4
setInitRecurringOrderFinished()
S
79 1 3