WC_PensoPay D

Total Complexity 268
Dependencies 31
Dependents 2
Total lines 1,849
Lines of code 1,063
Logical lines of code 690
Comment lines 508
Methods 55
Properties 2

Methods 55

Method Rating Maintainability Complexity Lines of code
hooks_and_filters()
D
22
37 192
callback_handler()
C
33 25 88
meta_box_payment()
B
37 19 66
apply_custom_order_data()
A
44 12 41
transaction_cancel_on_order_cancel()
A
49 11 30
ajax_pensopay_manual_transaction_actions()
A
45 10 42
woocommerce_order_status_completed()
A
48 10 31
meta_box_subscription()
A
46 9 35
prepare_external_window_payment()
A
49 8 31
subscription_cancellation()
A
53 8 22
process_refund()
S
51 5 26
bulk_action_pensopay_capture_recurring()
S
62 6 11
process_pre_order_payments()
S
53 5 23
handle_bulk_actions()
S
55 5 21
email_instructions()
S
64 6 9
s()
S
59 5 14
woocommerce_subscriptions_update_payment_via_pay_shortcode()
S
61 5 13
add_meta_boxes()
S
55 4 18
ajax_fetch_private_key()
S
56 4 17
parse_update_notice()
S
55 4 17
scheduled_subscription_payment()
S
57 4 16
maybe_change_language()
S
61 4 13
apply_gateway_icons()
S
60 4 13
in_plugin_update_message()
S
61 4 11
process_recurring_payment()
S
57 3 16
maybe_restore_language()
S
68 4 8
ajax_ping_api()
S
59 3 14
filter_load_instances()
S
61 3 12
woocommerce_subscription_validate_payment_meta()
S
61 3 11
generate_settings_html()
S
57 2 17
register_bulk_actions()
S
71 3 6
__construct()
S
51 1 28
gateway_icon_create()
S
61 2 11
get_gateway_instances()
S
53 1 22
gateway_icon_size()
S
74 2 4
get_instance()
S
71 2 6
receipt_page()
S
71 2 6
on_order_cancellation()
S
62 2 10
ajax_empty_logs()
S
68 2 7
ajax_flush_cache()
S
66 2 8
callback_update_transaction_cache()
S
66 2 8
payment_fields()
S
74 2 5
woocommerce_subscription_payment_meta()
S
62 1 12
init_form_fields()
S
80 1 3
admin_notices()
S
78 1 4
add_action_links()
S
69 1 6
reset_failed_a()
S
80 1 3
get_gateway_language()
S
75 1 4
process_payment()
S
71 1 6
thankyou_page()
S
77 1 4
remove_failed_pensopay_attempts_meta_query()
S
71 1 6
remove_legacy_transaction_id_meta_query()
S
77 1 4
filter_shop_order_posts_columns()
S
72 1 5
on_subscription_payment_method_updated_to_pensopay()
S
76 1 4
plugin_url()
S
79 1 3