-
Home
-
WPMasterToolKit (WPMTK) – All in one plugin
-
2.12.0 (latest)
-
Code
-
Classes
- WPMastertoolkit_Protect_Website_Headers
| Total Complexity |
54 |
| Dependencies |
1 |
| Dependents |
0 |
| Total lines |
611 |
| Lines of code |
422 |
| Logical lines of code |
203 |
| Comment lines |
127 |
| Methods |
22 |
| Properties |
5 |
Methods 22
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| submenu_content() |
A |
29 |
3 |
201 |
| sanitize_settings() |
A |
53 |
8 |
22 |
| get_headers() |
S |
49 |
6 |
31 |
| get_x_frame_options_header() |
S |
62 |
4 |
11 |
| get_hsts_header() |
S |
60 |
3 |
13 |
| get_default_settings() |
S |
53 |
2 |
24 |
| nginx_code_snippets() |
S |
64 |
3 |
10 |
| get_csp_header() |
S |
63 |
3 |
10 |
| update_htaccess() |
S |
63 |
3 |
10 |
| get_csp_report_only_header() |
S |
63 |
2 |
10 |
| get_permissions_policy_header() |
S |
74 |
2 |
4 |
| save_submenu() |
S |
62 |
2 |
10 |
| deactivate() |
S |
69 |
2 |
7 |
| get_raw_content_htaccess() |
S |
63 |
2 |
10 |
| get_raw_content_nginx() |
S |
66 |
2 |
8 |
| add_submenu() |
S |
65 |
1 |
11 |
| __construct() |
S |
64 |
1 |
9 |
| class_init() |
S |
79 |
1 |
3 |
| render_submenu() |
S |
65 |
1 |
8 |
| activate() |
S |
80 |
1 |
3 |
| get_settings() |
S |
75 |
1 |
4 |
| save_settings() |
S |
80 |
1 |
3 |