Code Analysis: Advanced Country Blocker 2.0.3

Function Rating Maintainability Complexity Lines of code
advcb_block_non_allowed_countries()
B
36 21 78
advcb_block_logs_page()
B
35 16 91
advcb_options_page()
A
35 8 117
advcb_get_countries()
A
24
1 211
advcb_record_block()
A
49 7 34
advcb_plugin_activation()
S
48 5 33
advcb_register_settings()
S
55 1 23
advcb_register_options_page()
S
59 1 19
advcb_sanitize_mode()
S
79 2 3
advcb_sanitize_allowed_countries()
S
74 2 4
advcb_sanitize_blacklisted_ips()
S
74 2 4
advcb_sanitize_boolean()
S
82 1 3
advcb_show_block_page()
S
71 1 7