-
Home
-
Jetpack – WP Security, Backup, Speed, & Growth
-
11.8
-
Code
-
Classes
- Jetpack_Protect_Module
Total Complexity |
132 |
Dependencies |
7 |
Dependents |
2 |
Total lines |
977 |
Lines of code |
491 |
Logical lines of code |
285 |
Comment lines |
334 |
Methods |
33 |
Properties |
11 |
Methods 33
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
ip_is_whitelisted() |
A |
52 |
13 |
22 |
protect_call() |
A |
43 |
8 |
48 |
get_protect_key() |
A |
45 |
8 |
43 |
kill_login() |
A |
50 |
8 |
26 |
check_login_ability() |
A |
52 |
8 |
25 |
maybe_update_headers() |
A |
56 |
8 |
16 |
is_current_ip_whitelisted() |
S |
56 |
6 |
19 |
get_local_host() |
S |
56 |
5 |
18 |
check_api_key() |
S |
58 |
5 |
16 |
check_preauth() |
S |
60 |
5 |
12 |
maybe_display_security_warning() |
S |
61 |
5 |
11 |
log_failed_attempt() |
S |
58 |
4 |
14 |
get_headers() |
S |
52 |
3 |
28 |
has_login_ability() |
S |
64 |
4 |
10 |
on_activation() |
S |
67 |
4 |
7 |
admin_jetpack_manage_notice() |
S |
50 |
1 |
41 |
__construct() |
S |
55 |
2 |
17 |
get_transient() |
S |
65 |
3 |
9 |
delete_transient() |
S |
65 |
3 |
9 |
set_transient() |
S |
65 |
3 |
9 |
maybe_get_protect_key() |
S |
66 |
3 |
8 |
on_deactivation() |
S |
73 |
3 |
5 |
ajax_dismiss_handler() |
S |
67 |
2 |
8 |
get_main_blog_jetpack_id() |
S |
64 |
2 |
10 |
get_cached_status() |
S |
67 |
2 |
8 |
get_main_blog_id() |
S |
68 |
2 |
8 |
check_use_math() |
S |
69 |
2 |
7 |
block_with_math() |
S |
64 |
2 |
10 |
log_successful_login() |
S |
70 |
2 |
6 |
prepare_jetpack_protect_multisite_notice() |
S |
69 |
2 |
7 |
instance() |
S |
70 |
2 |
6 |
get_transient_name() |
S |
72 |
1 |
5 |
modules_loaded() |
S |
81 |
1 |
3 |