Code Analysis: Headers Security Advanced & HSTS WP 5.0.23

Function Rating Maintainability Complexity Lines of code
hsts_plugin_settings_page()
A
32 2 178
hsts_plugin_update_htaccess()
S
51 5 28
hsts_plugin_cleanup_htaccess()
S
57 4 18
hsts_plugin_activate()
S
63 4 12
hsts_plugin_get_dashboard_widget_contents()
S
49 1 46
hsts_plugin_get_writable_htaccess_path()
S
68 4 7
hsts_plugin_get_hsts_header()
S
61 3 13
hsts_plugin_add_plugin_action_links()
S
63 3 11
hsts_plugin_get_headers()
S
55 1 19
hsts_plugin_get_filesystem()
S
70 2 7
hsts_plugin_add_admin_style()
S
75 1 4
hsts_plugin_add_dashboard_widget()
S
68 1 7
hsts_plugin_delete_old_options()
S
82 1 3
hsts_plugin_flush_rewrite_rules()
S
78 1 4
hsts_plugin_settings_init()
S
74 1 5
hsts_plugin_deactivate()
S
70 1 7
hsts_plugin_settings()
S
67 1 9