FPF_Product S

Total Complexity 50
Dependencies 7
Dependents 3
Total lines 339
Lines of code 193
Logical lines of code 101
Comment lines 106
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
get_fields_data()
A
46 13 35
get_logic_rules_for_product()
S
60 6 12
translate_fields_titles_and_labels()
S
58 5 15
woocommerce_before_add_to_cart_button()
S
63 3 11
show_fields()
S
59 2 15
woocommerce_product_supports()
S
70 3 6
get_field_type()
S
64 3 10
create_field()
S
58 1 17
woocommerce_after_add_to_cart_button()
S
69 2 7
get_product_price_data()
S
65 2 9
create_fields_for_product()
S
68 2 7
get_translated_fields_for_product()
S
68 2 7
product_has_required_field()
S
68 2 7
render_fields_before_add_to_cart()
S
62 1 12
render_fields_after_add_to_cart()
S
63 1 11
hooks()
S
72 1 5
__construct()
S
69 1 7