Code Analysis: CommonsBooking 2.6.12

Most Complex Functions

Function Rating Complexity
CommonsBooking\Map\MapAdmin::validate_options()
D
68
CommonsBooking\View\Booking::getBookingListData()
D
37
CommonsBooking\Model\Timeframe::isValid()
C
25
CommonsBooking\Migration\Migration::migrateAll()
C
19
CommonsBooking\Wordpress\CustomPostType\Restriction::setCustomColumnsData()
B
22
CommonsBooking\View\Calendar::renderTable()
B
19
CommonsBooking\View\View::getShortcodeData()
B
19
CommonsBooking\Wordpress\CustomPostType\Booking::handleFormRequest()
B
19
commonsbooking_isCurrentUserAllowedToEdit()
B
18
CommonsBooking\View\Calendar::renderItemLocationRow()
B
18
CommonsBooking\Wordpress\CustomPostType\Booking::setCustomColumnsData()
B
18
CommonsBooking\Wordpress\CustomPostType\Map::get_locations()
B
15