Code Analysis: AppMax WooCommerce 2.0.44

Function Rating Maintainability Complexity Lines of code
AWC_WebHook_Post::awc_create_order_woo_commerce()
A
35 11 84
AWC_Validation::awc_validation_fields()
A
47 13 38
AWC_WebHook_Post::awc_order_integrated()
A
43 12 50
AWC_Process_Payment::awc_verify_post_payment()
A
47 9 36
AWC_WebHook_Post::awc_order_paid()
A
48 9 33
AWC_Gateway_Credit_Card::init_form_fields()
A
32 1 139
AWC_Process_Payment::awc_process_payment_billet()
A
38 5 75
AWC_Process_Payment::awc_process_payment_pix()
A
39 5 70
AWC_Process_Payment::awc_process_payment_credit_card()
A
39 5 69
AWC_Tax::awc_distribute_tax()
A
47 7 34
AWC_Tracking_Code::awc_send_to_appmax()
S
50 7 27
AWC_Calculate::awc_calculate_installments()
S
55 7 18
AWC_WebHook_Post::awc_generate_log_web_hook()
S
49 6 30
AWC_Process_Payment::awc_verify_server()
S
53 6 20
AWC_Helper::awc_validate_cpf()
S
54 6 19
AWC_WebHook::awc_web_hook_post()
S
56 6 19
AWC_Process_Payment::awc_save_order_meta_fields()
S
52 5 25
AWC_Due_Date_Validator::awc_adjust_business_days_from_due_date()
S
56 5 17
AWC_Process_Payment::awc_verify_post_customer()
S
56 5 17
AWC_Process_Payment::awc_verify_post_order()
S
56 5 17
AWC_Process_Payment::awc_verify_errors_curl()
S
57 5 16
AWC_Tracking_Code::awc_verify_errors_curl()
S
57 5 16
AWC_Helper::awc_get_ip()
S
58 5 15
AWC_Tracking_Code::validateResponse()
S
58 5 15
AWC_Gateway_Credit_Card::frontend_scripts()
S
59 5 12
AWC_Gateway_Billet::init_form_fields()
S
41 1 66
AWC_Tracking_Code::awc_send_correios_to_appmax()
S
53 4 21
AWC_Gateway_Credit_Card::validate_fields()
S
57 4 16
AWC_Helper::awc_validate_card_number()
S
61 4 13
AWC_Gateway_Pix::init_form_fields()
S
42 1 57
AWC_Autoloader::autoload()
S
62 4 11
AWC_Process_Payment::awc_check_order_appmax()
S
52 3 26
AWC_Gateway_Credit_Card::payment_fields()
S
54 3 21
AWC_Post_Payment::awc_get_structure_post_credit_card()
S
47 1 46
AWC_Helper::awc_validate_ccv_credit_card()
S
65 4 9
AppMax_WC::awc_show_pix_qrcode()
S
66 4 8
AWC_Gateway_Billet::frontend_scripts()
S
62 4 9
AWC_Api::awc_get_current_product()
S
62 4 10
AWC_Gateway_Pix::frontend_scripts()
S
62 4 9
AWC_Due_Date_Validator::awc_get_holidays()
S
47 1 44
AWC_Api::awc_post_customer()
S
50 2 28
AWC_Api::awc_get_products_cart()
S
60 3 13
AWC_Gateway_Billet::validate_fields()
S
60 3 13
AWC_Gateway_Pix::validate_fields()
S
60 3 13
AWC_Form_Payment::awc_make_installments()
S
61 3 12
AWC_Gateway_Credit_Card::__construct()
S
50 2 27
AWC_Gateway_Billet::__construct()
S
53 2 22
AWC_Form_Payment::awc_display_options_card_expiration_month()
S
54 2 21
AWC_Gateway_Pix::__construct()
S
53 2 21
AppMax_WC::__construct()
S
57 2 16
AWC_Api::awc_get_information_product_variation()
S
57 2 16
AWC_Api::awc_post_payment()
S
64 3 9
AppMax_WC::awc_update_order_status()
S
68 3 7
AWC_Api::awc_get_information_product()
S
58 2 15
AppMax_WC::awc_show_link_billet()
S
64 3 10
AWC_Process_Payment::awc_verify_access_token()
S
64 3 9
AWC_Autoloader::load_file()
S
69 3 7
AWC_Due_Date_Validator::awc_verify_days_that_not_holidays()
S
63 3 10
AWC_Tracking_Code::getTrackingCode()
S
67 3 8
AWC_Tracking_Code::validateCorreiosTrackingCode()
S
66 3 9
AWC_Tracking_Code::awc_verify_access_token()
S
64 3 9
AppMax_WC::awc_includes()
S
52 1 28
AWC_Form_Payment::awc_display_installments()
S
61 2 12
AWC_Api::awc_payment_credit_card()
S
54 1 22
AWC_Api::awc_payment_billet()
S
58 1 17
AWC_Api::awc_payment_pix()
S
59 1 16
AWC_Validation::awc_unset_variables_post()
S
72 2 5
AWC_Form_Payment::awc_display_options_card_expiration_year()
S
63 2 9
AWC_WebHook_Post::awc_verify_sku_variation()
S
68 2 7
AWC_Gateway_Pix::payment_fields()
S
64 2 10
AWC_WebHook_Post::awc_get_gateway()
S
71 2 6
AppMax_WC::instance()
S
72 2 6
AppMax_WC::awc_define()
S
75 2 5
AWC_Gateway_Billet::is_available()
S
78 2 3
AWC_Autoloader::__construct()
S
66 2 8
AWC_Gateway_Billet::payment_fields()
S
64 2 10
AWC_Gateway_Credit_Card::is_available()
S
78 2 3
AWC_Gateway_Pix::is_available()
S
78 2 3
AWC_Due_Date_Validator::awc_verify_due_days()
S
70 2 6
AWC_WebHook_Post::awc_order_refund()
S
60 1 13
AWC_WebHook_Post::awc_order_billet_overdue()
S
59 1 13
AWC_Api::awc_post_order()
S
61 1 11
AppMax_WC::awc_define_constants()
S
62 1 11
AWC_Post_Payment::awc_get_structure_post_billet()
S
64 1 11
AWC_Post_Payment::awc_get_structure_post_pix()
S
64 1 11
AWC_Process_Payment::awc_make_post_payment_credit_card()
S
63 1 11
AWC_Api::awc_get()
S
71 1 6
AWC_Helper::awc_encode_object()
S
80 1 3
AWC_Helper::awc_get_currency_symbol()
S
80 1 3
AWC_WebHook_Post::awc_get_order()
S
67 1 7
AWC_Tracking_Code::awc_add_log()
S
80 1 3
AWC_Helper::awc_get_translate_status()
S
80 1 3
AWC_Process_Payment::__construct()
S
81 1 3
AWC_Helper::awc_get_total_cart()
S
80 1 3
AWC_Helper::awc_card_number_unformatted()
S
78 1 3
AWC_Api::awc_calculate_installments()
S
79 1 3
AWC_Helper::awc_get_fee_total()
S
80 1 3
AWC_Api::awc_post()
S
66 1 8
AWC_Api::awc_get_full_url()
S
80 1 3
AWC_WebHook_Post::awc_payment_not_authorized()
S
67 1 7
AWC_Helper::awc_decode_object()
S
80 1 3
AppMax_WC::awc_woocommerce_not_installed()
S
79 1 3
AWC_Due_Date_Validator::awc_get_default_due_days()
S
81 1 3
AWC_Helper::awc_get_thousand_separator()
S
80 1 3
AWC_Helper::awc_clear_input()
S
80 1 3
AWC_Tracking_Code::__construct()
S
76 1 4
AWC_Autoloader::get_file_name_from_class()
S
78 1 3
AWC_WebHook_Post::__construct()
S
73 1 5
AWC_Helper::awc_get_shipping_total_cart()
S
80 1 3
AWC_WebHook_Post::awc_get_product_by_sku()
S
67 1 7
AWC_Helper::awc_date_time_formatted()
S
78 1 3
AWC_Helper::awc_trim_event()
S
74 1 4
AWC_Search_Gateway::awc_get_gateway_pix()
S
66 1 8
AWC_Due_Date_Validator::awc_get_days_week_that_need_add_one_day()
S
67 1 9
AWC_Helper::awc_get_day_week_textual()
S
78 1 3
AWC_Process_Payment::awc_make_post_payment_pix()
S
73 1 5
AWC_Helper::awc_phone_formatted()
S
78 1 3
AWC_Form_Payment::awc_display_script_payment_pix()
S
78 1 3
AWC_Helper::awc_first_character_in_upper_case()
S
80 1 3
AppMax_WC::awc_get_templates_path()
S
79 1 3
AWC_Interest::awc_distribute_interest()
S
66 1 8
AWC_Tax::awc_get_total_sum_products()
S
70 1 6
AWC_Helper::awc_cep_formatted()
S
78 1 3
AWC_Helper::awc_number_format()
S
68 1 8
AWC_Process_Payment::awc_enable_debug()
S
80 1 3
AWC_WebHook_Post::awc_add_log()
S
80 1 3
AWC_Search_Gateway::awc_get_gateway_credit_card()
S
66 1 8
AWC_Api::awc_get_api_url()
S
82 1 3
AWC_Form_Payment::awc_display_script_payment_billet()
S
78 1 3
AWC_Api::awc_get_order()
S
79 1 3
AWC_Helper::awc_cpf_unformatted()
S
78 1 3
AWC_Api::awc_get_host_domain()
S
82 1 3
AWC_Calculate::awc_calculate_total_interest()
S
74 1 4
AWC_Status_Appmax::approved()
S
72 1 6
AWC_Gateway_Pix::process_payment()
S
80 1 3
AppMax_WC::awc_send_correios_to_appmax()
S
77 1 4
AWC_Api::awc_get_header()
S
72 1 6
AWC_Origin_Order::callCenter()
S
70 1 7
AWC_Api::awc_post_tracking_code()
S
74 1 4
AWC_Api::make_tracking_code_body()
S
69 1 7
AppMax_WC::awc_remove_checkout_fields()
S
70 1 6
AWC_Helper::awc_get_subtotal_cart()
S
80 1 3
AWC_Helper::awc_get_price_decimals()
S
80 1 3
AWC_Process_Payment::awc_make_post_payment_billet()
S
73 1 5
AWC_Form_Payment::awc_display_script_payment_credit_card()
S
78 1 3
AWC_Helper::awc_cpf_formatted()
S
78 1 3
AppMax_WC::awc_register_gateway()
S
71 1 6
AWC_Helper::awc_get_decimal_separator()
S
80 1 3
AWC_WebHook::__construct()
S
67 1 8
AWC_Helper::awc_monetary_format()
S
78 1 3
AWC_Due_Date_Validator::awc_generate_due_date()
S
74 1 4
AWC_Process_Payment::awc_add_log()
S
80 1 3
AWC_Helper::awc_get_discount_total()
S
80 1 3
AWC_Tracking_Code::awc_enable_debug()
S
80 1 3
AppMax_WC::awc_send_to_appmax()
S
77 1 4
AWC_Search_Gateway::awc_get_gateway_billet()
S
66 1 8
AWC_Gateway_Billet::process_payment()
S
80 1 3
AWC_Api::__construct()
S
77 1 4
AWC_Gateway_Credit_Card::process_payment()
S
80 1 3
AWC_Helper::awc_is_digit()
S
80 1 3