Code Analysis: OSM Maintenance Mode 0.0.1

Most Complex Classes

Class Rating Complexity
OSMMaintenance
S
24

Most Complex Functions

Function Rating Complexity
OSMMaintenance::do_admin_page()
S
7
OSMMaintenance::init()
S
4
OSMMaintenance::do_maintenance_check()
S
3
OSMMaintenance::__construct()
S
2
OSMMaintenance::get_user_ip()
S
2
OSMMaintenance::admin_menu()
S
1
OSMMaintenance::deactivate()
S
1
OSMMaintenance::getWhitelist()
S
1
OSMMaintenance::updateWhitelist()
S
1
OSMMaintenance::admin_notice()
S
1
OSMMaintenance::activate()
S
1