WCJ_Max_Products_Per_User B

Total Complexity 85
Dependencies 2
Dependents 0
Total lines 441
Lines of code 313
Logical lines of code 176
Comment lines 110
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
save_quantities()
B
42 20 53
check_quantities()
A
42 13 51
validate_on_add_to_cart()
A
44 11 43
calculate_data()
A
41 10 58
__construct()
A
45 9 37
create_report_meta_box()
S
51 5 27
get_max_qty()
S
62 6 10
calculate_data_notice()
S
62 4 9
stop_from_seeing_checkout()
S
65 4 9
wcj_filter_woocommerce_duplicate_product_exclude_meta()
S
79 1 3
add_report_meta_box()
S
64 1 10
check_cart_quantities()
S
82 1 3