FPF_Product S

Total Complexity 43
Dependencies 8
Dependents 3
Total lines 299
Lines of code 164
Logical lines of code 94
Comment lines 97
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
woocommerce_before_add_to_cart_button()
A
41 15 54
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
show_fields()
S
60 2 14
create_field()
S
58 1 17
create_fields_for_product()
S
68 2 7
__construct()
S
69 1 7
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
72 1 5
woocommerce_after_add_to_cart_button()
S
73 1 5