Wpcpo_Cart C

Total Complexity 112
Dependencies 2
Dependents 0
Total lines 415
Lines of code 307
Logical lines of code 208
Comment lines 18
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
add_to_cart_validation()
C
36 32 66
get_item_data()
B
46 20 32
before_calculate_totals()
B
37 15 77
add_cart_item_data()
A
51 11 24
order_line_item()
A
58 9 13
cart_item_subtotal()
A
54 8 20
cart_item_price()
S
58 5 16
upload_dir()
S
59 2 14
instance()
S
72 2 6
get_cart_item_from_session()
S
70 2 6
__construct()
S
61 1 11
clean_custom_price()
S
79 1 3
word_count()
S
71 1 5
get_custom_price()
S
82 1 3
handle_upload()
S
65 1 8
before_mini_cart_contents()
S
82 1 3