Code Analysis: Hotel Booking Lite 4.7.4

Class Rating Complexity Lines of code
MPHB\BookingsCalendar
D
203 799
HotelBookingPlugin
D
162 749
MPHB\Ajax
C
122 465
MPHB\Admin\ManageCPTPages\BookingManageCPTPage
C
119 507
MPHB\UsersAndRoles\Customers
B
100 397
MPHB\Entities\Booking
B
100 313
MPHB\Advanced\Api\ApiAuthentication
B
96 316
MPHB\Shortcodes\CheckoutShortcode\StepBooking
B
95 314
MPHB\BookingRules\Custom\CustomRules
B
94 284
MPHB\Views\Shortcodes\CheckoutView
B
94 749
MPHB\Emails\Templaters\EmailTemplater
B
94 463
MPHB\Libraries\WP_Meta_Query\WP_Meta_Query
B
92 294
MPHB\Upgrader
B
91 502
MPHB\Shortcodes\SearchResultsShortcode
B
88 594
MPHB\Advanced\Api\Data\BookingData
B
87 743
MPHB\Payments\Gateways\Paypal\IpnListener
B
85 246
MPHB\Payments\Gateways\Gateway
B
84 293
MPHB\Reports\EarningsReport
B
83 418
MPHB\Settings\MainSettings
B
83 261
MPHB\Libraries\Emogrifier\Emogrifier
B
82 363
MPHB\Libraries\EDD_Plugin_Updater\EDD_Plugin_Updater
B
82 266
MPHB\PostTypes\AttributesCPT
B
79 374
MPHB\Advanced\Api\Controllers\AbstractRestObjectController
B
79 472
MPHB\Utils\ParseUtils
B
76 217
MPHB\Advanced\Api\Controllers\AbstractRestTermsController
B
76 529
MPHB\Entities\ReservedRoom
A
75 320
MPHB\Views\BookingView
A
73 307
MPHB\Views\SingleRoomTypeView
A
72 251
MPHB\Importer
A
71 172
MPHB\Translation
A
70 259
MPHB\Admin\MenuPages\SettingsMenuPage
A
70 843
MPHB\CSV\Bookings\BookingsExporterHelper
A
69 366
MPHB\Emails\AbstractEmail
A
65 264
MPHB\Entities\AbstractCoupon
A
63 133
MPHB\Recommendation
A
63 182
MPHB\TaxesAndFees\TaxesAndFees
A
61 172
MPHB\Advanced\Api\Data\AccommodationTypeData
A
59 462
MPHB\Advanced\Api\Controllers\AbstractRestController
A
59 266
MPHB\Shortcodes\AccountShortcode
A
58 249
MPHB\Utils\DateUtils
A
57 231
MPHB\Libraries\WP_Background_Processing\WP_Background_Process
A
55 208
MPHB\Core\RoomAvailabilityHelper
A
54 174
MPHB\Views\LoopRoomTypeView
A
54 167
MPHB\Admin\Fields\VariablePricingField
A
53 260
MPHB\Admin\Fields\InputField
A
53 135
MPHB\Admin\ManageCPTPages\PaymentManageCPTPage
A
52 193
MPHB\Widgets\SearchAvailabilityWidget
S
49 197
MPHB\Shortcodes\BookingConfirmationShortcode
S
48 236
MPHB\Utils\BookingDetailsUtil
S
47 202
MPHB\Admin\Fields\RulesListField
S
47 169
MPHB\Admin\Fields\AmountField
S
45 146
MPHB\Wizard
S
45 180
MPHB\Shortcodes\CheckoutShortcode\StepCheckout
S
44 219
MPHB\Advanced\Api\Data\PaymentData
S
42 251
MPHB\BookingRules\Custom\CustomRule
S
42 129
MPHB\Reports\Data\ReportByDatesData
S
41 150
MPHB\Admin\Groups\MetaBoxGroup
S
41 122
MPHB\Shortcodes\SearchShortcode
S
41 125
MPHB\CSV\Bookings\BookingsQuery
S
41 144
MPHB\Emails\Templaters\ReservedRoomsTemplater
S
40 160
MPHB\Admin\Fields\NotesListField
S
40 198
MPHB\Admin\ManageCPTPages\RateManageCPTPage
S
40 167
MPHB\Shortcodes\CheckoutShortcode
S
40 116
MPHB\UserActions\BookingCancellationAction
S
40 120
MPHB\Advanced\Admin\Tab\Subtabs\ApiKeys\ApiKeys
S
39 145
MPHB\PostTypes\ServiceCPT
S
38 204
MPHB\Widgets\RoomsWidget
S
38 162
MPHB\Admin\Tabs\SettingsTab
S
38 136
MPHB\PostTypes\PaymentCPT\Statuses
S
37 164
MPHB\Admin\Groups\LicenseSettingsGroup
S
36 170
MPHB\PostTypes\RoomTypeCPT
S
36 364
MPHB\Advanced\Api\Data\RateData
S
36 228
MPHB\Admin\Fields\ComplexVerticalField
S
36 117
MPHB\Admin\EditCPTPages\BookingEditCPTPage
S
36 179
MPHB\Advanced\Api\Controllers\V1\AccommodationTypeImagesController
S
36 341
MPHB\Persistences\CPTPersistence
S
36 142
MPHB\Advanced\Api\Data\CouponData
S
35 229
MPHB\Admin\Fields\MultipleCheckboxField
S
35 103
MPHB\Admin\EditCPTPages\EditCPTPage
S
35 88
MPHB\Admin\MenuPages\CustomersMenuPage
S
34 284
MPHB\Advanced\Api\Controllers\V1\BookingAvailabilityController
S
34 255
MPHB\Entities\Payment
S
33 99
MPHB\Persistences\RoomPersistence
S
33 168
MPHB\SearchParametersStorage
S
32 104
MPHB\ActionsHandler
S
32 90
MPHB\UsersAndRoles\User
S
32 150
MPHB\Admin\Fields\FieldFactory
S
32 102
MPHB\Persistences\BookingPersistence
S
32 132
MPHB\PostTypes\BookingCPT\Statuses
S
31 180
MPHB\Entities\Rate
S
31 102
MPHB\Repositories\BookingRepository
S
30 214
MPHB\Repositories\RoomRepository
S
30 189
MPHB\ScriptManagers\PublicScriptManager
S
30 230
MPHB\UsersAndRoles\CapabilitiesAndRoles
S
30 154
MPHB\Advanced\Api\Controllers\V1\BookingsController
S
29 132
MPHB\UserActions\BookingConfirmationAction
S
28 93
MPHB\Admin\Fields\NumberField
S
28 48
MPHB\Entities\Service
S
28 90
MPHB\Libraries\WP_SessionManager\WP_Session
S
28 103
MPHB\Admin\Groups\InputGroup
S
27 71
MPHB\Emails\Emails
S
27 195
MPHB\Advanced\Admin\Tab\Subtabs\ApiKeys\ApiKeysTableList
S
26 150
MPHB\BackgroundPausableProcess
S
26 79
MPHB\Reports\Data\ReportEarningsByDatesData
S
26 136
MPHB\Advanced\Api\Controllers\V1\TaxesAndFeesController
S
26 244
MPHB\Admin\ManageCPTPages\RoomTypeManageCPTPage
S
26 132
MPHB\CSV\Bookings\BookingsExporter
S
26 112
MPHB\BlocksRender
S
26 81
MPHB\Admin\Fields\TextField
S
26 66
MPHB\Admin\MenuPages\ExtensionsMenuPage
S
25 122
MPHB\Admin\Fields\ComplexHorizontalField
S
24 87
MPHB\Advanced\Api\Controllers\AbstractRestOptionsController
S
24 112
MPHB\PostTypes\PaymentCPT
S
23 246
MPHB\Advanced\Api\Data\SeasonData
S
23 138
MPHB\Admin\MenuPages\BookingRulesMenuPage
S
23 520
MPHB\Admin\MenuPages\TaxesAndFeesMenuPage
S
23 404
MPHB\Entities\ReservedService
S
23 90
MPHB\Admin\EditCPTPages\RateEditCPTPage
S
23 136
MPHB\Repositories\CouponRepository
S
22 119
MPHB\Admin\MenuPages\ShortcodesMenuPage
S
22 644
MPHB\Entities\WPPostData
S
22 66
MPHB\Advanced\Api\Data\OptionsSchema
S
22 79
MPHB\ScriptManagers\ScriptManager
S
22 85
MPHB\Payments\Gateways\AbstractNotificationListener
S
22 42
MPHB\PostTypes\BookingCPT\Logs
S
21 100
MPHB\Shortcodes\RoomsShortcode
S
20 143
MPHB\Admin\ManageCPTPages\CouponManageCPTPage
S
20 74
MPHB\ReservationRequest
S
20 67
MPHB\Admin\MenuPages\RoomsGeneratorMenuPage
S
20 118
MPHB\Repositories\ReservedRoomRepository
S
19 94
MPHB\Shortcodes\CheckoutShortcode\Step
S
19 83
MPHB\Settings\CurrencySettings
S
18 59
MPHB\Admin\Groups\SettingsGroup
S
18 79
MPHB\Admin\EditCPTPages\RoomTypeEditCPTPage
S
18 162
MPHB\Advanced\Admin\Tab\Subtabs\ApiKeys\ApiKeysAjax
S
18 127
MPHB\Advanced\Api\Data\DataFactory
S
18 159
MPHB\AjaxApi\GetRoomTypeAvailabilityData
S
18 129
MPHB\Repositories\RateRepository
S
18 105
MPHB\BookingRules\AbstractRulesList
S
18 49
MPHB\ScriptManagers\AdminScriptManager
S
18 108
MPHB\Repositories\RoomTypeRepository
S
17 101
MPHB\BookingRules\Reservation\ReservationRulesList
S
17 73
MPHB\Admin\Fields\MediaField
S
17 56
MPHB\Admin\ManageCPTPages\AttributesManageCPTPage
S
17 80
MPHB\Reports\ReportFilters
S
17 63
MPHB\Advanced\Api\Controllers\V1\BookingRulesController
S
17 195
MPHB\Emails\Templaters\AbstractTemplater
S
16 76
MPHB\Advanced\Api\Data\ServiceData
S
16 172
MPHB\Admin\EditCPTPages\PaymentEditCPTPage
S
16 96
MPHB\Persistences\AttributesPersistence
S
15 53
MPHB\Advanced\Api\Data\AccommodationData
S
15 79
MPHB\Advanced\Api\Controllers\V1\PaymentsController
S
15 56
MPHB\Entities\SeasonPrice
S
15 60
MPHB\AjaxApi\GetRoomTypeCalendarData
S
15 97
MPHB\Admin\Fields\AbstractComplexField
S
14 37
MPHB\Reports\Report
S
14 42
MPHB\AjaxApi\GetAdminCalendarBookingInfo
S
14 177
MPHB\Shortcodes\AbstractShortcode
S
14 52
MPHB\Payments\Gateways\BankGateway
S
14 121
MPHB\Reports\AbstractReport
S
13 61
MPHB\PostTypes\BookingCPT
S
13 209
MPHB\Admin\Fields\ActionButtonField
S
13 40
MPHB\AjaxApi\AjaxApiHandler
S
12 36
MPHB\Admin\EditCPTPages\AttributesEditCPTPage
S
12 75
MPHB\Advanced\Api\Controllers\V1\AccommodationsController
S
11 71
MPHB\Upgrades\BackgroundBookingUpgrader_2_0_0
S
11 48
MPHB\Admin\ManageCPTPages\SeasonManageCPTPage
S
11 41
MPHB\Views\ViewActions
S
11 360
MPHB\UserActions\ActionLinkHelper
S
10 41
MPHB\Admin\ManageCPTPages\ServiceManageCPTPage
S
10 38
MPHB\PostTypes\CouponCPT
S
10 200
MPHB\Upgrades\BackgroundBookingUpgrader_4_2_0
S
10 34
MPHB\Bundles\CurrencyBundle
S
10 365
MPHB\Admin\Fields\InstallPluginField
S
10 28
MPHB\Bundles\CustomerBundle
S
10 129
MPHB\LicenseNotice
S
10 65
MPHB\Repositories\ServiceRepository
S
9 60
MPHB\Advanced\Api\Controllers\V1\AccommodationTypeAttributeTermsController
S
8 128
MPHB\Admin\Fields\ServiceChooserField
S
8 43
MPHB\Admin\MenuPages\UpgradeToPremiumMenuPage
S
8 152
MPHB\Views\GlobalView
S
8 44
MPHB\Views\CreateBooking\CheckoutView
S
7 86
MPHB\Crons\DeleteOldSyncLogsCron
S
7 20
MPHB\ScriptManagers\BlockScriptManager
S
6 139
MPHB\Bundles\CountriesBundle
S
6 268
MPHB\Views\ReservedRoomView
S
5 28

176 more item(s) not shown.