HotelBookingPlugin D

Total Complexity 163
Dependencies 80
Dependents 5
Total lines 1,711
Lines of code 752
Logical lines of code 358
Comment lines 587
Methods 108
Properties 84

Methods 108

Method Rating Maintainability Complexity Lines of code
removeUserRoles()
A
52 9 26
deactivate()
A
56 9 15
afterConstruct()
S
38 3 66
setupRoomTypeMicrodata()
S
48 5 34
createTables()
S
38 1 83
loadTextDomain()
S
54 5 19
setPluginDirPathAndUrl()
S
57 5 16
__construct()
S
59 5 13
createPages()
S
39 1 73
rewriteRules()
S
54 4 22
activate()
S
57 4 16
setCurrentRoomType()
S
65 4 9
initAutoUpdater()
S
60 3 12
createNewBlog()
S
61 3 12
isAjax()
S
69 3 7
pushRoomTypeMicrodata()
S
67 3 8
enqueuePublicScripts()
S
69 3 8
initRepositories()
S
51 1 23
enqueueAdminScripts()
S
72 2 6
getInstance()
S
69 2 7
deleteBlog()
S
62 1 12
reservationRequest()
S
82 1 3
getRoomTypePersistence()
S
82 1 3
getAttributesPersistence()
S
82 1 3
getRoomPersistence()
S
82 1 3
install()
S
80 1 3
getBookingPersistence()
S
82 1 3
getServicePersistence()
S
82 1 3
getSeasonPersistence()
S
82 1 3
getPaymentPersistence()
S
82 1 3
getReservedRoomPersistence()
S
82 1 3
getCouponPersistence()
S
82 1 3
isWPVersion()
S
75 1 4
afterInstall()
S
74 1 5
searchParametersStorage()
S
82 1 3
getRatePersistence()
S
82 1 3
getBookingRepository()
S
82 1 3
getRoomTypeRepository()
S
82 1 3
paymentManager()
S
82 1 3
setCustomRolesVersion()
S
79 1 3
account()
S
82 1 3
customers()
S
79 1 3
roles()
S
82 1 3
capabilitiesAndRoles()
S
82 1 3
translation()
S
82 1 3
isWpSupportsTermmeta()
S
79 1 3
isSiteSSL()
S
78 1 3
getPluginData()
S
75 1 4
gatewayManager()
S
82 1 3
getRoomRepository()
S
82 1 3
getAttributeRepository()
S
82 1 3
getSyncUrlsRepository()
S
82 1 3
getCouponRepository()
S
82 1 3
getReservedRoomRepository()
S
82 1 3
getPaymentRepository()
S
82 1 3
getSeasonRepository()
S
82 1 3
getServiceRepository()
S
82 1 3
getBlocksRender()
S
82 1 3
getRateRepository()
S
82 1 3
emails()
S
82 1 3
getEditBookingMenuPage()
S
82 1 3
getAdminScriptManager()
S
82 1 3
getAjaxUrl()
S
80 1 3
notices()
S
82 1 3
settings()
S
82 1 3
getBookingsCoreAPIFacade()
S
82 1 3
getPricesCoreAPIFacade()
S
82 1 3
getRoomsAvailabilityCoreAPIFacade()
S
82 1 3
getRoomsCoreAPIFacade()
S
82 1 3
getPluginStoreUri()
S
82 1 3
getName()
S
82 1 3
getVersion()
S
82 1 3
getPluginUrl()
S
80 1 3
cronManager()
S
82 1 3
getPluginPath()
S
80 1 3
getPluginDir()
S
82 1 3
getProductSlug()
S
82 1 3
getPluginSlug()
S
82 1 3
getTextDomain()
S
82 1 3
getSlug()
S
82 1 3
addPrefix()
S
79 1 3
getPrefix()
S
82 1 3
requireOnce()
S
80 1 3
userActions()
S
82 1 3
getSession()
S
82 1 3
getPublicScriptManager()
S
82 1 3
getCalendarMenuPage()
S
82 1 3
getUserActions()
S
82 1 3
getBookingsExporter()
S
82 1 3
getImporter()
S
82 1 3
getExtensionsPage()
S
82 1 3
getReportsPage()
S
82 1 3
getICalMenuPage()
S
82 1 3
getTaxesAndFeesPage()
S
82 1 3
getBookingRulesPage()
S
82 1 3
getCustomersMenuPage()
S
82 1 3
getRoomsGeneratorMenuPage()
S
82 1 3
getTemplatePath()
S
79 1 3
getShortcodesMenuPage()
S
82 1 3
getSettingsMenuPage()
S
82 1 3
upgrader()
S
82 1 3
getAjax()
S
82 1 3
getShortcodes()
S
82 1 3
menus()
S
82 1 3
postTypes()
S
82 1 3
getAdvanced()
S
82 1 3
getCurrentRoomType()
S
82 1 3
getCustomRolesVersion()
S
80 1 3