Code Analysis: Advanced Country Blocker 2.0.2

Function Rating Maintainability Complexity Lines of code
advcb_block_non_allowed_countries()
B
36 21 78
advcb_options_page()
A
36 8 106
advcb_get_countries()
A
24
1 211
advcb_block_logs_page()
A
43 7 53
advcb_plugin_activation()
S
48 5 32
advcb_record_block()
S
55 4 20
advcb_register_settings()
S
57 1 20
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