Woo_Free_Product_Sample_Public D

Total Complexity 142
Dependencies 5
Dependents 1
Total lines 697
Lines of code 382
Logical lines of code 243
Comment lines 203
Methods 26
Properties 3

Methods 26

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
60 7 12
wfps_add_to_cart_message()
S
52 6 21
wfps_check_cart_items()
S
62 6 11
wfps_set_locate_template()
S
56 5 19
wfps_remove_chained_products()
S
57 5 16
wfps_store_id()
S
62 5 10
wfps_get_cart_items_from_session()
S
63 5 9
init()
S
59 4 13
wfps_cart_exclude()
S
65 4 9
wfps_alter_item_name()
S
59 3 14
wfps_save_posted_data_into_order()
S
61 3 12
wfps_measurement_price_calculator_add_to_cart_validation()
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_add_to_cart_handler_simple()
S
64 3 9
wfps_button()
S
65 3 9
wfps_cart_item_price_filter()
S
64 2 9
wfps_item_subtotal()
S
68 2 7
wfps_enqueue_styles()
S
77 1 3
wfps_get_plugin_path()
S
79 1 3
__construct()
S
77 1 4