WC_PensoPay D

Total Complexity 268
Dependencies 31
Dependents 2
Total lines 1,880
Lines of code 1,070
Logical lines of code 693
Comment lines 528
Methods 55
Properties 2

Methods 55

Method Rating Maintainability Complexity Lines of code
hooks_and_filters()
D
22
37 190
callback_handler()
C
32 24 94
meta_box_payment()
B
37 19 66
apply_custom_order_data()
A
45 11 40
woocommerce_order_status_completed()
A
48 11 31
transaction_cancel_on_order_cancel()
A
49 11 30
ajax_pensopay_manual_transaction_actions()
A
45 9 42
meta_box_subscription()
A
46 9 35
process_recurring_payment()
A
48 8 33
prepare_external_window_payment()
A
49 8 31
subscription_cancellation()
A
53 8 22
bulk_action_pensopay_capture_recurring()
S
62 6 11
process_refund()
S
51 5 26
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
maybe_change_language()
S
61 4 13
apply_gateway_icons()
S
60 4 13
in_plugin_update_message()
S
61 4 11
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
register_bulk_actions()
S
71 3 6
__construct()
S
51 1 28
get_gateway_instances()
S
55 1 20
gateway_icon_create()
S
63 2 9
gateway_icon_size()
S
74 2 4
get_gateway_currency()
S
65 2 9
get_instance()
S
71 2 6
callback_update_transaction_cache()
S
66 2 8
on_order_cancellation()
S
62 2 10
ajax_empty_logs()
S
68 2 7
ajax_flush_cache()
S
66 2 8
payment_fields()
S
74 2 5
receipt_page()
S
71 2 6
woocommerce_subscription_payment_meta()
S
62 1 12
admin_options()
S
63 1 10
process_payment()
S
71 1 6
admin_notices()
S
78 1 4
add_action_links()
S
69 1 6
thankyou_page()
S
77 1 4
get_gateway_language()
S
75 1 4
init_form_fields()
S
80 1 3
scheduled_subscription_payment()
S
66 1 8
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