Code Analysis: Faust.js 1.0.2

Function Rating Maintainability Complexity Lines of code
sanitize_faustwp_settings()
A
44 16 43
post_preview_link()
A
43 12 48
url_replace_recursive()
A
53 11 21
register_generate_ac_mutation()
A
41 7 63
templates_resolver()
A
48 8 35
deny_public_access()
A
50 8 27
get_default_key()
S
63 7 12
get_plugin_conflicts()
S
61 6 12
get_conditional_tags()
S
38 1 85
handle_rest_authorize_callback()
S
52 5 25
remove_admin_menu_pages()
S
57 5 17
rest_determine_current_user()
S
57 5 17
get_user_from_code()
S
57 5 17
url_replacement()
S
62 5 13
handle_generate_endpoint()
S
53 4 23
handle_regenerate_secret_key()
S
57 4 18
upgrade_database()
S
56 4 18
handle_activation()
S
57 4 18
image_source_srcset_replacement()
S
57 4 17
register_menu_locations()
S
59 4 15
maybe_set_default_settings()
S
59 4 15
prevent_admin_page_access()
S
60 4 14
needs_warning()
S
61 4 12
doing_file_editor_save()
S
61 4 11
frontend_url_notice()
S
54 3 24
print_scripts()
S
52 2 38
show_warning()
S
54 3 22
add_settings_assets()
S
49 2 35
decrypt()
S
57 3 17
post_link()
S
66 4 9
encrypt()
S
60 3 13
register_settings_fields()
S
49 1 42
display_enable_disable_fields()
S
49 1 42
content_replacement()
S
61 3 12
normalize_url()
S
62 3 12
register_global_stylesheet_field()
S
48 1 40
display_secret_key_field()
S
50 1 38
register_conditional_tags_field()
S
51 1 33
rest_authorize_permission_callback()
S
67 3 8
wpac_authorize_permission_callback()
S
67 3 8
ajax_maybe_dismiss_conflicts()
S
67 3 7
register_faust_toolbar_field()
S
60 2 14
register_rest_routes()
S
53 1 29
image_source_replacement()
S
61 2 12
template_hierarchy_types()
S
56 1 22
remove_admin_bar_items()
S
65 2 10
generate_user_code()
S
70 2 6
normalize_sitemap_entry()
S
69 2 7
dismiss_active_conflicts()
S
67 2 8
conditional_tags_resolver()
S
68 2 7
allowed_redirect_hosts()
S
66 2 8
upgrade_0_6_1()
S
67 2 8
faustwp_get_setting()
S
67 2 8
get_icon()
S
68 2 7
has_frontend_uri()
S
69 2 7
trim_frontend_uri_trailing_slash()
S
72 2 6
get_wpgraphql_content_blocks_plugin_version()
S
79 2 3
term_link()
S
72 2 6
get_conflicts_dismissed()
S
75 2 4
has_file_extension()
S
68 2 8
get_anonymous_faustwp_data()
S
63 1 11
handle_rest_telemetry_callback()
S
63 1 11
equivalent_frontend_url()
S
80 1 3
is_redirects_enabled()
S
80 1 3
delete_conflicts_dismissed()
S
80 1 3
register_settings_section()
S
70 1 8
generate_authorization_code()
S
79 1 3
remove_menu_locations()
S
76 1 4
get_secret_key()
S
80 1 3
get_user_from_authorization_code()
S
80 1 3
is_image_source_replacement_enabled()
S
80 1 3
equivalent_wp_url()
S
80 1 3
sitemaps_posts_entry()
S
81 1 3
is_conflict_dismissed()
S
75 1 4
register_settings()
S
81 1 3
get_anonymous_wpgraphql_content_blocks_data()
S
72 1 6
is_rewrites_enabled()
S
80 1 3
handle_new_site_creation()
S
75 1 5
yoast_sitemap_post_url()
S
81 1 3
faustwp_update_setting()
S
73 1 5
domain_replacement_enabled()
S
80 1 3
is_themes_disabled()
S
80 1 3
get_plugin_conflict_list()
S
76 1 5
handle_deactivation()
S
79 1 4
add_action_link_settings()
S
65 1 9
generate_access_token()
S
79 1 3
get_wp_version()
S
81 1 3
sitemaps_taxonomies_entry()
S
81 1 3
generate_refresh_token()
S
79 1 3
camelcase()
S
67 1 7
display_settings_page()
S
81 1 3
get_user_from_access_token()
S
80 1 3
verify_graphql_dependency()
S
79 1 3
get_plugin_version()
S
72 1 5
faustwp_get_settings()
S
75 1 4
display_frontend_uri_field()
S
67 1 9
get_user_from_refresh_token()
S
80 1 3
enqueue_preview_scripts()
S
73 1 4
register_templates_field()
S
65 1 10
display_menu_locations_field()
S
66 1 10
is_wpe()
S
81 1 3
register_settings_menu()
S
65 1 10
rest_telemetry_permission_callback()
S
81 1 3
log_template_hierarchy()
S
73 1 5