Code Analysis: Patchstack Security 2.1.25

Most Complex Classes

Class Rating Complexity
P_Firewall
D
165
P_Listener
C
111
P_Admin_Options
C
108
P_Hardening
B
82
P_Login
A
66
Composer\Autoload\ClassLoader
A
64
MaxMind\Db\Reader\Decoder
A
58
MaxMind\WebService\Client
A
54
P_Htaccess
A
53
P_Core
A
52
P_Activation
S
47
P_Api
S
46

Most Complex Functions

Function Rating Complexity
P_Firewall::processor()
D
33
P_Admin_Options::settings_init()
C
22
P_Firewall::is_whitelisted()
B
23
P_Upload::get_software_data()
B
22
Composer\CaBundle\CaBundle::isOpensslParseSafe()
B
21
P_Firewall::capture_keys()
B
20
P_Hardening::__construct()
B
19
Composer\Autoload\ClassLoader::findFileWithExtension()
B
18
random_bytes()
B
16
Patchstack_Network_Sites_Table::table_data()
B
16
P_Login::check_logonhours()
B
17
P_Admin_General::alter_ips()
B
17