-
Home
-
Jetpack – WP Security, Backup, Speed, & Growth
-
10.1
-
Code
-
Classes
- WPCOM_REST_API_V2_Field_Controller
Total Complexity |
44 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
325 |
Lines of code |
133 |
Logical lines of code |
78 |
Comment lines |
153 |
Methods |
13 |
Properties |
2 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
filter_response_by_context() |
A |
48 |
12 |
34 |
get_default_value() |
A |
54 |
10 |
21 |
update_from_request() |
S |
59 |
4 |
14 |
__construct() |
S |
61 |
3 |
12 |
get_for_response() |
S |
60 |
3 |
12 |
prepare_for_response() |
S |
64 |
3 |
9 |
register_fields() |
S |
61 |
2 |
13 |
is_valid_for_context() |
S |
77 |
2 |
3 |
get_permission_check() |
S |
77 |
1 |
3 |
get() |
S |
77 |
1 |
3 |
update_permission_check() |
S |
77 |
1 |
3 |
update() |
S |
77 |
1 |
3 |
get_schema() |
S |
77 |
1 |
3 |