WC_emerchantpay_Method D

Total Complexity 266
Dependencies 23
Dependents 2
Total lines 2,472
Lines of code 1,536
Logical lines of code 557
Comment lines 535
Methods 86
Properties 4

Methods 86

Method Rating Maintainability Complexity Lines of code
do_refund()
B
32 16 118
updateOrderStatus()
B
38 16 77
capture()
A
38 11 70
void()
A
37 10 81
update_order_status_refunded()
A
44 12 45
process_after_init_recurring_payment()
A
44 9 48
admin_notices_api_credentials()
A
52 9 26
append_to_url()
A
51 8 28
process_capture()
A
42 6 56
handle_return()
A
47 7 35
handle_notification()
S
51 7 28
addWPSimpleActions()
S
60 7 12
admin_notices_subscriptions()
S
53 6 27
save_approved_order_meta_data()
S
48 5 38
is_available()
S
58 6 17
should_show_admin_notices()
S
58 6 17
enqueueTransactionsListAssets()
S
42 2 72
init_form_fields()
S
39 1 82
__construct()
S
48 4 34
supports()
S
63 5 11
admin_notices_genesis_requirements()
S
56 4 22
displayTransactionsListForOrder()
S
51 3 30
displayAdminOrderAfterTotals()
S
54 3 24
refund()
S
53 3 23
process_subscription_payment()
S
50 2 35
getIsWooCommerceAdminOrder()
S
66 4 8
getIsSettingsCheckoutPage()
S
73 4 4
populateGateRequestData()
S
51 2 26
addSubscriptionSupport()
S
55 2 25
registerCustomActions()
S
56 2 24
cancelOrderSubscriptions()
S
58 2 19
getIsSettingsCheckoutModulePage()
S
69 3 6
get_capture_trx_type()
S
64 3 10
getOrderShippingAddress()
S
58 2 15
registerHelpers()
S
68 3 7
get_trx_id()
S
66 3 8
isShippingAddressMissing()
S
73 3 5
getAmount()
S
64 3 10
update_order_status_approved()
S
59 2 14
set_credentials()
S
62 2 12
get_item_description()
S
63 2 11
build_subscription_form_fields()
S
53 1 26
addWPAction()
S
64 2 11
registerStaticActions()
S
57 1 23
get_refund_trx_type()
S
68 2 7
getHasOrderValidMeta()
S
64 2 10
checkSubscriptionRequirements()
S
72 2 6
update_order_status_cancelled()
S
65 2 10
admin_notices()
S
67 2 9
allow_partial_refund()
S
76 2 3
getPostBoolSettingValue()
S
72 2 5
allow_partial_capture()
S
76 2 3
process_payment()
S
71 2 6
get_trx_list()
S
69 2 7
admin_options()
S
65 1 13
getOrderBillingAddress()
S
61 1 12
getRecurringToken()
S
80 1 3
isSubscriptionEnabled()
S
80 1 3
generateTransactionId()
S
63 1 10
getMethodHasSetting()
S
79 1 3
getMethodSetting()
S
80 1 3
process_scheduled_subscription_payment()
S
73 1 5
get_one_time_token()
S
73 1 6
set_one_time_token()
S
71 1 7
getMethodBoolSetting()
S
79 1 3
process_refund()
S
78 1 3
getModuleTitle()
S
100 1 0
set_terminal_token()
S
82 1 3
canCapture()
S
73 1 5
process_order_payment()
S
100 1 0
process_init_subscription_payment()
S
100 1 0
getRequiredApiSettingKeys()
S
73 1 6
getIsValidNotification()
S
79 1 3
getMethodAdminSettingPostParamName()
S
71 1 7
fetchTemplate()
S
74 1 4
getTranslatedText()
S
79 1 3
canVoid()
S
70 1 6
update_order_status_declined()
S
68 1 9
canRefund()
S
73 1 5
is_applicable()
S
80 1 3
is_ssl_required()
S
82 1 3
getCheckoutTransactionIdMetaKey()
S
100 1 0
callback_handler()
S
70 1 7
process_init_recurring_reconciliation()
S
79 1 3
update_order_status_error()
S
68 1 9
get_method_code()
S
81 1 3