Code Analysis: DePay Payments for WooCommerce 2.5.6

Function Rating Maintainability Complexity Lines of code
DePay_WC_Payments_Rest::track_payment()
B
28
18 149
DePay_WC_Payments_Gateway::get_accept()
B
36 23 72
DePay_WC_Payments_Rest::check_release()
B
29 17 144
DePay_WC_Payments_Rest::validate_payment()
A
34 10 103
depay_run_migration()
A
42 8 60
DePay_WC_Payments_Rest::fetch_transactions()
A
43 8 50
DePay_WC_Payments_Gateway::round_token_amount()
A
50 9 27
DePay_WC_Payments_Rest::debug()
S
47 6 33
DePay_WC_Payments_Gateway::get_icon()
S
50 6 27
DePay_WC_Payments_Settings::register_settings()
S
42 1 83
DePay_WC_Payments_Rest::register_routes()
S
42 1 74
DePay_WC_Payments_Rest::confirm_payment()
S
48 3 40
DePay_WC_Payments_Rest::get_checkout_accept()
S
47 3 40
depay_activated()
S
55 4 21
DePay_WC_Payments_Gateway::process_payment()
S
51 3 25
DePay_WC_Payments_Admin::add_menu()
S
47 1 44
DePay_WC_Payments_Gateway::__construct()
S
60 3 13
DePay_WC_Payments::init()
S
52 2 27
DePay_WC_Payments::add_gateway()
S
62 3 11
DePay_WC_Payments_Admin::scripts_and_styles()
S
52 2 23
DePay_WC_Payments::setup_admin()
S
70 3 6
DePay_WC_Payments::setup_task()
S
63 3 10
DePay_WC_Payments::setup_gateway()
S
66 3 8
DePay_WC_Payments_Polygon_Gateway::__construct()
S
60 2 13
DePay_WC_Payments_Gnosis_Gateway::__construct()
S
60 2 13
DePay_WC_Payments_Solana_Gateway::__construct()
S
60 2 13
DePay_WC_Payments_Avalanche_Gateway::__construct()
S
60 2 13
DePay_WC_Payments::get_plugin_headers()
S
61 2 13
DePay_WC_Payments_Optimism_Gateway::__construct()
S
60 2 13
DePay_WC_Payments_Base_Gateway::__construct()
S
60 2 13
DePay_WC_Payments_Bsc_Gateway::__construct()
S
60 2 13
DePay_WC_Payments_Ethereum_Gateway::__construct()
S
60 2 13
DePay_WC_Payments_Arbitrum_Gateway::__construct()
S
60 2 13
DePay_WC_Payments_Fantom_Gateway::__construct()
S
60 2 13
DePay_WC_Payments_Gateway::init_form_fields()
S
54 1 24
DePay_WC_Payments::add_extended_task()
S
68 2 7
DePay_WC_Payments::add_crypto_currency_symbol()
S
68 2 7
DePay_WC_Payments::setup_denomination()
S
69 2 6
DePay_WC_Payments_Rest::must_be_wc_admin()
S
70 2 6
DePay_WC_Payments_Rest::delete_transaction()
S
62 1 12
DePay_WC_Payments::setup_settings()
S
79 1 3
depay_tasks_init()
S
100 1 2
DePay_WC_Payments::log()
S
73 1 4
DePay_WC_Payments_Blocks_Support::get_payment_method_data()
S
68 1 7
DePay_WC_Payments_Settings::__construct()
S
79 1 3
DePay_WC_Payments::init_rest_api()
S
76 1 4
DePay_WC_Payments::setup_checkout_scripts()
S
63 1 10
DePay_WC_Payments::add_crypto_currency()
S
72 1 5
DePay_WC_Payments_Gateway::admin_options()
S
81 1 3
depay_init()
S
77 1 4
DePay_WC_Payments_Gateway::get_title()
S
82 1 3
DePay_WC_Payments_Admin::__construct()
S
72 1 5
DePay_WC_Payments_Blocks_Support::get_payment_method_script_handles()
S
65 1 10
DePay_WC_Payments_Blocks_Support::initialize()
S
75 1 4
depay_deactivated()
S
100 1 2
DePay_WC_Payments_Blocks_Support::is_active()
S
81 1 3
DePay_WC_Payments::setup_rest_api()
S
78 1 3
DePay_WC_Payments::setup_checkout()
S
78 1 3