Woo_Free_Product_Sample_Public D

Total Complexity 145
Dependencies 5
Dependents 1
Total lines 727
Lines of code 389
Logical lines of code 248
Comment lines 218
Methods 27
Properties 3

Methods 27

Method Rating Maintainability Complexity Lines of code
wfps_add_to_cart_handler_variable()
C
36 24 74
wfps_set_limit_per_order()
B
47 18 30
wfps_cart_update_limit_order()
A
46 12 35
wfps_add_to_cart_action()
A
49 10 29
wfps_apply_sample_price_to_cart_item()
S
59 7 12
wfps_check_cart_items()
S
61 7 11
wfps_set_locate_template()
S
56 5 19
wfps_add_to_cart_message()
S
54 5 17
wfps_remove_chained_products()
S
57 5 16
wfps_save_posted_data_into_order()
S
56 4 17
wfps_store_id()
S
62 5 10
wfps_get_cart_items_from_session()
S
63 5 9
wfps_cart_exclude()
S
64 5 9
init()
S
59 4 13
wfps_item_subtotal()
S
61 3 12
wfps_measurement_price_calculator_add_to_cart_validation()
S
61 3 12
wfps_add_to_cart_handler_simple()
S
64 3 9
wfps_button()
S
65 3 9
wfps_minimum_quantity()
S
72 3 5
wfps_maximum_quantity()
S
72 3 5
wfps_group_of_quantity()
S
72 3 5
wfps_alter_item_name()
S
62 2 10
wfps_cart_item_price_filter()
S
64 2 9
__construct()
S
77 1 4
wfps_enqueue_styles()
S
77 1 3
wfps_get_plugin_path()
S
79 1 3
wfps_order_sample()
S
91 1 2