Code Analysis: Potent Donations for WooCommerce 1.1.10

Function Rating Maintainability Complexity Lines of code
hm_wcdon_update_cart()
A
56 8 16
hm_variable_donation_admin_custom_js()
S
59 6 17
hm_wcdon_product_data_tabs()
S
65 6 8
hm_wcdon_add_cart_item()
S
65 5 8
hm_wcdon_admin_page()
S
60 4 12
hm_wcdon_plugins_loaded()
S
50 2 31
hm_wcdon_process_product_meta()
S
67 4 6
hm_wcdon_get_price_html()
S
70 3 6
hm_wcdon_get_option()
S
67 3 7
hm_wcdon_get_cart_item_from_session()
S
72 3 5
hm_wcdon_cart_item_price()
S
70 3 5
WC_Product_Donation::get_donation_amount_increment()
S
66 3 9
hm_wcdon_default_options()
S
64 2 11
hm_wcdon_first_activate()
S
68 2 7
hm_wcdon_add_to_cart_link()
S
77 2 3
hm_wcdon_product_options_general()
S
64 2 8
hm_wcdon_before_add_to_cart_button()
S
64 2 9
hm_wcdon_set_options()
S
74 1 4
WC_Product_Donation::is_sold_individually()
S
94 1 1
hm_wcdon_admin_menu()
S
77 1 3
hm_wcdon_enqueue_scripts()
S
79 1 3
hm_wcdon_action_links()
S
73 1 4
hm_wcdon_rd_notice()
S
65 1 10
hm_wcdon_rd_notice_hide()
S
75 1 4
WC_Product_Donation::is_virtual()
S
91 1 1
WC_Product_Donation::single_add_to_cart_text()
S
90 1 1
WC_Product_Donation::get_type()
S
83 1 3
WC_Product_Donation::__construct()
S
76 1 4
WC_Product_Donation::add_to_cart_url()
S
92 1 1
WC_Product_Donation::is_taxable()
S
91 1 1
WC_Product_Donation::add_to_cart_text()
S
90 1 1
WC_Product_Donation::needs_shipping()
S
91 1 1
hm_wcdon_product_type_selector()
S
77 1 4
hm_wcdon_add_to_cart_template()
S
82 1 3