-
Home
-
Hotel Booking Lite
-
4.1.0
-
Code
-
Classes
- HotelBookingPlugin
Total Complexity |
158 |
Dependencies |
74 |
Dependents |
1 |
Total lines |
1,620 |
Lines of code |
682 |
Logical lines of code |
335 |
Comment lines |
574 |
Methods |
106 |
Properties |
74 |
Methods 106
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
removeUserRoles() |
A |
52 |
9 |
26 |
deactivate() |
A |
56 |
9 |
15 |
setupRoomTypeMicrodata() |
S |
49 |
5 |
29 |
loadTextDomain() |
S |
54 |
5 |
19 |
setPluginDirPathAndUrl() |
S |
57 |
5 |
16 |
__construct() |
S |
58 |
5 |
14 |
createPages() |
S |
41 |
1 |
61 |
activate() |
S |
57 |
4 |
16 |
afterConstruct() |
S |
44 |
2 |
43 |
createTables() |
S |
43 |
1 |
57 |
setCurrentRoomType() |
S |
65 |
4 |
9 |
initAutoUpdater() |
S |
60 |
3 |
12 |
createNewBlog() |
S |
62 |
3 |
12 |
isAjax() |
S |
69 |
3 |
7 |
pushRoomTypeMicrodata() |
S |
67 |
3 |
8 |
enqueuePublicScripts() |
S |
69 |
3 |
8 |
addActions() |
S |
59 |
2 |
13 |
initRepositories() |
S |
51 |
1 |
23 |
enqueueAdminScripts() |
S |
72 |
2 |
6 |
getInstance() |
S |
69 |
2 |
7 |
isWPVersion() |
S |
75 |
1 |
4 |
getRatePersistence() |
S |
82 |
1 |
3 |
getPaymentPersistence() |
S |
82 |
1 |
3 |
getSeasonPersistence() |
S |
82 |
1 |
3 |
getServicePersistence() |
S |
82 |
1 |
3 |
getBookingPersistence() |
S |
82 |
1 |
3 |
getRoomPersistence() |
S |
82 |
1 |
3 |
reservationRequest() |
S |
82 |
1 |
3 |
getAttributesPersistence() |
S |
82 |
1 |
3 |
getRoomTypePersistence() |
S |
82 |
1 |
3 |
emails() |
S |
82 |
1 |
3 |
searchParametersStorage() |
S |
82 |
1 |
3 |
afterInstall() |
S |
74 |
1 |
5 |
install() |
S |
81 |
1 |
3 |
getBlocksRender() |
S |
82 |
1 |
3 |
getRateRepository() |
S |
82 |
1 |
3 |
getReservedRoomPersistence() |
S |
82 |
1 |
3 |
getAttributeRepository() |
S |
82 |
1 |
3 |
setCustomRolesVersion() |
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 |
paymentManager() |
S |
82 |
1 |
3 |
gatewayManager() |
S |
82 |
1 |
3 |
getSyncUrlsRepository() |
S |
82 |
1 |
3 |
getCouponPersistence() |
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 |
getBookingRepository() |
S |
82 |
1 |
3 |
getPublicScriptManager() |
S |
82 |
1 |
3 |
getRoomRepository() |
S |
82 |
1 |
3 |
getRoomTypeRepository() |
S |
82 |
1 |
3 |
getAdminScriptManager() |
S |
82 |
1 |
3 |
getEditBookingMenuPage() |
S |
82 |
1 |
3 |
getUserActions() |
S |
82 |
1 |
3 |
getProductSlug() |
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 |
userActions() |
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 |
notices() |
S |
82 |
1 |
3 |
cronManager() |
S |
82 |
1 |
3 |
getBookingsExporter() |
S |
82 |
1 |
3 |
getShortcodesMenuPage() |
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 |
getCalendarMenuPage() |
S |
82 |
1 |
3 |
getRoomsGeneratorMenuPage() |
S |
82 |
1 |
3 |
getSettingsMenuPage() |
S |
82 |
1 |
3 |
getSession() |
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 |
deleteBlog() |
S |
64 |
1 |
10 |
getTemplatePath() |
S |
79 |
1 |
3 |
getCustomRolesVersion() |
S |
80 |
1 |
3 |