Code Analysis: Headers Security Advanced & HSTS WP 5.0.29

Function Rating Maintainability Complexity Lines of code
hsts_plugin_settings_page()
A
31 2 203
hsts_plugin_update_htaccess()
S
51 5 28
hsts_plugin_activate()
S
60 5 15
hsts_plugin_cleanup_htaccess()
S
57 4 18
hsts_plugin_get_writable_htaccess_path()
S
68 4 7
hsts_plugin_get_hsts_header()
S
61 3 13
hsts_plugin_get_dashboard_widget_contents()
S
50 1 42
hsts_plugin_add_plugin_action_links()
S
63 3 11
hsts_plugin_get_headers()
S
55 1 19
hsts_plugin_get_csp_header()
S
75 2 4
hsts_plugin_get_filesystem()
S
70 2 7
hsts_plugin_flush_rewrite_rules()
S
78 1 4
hsts_plugin_add_dashboard_widget()
S
70 1 7
hsts_plugin_add_admin_style()
S
75 1 4
hsts_plugin_settings_init()
S
71 1 6
hsts_plugin_settings()
S
67 1 9
hsts_plugin_deactivate()
S
69 1 8
hsts_plugin_delete_old_options()
S
82 1 3