Code Analysis: ELEX WooCommerce Name Your Price 1.1.7

Function Rating Maintainability Complexity Lines of code
elex_wfp_cart_validation()
B
40 19 58
elex_wfp_display_custom_field()
A
44 10 43
elex_wfp_save_custom_field()
A
54 9 19
elex_wfp_ajax_process_request()
A
44 7 44
elex_wfp_save_variation_settings_fields()
S
56 8 15
Elex_Wfp_Name_Your_Price_Setting::get_settings()
S
40 3 68
elex_wfp_enable_custom_field()
S
40 2 75
Elex_Wfp_Name_Your_Price_Setting::output_sections()
S
58 6 13
elex_wfp_variation_settings_fields()
S
40 1 76
elex_wfp_update_cart_item_data()
S
57 5 15
elex_wfp_before_calculate_totals()
S
67 3 8
elex_wfp_ajax_load_scripts()
S
59 2 14
Elex_Wfp_Name_Your_Price_Setting::save()
S
67 2 8
elex_cpp_load_assets()
S
65 2 8
elex_wfp_return_wpml_string()
S
62 1 11
elex_wfp_hide_price_script()
S
100 1 9
elex_wfp_hide_product_price()
S
83 1 3
Elex_Wfp_Name_Your_Price_Setting::__construct()
S
63 1 9
Elex_Wfp_Name_Your_Price_Setting::elex_wfp_action_links()
S
67 1 7
elex_wfp_woocommerce_inactive_notice()
S
69 1 9
elex_wfp_load_plugin_textdomain()
S
78 1 3
Elex_Wfp_Name_Your_Price_Setting::output()
S
77 1 4
elex_wfp_load_variation_settings_fields()
S
67 1 7
Elex_Wfp_Name_Your_Price_Setting::get_sections()
S
68 1 7