FPF_Product_Fields S

Total Complexity 40
Dependencies 3
Dependents 4
Total lines 245
Lines of code 192
Logical lines of code 81
Comment lines 26
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
init_wpml()
A
53 10 22
init_polylang()
A
54 9 21
get_all_fields()
S
58 4 15
register_rest_api_routes()
S
51 1 35
handle_rest_api_categories()
S
57 2 18
handle_rest_api_products()
S
57 2 18
handle_rest_api_tags()
S
57 2 18
cache_get()
S
71 2 6
get_field_types_by_type()
S
67 2 8
get_field_types()
S
67 2 8
get_sections()
S
61 1 13
__construct()
S
77 1 4
hooks()
S
79 1 3
cache_set()
S
80 1 3