-
Home
-
Gutenberg
-
10.7.2
-
Code
-
Classes
- WP_REST_Widget_Types_Controller
Total Complexity |
43 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
533 |
Lines of code |
327 |
Logical lines of code |
111 |
Comment lines |
150 |
Methods |
16 |
Properties |
0 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
encode_form_data() |
A |
40 |
10 |
67 |
prepare_item_for_response() |
S |
47 |
6 |
35 |
get_widgets() |
S |
53 |
5 |
22 |
register_routes() |
S |
42 |
1 |
65 |
get_item_schema() |
S |
46 |
2 |
46 |
get_item_permissions_check() |
S |
62 |
3 |
12 |
get_widget_form() |
S |
59 |
2 |
16 |
get_widget() |
S |
65 |
3 |
8 |
check_read_permission() |
S |
62 |
2 |
12 |
get_items() |
S |
66 |
2 |
8 |
get_item() |
S |
65 |
2 |
9 |
__construct() |
S |
77 |
1 |
4 |
get_items_permissions_check() |
S |
81 |
1 |
3 |
prepare_links() |
S |
64 |
1 |
10 |
get_widget_preview() |
S |
73 |
1 |
5 |
get_collection_params() |
S |
73 |
1 |
5 |