rsssl_wp_cli D

Total Complexity 207
Dependencies 8
Dependents 1
Total lines 1,506
Lines of code 958
Logical lines of code 468
Comment lines 410
Methods 47
Properties 0

Methods 47

Method Rating Maintainability Complexity Lines of code
activate_ssl()
B
39 22 59
get_command_list()
B
25
1 282
handleLlaTableEntry()
A
43 12 44
getFilteredIpAddress()
A
48 11 32
handleFirewallTableEntry()
A
45 10 38
activate_license()
A
50 10 26
perform_pre_flight_checks()
A
42 8 52
deactivate_recommended_features()
A
46 7 40
check_pro_command_preconditions()
A
49 7 33
reset_2fa()
S
55 6 19
deactivate_security_headers()
S
57 6 15
add_lock_file()
S
56 5 18
remove_lock_file()
S
58 5 16
activate_security_headers()
S
59 5 14
register_wp_cli_commands()
S
58 4 16
deactivate_license()
S
58 4 15
deactivate_recommended_hardening_features()
S
60 4 13
update_option()
S
59 4 13
activate_recommended_hardening_features()
S
60 4 13
deactivate_password_security()
S
60 3 13
activate_password_security()
S
61 3 12
deactivate_firewall()
S
62 3 11
activate_firewall()
S
62 3 11
deactivate_lla()
S
62 3 11
activate_lla()
S
62 3 11
deactivate_vulnerability_scanning()
S
65 3 9
deactivate_2fa()
S
63 3 10
activate_2fa()
S
63 3 10
deactivate_ssl()
S
65 3 9
activate_vulnerability_scanning()
S
65 3 9
activate_recommended_features()
S
65 3 9
remove_lla_blocked_username()
S
70 3 5
add_lla_blocked_username()
S
70 3 5
add_lla_blocked_ip()
S
70 3 5
remove_lla_blocked_ip()
S
70 3 5
remove_lla_trusted_username()
S
74 2 4
wp_cli_active()
S
79 2 3
add_firewall_trusted_ip()
S
74 2 4
add_lla_trusted_username()
S
74 2 4
remove_lla_trusted_ip()
S
74 2 4
add_lla_trusted_ip()
S
74 2 4
remove_firewall_trusted_ip()
S
74 2 4
show_blocked_ips()
S
63 2 10
remove_firewall_ip_block()
S
74 2 4
add_firewall_ip_block()
S
74 2 4
update_advanced_headers()
S
73 2 5
__construct()
S
72 2 5