Code Analysis: Checkout Mestres WP 8.6.6

Function Rating Maintainability Complexity Lines of code
cwmpAdminCreateForms()
D
9
96 322
cwmp_cron_events()
D
23
42 161
cwmp_html_price()
C
29
29 120
cwmpAdminCreateLists()
C
31 30 91
cwmp_html_price()
C
31 28 107
get_parcels_box()
C
31 25 107
cwmpAdminCreateListsCarts()
C
32 25 91
get_parcels_box()
C
34 24 83
cwmp_frontend_scripts()
B
36 20 74
cwmpPixQRCode()
B
37 19 73
cwmpPixCopyPast()
B
37 19 72
getBrowserInfo()
B
37 19 71
getPostUserDataLayer()
B
48 22 25
cwmpBilletLink()
B
38 18 69
cwmpPixQRCodeLink()
B
38 18 69
cwmpBilletBarcode()
B
40 16 61
cwmp_redirect_thankyou_page()
B
43 17 46
cwmp_extensions_check_checkout()
B
38 15 75
cwmp_form_login()
A
44 16 39
cwmp_create_or_update_tables()
A
30 5 198
cwmpCreateDataLayer()
A
42 14 49
cwmp_hooks()
A
46 14 38
cwmp_load_admin_css()
A
49 15 22
cwmpAddEventPurchase()
A
39 11 69
custom_orders_list_column_content()
A
41 12 53
cwmp_admin_checkout()
A
38 10 77
orderStatus()
A
41 11 55
orderStatusChange()
A
41 11 54
Copy_Past_Pix::register_controls()
A
29 1 189
CwmpParcelamentoVariavel::calcularNumeroParcelasPossiveis()
A
43 10 54
cwmp_admin_comunicacao()
A
39 9 69
cwmp_google_callback()
A
41 10 53
cwmp_admin_licensas()
A
40 9 66
cwmp_admin_vendas()
A
40 9 66
cwmp_admin_entrega()
A
40 9 64
cwmp_template_pre()
A
35 6 108
cwmp_admin_parcelamento()
A
41 9 63
Button_Boleto::register_controls()
A
30 1 178
cwmp_microsoft_callback()
A
41 9 56
CwmpParcelamentoVariavel::calcularParcelas()
A
44 9 52
cwmp_form_submit_login()
A
47 10 35
CwmpParcelamentoFixo::calcularNumeroParcelasPossiveis()
A
46 9 43
cwmp_github_callback()
A
41 8 57
cwmp_amazon_callback()
A
41 8 57
cwmp_linkedin_callback()
A
42 8 50
cwmp_order_product_download()
A
47 9 35
cwmp_trata_numero()
A
48 9 32
CwmpParcelamentoFixo::calcularParcelas()
A
45 8 47
cwmp_facebook_callback()
A
43 8 45
cwmp_order_billing_info()
A
50 9 28
cwmp_order_produtos()
A
48 8 34
cwmp_ajax_register_cart()
A
44 7 49
cwmp_payment_link()
A
48 8 33
cwmp_frontend_styles()
A
63 10 8
cwmpGetNameShipping()
A
59 9 14
cwmp_redirect_aproved_order()
A
47 7 43
cwmp_get_status_order()
A
52 8 27
cwmp_auto_login()
A
50 8 27
cwmpAddTagManagerDataLayer()
A
51 8 25
cwmp_add_other_whats_manual()
A
46 7 38
cwmpAdminCreateListsOrders()
A
44 7 38
CwmpDescontos::aplicarDescontoMetodoEntrega()
A
54 8 19
cwmp_code_shipping_link()
A
48 7 33
cwmp_save_wc_order_other_fields()
A
55 8 17
cwmpFormatTime()
S
52 7 28
cwmpAdminCreateButtons()
S
49 7 27
cwmpGetNamePayment()
S
61 8 12
cwmp_order_meio_de_pagamento()
S
51 7 27
cwmp_add_field_email()
S
47 6 41
cwmp_add_field_gender()
S
47 6 41
cwmp_add_field_birthdate()
S
47 6 41
cwmp_add_field_persontype()
S
47 6 41
cwmp_add_field_cpf()
S
47 6 41
cwmp_add_field_rg()
S
47 6 41
cwmp_add_field_ie()
S
47 6 41
cwmp_add_field_cnpj()
S
47 6 41
cwmp_add_field_phone()
S
47 6 41
cwmp_add_field_name()
S
47 6 41
cwmp_add_field_cellphone()
S
47 6 41
cwmp_shipping_total()
S
51 7 25
cwmp_shipping_name()
S
51 7 25
cwmp_add_other_whats_manual_send()
S
50 6 26
cwmpChangeFuncionalidade()
S
52 6 25
cwmpListBuyProduct()
S
46 5 39
cwmp_code_shipping()
S
53 6 23
cwmp_order_coupon_name()
S
54 6 22
cwmpGetCurrentShippingTotal()
S
54 6 21
cwmp_order_bump_edit()
S
54 6 20
cwmpGetCurrentShippingLabel()
S
54 6 20
CwmpDescontos::aplicarDescontoQuantidadeItens()
S
54 6 20
cwmp_add_other_fields_for_packaging()
S
48 5 34
cwmp_create_account()
S
48 5 34
cwmp_admin_plugins()
S
47 4 48
cwmp_send_whatsapp()
S
46 4 42
CwmpDescontos::aplicarDescontoMetodoPagamento()
S
60 6 12
cwmpAssignOrder()
S
51 5 26
cwmp_order_bump_fee()
S
53 5 22
cwmp_address_ajax()
S
53 5 21
cwmp_order_bump_add()
S
55 5 19
CwmpDescontos::aplicarDescontoCategoriasEspecificas()
S
55 5 19
coupon_check_via_ajax()
S
53 4 23
pmwp_add_discount_payment_method()
S
53 4 22
pmwp_add_discount_shipping_method()
S
53 4 22
pmwp_add_discount_product_qtd()
S
53 4 22
cwmp_recovery_cart()
S
53 4 22
pmwp_add_discount_total_cart()
S
54 4 20
cwmp_add_custom_fields()
S
54 4 20
pmwp_add_discount_categorie()
S
54 4 20
cwmpUpdateOptions()
S
56 4 18
cwmp_form_access_link()
S
55 4 18
cwmp_add_field_update()
S
59 4 14
cwmp_add_to_cart_redirect()
S
61 4 14
cwmpVerifyCron()
S
62 4 12
cwmp_step_cart()
S
54 3 22
Copy_Past_Pix::render()
S
50 2 36
cwmpAddToCart()
S
55 3 20
cwmpAddEventAddRate()
S
55 3 20
cwmpAddEventPaymentInfo()
S
55 3 20
cwmp_create_coupon()
S
55 3 19
cwmp_admin_menu()
S
54 3 18
QR_Code_Pix::register_controls()
S
45 1 47
cwmpFullResetRun()
S
50 2 32
cwmpGetIcon()
S
61 3 16
cwmp_step_cart_ajax()
S
59 3 15
get_user_orders_total()
S
58 3 15
get_user_orders_total_by_email()
S
58 3 15
get_pmwp_price()
S
59 3 15
cwmp_load_textdomain()
S
58 3 15
cwmpAddTagManagerHead()
S
60 3 14
cwmp_get_aproved_order()
S
60 3 14
cwmpArrayPaymentMethods()
S
60 3 13
cwmpArrayShippingMethod()
S
61 3 13
cwmp_custom_checkout_field_display_admin_order_meta()
S
60 3 12
cwmp_order_bump_delete()
S
61 3 12
cwmpArrayPages()
S
51 2 27
custom_shop_order_column()
S
61 3 12
cwmp_add_awaiting_shipment_to_order_statuses()
S
63 3 11
cwmp_remove_checkout_fields()
S
53 2 24
cmwp_get_plugins_licensa()
S
52 2 23
Checkout_Price::register_controls()
S
49 1 36
getUserDataLayer()
S
47 1 34
cwmp_ajax_cart()
S
57 2 17
getOrderDataLayer()
S
57 2 16
Button_Boleto::render()
S
58 2 16
cwmp_woo_template_cart_shipping_total()
S
67 3 8
cwmp_woo_template_pay()
S
67 3 8
cwmp_woo_template_payment_method()
S
67 3 8
cwmp_woo_template_shipping()
S
67 3 8
cwmpAddTagManagerBody()
S
63 3 10
cwmp_woo_template_upsell_checkout()
S
67 3 8
cwmp_woo_template_form_billing()
S
67 3 8
cwmp_woo_template_review_order()
S
67 3 8
cwmp_woo_template_coupon()
S
67 3 8
cwmp_woo_template()
S
67 3 8
cwmpAddToCartFooter()
S
73 3 5
cwmp_load()
S
73 3 5
cwmp_woo_template_login()
S
67 3 8
CwmpDescontos::aplicarDescontoValorTotalCompra()
S
64 3 10
cwmp_woo_template_terms()
S
67 3 8
cwmp_woo_template_quantity_input()
S
67 3 8
cwmp_send_order_data_on_processing()
S
58 2 15
cwmp_add_order_bump()
S
65 3 9
cwmp_display_payment_methods()
S
62 3 10
cwmp_woo_template_payment()
S
67 3 8
getCartDataLayer()
S
58 2 15
custom_page_template()
S
66 3 9
pmwp_price_catalog()
S
60 2 13
cwmpGetCategories()
S
60 2 13
cwmp_send_lojista()
S
61 2 11
cwmpArrayStatus()
S
63 2 11
cwmpArrayProducts()
S
62 2 11
cwmpArrayElemailer()
S
62 2 11
cwmpArrayStatusCom()
S
62 2 11
cwmp_register_shipment_arrival_order_status()
S
57 1 19
cwmp_microsoft_signin_button()
S
56 1 19
cwmp_google_signin_button()
S
57 1 18
getProductDataLayer()
S
56 1 18
cwmp_amazon_signin_button()
S
57 1 18
cwmp_github_signin_button()
S
59 1 16
cwmp_facebook_signin_button()
S
58 1 16
cwmp_cart_loja_name()
S
71 2 7
cwmp_cart_logo()
S
67 2 8
cwmpPixTextArea()
S
64 1 15
cwmp_process_microsoft_callback()
S
72 2 6
cwmp_generate_coupon_code()
S
66 2 8
cwmp_open_div_compat_blocksy()
S
71 2 7
cwmp_loja_name()
S
71 2 7
cwmp_cart_loja_email()
S
71 2 7
cwmpBilletTextArea()
S
64 1 15
cwmpFullReset()
S
74 2 5
cwmp_open_div_compat_neve()
S
71 2 7
cwmp_cart_loja_url()
S
71 2 7
cwmp_loja_url()
S
71 2 7
cwmp_loja_email()
S
71 2 7
get_pmwp_box()
S
70 2 7
cwmp_add_loading_overlay_to_checkout()
S
72 2 9
cwmp_filter_woocommerce_cart_totals_coupon_html()
S
72 2 4
cwmp_update_db_check()
S
72 2 6
custom_dashboard_help()
S
63 2 10
QR_Code_Pix::render()
S
63 2 10
cwmp_linkedin_signin_button()
S
61 1 12
cwmp_register_buy()
S
63 1 11
CwmpParcelamentoFixo::calcularTotalComJuros()
S
74 1 4
get_user_orders_count_by_email()
S
67 1 8
cwmp_add_cron_interval()
S
69 1 7
set_cart_addition_cookie()
S
78 1 3
Copy_Past_Pix::get_name()
S
82 1 3
cwmpWebhookCallback()
S
69 1 7
cwmpGetStatus()
S
72 1 5
cwmpFormatData()
S
73 1 4
my_custom_dashboard_widgets()
S
75 1 4
cwmpWebhookCallback2()
S
70 1 6
cwmp_add_rewrite_rules()
S
72 1 7
cwmp_desactivate()
S
82 1 3
cwmp_activate()
S
71 1 6
Checkout::register_controls()
S
91 1 2
QR_Code_Pix::get_name()
S
82 1 3
pmwp_hooks()
S
68 1 7
cwmp_add_meta_whats_manual()
S
77 1 3
Copy_Past_Pix::get_icon()
S
82 1 3
Checkout::get_categories()
S
81 1 3
pmwp_price()
S
69 1 7
Checkout::get_name()
S
82 1 3
Checkout_Price::get_keywords()
S
79 1 3
Copy_Past_Pix::get_categories()
S
81 1 3
Checkout::render()
S
80 1 3
Checkout::get_icon()
S
82 1 3
Copy_Past_Pix::get_title()
S
79 1 3
Checkout_Price::get_name()
S
82 1 3
Copy_Past_Pix::get_keywords()
S
79 1 3
QR_Code_Pix::get_keywords()
S
79 1 3
QR_Code_Pix::get_categories()
S
81 1 3
cwmp_flush_rewrite_rules()
S
79 1 4
Button_Boleto::get_name()
S
82 1 3
QR_Code_Pix::get_title()
S
79 1 3
cwmp_add_meta_boxes()
S
77 1 3
cwmpWebhook2()
S
71 1 6
Button_Boleto::get_custom_help_url()
S
82 1 3
Button_Boleto::get_keywords()
S
79 1 3
cwmp_load_plugin_css()
S
80 1 3
cmwp_get_plugins_licensa_remove()
S
71 1 5
cwmp_send_mail()
S
63 1 9
Checkout::get_keywords()
S
79 1 3
Checkout::get_title()
S
79 1 3
CwmpParcelamentoFixo::__construct()
S
69 1 7
Copy_Past_Pix::get_custom_help_url()
S
82 1 3
cwmp_loja_logo()
S
70 1 6
cwmpFormatPercent()
S
81 1 3
CwmpParcelamentoVariavel::__construct()
S
69 1 7
cwmpWebhook()
S
71 1 6
cwmp_add_query_vars()
S
77 1 4
cwmp_register_purchase()
S
65 1 9
Checkout::get_custom_help_url()
S
82 1 3
Checkout::get_script_depends()
S
71 1 7
Checkout::get_style_depends()
S
81 1 3
Button_Boleto::get_categories()
S
81 1 3
cwmp_remove_cart_abandoned()
S
82 1 3
cwmpGetNameProduct()
S
81 1 3
QR_Code_Pix::get_icon()
S
82 1 3
cwmp_register_send_msgMail()
S
65 1 9
Button_Boleto::get_title()
S
79 1 3
cwmp_email_set_html_mail_content_type()
S
83 1 3
register_cwmp_elementor_widget()
S
64 1 10
Checkout_Price::get_title()
S
79 1 3
Checkout_Price::get_categories()
S
81 1 3
Checkout_Price::get_icon()
S
82 1 3
QR_Code_Pix::get_custom_help_url()
S
82 1 3
cwmpProductsBump()
S
79 1 3
Button_Boleto::get_icon()
S
82 1 3
get_pmwp_price_catalog()
S
66 1 8
cmwp_elementor_addons_create_category()
S
67 1 9
Checkout_Price::render()
S
76 1 4