FPF_Product A

Total Complexity 73
Dependencies 7
Dependents 3
Total lines 478
Lines of code 338
Logical lines of code 168
Comment lines 100
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
get_fields_for_product()
D
26
28 178
woocommerce_before_add_to_cart_button()
B
40 16 57
get_logic_rules_for_product()
S
60 6 12
translate_fields_titles_and_labels()
S
58 5 15
woocommerce_product_supports()
S
70 3 6
get_field_type()
S
64 3 10
create_field()
S
58 1 17
create_fields_for_product()
S
68 2 7
show_fields()
S
67 2 7
woocommerce_after_add_to_cart_button()
S
68 2 8
__construct()
S
71 1 6
hooks()
S
72 1 5
add_error()
S
80 1 3
product_has_required_field()
S
75 1 4
get_translated_fields_for_product()
S
79 1 3