Code Analysis: Hotel Booking Lite 5.0.3

Class Rating Complexity Lines of code
MPHB\BookingsCalendar
D
209 885
MPHB\Core\BookingRulesData
D
199 480
HotelBookingPlugin
D
165 770
MPHB\Ajax
C
122 512
MPHB\Admin\ManageCPTPages\BookingManageCPTPage
C
119 535
MPHB\Upgrader
C
110 608
MPHB\UsersAndRoles\Customers
B
100 400
MPHB\Entities\Coupon
B
100 249
MPHB\Advanced\Api\ApiAuthentication
B
96 316
MPHB\Views\Shortcodes\CheckoutView
B
95 805
MPHB\Emails\Templaters\EmailTemplater
B
94 463
MPHB\Entities\Booking
B
93 303
MPHB\Libraries\WP_Meta_Query\WP_Meta_Query
B
92 334
MPHB\Shortcodes\CheckoutShortcode\StepBooking
B
90 312
MPHB\Settings\MainSettings
B
89 279
MPHB\Shortcodes\SearchResultsShortcode
B
88 617
MPHB\Advanced\Api\Data\BookingData
B
87 783
MPHB\Core\RoomAvailabilityHelper
B
85 387
MPHB\Payments\Gateways\Paypal\IpnListener
B
85 246
MPHB\Payments\Gateways\Gateway
B
84 293
MPHB\Reports\EarningsReport
B
83 437
MPHB\Utils\ParseUtils
B
83 265
MPHB\Views\BookingView
B
83 421
MPHB\Libraries\EDD_Plugin_Updater\EDD_Plugin_Updater
B
82 292
MPHB\Libraries\Emogrifier\Emogrifier
B
82 410
MPHB\CSV\Bookings\BookingsExporterHelper
B
81 312
MPHB\Advanced\Api\Controllers\AbstractRestObjectController
B
79 505
MPHB\PostTypes\AttributesCPT
B
79 410
MPHB\Utils\DateUtils
B
77 301
MPHB\Advanced\Api\Controllers\AbstractRestTermsController
B
76 559
MPHB\Admin\MenuPages\SettingsMenuPage
A
72 1,160
MPHB\Views\SingleRoomTypeView
A
71 249
MPHB\Importer
A
70 172
MPHB\Core\PriceBreakdownHelper
A
69 331
MPHB\Translation
A
68 253
MPHB\Emails\AbstractEmail
A
65 264
MPHB\Recommendation
A
63 185
MPHB\Advanced\Api\Data\AccommodationTypeData
A
61 483
MPHB\Admin\Fields\VariablePricingField
A
61 294
MPHB\TaxesAndFees\TaxesAndFees
A
61 171
MPHB\Advanced\Api\Controllers\AbstractRestController
A
59 266
MPHB\Shortcodes\AccountShortcode
A
58 261
MPHB\Admin\Fields\InputField
A
56 143
MPHB\Libraries\WP_Background_Processing\WP_Background_Process
A
55 208
MPHB\Views\LoopRoomTypeView
A
54 167
MPHB\Admin\Fields\RulesListField
A
53 189
MPHB\Admin\ManageCPTPages\PaymentManageCPTPage
A
52 204
MPHB\Shortcodes\CheckoutShortcode\StepCheckout
S
50 246
MPHB\Widgets\SearchAvailabilityWidget
S
49 200
MPHB\Shortcodes\BookingConfirmationShortcode
S
47 248
MPHB\Admin\ManageCPTPages\RateManageCPTPage
S
47 205
MPHB\Utils\BookingDetailsUtil
S
46 207
MPHB\Admin\Groups\MetaBoxGroup
S
45 137
MPHB\Admin\Fields\AmountField
S
45 148
MPHB\Wizard
S
45 180
MPHB\CSV\Bookings\BookingsQuery
S
43 206
MPHB\Advanced\Api\Data\PaymentData
S
42 251
MPHB\Reports\Data\ReportByDatesData
S
41 150
MPHB\Advanced\Api\Data\RateData
S
41 230
MPHB\Shortcodes\SearchShortcode
S
41 125
MPHB\UserActions\BookingCancellationAction
S
41 122
MPHB\Entities\ReservedRoom
S
41 141
MPHB\Shortcodes\CheckoutShortcode
S
40 120
MPHB\Emails\Templaters\ReservedRoomsTemplater
S
39 175
MPHB\Advanced\Admin\Tab\Subtabs\ApiKeys\ApiKeys
S
39 150
MPHB\PostTypes\ServiceCPT
S
38 213
MPHB\Widgets\RoomsWidget
S
38 169
MPHB\Admin\Tabs\SettingsTab
S
38 154
MPHB\PostTypes\PaymentCPT\Statuses
S
37 164
MPHB\Admin\Groups\LicenseSettingsGroup
S
37 181
MPHB\Admin\Fields\MultipleCheckboxField
S
37 108
MPHB\PostTypes\RoomTypeCPT
S
36 402
MPHB\Admin\Fields\ComplexVerticalField
S
36 117
MPHB\Admin\EditCPTPages\BookingEditCPTPage
S
36 187
MPHB\Advanced\Api\Controllers\V1\AccommodationTypeImagesController
S
36 356
MPHB\Persistences\CPTPersistence
S
36 145
MPHB\Entities\Rate
S
35 114
MPHB\Admin\EditCPTPages\EditCPTPage
S
35 88
MPHB\Persistences\BookingPersistence
S
35 144
MPHB\Advanced\Api\Data\CouponData
S
34 253
MPHB\Admin\MenuPages\CustomersMenuPage
S
34 289
MPHB\Repositories\BookingRepository
S
33 223
MPHB\Admin\Fields\FieldFactory
S
33 105
MPHB\Entities\Payment
S
33 99
MPHB\Persistences\RoomPersistence
S
33 194
MPHB\Advanced\Api\Controllers\V1\BookingAvailabilityController
S
32 281
MPHB\SearchParametersStorage
S
32 106
MPHB\UsersAndRoles\User
S
32 150
MPHB\PostTypes\BookingCPT\Statuses
S
31 180
MPHB\Admin\Fields\ComplexHorizontalField
S
30 106
MPHB\UsersAndRoles\CapabilitiesAndRoles
S
30 162
MPHB\Advanced\Api\Controllers\V1\BookingsController
S
29 159
MPHB\Libraries\WP_SessionManager\WP_Session
S
29 105
MPHB\Advanced\Api\Data\SeasonData
S
28 168
MPHB\Admin\ManageCPTPages\CouponManageCPTPage
S
28 113
MPHB\UserActions\BookingConfirmationAction
S
28 96
MPHB\Entities\Service
S
28 90
MPHB\Admin\Fields\NumberField
S
28 48
MPHB\Repositories\RoomRepository
S
27 154
MPHB\Admin\Groups\InputGroup
S
27 71
MPHB\Emails\Emails
S
27 195
MPHB\BlocksRender
S
26 84
MPHB\Reports\Data\ReportEarningsByDatesData
S
26 136
MPHB\Admin\ManageCPTPages\RoomTypeManageCPTPage
S
26 137
MPHB\Admin\EditCPTPages\RateEditCPTPage
S
26 156
MPHB\LinkedRooms
S
26 113
MPHB\Advanced\Api\Controllers\V1\TaxesAndFeesController
S
26 247
MPHB\BackgroundPausableProcess
S
26 82
MPHB\CSV\Bookings\BookingsExporter
S
26 112
MPHB\Entities\SeasonPrice
S
26 100
MPHB\Advanced\Admin\Tab\Subtabs\ApiKeys\ApiKeysTableList
S
26 152
MPHB\Admin\Fields\TextField
S
26 66
MPHB\Advanced\Api\Controllers\AbstractRestOptionsController
S
24 118
MPHB\PostTypes\PaymentCPT
S
23 272
MPHB\ScriptManagers\PublicScriptManager
S
23 167
MPHB\Admin\MenuPages\BookingRulesMenuPage
S
23 530
MPHB\Admin\MenuPages\TaxesAndFeesMenuPage
S
23 408
MPHB\Entities\ReservedService
S
23 81
MPHB\ScriptManagers\ScriptManager
S
22 86
MPHB\Admin\MenuPages\ShortcodesMenuPage
S
22 655
MPHB\Entities\WPPostData
S
22 66
MPHB\Advanced\Api\Data\OptionsSchema
S
22 79
MPHB\AjaxApi\GetRoomTypeCalendarData
S
22 99
MPHB\Payments\Gateways\AbstractNotificationListener
S
22 42
MPHB\Repositories\ReservedRoomRepository
S
21 100
MPHB\Core\AbstractCoreAPIFacade
S
21 86
MPHB\PostTypes\BookingCPT\Logs
S
21 100
MPHB\Admin\EditCPTPages\RoomTypeEditCPTPage
S
20 180
MPHB\Shortcodes\RoomsShortcode
S
20 150
MPHB\ActionsHandler
S
20 69
MPHB\Admin\MenuPages\RoomsGeneratorMenuPage
S
20 121
MPHB\Repositories\RoomTypeRepository
S
19 109
MPHB\AjaxApi\GetRoomTypeAvailabilityData
S
19 145
MPHB\Shortcodes\CheckoutShortcode\Step
S
19 90
MPHB\Admin\ManageCPTPages\SeasonManageCPTPage
S
19 76
MPHB\LicenseNotice
S
19 139
MPHB\Settings\CurrencySettings
S
18 59
MPHB\Admin\Groups\SettingsGroup
S
18 69
MPHB\ScriptManagers\AdminScriptManager
S
18 110
MPHB\Core\PriceHelper
S
18 94
MPHB\Advanced\Admin\Tab\Subtabs\ApiKeys\ApiKeysAjax
S
18 147
MPHB\Advanced\Api\Data\DataFactory
S
18 121
MPHB\Repositories\CouponRepository
S
18 110
MPHB\Advanced\Api\Controllers\V1\BookingRulesController
S
17 198
MPHB\Reports\ReportFilters
S
17 63
MPHB\Admin\ManageCPTPages\AttributesManageCPTPage
S
17 83
MPHB\Entities\RecurrentSeason
S
17 49
MPHB\Admin\Fields\MediaField
S
17 56
MPHB\Advanced\Api\Data\ServiceData
S
16 174
MPHB\Admin\EditCPTPages\PaymentEditCPTPage
S
16 101
MPHB\Emails\Templaters\AbstractTemplater
S
16 76
MPHB\Admin\Fields\AbstractComplexField
S
16 44
MPHB\Persistences\AttributesPersistence
S
15 56
MPHB\CSV\CSVExportHandler
S
15 54
MPHB\Repositories\RateRepository
S
15 100
MPHB\Advanced\Api\Controllers\V1\PaymentsController
S
15 62
MPHB\Reports\Report
S
14 42
MPHB\AjaxApi\GetAdminCalendarBookingInfo
S
14 177
MPHB\Shortcodes\AbstractShortcode
S
14 55
MPHB\AjaxApi\UpdateBookingNotes
S
14 38
MPHB\Payments\Gateways\BankGateway
S
14 121
MPHB\Admin\Fields\ActionButtonField
S
13 40
MPHB\Reports\AbstractReport
S
13 61
MPHB\PostTypes\BookingCPT
S
13 248
MPHB\AjaxApi\AjaxApiHandler
S
12 36
MPHB\Admin\EditCPTPages\AttributesEditCPTPage
S
12 82
MPHB\Views\ViewActions
S
11 1,348
MPHB\Advanced\Api\Controllers\V1\AccommodationsController
S
11 81
MPHB\Repositories\ServiceRepository
S
11 73
MPHB\Upgrades\BackgroundBookingUpgrader_2_0_0
S
11 48
MPHB\Bundles\CurrencyBundle
S
10 365
MPHB\Bundles\CustomerBundle
S
10 129
MPHB\UserActions\ActionLinkHelper
S
10 41
MPHB\PostTypes\CouponCPT
S
10 298
MPHB\Upgrades\BackgroundBookingUpgrader_4_2_0
S
10 34
MPHB\Admin\Fields\InstallPluginField
S
10 28
MPHB\Admin\ManageCPTPages\ServiceManageCPTPage
S
10 38
MPHB\Views\GlobalView
S
8 44
MPHB\Advanced\Api\Controllers\V1\AccommodationTypeAttributeTermsController
S
8 128
MPHB\Admin\MenuPages\UpgradeToPremiumMenuPage
S
8 160
MPHB\Admin\Fields\ServiceChooserField
S
8 47
MPHB\Crons\DeleteOldSyncLogsCron
S
7 32
MPHB\Views\CreateBooking\CheckoutView
S
7 86
MPHB\ScriptManagers\BlockScriptManager
S
6 413
MPHB\Bundles\CountriesBundle
S
6 268
MPHB\Views\ReservedRoomView
S
5 28

175 more item(s) not shown.