Code Analysis: CommonsBooking 2.7.2

Most Complex Functions

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