HotelBookingPlugin D

Total Complexity 163
Dependencies 77
Dependents 1
Total lines 1,711
Lines of code 738
Logical lines of code 357
Comment lines 590
Methods 110
Properties 75

Methods 110

Method Rating Maintainability Complexity Lines of code
removeUserRoles()
A
52 9 26
deactivate()
A
56 9 15
setupRoomTypeMicrodata()
S
49 5 29
createTables()
S
38 1 83
loadTextDomain()
S
54 5 19
setPluginDirPathAndUrl()
S
57 5 16
__construct()
S
58 5 14
createPages()
S
40 1 66
activate()
S
57 4 16
afterConstruct()
S
44 2 44
setCurrentRoomType()
S
65 4 9
createNewBlog()
S
62 3 12
initAutoUpdater()
S
60 3 12
pushRoomTypeMicrodata()
S
67 3 8
isAjax()
S
69 3 7
enqueuePublicScripts()
S
69 3 8
addActions()
S
58 2 14
rewriteRules()
S
61 2 12
initRepositories()
S
51 1 23
enqueueAdminScripts()
S
72 2 6
getInstance()
S
69 2 7
deleteBlog()
S
62 1 12
isWPVersion()
S
75 1 4
reservationRequest()
S
82 1 3
getRoomTypePersistence()
S
82 1 3
getAttributesPersistence()
S
82 1 3
afterInstall()
S
74 1 5
getRatePersistence()
S
82 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
searchParametersStorage()
S
82 1 3
emails()
S
82 1 3
install()
S
81 1 3
getRoomPersistence()
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
getAdminScriptManager()
S
82 1 3
getRateRepository()
S
82 1 3
getBlocksRender()
S
82 1 3
getEditBookingMenuPage()
S
82 1 3
getPublicScriptManager()
S
82 1 3
getProductSlug()
S
82 1 3
notices()
S
82 1 3
settings()
S
82 1 3
getPluginStoreUri()
S
82 1 3
getName()
S
82 1 3
getVersion()
S
82 1 3
getAjaxUrl()
S
80 1 3
getPluginUrl()
S
80 1 3
getPluginPath()
S
80 1 3
getPluginDir()
S
82 1 3
getPluginSlug()
S
82 1 3
cronManager()
S
82 1 3
getTextDomain()
S
82 1 3
getSlug()
S
82 1 3
addPrefix()
S
79 1 3
getPrefix()
S
82 1 3
includeFiles()
S
68 1 8
requireOnce()
S
80 1 3
getRulesChecker()
S
82 1 3
initWidgets()
S
76 1 4
initBookingRules()
S
64 1 9
userActions()
S
82 1 3
getSession()
S
82 1 3
getUserActions()
S
82 1 3
getCalendarMenuPage()
S
82 1 3
getBookingsExporter()
S
82 1 3
getImporter()
S
82 1 3
getExtensionsPage()
S
82 1 3
getReportsPage()
S
82 1 3
getReport()
S
81 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