Code Analysis: Gutenberg Custom Fields 1.5.6

Function Rating Maintainability Complexity Lines of code
WP_REST_GCF_Gutenberg_Templates_Controller::prepare_item_for_database()
A
46 9 39
register_gutenberg_custom_templates()
S
51 6 26
gutenberg_custom_fields_get_jed_locale_data()
S
57 4 16
WP_REST_GCF_Gutenberg_Templates_Controller::update_item()
S
61 3 13
WP_REST_GCF_Gutenberg_Templates_Controller::create_item()
S
62 3 12
WP_REST_GCF_Gutenberg_Templates_Controller::get_item_schema()
S
48 1 39
WP_REST_GCF_Gutenberg_Templates_Controller::register_routes()
S
50 1 34
register_gutenberg_custom_templates_blocks()
S
59 2 14
register_gutenberg_templates()
S
53 1 27
WP_REST_GCF_Gutenberg_Templates_Controller::get_items()
S
61 2 12
WP_REST_GCF_Gutenberg_Templates_Controller::update_item_permissions_check()
S
66 2 8
gutenberg_custom_fields_fields_register()
S
59 1 15
WP_REST_GCF_Gutenberg_Templates_Controller::create_item_permissions_check()
S
66 2 8
gutenberg_custom_fields_init()
S
70 2 7
WP_REST_GCF_Gutenberg_Templates_Controller::remove_item_permissions_check_request()
S
66 2 8
WP_REST_GCF_Gutenberg_Templates_Controller::get_item_permissions_check()
S
66 2 8
WP_REST_GCF_Gutenberg_Templates_Controller::get_item()
S
63 2 10
gutenberg_custom_fields_config_app_register()
S
59 1 15
WP_REST_GCF_Gutenberg_Templates_Controller::get_items_permissions_check()
S
66 2 8
gutenberg_custom_fields_menu()
S
65 1 11
gutenberg_custom_fields_i18n_register()
S
63 1 11
gcf_get_post_type_show_ui()
S
76 1 4
register_gutenberg_template_route()
S
77 1 4
gutenberg_custom_fields_load_plugin_textdomain()
S
70 1 7
WP_REST_GCF_Gutenberg_Templates_Controller::remove_item()
S
72 1 5
gutenberg_custom_fields_url()
S
79 1 3
gutenberg_custom_fields_dir_path()
S
80 1 3
WP_REST_GCF_Gutenberg_Templates_Controller::prepare_item_for_response()
S
63 1 10
gcf_add_missing_types_endpoint_fields()
S
74 1 5
WP_REST_GCF_Gutenberg_Templates_Controller::__construct()
S
77 1 4
the_gutenberg_custom_fields()
S
100 1 5
WP_REST_GCF_Gutenberg_Templates_Controller::prepare_response_for_collection()
S
80 1 3