-
Home
-
WPMasterToolKit (WPMTK) – All in one plugin
-
1.9.0
-
Code
-
Classes
- WPMastertoolkit_Protect_Website_Headers
Total Complexity |
52 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
549 |
Lines of code |
361 |
Logical lines of code |
190 |
Comment lines |
126 |
Methods |
22 |
Properties |
5 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
submenu_content() |
A |
33 |
3 |
141 |
get_headers() |
S |
48 |
6 |
32 |
sanitize_settings() |
S |
54 |
6 |
20 |
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 |
64 |
3 |
10 |
get_raw_content_nginx() |
S |
66 |
2 |
8 |
get_raw_content_htaccess() |
S |
63 |
2 |
10 |
deactivate() |
S |
69 |
2 |
7 |
save_submenu() |
S |
63 |
2 |
10 |
get_permissions_policy_header() |
S |
74 |
2 |
4 |
get_csp_report_only_header() |
S |
63 |
2 |
10 |
add_submenu() |
S |
65 |
1 |
11 |
activate() |
S |
80 |
1 |
3 |
class_init() |
S |
79 |
1 |
3 |
render_submenu() |
S |
65 |
1 |
8 |
get_settings() |
S |
75 |
1 |
4 |
save_settings() |
S |
80 |
1 |
3 |
__construct() |
S |
64 |
1 |
9 |