Code Analysis: Pareto Security 3.2.9

Function Rating Maintainability Complexity Lines of code
pareto_functions::injectMatch()
D
19
97 130
pareto_functions::_REQUEST_SHIELD()
D
19
78 154
pareto_settings::kickoff()
D
27
42 120
pareto_functions::karo()
D
35 44 65
pareto_functions::_SPIDER_SHIELD()
D
36 37 60
pareto_functions::_POST_SHIELD()
D
34 35 72
pareto_functions::do_htaccess()
C
37 30 64
pareto_functions::is_wp()
C
43 31 41
pareto_settings::notes_box()
C
40 28 42
pareto_functions::clean_htaccess()
C
42 27 43
pareto_functions::htaccess_unbanip()
C
39 25 55
pareto_settings::logfile_box()
C
33 23 85
pareto_settings::condition_box()
C
32 20 126
pareto_functions::post_filter()
B
35 21 86
pareto_functions::_TOR_SHIELD()
B
37 20 71
pareto_functions::write_log()
B
43 21 38
pareto_functions::is_cf()
B
43 20 45
pareto_functions::is_server()
B
52 18 20
pareto_functions::host_check()
A
43 15 47
pareto_functions::email_log()
A
33 11 107
pareto_functions::htapath()
A
45 15 39
pareto_functions::_HTTPHOST_SHIELD()
A
46 15 32
pareto_functions::cleanString()
A
44 13 45
pareto_functions::get_dir()
A
48 13 29
pareto_functions::integ_prop()
A
57 13 14
pareto_functions::htaccessbanip()
A
49 12 26
pareto_functions::remove_empty_lines()
A
53 12 21
pareto_functions::ipv4_inrange()
A
46 11 36
pareto_functions::load_lists()
A
48 11 30
pareto_functions::get_ip()
A
52 11 24
pareto_settings::safelist_box()
A
51 11 21
pareto_functions::flood_check()
A
46 10 36
pareto_functions::_HTTP_HEADER_SHIELD()
A
48 10 32
pareto_functions::get_filename()
A
57 11 13
TorDNSEL::expandIPv6Address()
A
47 9 35
pareto_settings::update_setting()
A
57 10 14
pareto_functions::get_serverip()
A
59 10 12
TorDNSEL::parseDnsResponse()
A
42 7 55
Logjam_Filter::logjam_check()
A
53 9 20
pareto_functions::datalist()
A
54 9 18
pareto_functions::_LOGIN_SHIELD()
A
55 9 16
pareto_functions::logfile_cleanup()
A
58 9 13
pareto_functions::instr_url()
A
54 8 20
pareto_functions::getREMOTE_ADDR()
S
63 9 9
pareto_functions::get_http_host()
S
57 8 13
TorDNSEL::assertPositiveResponse()
S
53 7 25
pareto_settings::log_pop()
S
53 7 22
pareto_functions::__construct()
S
57 7 15
pareto_functions::decode_code()
S
59 7 12
pareto_functions::updated()
S
59 7 12
pareto_functions::get_uuid()
S
47 5 39
pareto_functions::check_usernames()
S
52 6 22
pareto_functions::lockdown_mode()
S
52 6 22
pareto_functions::log_request()
S
53 6 21
pareto_settings::metaboxes()
S
48 5 35
pareto_functions::iphash_db_cleanup()
S
55 6 19
pareto_functions::check_ip()
S
67 7 6
pareto_functions::get_url_content()
S
59 6 13
pareto_functions::ip_hasher()
S
61 6 12
pareto_functions::_QUERYSTRING_SHIELD()
S
61 6 11
pareto_functions::_set_error_level()
S
57 5 18
pareto_functions::set_safe_domain()
S
57 5 16
pareto_functions::do_blacklists()
S
68 6 5
pareto_settings::find_in_array()
S
62 6 10
pareto_functions::get_real_path()
S
58 5 15
pareto_functions::fix_hosts()
S
58 5 14
pareto_functions::add_carriage()
S
59 5 13
TorDNSEL::readDNSRR()
S
50 4 28
pareto_functions::cmpstr()
S
61 5 13
pareto_functions::get_file_perms()
S
61 5 12
pareto_functions::create_fileset()
S
51 4 25
pareto_functions::x_secure_headers()
S
54 4 22
TorDNSEL::readDNSName()
S
54 4 21
pareto_settings::update_logfile()
S
56 4 18
pareto_functions::update_admin_ip()
S
56 4 17
pareto_functions::get_wp_key()
S
57 4 16
pareto_functions::is_admin_ip()
S
67 5 6
pareto_functions::is_ip_address()
S
58 4 15
pareto_functions::remove_ports()
S
68 5 6
pareto_functions::querystring_filter()
S
60 4 12
pareto_functions::getURL()
S
60 4 11
pareto_functions::is_tor()
S
61 4 11
pareto_settings::render()
S
50 2 38
TorDNSEL::dnsLookup()
S
57 3 16
pareto_functions::xml_rpc_auth()
S
58 3 16
pareto_functions::checkfilename()
S
68 4 6
pareto_functions::on_login()
S
67 4 7
pareto_settings::do_settings_box()
S
72 4 5
pareto_functions::string_prop()
S
67 4 7
pareto_functions::controlchar_filter()
S
64 4 9
pareto_settings::count_banned_ips()
S
63 4 10
pareto_settings::cleanRequestInput()
S
66 4 8
pareto_settings::check_settings()
S
69 4 6
TorDNSEL::string_prop()
S
67 4 7
pareto_functions::controlchar_exists()
S
64 4 9
pareto_security_init()
S
51 2 29
TorDNSEL::getTorDNSELName()
S
59 3 14
pareto_functions::flatten()
S
61 3 12
pareto_functions::pass_check()
S
62 3 11
pareto_functions::ipv6_range_tester()
S
51 2 25
TorDNSEL::generateDNSQuery()
S
55 2 21
pareto_functions::get_all_pages_urls()
S
55 2 19
pareto_settings::admin_menu()
S
57 2 17
pareto_settings::add_to_admin_menu()
S
59 2 16
pareto_functions::getREQUEST_URI()
S
67 3 7
TorDNSEL::getFingerprints()
S
63 3 10
pareto_functions::get_servername()
S
68 3 7
pareto_functions::on_logout()
S
68 3 7
pareto_functions::check_filenames()
S
66 3 7
pareto_functions::remove_comments()
S
63 3 10
TorDNSEL::get_server_name()
S
68 3 7
pareto_functions::cookie_filter()
S
63 3 9
pareto_functions::set_timestamp()
S
68 3 6
TorDNSEL::isTor()
S
66 3 7
pareto_functions::getQUERY_STRING()
S
68 3 7
pareto_functions::ip_filter()
S
61 2 12
pareto_functions::do_bcrypt()
S
61 2 11
pareto_settings::info_box()
S
59 1 16
pareto_settings::admin_head()
S
100 1 16
pareto_functions::_COOKIE_SHIELD()
S
68 2 8
TorDNSEL::performDNSLookup()
S
62 2 10
pareto_functions::my_get_current_user_roles()
S
66 2 9
pareto_functions::curl_get_file_contents()
S
65 2 9
pareto_functions::_activate()
S
60 1 15
pareto_functions::write_log_non_wp()
S
63 2 10
Logjam_Filter::decoder()
S
67 2 7
pareto_functions::logfile_name()
S
65 2 8
pareto_functions::htmlentities_decode_safe()
S
62 2 10
pareto_functions::url_decoder()
S
68 2 7
pareto_functions::do_filters()
S
74 2 4
pareto_functions::is_iis()
S
68 2 7
pareto_functions::write_htaccess()
S
64 2 9
TorDNSEL::query()
S
64 2 9
pareto_functions::ipv6_inrange()
S
63 2 10
pareto_settings::define_plugin_settings()
S
66 2 7
pareto_settings::add_plugin_action_links()
S
67 2 7
pareto_functions::do_security_settings()
S
64 2 10
pareto_functions::logfile_exists()
S
78 2 3
pareto_settings::__construct()
S
63 2 10
pareto_functions::htmlentities_safe()
S
67 2 7
pareto_functions::ipv6_numeric()
S
66 2 7
pareto_functions::is_qc()
S
67 2 8
pareto_functions::get_ulid()
S
71 2 5
pareto_settings::enqueue_scripts()
S
65 2 8
pareto_functions::advanced_mode()
S
69 2 7
pareto_functions::_deactivate()
S
66 2 8
pareto_functions::http_status()
S
62 1 13
TorDNSEL::readDNSQuestion()
S
61 1 12
pareto_functions::dirfile_perms()
S
74 1 4
pareto_settings::get_ver()
S
81 1 3
pareto_functions::set_crypto_key_file()
S
78 1 3
pareto_setup::__construct()
S
83 1 3
pareto_settings::get_field_value()
S
80 1 3
pareto_functions::get_wp_current_user()
S
74 1 5
pareto_functions::file_created()
S
75 1 4
TorDNSEL::IpPort()
S
79 1 3
pareto_settings::get_field_id()
S
79 1 3
pareto_functions::send403()
S
78 1 4
TorDNSEL::__construct()
S
98 1 1
pareto_settings::save_settings()
S
71 1 8
pareto_functions::substri_count()
S
79 1 3
pareto_functions::is_log4shell()
S
71 1 5
pareto_settings::js_includes()
S
82 1 3
pareto_functions::send200()
S
78 1 4
pareto_settings::donations_box()
S
100 1 10
pareto_settings::admin_init()
S
74 1 5
pareto_settings::get_field_name()
S
79 1 3