Code Analysis: Extend Protection For WooCommerce 1.0.0

Function Rating Maintainability Complexity Lines of code
HelloExtend_Protection_Admin::helloextend_protection_for_woocommerce_settings_page_init()
D
19
19 361
HelloExtend_Protection_Global::helloextend_get_settings()
D
34 34 78
HelloExtend_Protection_Admin::helloextend_protection_for_woocommerce_settings_sanitize()
C
36 28 85
HelloExtend_Protection_Orders::create_update_order()
C
30 22 119
HelloExtend_Protection_Cart_Offer::get_cart_updates()
B
39 21 61
HelloExtend_Protection_Logger::helloextend_logger_get_all_logs()
B
44 19 47
helloextend_save_category()
A
53 13 22
helloextend_render_settings_page()
A
44 11 46
HelloExtend_Protection_Orders::helloextend_get_plans_and_products()
A
43 9 48
HelloExtend_Protection_Activator::activate()
A
42 8 51
HelloExtend_Protection_Admin::helloextend_sp_offer_location_callback()
A
44 8 47
helloextend_product_protection_create()
A
44 8 44
HelloExtend_Protection_Admin::helloextend_pdp_offer_location_callback()
A
43 7 53
helloextend_add_shipping_protection_fee()
A
54 9 18
HelloExtend_Protection_Global::helloextend_get_token()
A
44 7 48
HelloExtend_Protection_Logger::helloextend_logger_delete_single()
A
49 8 27
helloextend_set_shipping_fee()
A
54 8 19
helloextend_add_protection_contract()
S
50 7 27
HelloExtend_Protection_Shipping::shipping_protection_block()
S
45 6 40
HelloExtend_Protection_Logger::helloextend_log_debug()
S
52 7 24
HelloExtend_Protection_Logger::helloextend_logger_filter_log()
S
48 6 34
HelloExtend_Protection_Logger::helloextend_logger_format_logs()
S
47 6 33
HelloExtend_Protection_Logger::helloextend_logger_delete_all()
S
51 6 24
HelloExtend_Protection_Admin::helloextend_sync_batch_callback()
S
54 6 21
HelloExtend_Protection_Global::helloextend_init_global()
S
55 6 18
HelloExtend_Protection_Admin::helloextend_last_product_sync_callback()
S
57 6 17
HelloExtend_Protection_Shipping::helloextend_sp_add_sku_to_shipstation()
S
58 6 15
HelloExtend_Protection_Logger::helloextend_logger_get_these_logs()
S
51 5 28
HelloExtend_Protection_Global::checkout_details()
S
54 5 21
HelloExtend_Protection_Admin::helloextend_automated_product_sync_callback()
S
56 5 17
HelloExtend_Protection_Admin::helloextend_environment_callback()
S
59 5 16
HelloExtend_Protection_Admin::helloextend_product_protection_contract_create_event_callback()
S
59 5 16
HelloExtend_Protection_Global::helloextend_add_to_cart()
S
62 6 9
HelloExtend_Protection_Cart_Offer::normalize_cart()
S
59 5 14
HelloExtend_Protection_Global::helloextend_get_first_valid_category()
S
60 5 12
HelloExtend_Protection_Admin::helloextend_use_skus_callback()
S
47 3 38
helloextend_edit_ignore_product_category_field()
S
54 4 22
HelloExtend_Protection_Cart_Offer::after_cart_item_name()
S
61 5 10
HelloExtend_Protection_Global::update_price()
S
62 5 10
helloextend_add_protection_message_to_thankyou_page()
S
59 4 14
HelloExtend_Protection_Global::helloextend_get_cart()
S
59 4 13
HelloExtend_Protection_Admin::__construct()
S
52 3 23
HelloExtend_Protection_Logger::helloextend_log_notice()
S
54 3 21
HelloExtend_Protection_Logger::helloextend_log_error()
S
55 3 21
HelloExtend_Protection_Cart_Offer::cart_offers()
S
57 3 17
HelloExtend_Protection_Global::order_item_meta()
S
58 3 15
HelloExtend_Protection_Admin::enqueue_scripts()
S
57 3 15
HelloExtend_Protection_PDP_Offer::product_offer()
S
51 2 25
HelloExtend_Protection::__construct()
S
56 2 19
helloextend_save_shipping_protection_quote_id()
S
64 3 9
HelloExtend_Protection_Logger::helloextend_logger_sort_by_date()
S
69 3 6
helloextend_add_protection_message_to_email()
S
63 3 10
helloextend_write_log()
S
69 3 7
HelloExtend_Protection_Global::cart_item_price()
S
67 3 7
HelloExtend_Protection_Global::cart_item_name()
S
67 3 7
HelloExtend_Protection_Admin::enable_helloextend_callback()
S
68 3 7
HelloExtend_Protection_Admin::helloextend_enable_pdp_offers_callback()
S
67 3 8
HelloExtend_Protection_Admin::enable_helloextend_debug_callback()
S
68 3 7
HelloExtend_Protection_Admin::helloextend_use_special_price_callback()
S
67 3 8
helloextend_remove_shipping_protection_fee()
S
64 3 10
HelloExtend_Protection_Admin::enable_helloextend_sp_callback()
S
68 3 7
HelloExtend_Protection_Loader::run()
S
66 3 8
HelloExtend_Protection_Admin::helloextend_sync_on_update_callback()
S
67 3 8
HelloExtend_Protection_Admin::helloextend_product_protection_contract_create_callback()
S
66 3 9
HelloExtend_Protection_Admin::helloextend_enable_cart_offers_callback()
S
67 3 8
HelloExtend_Protection_Admin::helloextend_enable_cart_balancing_callback()
S
67 3 8
HelloExtend_Protection_Admin::helloextend_enable_modal_offers_callback()
S
67 3 8
helloextend_logger_log_table_scripts()
S
58 2 14
helloextend_product_protection_id()
S
62 2 13
HelloExtend_Protection_Logger::helloextend_logger_add_to_new_logs()
S
62 2 12
HelloExtend_Protection_Admin::helloextend_atc_button_selector_callback()
S
62 2 11
HelloExtend_Protection_Admin::helloextend_sandbox_client_secret_callback()
S
66 2 9
HelloExtend_Protection_Logger::helloextend_logger_ab_toggle()
S
71 2 5
helloextend_is_woocommerce_activated()
S
70 2 7
HelloExtend_Protection_Global::helloextend_get_product()
S
68 2 8
HelloExtend_Protection_Admin::helloextend_sandbox_client_id_callback()
S
68 2 8
HelloExtend_Protection_Admin::helloextend_live_client_id_callback()
S
68 2 8
HelloExtend_Protection_Admin::helloextend_sandbox_store_id_callback()
S
68 2 8
HelloExtend_Protection_Admin::helloextend_live_store_id_callback()
S
68 2 8
helloextend_protection_links()
S
68 2 7
HelloExtend_Protection_Global::order_item_name()
S
69 2 7
HelloExtend_Protection_Admin::helloextend_live_client_secret_callback()
S
68 2 8
helloextend_render_documentation_page()
S
62 1 14
HelloExtend_Protection_Global::hooks()
S
59 1 13
HelloExtend_Protection::load_dependencies()
S
60 1 13
HelloExtend_Protection_Deactivator::deactivate()
S
64 1 11
HelloExtend_Protection_Admin::helloextend_setting_contract_section_info()
S
83 1 3
HelloExtend_Protection::set_locale()
S
75 1 4
helloextend_logger_includes()
S
81 1 3
helloextend_render_about_page()
S
100 1 2
HelloExtend_Protection::helloextend_get_protection()
S
82 1 3
HelloExtend_Protection_Loader::__construct()
S
77 1 4
HelloExtend_Protection::define_public_hooks()
S
72 1 5
HelloExtend_Protection_Cart_Offer::__construct()
S
77 1 4
helloextend_add_ignore_product_category_field()
S
72 1 10
HelloExtend_Protection::define_admin_hooks()
S
72 1 5
HelloExtend_Protection::define_cart_offer_hooks()
S
79 1 3
HelloExtend_Protection_Public::enqueue_scripts()
S
77 1 3
HelloExtend_Protection_Public::__construct()
S
77 1 4
helloextend_logger_load_log_table_scripts()
S
80 1 3
HelloExtend_Protection_Loader::add_filter()
S
77 1 3
helloextend_run()
S
77 1 4
HelloExtend_Protection::get_version()
S
82 1 3
HelloExtend_Protection_Admin::helloextend_setting_environment_section_info()
S
83 1 3
HelloExtend_Protection_Cart_Offer::hooks()
S
71 1 5
helloextend_protection_style()
S
72 1 5
HelloExtend_Protection_Loader::add()
S
64 1 10
HelloExtend_Protection_Loader::add_action()
S
77 1 3
HelloExtend_Protection_Admin::enqueue_styles()
S
77 1 3
HelloExtend_Protection::get_loader()
S
82 1 3
HelloExtend_Protection::run()
S
82 1 3
HelloExtend_Protection::define_shipping_protection_offer_hooks()
S
79 1 3
HelloExtend_Protection_Admin::helloextend_protection_for_woocommerce_settings_section_info()
S
82 1 3
helloextend_deactivate()
S
77 1 4
HelloExtend_Protection_Shipping::hooks()
S
73 1 4
Helloextend_Protection_i18n::load_plugin_textdomain()
S
69 1 7
helloextend_logger_constants()
S
83 1 4
helloextend_activate()
S
77 1 4
HelloExtend_Protection_Global::__construct()
S
74 1 5
helloextend_logger_admin()
S
72 1 5
HelloExtend_Protection::define_orders_hooks()
S
79 1 3
HelloExtend_Protection_Admin::helloextend_setting_shipping_protection_section_info()
S
83 1 3
HelloExtend_Protection_Admin::helloextend_setting_catalog_sync_section_info()
S
83 1 3
HelloExtend_Protection_Public::enqueue_styles()
S
77 1 3
HelloExtend_Protection_PDP_Offer::__construct()
S
64 1 9
HelloExtend_Protection_Orders::__construct()
S
67 1 7
HelloExtend_Protection_Admin::helloextend_admin_menu()
S
63 1 9
HelloExtend_Protection::define_global_hooks()
S
64 1 8
HelloExtend_Protection::define_pdp_offer_hooks()
S
79 1 3
HelloExtend_Protection_Shipping::__construct()
S
77 1 4