Code Analysis: Claudio Sanches - Bcash for WooCommerce 1.14.0

Function Rating Maintainability Complexity Lines of code
WC_BCash_Legacy_Gateway::update_order_status()
A
42 13 49
WC_BCash_Gateway::get_bcash_order_data()
A
43 13 45
WC_BCash_Legacy_Gateway::get_bcash_order_data()
A
43 13 45
WC_BCash_Legacy_Gateway::get_form_args()
A
40 11 56
WC_BCash_Gateway::update_order_status()
A
43 11 45
WC_BCash_Gateway::get_form_args()
S
44 5 41
WC_BCash_Gateway::init_form_fields()
S
39 1 78
WC_BCash_Legacy_Gateway::init_form_fields()
S
40 1 78
WC_BCash_Gateway::receipt_page()
S
46 3 39
WC_BCash_Legacy_Gateway::generate_form()
S
47 3 38
WC_Bcash::stop_cancel_unpaid_orders()
S
62 4 11
WC_BCash_Gateway::is_available()
S
77 4 3
WC_BCash_Legacy_Gateway::is_available()
S
77 4 3
WC_BCash_Gateway::__construct()
S
51 2 25
WC_BCash_Legacy_Gateway::__construct()
S
51 2 25
WC_BCash_Legacy_Gateway::get_log_view()
S
67 3 6
WC_BCash_Legacy_Gateway::admin_options()
S
69 3 5
WC_BCash_Gateway::admin_options()
S
69 3 5
WC_Bcash::includes()
S
67 3 7
WC_Bcash::add_gateway()
S
66 3 8
WC_Bcash::hides_when_is_outside_brazil()
S
70 3 6
WC_Bcash::__construct()
S
60 2 12
WC_BCash_Legacy_Gateway::ipn_handler()
S
62 2 11
WC_BCash_Gateway::ipn_handler()
S
62 2 11
WC_BCash_Gateway::get_email()
S
79 2 3
WC_BCash_Legacy_Gateway::get_email()
S
79 2 3
WC_BCash_Legacy_Gateway::get_ipn_url()
S
74 2 4
WC_BCash_Gateway::get_ipn_url()
S
74 2 4
WC_Bcash::get_instance()
S
72 2 6
WC_BCash_Gateway::get_payment_url()
S
74 2 4
WC_BCash_Legacy_Gateway::get_token()
S
79 2 3
WC_BCash_Legacy_Gateway::get_payment_url()
S
74 2 4
WC_BCash_Gateway::get_token()
S
79 2 3
WC_Bcash::plugin_action_links()
S
70 1 5
WC_BCash_Gateway::using_supported_currency()
S
80 1 3
WC_BCash_Gateway::process_payment()
S
68 1 7
WC_BCash_Legacy_Gateway::process_payment()
S
69 1 7
WC_Bcash::load_plugin_textdomain()
S
77 1 3
WC_BCash_Legacy_Gateway::using_supported_currency()
S
80 1 3
WC_BCash_Legacy_Gateway::receipt_page()
S
74 1 4
WC_Bcash::woocommerce_missing_notice()
S
79 1 3