Code Analysis: Hotel Booking Lite 4.4.1

Class Rating Complexity Lines of code
MPHB\BookingsCalendar
D
194 778
HotelBookingPlugin
D
163 738
MPHB\Ajax
D
142 661
MPHB\Admin\ManageCPTPages\BookingManageCPTPage
C
115 496
MPHB\CSV\Bookings\BookingsParser
C
104 291
MPHB\Entities\Booking
C
101 316
MPHB\UsersAndRoles\Customers
B
100 397
MPHB\Advanced\Api\ApiAuthentication
B
96 316
MPHB\Shortcodes\CheckoutShortcode\StepBooking
B
95 314
MPHB\Emails\Templaters\EmailTemplater
B
94 460
MPHB\Views\Shortcodes\CheckoutView
B
93 748
MPHB\Libraries\WP_Meta_Query\WP_Meta_Query
B
92 294
MPHB\Upgrader
B
88 487
MPHB\Advanced\Api\Data\BookingData
B
87 743
MPHB\Shortcodes\SearchResultsShortcode
B
87 549
MPHB\Payments\Gateways\Paypal\IpnListener
B
85 246
MPHB\Payments\Gateways\Gateway
B
84 279
MPHB\Reports\EarningsReport
B
83 411
MPHB\Libraries\EDD_Plugin_Updater\EDD_Plugin_Updater
B
82 266
MPHB\Libraries\Emogrifier\Emogrifier
B
82 363
MPHB\Settings\MainSettings
B
80 252
MPHB\Advanced\Api\Controllers\AbstractRestObjectController
B
79 472
MPHB\PostTypes\AttributesCPT
B
79 374
MPHB\BookingRules\Custom\CustomRules
B
77 222
MPHB\Utils\ParseUtils
B
76 217
MPHB\Advanced\Api\Controllers\AbstractRestTermsController
B
76 529
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 808
MPHB\Emails\AbstractEmail
A
65 249
MPHB\Entities\ReservedRoom
A
63 292
MPHB\Recommendation
A
63 182
MPHB\TaxesAndFees\TaxesAndFees
A
60 169
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\Views\LoopRoomTypeView
A
54 167
MPHB\Entities\AbstractCoupon
A
54 112
MPHB\Admin\Fields\VariablePricingField
A
53 262
MPHB\Admin\ManageCPTPages\PaymentManageCPTPage
S
50 200
MPHB\Shortcodes\BookingConfirmationShortcode
S
49 239
MPHB\Admin\Fields\InputField
S
49 120
MPHB\Widgets\SearchAvailabilityWidget
S
49 197
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\Shortcodes\CheckoutShortcode
S
40 116
MPHB\UserActions\BookingCancellationAction
S
40 120
MPHB\Emails\Templaters\ReservedRoomsTemplater
S
40 160
MPHB\Advanced\Admin\Tab\Subtabs\ApiKeys\ApiKeys
S
40 150
MPHB\Admin\Fields\NotesListField
S
40 198
MPHB\PostTypes\ServiceCPT
S
38 204
MPHB\Admin\Tabs\SettingsTab
S
38 136
MPHB\Widgets\RoomsWidget
S
38 162
MPHB\Admin\ManageCPTPages\RateManageCPTPage
S
37 156
MPHB\PostTypes\PaymentCPT\Statuses
S
36 164
MPHB\Admin\Groups\LicenseSettingsGroup
S
36 170
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\PostTypes\RoomTypeCPT
S
36 364
MPHB\Admin\Fields\MultipleCheckboxField
S
35 103
MPHB\Admin\EditCPTPages\EditCPTPage
S
35 88
MPHB\Admin\MenuPages\CustomersMenuPage
S
33 283
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 129
MPHB\PostTypes\BookingCPT\Statuses
S
31 175
MPHB\Advanced\Api\Data\CouponData
S
31 204
MPHB\Entities\Rate
S
31 102
MPHB\Advanced\Api\Controllers\V1\BookingAvailabilityController
S
31 254
MPHB\Repositories\BookingRepository
S
30 214
MPHB\Repositories\RoomRepository
S
30 189
MPHB\ScriptManagers\PublicScriptManager
S
30 225
MPHB\UsersAndRoles\CapabilitiesAndRoles
S
30 154
MPHB\Emails\Emails
S
29 162
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\Admin\Groups\InputGroup
S
27 71
MPHB\BlocksRender
S
26 81
MPHB\Reports\Data\ReportEarningsByDatesData
S
26 136
MPHB\Admin\Fields\TextField
S
26 66
MPHB\CSV\Bookings\BookingsExporter
S
26 117
MPHB\Advanced\Api\Controllers\V1\TaxesAndFeesController
S
26 243
MPHB\Admin\ManageCPTPages\RoomTypeManageCPTPage
S
26 132
MPHB\BackgroundPausableProcess
S
26 79
MPHB\Advanced\Admin\Tab\Subtabs\ApiKeys\ApiKeysTableList
S
26 150
MPHB\Admin\MenuPages\ExtensionsMenuPage
S
25 122
MPHB\Advanced\Api\Controllers\AbstractRestOptionsController
S
24 112
MPHB\Admin\Fields\ComplexHorizontalField
S
23 83
MPHB\Advanced\Api\Data\SeasonData
S
23 138
MPHB\Entities\ReservedService
S
23 90
MPHB\Admin\EditCPTPages\RateEditCPTPage
S
23 136
MPHB\Entities\WPPostData
S
22 66
MPHB\Payments\Gateways\AbstractNotificationListener
S
22 42
MPHB\Repositories\CouponRepository
S
22 113
MPHB\Advanced\Api\Data\OptionsSchema
S
22 79
MPHB\ScriptManagers\ScriptManager
S
22 67
MPHB\Admin\MenuPages\ShortcodesMenuPage
S
22 626
MPHB\PostTypes\BookingCPT\Logs
S
21 100
MPHB\Admin\MenuPages\BookingRulesMenuPage
S
21 385
MPHB\Admin\MenuPages\TaxesAndFeesMenuPage
S
21 303
MPHB\PostTypes\PaymentCPT
S
21 237
MPHB\Shortcodes\RoomsShortcode
S
20 143
MPHB\Admin\MenuPages\RoomsGeneratorMenuPage
S
20 116
MPHB\ReservationRequest
S
20 67
MPHB\Shortcodes\CheckoutShortcode\Step
S
19 83
MPHB\Repositories\RateRepository
S
18 105
MPHB\ScriptManagers\AdminScriptManager
S
18 107
MPHB\Settings\CurrencySettings
S
18 59
MPHB\Advanced\Admin\Tab\Subtabs\ApiKeys\ApiKeysAjax
S
18 112
MPHB\Admin\EditCPTPages\RoomTypeEditCPTPage
S
18 162
MPHB\Admin\Menus
S
18 84
MPHB\Advanced\Api\Data\DataFactory
S
18 159
MPHB\BookingRules\AbstractRulesList
S
18 49
MPHB\Reports\ReportFilters
S
17 63
MPHB\BookingRules\Reservation\ReservationRulesList
S
17 73
MPHB\Repositories\RoomTypeRepository
S
17 101
MPHB\Advanced\Api\Controllers\V1\BookingRulesController
S
17 195
MPHB\Repositories\ReservedRoomRepository
S
17 87
MPHB\Admin\ManageCPTPages\AttributesManageCPTPage
S
17 80
MPHB\Admin\Groups\SettingsGroup
S
17 56
MPHB\Admin\Fields\MediaField
S
17 56
MPHB\Advanced\Api\Data\ServiceData
S
16 172
MPHB\Emails\Templaters\AbstractTemplater
S
16 63
MPHB\Admin\EditCPTPages\PaymentEditCPTPage
S
16 96
MPHB\Advanced\Api\Controllers\V1\PaymentsController
S
15 56
MPHB\Advanced\Api\Data\AccommodationData
S
15 79
MPHB\Persistences\AttributesPersistence
S
15 53
MPHB\Entities\SeasonPrice
S
15 60
MPHB\Admin\Fields\TextareaField
S
15 40
MPHB\Admin\Fields\AbstractComplexField
S
14 37
MPHB\Reports\Report
S
14 42
MPHB\Shortcodes\AbstractShortcode
S
14 52
MPHB\Reports\AbstractReport
S
13 59
MPHB\Admin\Fields\ActionButtonField
S
13 40
MPHB\PostTypes\BookingCPT
S
13 209
MPHB\Admin\EditCPTPages\AttributesEditCPTPage
S
12 75
MPHB\Admin\ManageCPTPages\SeasonManageCPTPage
S
11 41
MPHB\Upgrades\BackgroundBookingUpgrader_2_0_0
S
11 48
MPHB\Views\ViewActions
S
11 360
MPHB\Advanced\Api\Controllers\V1\AccommodationsController
S
11 71
MPHB\Bundles\CurrencyBundle
S
10 365
MPHB\Admin\ManageCPTPages\ServiceManageCPTPage
S
10 38
MPHB\LicenseNotice
S
10 65
MPHB\Bundles\CustomerBundle
S
10 126
MPHB\Admin\Fields\InstallPluginField
S
10 28
MPHB\UserActions\ActionLinkHelper
S
10 41
MPHB\Repositories\ServiceRepository
S
9 60
MPHB\Upgrades\BackgroundBookingUpgrader_4_2_0
S
9 31
MPHB\Admin\MenuPages\UpgradeToPremiumMenuPage
S
8 152
MPHB\Views\GlobalView
S
8 44
MPHB\Advanced\Api\Controllers\V1\AccommodationTypeAttributeTermsController
S
8 128
MPHB\Admin\Fields\ServiceChooserField
S
8 43
MPHB\Crons\DeleteOldSyncLogsCron
S
7 20
MPHB\PostTypes\CouponCPT
S
7 142
MPHB\Views\CreateBooking\CheckoutView
S
7 86
MPHB\ScriptManagers\BlockScriptManager
S
6 136
MPHB\Bundles\CountriesBundle
S
6 268
MPHB\Views\ReservedRoomView
S
5 28

172 more item(s) not shown.