Code Analysis: SureCart 2.16.1

Class Rating Complexity Lines of code
SureCart\Models\Model
D
153 504
SureCart\Models\DatabaseModel
D
139 468
SureCartBlocks\Util\BlockStyleAttributes
B
83 385
SureCartCore\Support\Arr
B
80 228
SureCart\Models\User
A
66 274
SureCart\Support\Blocks\TemplateUtilityService
A
63 236
SureCart\Models\Subscription
A
61 285
SureCart\Request\RequestService
A
58 174
SureCart\Controllers\Rest\CheckoutsController
A
56 194
SureCart\Controllers\Admin\Subscriptions\SubscriptionsListTable
A
55 229
SureCart\Controllers\Admin\Products\ProductsListTable
A
52 301
SureCart\Integrations\IntegrationService
A
52 184
SureCart\Controllers\Admin\Orders\OrdersListTable
A
51 244
SureCartBlocks\Blocks\BaseBlock
S
50 129
SureCart\Permissions\WPConfig\WPConfigTransformService
S
49 173
SureCartBlocks\Blocks\ProductItemList\Block
S
46 139
SureCart\Controllers\Admin\Coupons\CouponsListTable
S
45 197
SureCart\WordPress\Templates\BlockTemplatesService
S
45 176
SureCart\Models\Product
S
44 203
SureCart\Integrations\TutorLMS\TutorLMSService
S
44 184
SureCartCore\Kernels\HttpKernel
S
41 191
SureCartBlocks\Blocks\Product\BuyButton\Block
S
39 95
SureCartBlocks\Blocks\ProductCollection\Block
S
36 118
SureCartCore\Routing\Router
S
35 155
SureCart\Cart\CartService
S
35 165
SureCart\WordPress\PostTypes\FormPostTypeService
S
35 209
SureCartCore\Routing\Conditions\ConditionFactory
S
33 122
SureCartBlocks\Controllers\PaymentMethodController
S
33 182
SureCart\Rest\RestServiceProvider
S
32 118
SureCart\WordPress\PostTypes\CartPostTypeService
S
31 231
SureCart\WordPress\Pages\PageService
S
31 112
SureCartBlocks\Blocks\CartSubmit\Block
S
30 67
SureCart\Permissions\Models\SubscriptionPermissionsController
S
30 85
SureCart\WordPress\Admin\Menus\AdminMenuPageService
S
30 145
SureCartCore\Routing\Conditions\UrlCondition
S
29 140
SureCart\Support\Errors\ErrorsTranslationService
S
29 99
SureCart\WordPress\Assets\AssetsService
S
29 122
SureCart\WordPress\Assets\ScriptsService
S
29 266
SureCartCore\Responses\ResponseService
S
28 103
SureCart\Integrations\MemberPress\MemberPressService
S
28 114
SureCart\WordPress\Templates\TemplatesService
S
28 153
SureCart\Models\Customer
S
27 94
SureCartCore\Requests\Request
S
27 106
SureCart\Controllers\Admin\Abandoned\AbandonedCheckoutListTable
S
27 128
SureCart\Controllers\Admin\Bumps\BumpsListTable
S
27 171
SureCart\Models\Form
S
25 107
SureCartBlocks\Controllers\SubscriptionController
S
25 535
SureCart\Rest\CheckoutRestServiceProvider
S
25 150
SureCartAppCore\Avatar\Avatar
S
25 75
SureCart\Controllers\Admin\Invoices\InvoicesListTable
S
24 119
SureCart\Controllers\Web\DashboardController
S
22 151
SureCart\WordPress\HealthService
S
22 135
SureCart\Controllers\Web\BuyPageController
S
21 126
SureCart\WordPress\Templates\CollectionTemplatesService
S
21 101
SureCartAppCore\Assets\Assets
S
21 81
SureCart\Background\CustomerSyncService
S
20 82
SureCart\WordPress\Pages\PageSeeder
S
20 115
SureCart\Controllers\Admin\ProductGroups\ProductGroupsListTable
S
20 108
SureCart\Controllers\Admin\Tables\ListTable
S
19 95
SureCart\Rest\ProductsRestServiceProvider
S
19 146
SureCart\Support\Encryption
S
19 53
SureCart\Support\Scripts\AdminModelEditController
S
19 95
SureCart\Integrations\LifterLMS\LifterLMSService
S
18 72
SureCart\WordPress\Admin\Menus\ProductCollectionsMenuService
S
18 86
SureCart\WordPress\Users\UsersService
S
18 143
SureCart\Models\Purchase
S
18 72
SureCart\Controllers\Web\WebhookController
S
18 111
SureCart\Controllers\Rest\RestController
S
17 66
SureCartCore\View\ViewService
S
17 68
SureCartBlocks\Blocks\ProductCollectionImage\Block
S
17 41
SureCart\Permissions\RolesService
S
17 165
SureCart\Integrations\AffiliateWP\AffiliateWPIntegration
S
17 87
SureCart\Integrations\LearnDash\LearnDashService
S
17 68
SureCart\Integrations\LearnDashGroup\LearnDashGroupService
S
17 68
SureCart\Support\Currency
S
17 377
SureCart\Webhooks\WebhooksService
S
17 66
SureCart\Controllers\Rest\IncomingWebhooksController
S
17 59
SureCartCore\View\PhpViewFilesystemFinder
S
16 43
SureCart\Permissions\Models\ModelPermissionsController
S
16 45
SureCart\Rest\BlockPatternsRestServiceProvider
S
16 141
SureCart\Integrations\Elementor\ElementorServiceProvider
S
16 77
SureCart\WordPress\CompatibilityService
S
16 55
SureCart\WordPress\Admin\Notices\AdminNoticesService
S
16 100
SureCart\WordPress\Shortcodes\ShortcodesServiceProvider
S
16 278
SureCartCore\Exceptions\ErrorHandler
S
16 66
SureCartCore\Helpers\Handler
S
15 57
SureCart\Controllers\Admin\CancellationInsights\CancellationInsightsListTable
S
15 110
SureCart\Routing\PermalinkSettingService
S
15 102
SureCart\WordPress\TranslationsServiceProvider
S
15 54
SureCart\Middleware\CheckoutRedirectMiddleware
S
15 65
SureCart\WordPress\Users\CustomerLinkService
S
15 66
SureCart\Models\Checkout
S
15 74
SureCart\Account\AccountService
S
14 44
SureCartBlocks\Blocks\Dashboard\DashboardPage\Block
S
14 55
SureCart\Controllers\Rest\CustomerController
S
14 50
SureCart\Integrations\ThriveAutomator\Triggers\PurchaseUpdatedTrigger
S
14 40
SureCart\Controllers\Rest\DraftCheckoutsController
S
14 60
SureCart\WordPress\Assets\BlockAssetsLoadService
S
14 40
SureCartCore\Csrf\Csrf
S
14 45
SureCart\Controllers\Rest\SettingsController
S
13 47
SureCart\Database\UpdateMigrationServiceProvider
S
13 63
SureCart\WordPress\Assets\PreloadService
S
13 55
SureCart\Models\BuyLink
S
13 33
SureCartBlocks\Blocks\AddToCartButton\Block
S
12 74
SureCart\Controllers\Rest\VerificationCodeController
S
12 52
SureCartCore\Helpers\MixedType
S
12 37
SureCartCore\Helpers\Url
S
12 36
SureCart\Integrations\ThriveAutomator\Triggers\PurchaseCreatedTrigger
S
12 35
SureCart\Integrations\ThriveAutomator\Triggers\PurchaseInvokedTrigger
S
12 35
SureCart\Integrations\ThriveAutomator\Triggers\PurchaseRevokedTrigger
S
12 35
SureCart\WordPress\Sitemap\ProductSiteMap
S
11 59
SureCart\Rest\SubscriptionRestServiceProvider
S
11 133
SureCart\WordPress\Sitemap\ProductCollectionSiteMap
S
11 56
SureCart\WordPress\ThemeService
S
11 44
SureCart\Controllers\Admin\Products\ProductsController
S
11 82
SureCartBlocks\Blocks\CheckoutForm\Block
S
11 27
SureCartBlocks\Blocks\Form\Block
S
11 116
SureCartBlocks\Controllers\DownloadController
S
11 139
SureCart\Rest\OrderRestServiceProvider
S
11 39
SureCart\Integrations\Elementor\Conditions\ProductSingle
S
11 48
SureCart\WordPress\LineItemStateService
S
11 36
SureCart\Controllers\Rest\IntegrationsController
S
11 53
SureCart\Middleware\LoginLinkMiddleware
S
11 40
SureCart\Permissions\Models\CustomerPermissionsController
S
10 31
SureCartCore\View\PhpView
S
10 35
SureCart\Models\ReturnRequest
S
10 60
SureCartBlocks\Blocks\ProductDonation\Block
S
10 79
SureCartAppCore\Sidebar\Sidebar
S
10 22
SureCart\Integrations\AffiliateWP\AffiliateWPRecurringIntegration
S
10 46
SureCart\Integrations\Beaver\BeaverServiceProvider
S
10 42
SureCart\Support\TimeDate
S
10 209
SureCart\Controllers\Admin\Settings\BaseSettings
S
9 73
SureCartBlocks\Blocks\Dashboard\DashboardPage
S
9 27
SureCart\Permissions\AdminAccessService
S
9 23
SureCartBlocks\Controllers\CustomerController
S
9 93
SureCart\Controllers\Web\ProductPageController
S
9 43
SureCart\Integrations\ThriveAutomator\DataObjects\ProductDataObject
S
9 45
SureCartAppCore\Image\Image
S
9 37
SureCart\Install\InstallService
S
8 130
SureCartBlocks\Blocks\Dashboard\CustomerSubscriptions\Block
S
8 72
SureCart\Rest\ActivationRestServiceProvider
S
8 79
SureCart\Rest\DraftCheckoutRestServiceProvider
S
8 86
SureCartCore\Exceptions\Whoops\DebugDataProvider
S
8 26
SureCartBlocks\Blocks\Product\Media\Block
S
8 68
SureCart\Database\Table
S
8 41
SureCartBlocks\Blocks\CartBlock
S
8 27
SureCartBlocks\Blocks\VariantPriceSelector\Block
S
8 45
SureCart\Rest\BumpRestServiceProvider
S
8 90
SureCart\Background\AsyncWebhookService
S
7 29
SureCartBlocks\Controllers\OrderController
S
7 137
SureCart\Middleware\PathRedirectMiddleware
S
7 35
SureCartBlocks\Blocks\PriceChoice\Block
S
7 30
SureCart\BlockValidator\VariantChoice
S
7 26
SureCart\Controllers\Admin\Licenses\LicensesController
S
7 48
SureCart\Rest\TaxRegistrationRestServiceProvider
S
7 52
SureCart\Rest\PortalProtocolRestServiceProvider
S
7 77
SureCart\Controllers\Admin\Customers\CustomersController
S
7 48
SureCart\Controllers\Admin\Bumps\BumpsController
S
7 46
SureCart\Controllers\Admin\ProductCollections\ProductCollectionsController
S
7 69
SureCart\Rest\SubscriptionProtocolRestServiceProvider
S
7 75
SureCart\Models\ProvisionalAccount
S
6 15
SureCartCore\Exceptions\ExceptionsServiceProvider
S
6 48
SureCart\BlockLibrary\BlockService
S
6 19
SureCartBlocks\Blocks\Email\Block
S
6 22
SureCart\Database\WebhookMigrationsService
S
6 11
SureCartBlocks\Blocks\StoreLogo\Block
S
6 37
SureCart\Controllers\Web\CollectionPageController
S
6 44
SureCartBlocks\Blocks\Payment\Block
S
6 42
SureCart\WordPress\Shortcodes\ShortcodesService
S
6 41
SureCartBlocks\Blocks\BlockService
S
6 19
SureCartCore\Controllers\WordPressController
S
5 22
SureCart\Models\Period
S
5 25
SureCartBlocks\Blocks\Product\CollectionBadges\Block
S
5 37
SureCartBlocks\Blocks\CartMenuButton\Block
S
5 24
SureCartBlocks\Blocks\ProductDonationPrices\Block
S
5 34
SureCartCore\Middleware\UserCanMiddleware
S
5 19
SureCart\Rest\TaxProtocolRestServiceProvider
S
5 90
SureCart\Rest\OrderProtocolRestServiceProvider
S
5 75
SureCart\Rest\BrandRestServiceProvider
S
5 117
SureCartBlocks\Blocks\CustomerDashboardButton\Block
S
5 19
SureCart\Rest\SettingsRestServiceProvider
S
5 85
SureCart\Rest\AbandonedCheckoutRestServiceProvider
S
5 56
SureCart\Rest\AccountRestServiceProvider
S
5 85
SureCart\Settings\SettingService
S
5 226
SureCart\Rest\CustomerNotificationProtocolRestServiceProvider
S
5 90
SureCartBlocks\Controllers\UserController
S
4 83
SureCart\Models\PaymentMethod
S
4 25
SureCartBlocks\Blocks\Password\Block
S
4 27
SureCartBlocks\Blocks\Dashboard\DashboardTab\Block
S
4 15
SureCart\Models\PaymentIntent
S
4 25
SureCart\Models\VerificationCode
S
4 28
SureCartBlocks\Blocks\Address\Block
S
4 21
SureCart\Controllers\Rest\CheckEmailController
S
4 17
SureCartBlocks\Blocks\Product\VariantChoices\Block
S
4 21
SureCart\Models\Brand
S
3 22
SureCartBlocks\Blocks\ProductDonationAmounts\Block
S
3 28
SureCartBlocks\Blocks\Product\Price\Block
S
3 22
SureCartBlocks\Blocks\Dashboard\OrderDownloads\Block
S
3 26
SureCartCore\Kernels\KernelsServiceProvider
S
2 55
SureCartCore\View\ViewServiceProvider
S
2 54
SureCart\Routing\PermalinkServiceProvider
S
2 85

439 more item(s) not shown.