FPF_Product A

Total Complexity 51
Dependencies 7
Dependents 3
Total lines 439
Lines of code 234
Logical lines of code 117
Comment lines 140
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
get_logic_rules_for_product()
S
60 6 12
translate_fields_titles_and_labels()
S
58 5 15
process_field_prices()
S
56 4 17
process_field_options_prices()
S
59 3 15
get_fields_data()
S
60 3 13
woocommerce_before_add_to_cart_button()
S
63 3 11
process_single_option_price()
S
57 2 16
woocommerce_product_supports()
S
70 3 6
get_field_type()
S
64 3 10
get_processed_price_data()
S
59 2 15
show_fields()
S
59 2 15
create_field()
S
58 1 17
get_product_price_data()
S
65 2 9
woocommerce_after_add_to_cart_button()
S
69 2 7
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