Code Analysis: Claudio Sanches - Moip for WooCommerce 2.3.1

Function Rating Maintainability Complexity Lines of code
WC_Moip_Gateway::get_payment_xml()
C
33 24 86
WC_Moip_Gateway::successful_request()
B
39 15 67
WC_Moip_Gateway::init_form_fields()
A
24
1 268
WC_Moip_Gateway::create_payment_token()
A
42 12 48
WC_Moip_Messages::translate_status()
A
50 9 30
WC_Moip_Gateway::generate_form()
A
41 5 66
WC_Moip_Ajax::transparent_checkout_ajax()
S
42 5 55
WC_Moip_Gateway::get_form_args()
S
46 6 36
WC_Moip_Gateway::admin_notices()
S
56 7 19
WC_Moip_Gateway::__construct()
S
41 4 52
WC_Moip_Gateway::process_payment()
S
50 5 29
WC_Moip_Gateway::generate_transparent_checkout()
S
49 4 30
WC_Moip_Gateway::transparent_checkout_thankyou_page()
S
50 4 30
WC_Moip_Gateway::is_available()
S
64 5 9
WC_Moip_Gateway::scripts()
S
53 3 22
wcmoip_legacy_ipn()
S
68 3 7
WC_Moip_Gateway::receipt_page()
S
69 2 7
WC_Moip::__construct()
S
65 2 9
WC_Moip_Gateway::check_ipn_response()
S
65 2 9
WC_Moip::get_instance()
S
72 2 6
WC_Moip_Gateway::woocommerce_instance()
S
68 2 8
WC_Moip_Gateway::register_error()
S
68 2 7
WC_Moip_Gateway::admin_url()
S
70 2 6
WC_Moip_Ajax::__construct()
S
75 1 4
WC_Moip_Gateway::login_missing_message()
S
75 1 3
WC_Moip::load_plugin_textdomain()
S
70 1 5
WC_Moip::add_gateway()
S
77 1 4
WC_Moip::get_gateway_id()
S
80 1 3
WC_Moip_Gateway::token_missing_message()
S
75 1 3
WC_Moip_Gateway::using_supported_currency()
S
80 1 3
WC_Moip_Messages::debit_email_message()
S
69 1 6
WC_Moip_Messages::billet_email_message()
S
69 1 6
WC_Moip_Gateway::admin_options()
S
65 1 8
WC_Moip_SimpleXML::addCData()
S
72 1 5
WC_Moip_Gateway::key_missing_message()
S
75 1 3
WC_Moip_Messages::message_after()
S
79 1 3
WC_Moip_Gateway::currency_not_supported_message()
S
76 1 3
WC_Moip::woocommerce_missing_notice()
S
77 1 3
WC_Moip_Messages::message_before()
S
78 1 3
WC_Moip::includes()
S
75 1 5
WC_Moip_Messages::debit_message()
S
69 1 6
WC_Moip_Messages::credit_cart_message()
S
68 1 6
WC_Moip_Messages::billet_message()
S
69 1 6