HotelBookingPlugin D

Total Complexity 142
Dependencies 69
Dependents 1
Total lines 1,496
Lines of code 608
Logical lines of code 306
Comment lines 553
Methods 99
Properties 72

Methods 99

Method Rating Maintainability Complexity Lines of code
deactivate()
S
56 8 15
setupRoomTypeMicrodata()
S
49 5 29
loadTextDomain()
S
54 5 19
setPluginDirPathAndUrl()
S
57 5 16
__construct()
S
58 5 14
activate()
S
57 4 16
afterConstruct()
S
45 2 39
createPages()
S
42 1 53
setCurrentRoomType()
S
65 4 9
initAutoUpdater()
S
60 3 12
createNewBlog()
S
62 3 12
createTables()
S
47 1 40
enqueuePublicScripts()
S
69 3 8
isAjax()
S
69 3 7
pushRoomTypeMicrodata()
S
67 3 8
addActions()
S
59 2 13
initRepositories()
S
52 1 22
getInstance()
S
69 2 7
enqueueAdminScripts()
S
72 2 6
reservationRequest()
S
82 1 3
isWPVersion()
S
75 1 4
getBlocksRender()
S
82 1 3
install()
S
81 1 3
afterInstall()
S
74 1 5
searchParametersStorage()
S
82 1 3
getPublicScriptManager()
S
82 1 3
getRoomTypePersistence()
S
82 1 3
getAttributesPersistence()
S
82 1 3
getRatePersistence()
S
82 1 3
emails()
S
82 1 3
getRoomPersistence()
S
82 1 3
getAdminScriptManager()
S
82 1 3
getCouponPersistence()
S
82 1 3
getBookingPersistence()
S
82 1 3
getPaymentRepository()
S
82 1 3
isWpSupportsTermmeta()
S
79 1 3
isSiteSSL()
S
78 1 3
getPluginData()
S
75 1 4
paymentManager()
S
82 1 3
gatewayManager()
S
82 1 3
getSyncUrlsRepository()
S
82 1 3
getCouponRepository()
S
82 1 3
getReservedRoomRepository()
S
82 1 3
getSeasonRepository()
S
82 1 3
getServicePersistence()
S
82 1 3
getServiceRepository()
S
82 1 3
getBookingRepository()
S
82 1 3
getRateRepository()
S
82 1 3
getRoomRepository()
S
82 1 3
getRoomTypeRepository()
S
82 1 3
getBookingsExporter()
S
82 1 3
getReservedRoomPersistence()
S
82 1 3
getPaymentPersistence()
S
82 1 3
getSeasonPersistence()
S
82 1 3
getUserActions()
S
82 1 3
getBookingRulesPage()
S
82 1 3
getImporter()
S
82 1 3
getPluginSlug()
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
getProductSlug()
S
82 1 3
getTextDomain()
S
82 1 3
notices()
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
settings()
S
82 1 3
userActions()
S
82 1 3
getExtensionsPage()
S
82 1 3
getSettingsMenuPage()
S
82 1 3
getReportsPage()
S
82 1 3
getReport()
S
81 1 3
getEditBookingMenuPage()
S
82 1 3
getICalMenuPage()
S
82 1 3
getTaxesAndFeesPage()
S
82 1 3
getCalendarMenuPage()
S
82 1 3
getRoomsGeneratorMenuPage()
S
82 1 3
getShortcodesMenuPage()
S
82 1 3
upgrader()
S
82 1 3
cronManager()
S
82 1 3
getAjax()
S
82 1 3
getShortcodes()
S
82 1 3
menus()
S
82 1 3
postTypes()
S
82 1 3
getCurrentRoomType()
S
82 1 3
deleteBlog()
S
64 1 10
getTemplatePath()
S
79 1 3
getSession()
S
82 1 3
translation()
S
82 1 3