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 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
woocommerce_before_add_to_cart_button() | 41 | 15 | 54 | |
get_logic_rules_for_product() | 60 | 6 | 12 | |
translate_fields_titles_and_labels() | 58 | 5 | 15 | |
woocommerce_product_supports() | 70 | 3 | 6 | |
get_field_type() | 64 | 3 | 10 | |
show_fields() | 60 | 2 | 14 | |
create_field() | 58 | 1 | 17 | |
create_fields_for_product() | 68 | 2 | 7 | |
__construct() | 69 | 1 | 7 | |
hooks() | 72 | 1 | 5 | |
add_error() | 80 | 1 | 3 | |
product_has_required_field() | 75 | 1 | 4 | |
get_translated_fields_for_product() | 72 | 1 | 5 | |
woocommerce_after_add_to_cart_button() | 73 | 1 | 5 |