WP_Maintenance_Mode D

Total Complexity 258
Dependencies 3
Dependents 1
Total lines 1,429
Lines of code 904
Logical lines of code 464
Comment lines 336
Methods 38
Properties 7

Methods 38

Method Rating Maintainability Complexity Lines of code
single_activate()
D
26
38 157
__construct()
D
31 31 94
init()
C
36 30 60
add_inline_css_style()
B
41 19 50
add_js_files()
A
46 16 34
send_contact()
A
44 13 38
check_exclude()
A
50 10 25
add_google_analytics_code()
S
54 7 22
default_settings()
S
35 2 95
add_subscriber()
S
55 7 17
redirect()
S
57 7 17
add_style_fse()
S
52 6 25
otter_add_subscriber()
S
55 6 20
add_css_files()
S
57 6 14
check_user_role()
S
59 6 13
check_search_bots()
S
46 4 40
activate()
S
55 5 20
use_maintenance_template()
S
57 5 18
add_bot_extras()
S
54 5 18
deactivate()
S
58 5 16
insert_subscriber()
S
58 3 16
get_page_status_by_category()
S
64 4 10
calculate_backtime()
S
66 3 7
check_update()
S
69 3 6
activate_new_site()
S
64 3 10
get_instance()
S
71 2 6
sanitize_ip()
S
78 1 3
load_plugin_textdomain()
S
68 1 6
add_maintenance_template()
S
67 1 8
get_blog_ids()
S
74 1 4
remember_style_fse()
S
64 1 10
single_deactivate()
S
81 1 3
get_page_categories()
S
68 1 7
get_plugin_network_settings()
S
82 1 3
get_plugin_settings()
S
82 1 3
get_plugin_slug()
S
82 1 3
set_current_page_category()
S
81 1 3
get_current_page_category()
S
82 1 3