PRDWC_WooCommerce C

Total Complexity 102
Dependencies 3
Dependents 0
Total lines 573
Lines of code 426
Logical lines of code 222
Comment lines 74
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
display_custom_field()
B
36 16 84
display_custom_fields()
A
38 14 69
validate_custom_field()
A
43 13 49
add_custom_field_item_data()
A
49 10 32
before_calculate_totals()
A
54 8 20
get_price_html()
S
54 5 19
add_donations_tab_content()
S
48 3 33
save_product_type_options()
S
67 4 7
add_custom_data_to_order()
S
63 4 10
get_variation_price_html()
S
60 3 14
display_custom_fields_simple()
S
65 3 10
get_request_project()
S
68 3 8
add_to_cart_button()
S
67 3 7
single_add_to_cart_button()
S
67 3 7
init()
S
55 1 17
get_product_project()
S
74 2 4
add_to_cart_message()
S
69 2 6
cart_item_name()
S
65 2 10
add_donations_tab()
S
66 1 8
add_product_type_options()
S
63 1 10
__construct()
S
91 1 2