WPSC_REST_Custom_Fields S

Total Complexity 37
Dependencies 5
Dependents 1
Total lines 343
Lines of code 216
Logical lines of code 78
Comment lines 82
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
get_custom_fields()
A
50 11 29
modify_response()
A
50 8 30
register_routes()
S
41 1 78
validate_option_id()
S
56 5 17
get_options()
S
58 3 15
validate_filter()
S
62 3 11
validate_cf_id()
S
70 2 5
load_prevent_data()
S
61 1 14
init()
S
75 1 4
get_individual_custom_field()
S
71 1 5
get_individual_option()
S
66 1 8