Code Analysis: OSM Maintenance Mode 0.0.1

Function Rating Maintainability Complexity Lines of code
OSMMaintenance::do_admin_page()
S
52 7 24
OSMMaintenance::init()
S
65 4 8
OSMMaintenance::do_maintenance_check()
S
67 3 7
OSMMaintenance::__construct()
S
63 2 10
OSMMaintenance::get_user_ip()
S
74 2 4
OSMMaintenance::deactivate()
S
91 1 2
OSMMaintenance::admin_menu()
S
77 1 3
OSMMaintenance::updateWhitelist()
S
75 1 4
OSMMaintenance::activate()
S
91 1 2
OSMMaintenance::admin_notice()
S
77 1 5
OSMMaintenance::getWhitelist()
S
73 1 5