Code Analysis: Login IP Restrictor 2.27

Function Rating Maintainability Complexity Lines of code
Login_Restrictor_and_Logs::lgs_page_callback()
C
28
27 143
Login_Restrictor_and_Logs::changeCreate_FileFolders()
B
43 17 42
Login_Restrictor_and_Logs::reupdate_options()
A
46 16 33
MaxMind\Db\Reader\Decoder::decodeByType()
A
47 13 36
Login_Restrictor_and_Logs::Insert_ip_into_database__and__email()
A
48 9 26
GeoIp2\WebService\Client::responseFor()
A
45 7 47
Login_Restrictor_and_Logs::__construct()
A
46 7 31
MaxMind\Db\Reader::get()
S
51 7 28
Login_Restrictor_and_Logs::checkUserAllowed()
S
56 7 16
Login_Restrictor_and_Logs::die_if_ip_unlisted()
S
58 7 15
MaxMind\Db\Reader\Decoder::decodeBigUint()
S
50 6 26
MaxMind\Db\Reader\Decoder::decode()
S
48 5 35
MaxMind\Db\Reader::__construct()
S
49 5 32
MaxMind\Db\Reader::readNode()
S
50 5 29
MaxMind\Db\Reader::findAddressInTree()
S
54 5 19
Login_Restrictor_and_Logs::IP_is_in_content()
S
62 6 9
MaxMind\Db\Reader\Decoder::sizeFromCtrlByte()
S
57 5 15
MaxMind\Db\Reader::ipV4StartNode()
S
59 5 14
MaxMind\Db\Reader::findMetadataStart()
S
53 4 21
Login_Restrictor_and_Logs::lgs_install()
S
57 4 17
GeoIp2\Record\AbstractRecord::__get()
S
59 4 14
MaxMind\Db\Reader\Util::read()
S
60 4 14
GeoIp2\Database\Reader::getRecord()
S
58 3 16
Login_Restrictor_and_Logs::reactivate_notification()
S
62 4 10
Login_Restrictor_and_Logs::logintrackss_checkip()
S
73 4 4
MaxMind\Db\Reader::metadata()
S
62 3 13
GeoIp2\WebService\Client::__construct()
S
62 3 11
GeoIp2\Model\AbstractModel::get()
S
64 3 11
GeoIp2\Model\City::createSubdivisions()
S
63 3 11
Login_Restrictor_and_Logs::check_if_directly_forbidden()
S
76 3 3
Login_Restrictor_and_Logs::check_illegaly_loggedin()
S
89 3 1
Login_Restrictor_and_Logs::GSTSA_is_activated__LRL()
S
76 3 3
GeoIp2\Record\AbstractPlaceRecord::name()
S
69 3 7
Login_Restrictor_and_Logs::validate_pageload()
S
87 3 1
MaxMind\Db\Reader::startNode()
S
70 3 6
Login_Restrictor_and_Logs::path_of_IPs_folder()
S
87 3 1
GeoIp2\Model\AbstractModel::__get()
S
69 3 6
MaxMind\Db\Reader\Decoder::decodePointer()
S
60 2 12
MaxMind\Db\Reader::resolveDataPointer()
S
63 2 11
GeoIp2\Model\Country::__construct()
S
54 1 22
Login_Restrictor_and_Logs::get_option()
S
88 2 1
GeoIp2\Record\AbstractPlaceRecord::__get()
S
69 2 7
Login_Restrictor_and_Logs::GSTSA_userIsAuthorized__LRL()
S
78 2 3
Login_Restrictor_and_Logs::iss_admiiiiiin_network()
S
87 2 1
GeoIp2\Record\AbstractRecord::__construct()
S
79 2 3
Login_Restrictor_and_Logs::GSTSA_enabled_for_user__LRL()
S
78 2 3
Login_Restrictor_and_Logs::update_option()
S
88 2 1
GeoIp2\Model\City::mostSpecificSubdivision()
S
72 2 5
GeoIp2\Record\AbstractRecord::__isset()
S
75 2 4
Login_Restrictor_and_Logs::is_admin_pg()
S
89 2 1
MaxMind\Db\Reader::close()
S
68 2 8
GeoIp2\Model\AbstractModel::__isset()
S
78 2 3
MaxMind\Db\Reader\Decoder::maybeSwitchByteOrder()
S
79 2 3
MaxMind\Db\Reader\Decoder::decodeBoolean()
S
79 2 3
MaxMind\Db\Reader\Decoder::verifySize()
S
70 2 7
Login_Restrictor_and_Logs::allowed_ipss_file_CREATED()
S
73 2 5
MaxMind\Db\Reader\Decoder::decodeArray()
S
66 2 8
MaxMind\Db\Reader\Decoder::decodeMap()
S
65 2 9
Login_Restrictor_and_Logs::sanitizer()
S
69 2 5
MaxMind\Db\Reader\Metadata::__construct()
S
58 1 15
GeoIp2\Model\City::__get()
S
69 2 7
Login_Restrictor_and_Logs::iss_admiiiiiin()
S
87 2 1
GeoIp2\WebService\Client::userAgent()
S
80 1 3
GeoIp2\Record\AbstractRecord::attributeToKey()
S
78 1 3
MaxMind\Db\Reader\Decoder::decodeInt32()
S
72 1 5
GeoIp2\Database\Reader::__construct()
S
76 1 4
Login_Restrictor_and_Logs::simple_decrypt()
S
87 1 1
GeoIp2\Model\ConnectionType::__construct()
S
72 1 5
GeoIp2\Model\Isp::__construct()
S
65 1 9
GeoIp2\Database\Reader::metadata()
S
81 1 3
GeoIp2\Database\Reader::country()
S
79 1 3
Login_Restrictor_and_Logs::RandomString()
S
89 1 1
GeoIp2\Database\Reader::isp()
S
71 1 7
Login_Restrictor_and_Logs::role_ips()
S
86 1 1
GeoIp2\Database\Reader::connectionType()
S
71 1 7
Login_Restrictor_and_Logs::lgs_uninstall()
S
98 1 1
GeoIp2\Database\Reader::anonymousIp()
S
71 1 7
GeoIp2\Record\AbstractPlaceRecord::__construct()
S
76 1 4
GeoIp2\Database\Reader::flatModelFor()
S
70 1 6
MaxMind\Db\Reader\Metadata::__get()
S
82 1 3
GeoIp2\Model\AbstractModel::jsonSerialize()
S
82 1 3
Login_Restrictor_and_Logs::simple_encrypt()
S
87 1 1
Login_Restrictor_and_Logs::set_login_pagenow()
S
90 1 1
GeoIp2\Database\Reader::close()
S
82 1 3
MaxMind\Db\Reader\Decoder::decodeString()
S
82 1 3
GeoIp2\Exception\HttpException::__construct()
S
75 1 4
MaxMind\Db\Reader\Decoder::decodeFloat()
S
75 1 4
GeoIp2\Model\AnonymousIp::__construct()
S
65 1 9
GeoIp2\Database\Reader::city()
S
79 1 3
Login_Restrictor_and_Logs::get_user_roles()
S
79 1 3
GeoIp2\Model\AbstractModel::__construct()
S
81 1 3
GeoIp2\WebService\Client::city()
S
79 1 3
my_reg888()
S
87 1 1
GeoIp2\Model\City::__construct()
S
66 1 7
MaxMind\Db\Reader\Decoder::isPlatformLittleEndian()
S
72 1 5
GeoIp2\Exception\InvalidRequestException::__construct()
S
75 1 4
MaxMind\Db\Reader\Decoder::zeroPadLeft()
S
78 1 3
Login_Restrictor_and_Logs::path_of_IPs()
S
90 1 1
GeoIp2\WebService\Client::country()
S
79 1 3
GeoIp2\Database\Reader::domain()
S
71 1 7
GeoIp2\Database\Reader::enterprise()
S
79 1 3
MaxMind\Db\Reader\Decoder::decodeDouble()
S
75 1 4
MaxMind\Db\Reader\Decoder::__construct()
S
71 1 6
MaxMind\Db\Reader\Decoder::decodeUint()
S
74 1 4
GeoIp2\Model\Domain::__construct()
S
72 1 5
GeoIp2\Record\AbstractRecord::jsonSerialize()
S
82 1 3
GeoIp2\Record\AbstractRecord::validAttribute()
S
79 1 3
GeoIp2\Database\Reader::modelFor()
S
69 1 6
GeoIp2\WebService\Client::insights()
S
79 1 3