-
Home
-
Password Protected – Password Protect your WordPress Site, Pages, & WooCommerce Products – Restrict Content, Protect WooCommerce Category, and more
-
2.7
-
Code
-
Classes
- Password_protected_Activity_Report_Settings
Total Complexity |
30 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
210 |
Lines of code |
172 |
Logical lines of code |
70 |
Comment lines |
0 |
Methods |
18 |
Properties |
1 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_client_ip() |
S |
55 |
4 |
21 |
update_database() |
S |
55 |
3 |
21 |
__construct() |
S |
57 |
3 |
15 |
activity_report_field_callback() |
S |
58 |
2 |
15 |
settings_fields() |
S |
54 |
1 |
26 |
get_report_interval() |
S |
66 |
2 |
8 |
get_browser() |
S |
70 |
2 |
6 |
log_password_attempt() |
S |
59 |
1 |
15 |
get_instance() |
S |
72 |
2 |
6 |
sanitize_report_fields() |
S |
72 |
2 |
6 |
failure_attempt() |
S |
79 |
1 |
3 |
add_new_field_after_password_field() |
S |
82 |
1 |
3 |
success_attempt() |
S |
79 |
1 |
3 |
prepare_entry_log() |
S |
72 |
1 |
5 |
activity_report() |
S |
69 |
1 |
7 |
add_activity_report_tab() |
S |
75 |
1 |
4 |
is_activity_report_enabled() |
S |
78 |
1 |
3 |
login_enqueue_scripts() |
S |
71 |
1 |
5 |