Code Analysis: Coffee Code - Getnet for WooCommerce 1.0.0

Function Rating Maintainability Complexity Lines of code
WcGetnet\Services\WcGetnetPayment::get_checkout_address()
A
52 10 21
WcGetnet\WooCommerce\GateWays\Abstract_Payment::thank_you_page()
A
50 9 26
WcGetnet\Services\WcGetnetPayment::render_installments_options()
A
47 8 36
WcGetnet\WooCommerce\GateWays\WcGetnet_CreditCard::process_payment()
S
43 5 46
WcGetnet\WooCommerce\GateWays\WcGetnet_Billet::process_payment()
S
47 5 33
WcGetnet\WordPress\AssetsServiceProvider::enqueueFrontendAssets()
S
50 5 30
wc_getnet_should_load_wpemerge()
S
54 4 22
get_fields()
S
42 1 61
WcGetnet\Services\WcGetnetApi::send_request_post()
S
55 3 19
WcGetnet\WordPress\AssetsServiceProvider::enqueueAdminAssets()
S
56 3 19
WcGetnet\Services\WcGetnetPayment::set_customer()
S
56 3 16
WcGetnet\WooCommerce\GateWays\WcGetnet_Billet::init_form_fields()
S
46 1 46
WcGetnet\WooCommerce\GateWays\WcGetnet_Billet::payment_fields()
S
57 3 16
WcGetnet\WooCommerce\GateWays\Abstract_Payment::payment_on_hold()
S
63 4 9
WcGetnet\Services\WcGetnetPayment::set_shipping()
S
58 3 14
WcGetnet\WooCommerce\GateWays\WcGetnet_CreditCard::__construct()
S
50 2 28
WcGetnet\WooCommerce\GateWays\WcGetnet_CreditCard::init_form_fields()
S
47 1 43
WcGetnet\WooCommerce\GateWays\Abstract_Payment::update_order_by_status()
S
62 3 13
WcGetnet\Services\WcGetnetApi::get_header()
S
61 3 13
WcGetnet\WooCommerce\GateWays\WcGetnet_Billet::__construct()
S
51 2 25
WcGetnet\WooCommerce\GateWays\WcGetnet_Billet::admin_options()
S
58 2 19
WcGetnet\Services\WcGetnetPayment::get_auth_token()
S
55 2 19
WcGetnet\WooCommerce\GateWays\WcGetnet_CreditCard::admin_options()
S
58 2 19
wc_getnet_declare_loaded_wpemerge()
S
59 2 17
WcGetnet\WordPress\AssetsServiceProvider::loadSvgSprite()
S
59 2 17
WcGetnet\WooCommerce\GateWays\Abstract_Payment::payment_canceled()
S
62 3 10
WcGetnet\WooCommerce\GateWays\Abstract_Payment::get_response_status()
S
64 3 10
WcGetnet\WooCommerce\GateWays\Abstract_Payment::translate_status()
S
64 3 10
WcGetnet\WooCommerce\GateWays\WcGetnet_CreditCard::payment_fields()
S
63 3 10
WcGetnet\WooCommerce\GateWays\WcGetnet_CreditCard::getCreditData()
S
58 2 15
WcGetnet\WooCommerce\GateWays\WcGetnet_Billet::getBilletData()
S
60 2 13
plugin_links()
S
55 1 24
WcGetnet\Entities\WcGetnet_Checkout::getnet_get_shipping_address()
S
52 1 23
WcGetnet\Entities\WcGetnet_Checkout::getnet_get_billing_address()
S
52 1 23
WcGetnet\WooCommerce\GateWays\Abstract_Payment::payment_paid()
S
68 2 7
support_links()
S
70 2 6
WcGetnet\Services\WcGetnetApi::__construct()
S
70 2 6
WcGetnet\Services\WcGetnetPayment::calc_percentage()
S
68 2 7
WcGetnet\WooCommerce\WcGetnetProvider::wcgetnet_gateway_getnet()
S
67 2 8
WcGetnet\WooCommerce\GateWays\Abstract_Payment::init_actions()
S
73 1 4
WcGetnet\Services\WcGetnetApi::get_selected_environment()
S
80 1 3
WcGetnet\WooCommerce\WcGetnetProvider::bootstrap()
S
79 1 3
WcGetnet\Services\WcGetnetAuth::get_seller_id()
S
74 1 4
WcGetnet\Routing\RouteConditionsServiceProvider::registerRouteCondition()
S
68 1 8
WcGetnet\Entities\WcGetnet_Settings::getDigits()
S
78 1 3
update_settings()
S
82 1 3
WcGetnet\Entities\WcGetnet_Logs::get_creditcard_order()
S
73 1 4
WcGetnet\Services\WcGetnetAuth::create_auth_base_64()
S
68 1 6
WcGetnet\Services\WcGetnetPayment::str_to_float()
S
78 1 3
tab_content()
S
82 1 3
WcGetnet\WooCommerce\GateWays\Abstract_Payment::is_sandbox()
S
82 1 3
WcGetnet\View\ViewServiceProvider::registerComposers()
S
91 1 2
WcGetnet\Entities\WcGetnet_Logs::get_billet_order()
S
73 1 4
WcGetnet\Services\WcGetnetApi::get_environment_url()
S
75 1 4
WcGetnet\WooCommerce\GateWays\WcGetnet_Billet::set_order_id()
S
74 1 5
WcGetnet\Entities\WcGetnet_Logs::get_creditcard_error()
S
73 1 4
WcGetnet\Entities\WcGetnet_Logs::get_billet_error()
S
73 1 4
wc_getnet_get_loaded_wpemerge()
S
80 1 3
WcGetnet\WooCommerce\WcGetnetProvider::register()
S
91 1 2
add_settings_tab()
S
76 1 4
WcGetnet\Entities\WcGetnet_Settings::get()
S
78 1 3
WcGetnet\WooCommerce\GateWays\WcGetnet_CreditCard::set_order_id()
S
74 1 5
WcGetnet\WooCommerce\GateWays\WcGetnet_CreditCard::validate_fields()
S
82 1 3
WcGetnet\Entities\WcGetnet_Settings::post()
S
78 1 3
WcGetnet\View\ViewServiceProvider::bootstrap()
S
78 1 4
WcGetnet\View\ViewServiceProvider::register()
S
91 1 2
WcGetnet\Entities\WcGetnet_Logs::token_generate_error()
S
73 1 4
WcGetnet\Services\WcGetnetPayment::float_to_str()
S
78 1 3
WcGetnet\View\ViewServiceProvider::registerGlobals()
S
91 1 2
WcGetnet\WordPress\AssetsServiceProvider::register()
S
91 1 2
WcGetnet\Routing\RouteConditionsServiceProvider::register()
S
91 1 2
WcGetnet\WordPress\AssetsServiceProvider::bootstrap()
S
72 1 5
WcGetnet\WooCommerce\GateWays\WcGetnet_CreditCard::webhook_handle()
S
71 1 6
WcGetnet\WooCommerce\GateWays\WcGetnet_Billet::validate_fields()
S
82 1 3
WcGetnet\Routing\RouteConditionsServiceProvider::bootstrap()
S
91 1 2