Code Analysis: Frisbii Pay 1.4.56

Function Rating Maintainability Complexity Lines of code
WC_Gateway_Reepay::process_payment()
D
14
59 301
WC_Reepay_Webhook::process()
D
17
50 269
WC_Gateway_Reepay_Checkout::init_form_fields()
D
19
17 319
WC_Gateway_Reepay::get_order_items()
C
32 30 98
WC_Reepay_Instant_Settle::calculate_instant_settle()
B
33 21 104
WC_Payment_Gateway_Reepay::get_logo()
B
38 23 71
WC_Gateway_Reepay::get_logo()
B
38 23 69
WC_Payment_Gateway_Reepay::calculate_instant_settle()
B
34 20 94
WC_Gateway_Reepay_Checkout::__construct()
B
38 22 56
WC_Reepay_Api::settle()
B
35 19 84
WC_Reepay_Api::request()
B
36 19 73
WC_Gateway_Reepay::is_webhook_configured()
B
39 18 63
WC_Payment_Gateway_Reepay::get_order_items()
B
37 17 75
WC_Reepay_Subscriptions::scheduled_subscription_payment()
B
38 17 72
WC_Reepay_Thankyou::ajax_check_payment()
B
39 17 63
WC_Reepay_Order_Capture::multi_settle()
B
45 17 43
WC_Gateway_Reepay_Checkout::scheduled_subscription_payment()
B
40 16 58
WC_Payment_Gateway_Reepay::request()
B
39 15 61
WC_Reepay_Admin::order_status_changed()
A
41 15 56
WC_Reepay_Instant_Settle::get_items_to_settle()
A
46 16 38
WC_Gateway_Reepay_Checkout::reepay_finalize()
A
38 13 68
WC_Reepay_Order_Statuses::woocommerce_create_order()
A
38 12 62
WC_Payment_Gateway_Reepay::reepay_settle()
A
39 11 63
WC_Gateway_Reepay::process_session_charge()
A
38 10 75
WC_Reepay_Thankyou::process_order_confirmation()
A
40 10 68
WC_Reepay_Instant_Settle::get_instant_items()
A
51 12 27
WC_Gateway_Reepay_Checkout::add_payment_method()
A
37 8 80
WC_Reepay_Order_Capture::get_no_settled_amount()
A
50 10 31
WC_Reepay_Meta_Boxes::add_meta_boxes()
A
45 9 45
WC_Reepay_Order_Capture::settle_item()
A
49 10 28
WC_Reepay_Api::get_reepay_cards()
A
50 10 28
WC_Gateway_Reepay::payment_confirm()
A
50 10 27
WC_Reepay_Order_Capture::process_item_capture()
A
55 10 19
WC_Reepay_Api::charge()
A
44 8 44
WC_Reepay_Api::process_charge_result()
A
43 7 56
WC_Reepay_Thankyou::thankyou_scripts()
A
45 8 41
WC_Reepay_Order_Capture::get_item_price()
A
50 9 25
WC_Payment_Gateway_Reepay::get_reepay_cards()
A
53 9 22
WC_Reepay_Subscriptions::create_sub_invoice()
A
56 9 16
WC_Reepay_Api::capture_payment()
A
49 8 29
WC_Payment_Gateway_Reepay::process_charge_result()
A
46 7 42
WC_Reepay_Order_Statuses::__construct()
S
45 6 45
WC_Gateway_Reepay::payment_scripts()
S
49 7 28
WC_ReepayCheckout::add_footer()
S
46 5 57
WC_Payment_Gateway_Reepay::reepay_refund()
S
45 6 41
WC_Reepay_Order_Capture::add_item_capture_button()
S
50 7 25
WC_Reepay_Api::recurring()
S
46 6 39
WC_Payment_Gateway_Reepay::can_capture()
S
53 7 22
WC_Gateway_Reepay_Checkout::validate_subscription_payment_meta()
S
54 7 21
WC_Gateway_Reepay_Mobilepay_Subscriptions::__construct()
S
43 5 49
WC_Gateway_Reepay::get_account_info()
S
57 7 16
WC_Reepay_Order_Capture::unset_specific_order_item_meta_data()
S
58 7 16
WC_Reepay_Meta_Boxes::generate_meta_box_content_invoice()
S
49 6 31
WC_Gateway_Reepay::return_handler()
S
49 6 28
WC_Reepay_Meta_Boxes::generate_meta_box_content_subscription()
S
50 6 28
WC_Reepay_Api::can_capture()
S
52 6 25
WC_Reepay_Order_Statuses::set_settled_status()
S
52 6 25
WC_Reepay_Subscriptions::maybe_render_subscription_payment_method()
S
52 6 25
WC_Background_Reepay_Queue::task()
S
52 6 24
WC_Reepay_Admin::add_meta_boxes()
S
53 6 23
WC_Reepay_Api::refund()
S
47 5 38
WC_Gateway_Reepay::reepay_cancel()
S
53 6 22
WC_Payment_Gateway_Reepay::retrieve_payment_token_order()
S
54 6 22
WC_Gateway_Reepay_Anyday::__construct()
S
47 5 35
WC_Payment_Gateway_Reepay::add_payment_token()
S
47 5 35
WC_Payment_Gateway_Reepay::can_refund()
S
55 6 20
WC_Reepay_Subscriptions::add_subscription_card_id()
S
55 6 20
rp_get_customer_handle()
S
55 6 20
WC_Gateway_Reepay_Klarna_Pay_Later::__construct()
S
47 5 34
WC_Gateway_Reepay_Klarna_Pay_Now::__construct()
S
47 5 34
WC_Payment_Gateway_Reepay::reepay_charge()
S
47 5 34
WC_Gateway_Reepay_Klarna_Slice_It::__construct()
S
47 5 34
WC_Gateway_Reepay_Mobilepay::__construct()
S
47 5 34
WC_Gateway_Reepay_Paypal::__construct()
S
47 5 34
WC_Gateway_Reepay_Resurs::__construct()
S
47 5 34
WC_Gateway_Reepay_Swish::__construct()
S
47 5 34
WC_Gateway_Reepay_Viabill::__construct()
S
47 5 34
WC_Gateway_Reepay_Vipps::__construct()
S
47 5 34
WC_Gateway_Reepay_Apple_Pay::__construct()
S
47 5 34
WC_Reepay_Order_Capture::check_allow_capture()
S
55 6 19
WC_Gateway_Reepay_Checkout::payment_fields()
S
56 6 19
WC_Payment_Gateway_Reepay::get_customer_handle()
S
56 6 19
WC_Reepay_Subscriptions::validate_subscription_payment_meta()
S
55 6 19
WC_Gateway_Reepay_Googlepay::__construct()
S
47 5 34
WC_Reepay_Thankyou::thankyou_page()
S
56 6 18
WC_Gateway_Reepay_Mobilepay_Subscriptions::is_available()
S
60 6 15
WC_Payment_Token_Reepay::is_default()
S
58 6 15
WC_Reepay_Subscriptions::save_subscription_payment_meta()
S
58 6 15
WC_Gateway_Reepay::get_parent_settings()
S
49 5 30
WC_Gateway_Reepay_Checkout::save_subscription_payment_meta()
S
59 6 14
wcs_cart_have_subscription()
S
60 6 13
WC_Reepay_Admin::meta_box_payment()
S
51 5 28
WC_Reepay_Api::get_invoice_data()
S
51 5 28
WC_Gateway_Reepay_Checkout::process_admin_options()
S
59 6 13
WC_Gateway_Reepay_Checkout::reepay_card_store()
S
45 4 39
WC_Reepay_Api::can_refund()
S
54 5 23
WC_Reepay_Admin::ajax_reepay_cancel()
S
53 5 22
WC_Reepay_Order_Capture::settle_items()
S
52 5 22
WC_Gateway_Reepay::__construct()
S
53 5 21
WC_Reepay_Thankyou::override_template()
S
55 5 20
WC_Reepay_Api::get_customer_handle_order()
S
55 5 20
wcs_cart_only_subscriptions()
S
56 5 19
WC_Payment_Token_Reepay::wc_account_payment_methods_column_method()
S
55 5 19
rp_format_credit_card()
S
55 5 18
WC_Gateway_Reepay::check_is_active()
S
55 5 18
WC_Gateway_Reepay_Checkout::maybe_render_subscription_payment_method()
S
56 5 18
WC_Gateway_Reepay_Mobilepay_Subscriptions::payment_fields()
S
57 5 17
WC_Reepay_Instant_Settle::process_instant_settle()
S
57 5 17
WC_Gateway_Reepay_Checkout::save_new_payment_method_option_html()
S
56 5 17
WC_Reepay_Subscriptions::save_new_payment_method_option_html()
S
56 5 17
WC_Payment_Gateway_Reepay::get_customer_handle_online()
S
57 5 16
WC_Gateway_Reepay_Checkout::add_subscription_card_id()
S
58 5 16
WC_Payment_Gateway_Reepay::capture_payment()
S
58 5 16
WC_Reepay_Api::cancel_payment()
S
58 5 16
WC_Gateway_Reepay::refund_payment()
S
58 5 15
WC_Payment_Gateway_Reepay::assign_payment_token()
S
58 5 14
WC_Reepay_Api::get_customer_handle_online()
S
59 5 14
WC_Payment_Gateway_Reepay::get_parent_settings()
S
50 4 28
WC_Reepay_Admin::admin_enqueue_scripts()
S
50 4 27
WC_Payment_Gateway_Reepay::wcs_cart_have_subscription()
S
61 5 12
WC_Reepay_Order_Capture::capture_full_order()
S
61 5 11
WC_Payment_Gateway_Reepay::reepay_cancel()
S
51 4 25
WC_Reepay_Api::cancel()
S
52 4 24
WC_Reepay_Subscriptions::__construct()
S
44 2 54
WC_Gateway_Reepay::admin_notice_api_action()
S
55 4 22
WC_Reepay_Webhook::wait_for_unlock()
S
54 4 21
WC_Reepay_Order_Statuses::set_authorized_status()
S
56 4 18
WC_Payment_Gateway_Reepay::get_order_handle()
S
57 4 17
WC_Payment_Gateway_Reepay::process_instant_settle()
S
56 4 17
WC_Payment_Gateway_Reepay::process_refund()
S
59 4 15
WC_Gateway_Reepay::is_configured()
S
66 5 7
WC_Reepay_Order_Capture::capture_full_order_button()
S
58 4 15
WC_Gateway_Reepay::process_refund()
S
59 4 15
WC_ReepayCheckout::register_gateway()
S
60 4 15
WC_Reepay_Gateway_Statistics::upgrade_completed()
S
64 5 9
WC_Payment_Gateway_Reepay::can_cancel()
S
60 4 14
WC_Payment_Token_Reepay::wc_get_account_saved_payment_methods_list_item()
S
58 4 14
WC_Reepay_Instant_Settle::get_settled_items()
S
60 4 13
WC_Gateway_Reepay_Checkout::generate_webhook_status_html()
S
47 2 43
WC_Reepay_Order_Statuses::cancel_unpaid_order()
S
61 4 13
rp_get_order_handle()
S
60 4 13
WC_Payment_Gateway_Reepay::cancel_payment()
S
61 4 12
WC_Payment_Gateway_Reepay::refund_payment()
S
61 4 12
WC_Gateway_Reepay::generate_gateway_status_html()
S
47 2 42
WC_Gateway_Reepay_Checkout::renewal_order_created()
S
62 4 12
WC_Reepay_Subscriptions::renewal_order_created()
S
62 4 12
WC_Reepay_Order_Statuses::form_fields()
S
44 1 55
WC_Payment_Gateway_Reepay::get_order_by_handle()
S
56 3 18
WC_Gateway_Reepay_Checkout::add_subscription_payment_meta()
S
57 3 18
WC_Reepay_Meta_Boxes::generate_meta_box_content_customer()
S
56 3 18
WC_Reepay_Subscriptions::add_subscription_payment_meta()
S
57 3 18
rp_get_order_by_handle()
S
57 3 18
rp_get_order_by_session()
S
56 3 18
WC_Reepay_Api::can_cancel()
S
58 3 17
WC_Payment_Gateway_Reepay::get_userid_by_handle()
S
58 3 16
rp_get_userid_by_handle()
S
58 3 16
WC_Reepay_Admin::ajax_reepay_capture_partly()
S
56 3 16
WC_Reepay_Admin::ajax_reepay_refund_partly()
S
56 3 16
WC_Gateway_Reepay_Checkout::generate_account_info_html()
S
51 2 31
WC_Reepay_Order_Statuses::reepay_authorized_order_status()
S
64 4 10
WC_Reepay_Admin::ajax_reepay_refund()
S
58 3 15
WC_ReepayCheckout::add_scripts()
S
68 4 6
WC_Gateway_Reepay_Anyday::filter_available_payment_gateways()
S
65 4 8
WC_Reepay_Admin::ajax_reepay_capture()
S
58 3 15
WC_Reepay_Order_Capture::get_item_data()
S
57 3 15
WC_Payment_Gateway_Reepay::get_customer_handle_order()
S
60 3 14
WC_Reepay_Order_Statuses::payment_complete()
S
60 3 14
WC_Payment_Gateway_Reepay::get_invoice_data()
S
59 3 14
WC_Gateway_Reepay::get_icon()
S
57 3 14
WC_Payment_Gateway_Reepay::log()
S
60 3 13
WC_Gateway_Reepay::log()
S
60 3 13
WC_Reepay_Order_Statuses::plugins_loaded()
S
60 3 13
WC_Gateway_Reepay::get_language()
S
61 3 13
WC_Payment_Gateway_Reepay::get_language()
S
61 3 13
WC_Gateway_Reepay::cancel_payment()
S
61 3 12
WC_Reepay_Gateway_Statistics::send_event()
S
52 2 24
WC_ReepayCheckout::__construct()
S
54 2 21
reepay_get_order_notes()
S
55 2 20
WC_Payment_Token_Reepay::get_display_name()
S
55 2 20
WC_ReepayCheckout::missing_woocommerce_notice()
S
53 1 32
WC_Reepay_Update::update()
S
64 3 9
WC_Reepay_Order_Statuses::reepay_settled_order_status()
S
70 3 6
WC_Payment_Token_Reepay_MS::get_display_name()
S
58 2 15
WC_Payment_Token_Reepay_MS::wc_account_payment_methods_column_method()
S
64 3 9
WC_Reepay_Order_Statuses::is_editable()
S
67 3 8
WC_Gateway_Reepay::capture_payment()
S
65 3 9
WC_Reepay_Order_Capture::complete_settle()
S
67 3 7
WC_Gateway_Reepay_Checkout::generate_verify_key_html()
S
52 1 30
WC_Reepay_Order_Statuses::is_paid()
S
67 3 8
WC_Reepay_Thankyou::order_has_status()
S
64 3 10
WC_Gateway_Reepay::needs_setup()
S
70 3 6
WC_Reepay_Order_Statuses::payment_complete_order_status()
S
64 3 10
WC_Reepay_Order_Statuses::subscription_be_updated_to()
S
69 3 6
WC_Reepay_Instant_Settle::maybe_settle_instantly()
S
65 3 9
WC_Payment_Token_Reepay::validate()
S
66 3 9
WC_Reepay_Admin::add_action_buttons()
S
59 2 15
WC_ReepayCheckout::may_add_notices()
S
71 3 5
WC_Gateway_Reepay_Vipps::init_form_fields()
S
51 1 29
WC_Gateway_Reepay_Klarna_Slice_It::init_form_fields()
S
51 1 29
WC_Gateway_Reepay_Apple_Pay::init_form_fields()
S
51 1 29
WC_Gateway_Reepay_Anyday::init_form_fields()
S
51 1 29
WC_Gateway_Reepay_Viabill::init_form_fields()
S
51 1 29
WC_Gateway_Reepay_Swish::init_form_fields()
S
51 1 29
WC_ReepayCheckout::woocommerce_loaded()
S
51 1 29
WC_Gateway_Reepay_Mobilepay::init_form_fields()
S
51 1 29
WC_Gateway_Reepay_Mobilepay_Subscriptions::init_form_fields()
S
51 1 29
WC_Gateway_Reepay_Paypal::init_form_fields()
S
51 1 29
WC_Gateway_Reepay_Klarna_Pay_Now::init_form_fields()
S
51 1 29
WC_Reepay_Admin::__construct()
S
52 1 29
WC_Gateway_Reepay_Resurs::init_form_fields()
S
51 1 29
WC_ReepayCheckout::upgrade_notice()
S
60 2 14
WC_Gateway_Reepay_Googlepay::init_form_fields()
S
51 1 29
WC_Gateway_Reepay_Klarna_Pay_Later::init_form_fields()
S
51 1 29
WC_Gateway_Reepay_Checkout::admin_options()
S
60 2 13
WC_Reepay_Order_Statuses::set_pending_status()
S
61 2 13
WC_Reepay_Order::get_orderid_by_handle()
S
60 2 13
WC_Reepay_Order_Statuses::update_order_status()
S
61 2 12
WC_Gateway_Reepay::enqueue_webhook_processing()
S
59 1 16
WC_ReepayCheckout::install()
S
73 2 5
WC_Reepay_Admin::ajax_reepay_set_complete_settle_transient()
S
64 2 9
WC_Gateway_Reepay::get_calculated_amount()
S
66 2 8
WC_Reepay_Subscriptions::add_payment_token_id()
S
66 2 8
WC_Payment_Gateway_Reepay::reepay_save_token()
S
67 2 8
rp_get_currency_multiplier()
S
72 2 5
WC_Payment_Gateway_Reepay::wcs_is_payment_change()
S
75 2 4
WC_Payment_Gateway_Reepay::get_invoice_by_handle()
S
67 2 8
WC_Payment_Gateway_Reepay::get_calculated_amount()
S
66 2 8
WC_ReepayCheckout::admin_menu()
S
66 2 8
WC_Gateway_Reepay_Checkout::add_payment_token_id()
S
67 2 7
WC_Reepay_Subscriptions::delete_resubscribe_meta()
S
67 2 8
WC_Gateway_Reepay_Apple_Pay::is_available()
S
74 2 5
order_contains_subscription()
S
71 2 6
WC_ReepayCheckout::plugin_row_meta()
S
63 2 10
WC_ReepayCheckout::init()
S
68 2 6
WC_Payment_Gateway_Reepay::wcs_is_subscription_product()
S
75 2 4
WC_Payment_Gateway_Reepay::get_payment_token()
S
64 2 9
WC_Background_Reepay_Queue::dispatch_queue()
S
74 2 5
WC_Payment_Token_Reepay_MS::wc_get_account_saved_payment_methods_list_item()
S
66 2 8
wcs_is_subscription_product()
S
75 2 4
WC_Payment_Gateway_Reepay::extract_api_error()
S
68 2 7
WC_Gateway_Reepay_Anyday::is_available()
S
74 2 5
WC_Payment_Token_Reepay::wc_get_saved_payment_method_option_html()
S
69 2 6
wcs_is_payment_change()
S
76 2 4
WC_Reepay_Order_Statuses::add_valid_order_statuses()
S
70 2 6
WC_Reepay_Order::handle_custom_query_var()
S
65 2 9
WC_Reepay_Gateway_Statistics::get_instance()
S
71 2 6
WC_ReepayCheckout::add_valid_order_statuses()
S
65 2 10
wcr_is_subscription_product()
S
75 2 4
WC_Gateway_Reepay_Checkout::delete_resubscribe_meta()
S
67 2 8
rp_make_initial_amount()
S
69 2 7
WC_Payment_Gateway_Reepay::get_payment_token_order()
S
68 2 7
WC_Reepay_Order::get_order_handle()
S
66 2 8
WC_Gateway_Reepay_Googlepay::is_available()
S
74 2 5
WC_Background_Reepay_Queue::schedule_event()
S
66 2 9
WC_Payment_Gateway_Reepay::get_currency_multiplier()
S
75 2 4
WC_ReepayCheckout::upgrade_page()
S
66 2 8
WC_Payment_Gateway_Reepay::order_contains_subscription()
S
71 2 6
WC_Reepay_Admin::woocommerce_refund_add()
S
61 1 12
WC_Reepay_Order_Capture::__construct()
S
62 1 11
WC_Reepay_Update::update_db_version()
S
76 1 4
WC_Reepay_Gateway_Statistics::private_key_activated()
S
80 1 3
WC_Reepay_Meta_Boxes::__construct()
S
75 1 4
WC_Gateway_Reepay::can_capture()
S
79 1 3
WC_Payment_Token_Reepay::get_masked_card()
S
79 1 3
WC_Reepay_Gateway_Statistics::__construct()
S
67 1 7
WC_Background_Reepay_Queue::complete()
S
77 1 4
WC_Reepay_Api::__construct()
S
77 1 4
rp_format_price_decimals()
S
78 1 3
WC_Reepay_Subscriptions::thankyou_page()
S
80 1 3
WC_Reepay_Gateway_Statistics::plugin_deleted()
S
80 1 3
WC_Gateway_Reepay::validate_fields()
S
82 1 3
WC_Reepay_Webhook::lock_order()
S
79 1 3
WC_ReepayCheckout::woocommerce_init()
S
75 1 4
WC_Payment_Token_Reepay::get_hook_prefix()
S
82 1 3
WC_Reepay_Instant_Settle::__construct()
S
78 1 3
WC_Payment_Gateway_Reepay::prepare_amount()
S
73 1 5
WC_Gateway_Reepay::payment_fields()
S
65 1 10
rp_get_payment_method()
S
75 1 4
WC_Gateway_Reepay::can_cancel()
S
80 1 3
wc_cart_only_reepay_subscriptions()
S
80 1 3
WC_Reepay_Subscriptions::update_failing_payment_method()
S
72 1 5
WC_Reepay_Gateway_Statistics::plugin_deactivated()
S
80 1 3
WC_Gateway_Reepay::can_refund()
S
79 1 3
WC_Reepay_Order::__construct()
S
71 1 5
WC_Reepay_Webhook::unlock_order()
S
79 1 3
WC_Background_Reepay_Queue::__construct()
S
67 1 7
WC_Gateway_Reepay_Checkout::thankyou_page()
S
81 1 3
WC_Payment_Token_Reepay::set_masked_card()
S
80 1 3
WC_Payment_Gateway_Reepay::make_initial_amount()
S
75 1 4
WC_Gateway_Reepay_Checkout::update_failing_payment_method()
S
75 1 4
rp_prepare_amount()
S
79 1 3
WC_Gateway_Reepay_Checkout::generate_separator_html()
S
71 1 8
WC_Reepay_Order_Statuses::order_status_changed()
S
89 1 2
WC_ReepayCheckout::plugin_action_links()
S
69 1 6
WC_ReepayCheckout::includes()
S
75 1 4
WC_Reepay_Thankyou::__construct()
S
65 1 8
WC_Reepay_Api::get_invoice_by_handle()
S
78 1 3
WC_Reepay_Webhook::__construct()
S
81 1 3
WC_ReepayCheckout::maybe_process_queue()
S
81 1 3