Code Analysis: Hotel Booking Lite 4.8.1

Class Rating Complexity Lines of code
MPHB\BookingsCalendar
D
203 830
HotelBookingPlugin
D
162 749
MPHB\Ajax
C
122 511
MPHB\Admin\ManageCPTPages\BookingManageCPTPage
C
119 535
MPHB\UsersAndRoles\Customers
B
100 400
MPHB\Entities\Booking
B
100 334
MPHB\Advanced\Api\ApiAuthentication
B
96 316
MPHB\Shortcodes\CheckoutShortcode\StepBooking
B
95 320
MPHB\BookingRules\Custom\CustomRules
B
94 284
MPHB\Views\Shortcodes\CheckoutView
B
94 810
MPHB\Emails\Templaters\EmailTemplater
B
94 463
MPHB\Libraries\WP_Meta_Query\WP_Meta_Query
B
92 334
MPHB\Upgrader
B
91 516
MPHB\Shortcodes\SearchResultsShortcode
B
88 594
MPHB\Advanced\Api\Data\BookingData
B
87 774
MPHB\Payments\Gateways\Paypal\IpnListener
B
85 246
MPHB\Payments\Gateways\Gateway
B
84 293
MPHB\Reports\EarningsReport
B
83 437
MPHB\Settings\MainSettings
B
83 261
MPHB\Libraries\Emogrifier\Emogrifier
B
82 410
MPHB\Libraries\EDD_Plugin_Updater\EDD_Plugin_Updater
B
82 292
MPHB\Advanced\Api\Controllers\AbstractRestObjectController
B
79 505
MPHB\PostTypes\AttributesCPT
B
79 410
MPHB\Utils\ParseUtils
B
76 231
MPHB\Advanced\Api\Controllers\AbstractRestTermsController
B
76 559
MPHB\Entities\ReservedRoom
A
75 326
MPHB\Views\BookingView
A
73 373
MPHB\Views\SingleRoomTypeView
A
72 251
MPHB\Importer
A
71 172
MPHB\Translation
A
70 259
MPHB\Admin\MenuPages\SettingsMenuPage
A
70 1,108
MPHB\CSV\Bookings\BookingsExporterHelper
A
69 366
MPHB\Emails\AbstractEmail
A
65 264
MPHB\Core\RoomAvailabilityHelper
A
63 205
MPHB\Entities\AbstractCoupon
A
63 133
MPHB\Recommendation
A
63 185
MPHB\TaxesAndFees\TaxesAndFees
A
61 171
MPHB\Advanced\Api\Data\AccommodationTypeData
A
59 465
MPHB\Advanced\Api\Controllers\AbstractRestController
A
59 266
MPHB\Shortcodes\AccountShortcode
A
58 260
MPHB\Utils\DateUtils
A
57 240
MPHB\Libraries\WP_Background_Processing\WP_Background_Process
A
55 208
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 204
MPHB\Core\CoreAPI
S
50 226
MPHB\Widgets\SearchAvailabilityWidget
S
49 200
MPHB\Shortcodes\BookingConfirmationShortcode
S
48 246
MPHB\Utils\BookingDetailsUtil
S
47 208
MPHB\Admin\Fields\RulesListField
S
47 177
MPHB\Admin\Fields\AmountField
S
45 148
MPHB\Wizard
S
45 180
MPHB\Shortcodes\CheckoutShortcode\StepCheckout
S
44 223
MPHB\Advanced\Api\Data\PaymentData
S
42 251
MPHB\BookingRules\Custom\CustomRule
S
42 137
MPHB\Reports\Data\ReportByDatesData
S
41 150
MPHB\Admin\Groups\MetaBoxGroup
S
41 125
MPHB\Repositories\RoomRepository
S
41 226
MPHB\Shortcodes\SearchShortcode
S
41 125
MPHB\UserActions\BookingCancellationAction
S
41 122
MPHB\CSV\Bookings\BookingsQuery
S
41 201
MPHB\Emails\Templaters\ReservedRoomsTemplater
S
40 160
MPHB\Admin\Fields\NotesListField
S
40 204
MPHB\Admin\ManageCPTPages\RateManageCPTPage
S
40 173
MPHB\Shortcodes\CheckoutShortcode
S
40 116
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\PostTypes\RoomTypeCPT
S
36 377
MPHB\Admin\Groups\LicenseSettingsGroup
S
36 185
MPHB\Advanced\Api\Data\RateData
S
36 241
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\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 289
MPHB\Advanced\Api\Controllers\V1\BookingAvailabilityController
S
34 270
MPHB\Entities\Payment
S
33 99
MPHB\Persistences\RoomPersistence
S
33 182
MPHB\SearchParametersStorage
S
32 107
MPHB\ActionsHandler
S
32 110
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 105
MPHB\Repositories\BookingRepository
S
30 214
MPHB\UsersAndRoles\CapabilitiesAndRoles
S
30 162
MPHB\Libraries\WP_SessionManager\WP_Session
S
29 105
MPHB\Advanced\Api\Controllers\V1\BookingsController
S
29 159
MPHB\BookingRules\Reservation\ReservationRules
S
28 202
MPHB\UserActions\BookingConfirmationAction
S
28 96
MPHB\Admin\Fields\NumberField
S
28 48
MPHB\Entities\Service
S
28 90
MPHB\Admin\Groups\InputGroup
S
27 71
MPHB\Emails\Emails
S
27 195
MPHB\CSV\Bookings\BookingsExporter
S
26 112
MPHB\BackgroundPausableProcess
S
26 82
MPHB\Advanced\Api\Controllers\V1\TaxesAndFeesController
S
26 247
MPHB\Reports\Data\ReportEarningsByDatesData
S
26 136
MPHB\Admin\ManageCPTPages\RoomTypeManageCPTPage
S
26 137
MPHB\Advanced\Admin\Tab\Subtabs\ApiKeys\ApiKeysTableList
S
26 152
MPHB\BlocksRender
S
26 84
MPHB\Admin\Fields\TextField
S
26 66
MPHB\Admin\Fields\ComplexHorizontalField
S
24 87
MPHB\Advanced\Api\Controllers\AbstractRestOptionsController
S
24 118
MPHB\PostTypes\PaymentCPT
S
23 272
MPHB\ScriptManagers\PublicScriptManager
S
23 165
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 146
MPHB\Repositories\CouponRepository
S
22 119
MPHB\Admin\MenuPages\ShortcodesMenuPage
S
22 655
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\ReservationRequest
S
20 67
MPHB\Shortcodes\RoomsShortcode
S
20 150
MPHB\AjaxApi\GetRoomTypeCalendarData
S
20 95
MPHB\Admin\ManageCPTPages\CouponManageCPTPage
S
20 77
MPHB\Admin\MenuPages\RoomsGeneratorMenuPage
S
20 121
MPHB\BookingRules\Reservation\ReservationRulesList
S
19 121
MPHB\Repositories\ReservedRoomRepository
S
19 94
MPHB\Shortcodes\CheckoutShortcode\Step
S
19 83
MPHB\BookingRules\AbstractRulesList
S
18 56
MPHB\Advanced\Admin\Tab\Subtabs\ApiKeys\ApiKeysAjax
S
18 147
MPHB\ScriptManagers\AdminScriptManager
S
18 108
MPHB\Settings\CurrencySettings
S
18 59
MPHB\Admin\Groups\SettingsGroup
S
18 79
MPHB\Admin\EditCPTPages\RoomTypeEditCPTPage
S
18 166
MPHB\AjaxApi\GetRoomTypeAvailabilityData
S
18 129
MPHB\Admin\Menus
S
18 90
MPHB\Repositories\RoomTypeRepository
S
18 105
MPHB\Repositories\RateRepository
S
18 114
MPHB\Advanced\Api\Data\DataFactory
S
18 159
MPHB\Reports\ReportFilters
S
17 63
MPHB\Admin\Fields\MediaField
S
17 56
MPHB\Admin\ManageCPTPages\AttributesManageCPTPage
S
17 83
MPHB\Advanced\Api\Controllers\V1\BookingRulesController
S
17 198
MPHB\Advanced\Api\Data\ServiceData
S
16 174
MPHB\Emails\Templaters\AbstractTemplater
S
16 76
MPHB\Admin\EditCPTPages\PaymentEditCPTPage
S
16 101
MPHB\Advanced\Api\Controllers\V1\PaymentsController
S
15 62
MPHB\Advanced\Api\Data\AccommodationData
S
15 79
MPHB\Entities\SeasonPrice
S
15 60
MPHB\Persistences\AttributesPersistence
S
15 56
MPHB\Reports\Report
S
14 42
MPHB\Shortcodes\AbstractShortcode
S
14 55
MPHB\Admin\Fields\AbstractComplexField
S
14 37
MPHB\AjaxApi\GetAdminCalendarBookingInfo
S
14 177
MPHB\Payments\Gateways\BankGateway
S
14 121
MPHB\Reports\AbstractReport
S
13 61
MPHB\PostTypes\BookingCPT
S
13 248
MPHB\Admin\Fields\ActionButtonField
S
13 40
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\Admin\ManageCPTPages\SeasonManageCPTPage
S
11 41
MPHB\Upgrades\BackgroundBookingUpgrader_2_0_0
S
11 48
MPHB\PostTypes\CouponCPT
S
10 200
MPHB\LicenseNotice
S
10 67
MPHB\Upgrades\BackgroundBookingUpgrader_4_2_0
S
10 34
MPHB\Admin\Fields\InstallPluginField
S
10 28
MPHB\Admin\ManageCPTPages\ServiceManageCPTPage
S
10 38
MPHB\UserActions\ActionLinkHelper
S
10 41
MPHB\Bundles\CustomerBundle
S
10 129
MPHB\Bundles\CurrencyBundle
S
10 365
MPHB\Repositories\ServiceRepository
S
9 60
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

174 more item(s) not shown.