Code Analysis: CommonsBooking 2.9.3

Most Complex Functions

Function Rating Complexity
CommonsBooking\Map\MapAdmin::validate_options()
D
72
CommonsBooking\View\Booking::getBookingListData()
D
40
CommonsBooking\Wordpress\CustomPostType\Booking::handleBookingRequest()
D
31
CommonsBooking\Model\Timeframe::isValid()
C
25
CommonsBooking\Migration\Migration::migrateAll()
C
19
CommonsBooking\View\Calendar::renderTable()
B
20
CommonsBooking\Wordpress\CustomPostType\Restriction::setCustomColumnsData()
B
22
CommonsBooking\Service\BookingRuleApplied::init()
B
21
CommonsBooking\Wordpress\CustomPostType\Booking::setCustomColumnsData()
B
22
CommonsBooking\Wordpress\CustomPostType\Map::get_locations()
B
19
CommonsBooking\View\View::getShortcodeData()
B
20
CommonsBooking\Wordpress\CustomPostType\Timeframe::getCustomFields()
B
3