Code Analysis: SureCart 2.11.2

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 272
SureCart\Models\Subscription
A
61 285
SureCart\Support\Blocks\TemplateUtilityService
A
59 224
SureCart\Request\RequestService
A
58 174
SureCart\Controllers\Rest\CheckoutsController
A
56 194
SureCart\Controllers\Admin\Subscriptions\SubscriptionsListTable
A
53 225
SureCart\Controllers\Admin\Products\ProductsListTable
A
52 301
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\Integrations\IntegrationService
S
44 158
SureCart\Integrations\TutorLMS\TutorLMSService
S
44 184
SureCartCore\Kernels\HttpKernel
S
41 191
SureCart\Models\Product
S
39 167
SureCartBlocks\Blocks\Product\BuyButton\Block
S
39 88
SureCartBlocks\Blocks\ProductCollection\Block
S
36 118
SureCartCore\Routing\Router
S
35 155
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\Pages\PageService
S
31 112
SureCart\WordPress\PostTypes\CartPostTypeService
S
31 232
SureCart\Cart\CartService
S
31 143
SureCart\WordPress\Assets\ScriptsService
S
31 305
SureCartBlocks\Blocks\CartSubmit\Block
S
30 67
SureCartCore\Routing\Conditions\UrlCondition
S
29 140
SureCart\Support\Errors\ErrorsTranslationService
S
29 99
SureCartCore\Responses\ResponseService
S
28 103
SureCart\Permissions\Models\SubscriptionPermissionsController
S
28 79
SureCart\Integrations\MemberPress\MemberPressService
S
28 114
SureCart\WordPress\Assets\AssetsService
S
28 118
SureCart\WordPress\Templates\TemplatesService
S
28 153
SureCartCore\Requests\Request
S
27 106
SureCart\Controllers\Admin\Abandoned\AbandonedCheckoutListTable
S
27 128
SureCart\Controllers\Admin\Bumps\BumpsListTable
S
27 171
SureCart\WordPress\Admin\Menus\AdminMenuPageService
S
26 108
SureCart\Models\Form
S
25 107
SureCart\Rest\CheckoutRestServiceProvider
S
25 150
SureCartAppCore\Avatar\Avatar
S
25 75
SureCart\Models\Customer
S
25 88
SureCartBlocks\Controllers\SubscriptionController
S
24 528
SureCart\Controllers\Admin\Invoices\InvoicesListTable
S
24 119
SureCart\Controllers\Web\BuyPageController
S
22 130
SureCart\Controllers\Web\DashboardController
S
22 151
SureCart\WordPress\HealthService
S
22 135
SureCart\WordPress\Templates\CollectionTemplatesService
S
21 101
SureCartAppCore\Assets\Assets
S
21 81
SureCart\Background\CustomerSyncService
S
20 84
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 91
SureCart\Integrations\BuddyBoss\BuddyBossService
S
18 71
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 378
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 255
SureCart\WordPress\Users\CustomerLinkService
S
16 73
SureCartCore\Exceptions\ErrorHandler
S
16 66
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
SureCartCore\Helpers\Handler
S
15 57
SureCart\Models\Checkout
S
15 74
SureCart\Account\AccountService
S
14 44
SureCartBlocks\Blocks\Dashboard\DashboardPage\Block
S
14 55
SureCart\Integrations\ThriveAutomator\Triggers\PurchaseUpdatedTrigger
S
14 40
SureCart\Controllers\Rest\CustomerController
S
14 50
SureCart\WordPress\Assets\BlockAssetsLoadService
S
14 40
SureCart\Controllers\Rest\DraftCheckoutsController
S
14 60
SureCartCore\Csrf\Csrf
S
14 45
SureCart\Controllers\Rest\SettingsController
S
13 47
SureCart\WordPress\Assets\PreloadService
S
13 55
SureCart\Integrations\ThriveAutomator\Triggers\PurchaseInvokedTrigger
S
12 35
SureCart\Integrations\ThriveAutomator\Triggers\PurchaseRevokedTrigger
S
12 35
SureCartBlocks\Blocks\AddToCartButton\Block
S
12 74
SureCart\Controllers\Rest\VerificationCodeController
S
12 52
SureCart\Integrations\ThriveAutomator\Triggers\PurchaseCreatedTrigger
S
12 35
SureCartCore\Helpers\MixedType
S
12 37
SureCartCore\Helpers\Url
S
12 36
SureCart\WordPress\Sitemap\ProductCollectionSiteMap
S
11 56
SureCartBlocks\Blocks\CheckoutForm\Block
S
11 27
SureCart\WordPress\Sitemap\ProductSiteMap
S
11 59
SureCart\Controllers\Admin\Products\ProductsController
S
11 82
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\WordPress\ThemeService
S
11 44
SureCart\Controllers\Rest\IntegrationsController
S
11 53
SureCart\Models\BuyLink
S
11 27
SureCart\Middleware\LoginLinkMiddleware
S
10 37
SureCartCore\View\PhpView
S
10 35
SureCartAppCore\Sidebar\Sidebar
S
10 22
SureCart\Integrations\AffiliateWP\AffiliateWPRecurringIntegration
S
10 46
SureCart\Permissions\Models\CustomerPermissionsController
S
10 31
SureCart\Integrations\Beaver\BeaverServiceProvider
S
10 42
SureCart\Support\TimeDate
S
10 209
SureCartBlocks\Controllers\CustomerController
S
9 93
SureCart\Controllers\Admin\Settings\BaseSettings
S
9 73
SureCartBlocks\Blocks\Dashboard\DashboardPage
S
9 27
SureCart\Integrations\ThriveAutomator\DataObjects\ProductDataObject
S
9 45
SureCartAppCore\Image\Image
S
9 37
SureCart\Permissions\AdminAccessService
S
9 23
SureCart\Rest\SubscriptionRestServiceProvider
S
9 127
SureCart\Rest\ActivationRestServiceProvider
S
8 79
SureCart\Controllers\Web\ProductPageController
S
8 47
SureCartBlocks\Blocks\CartBlock
S
8 27
SureCart\Database\Table
S
8 41
SureCart\Rest\BumpRestServiceProvider
S
8 90
SureCartCore\Exceptions\Whoops\DebugDataProvider
S
8 26
SureCartBlocks\Blocks\Dashboard\CustomerSubscriptions\Block
S
8 72
SureCart\Rest\DraftCheckoutRestServiceProvider
S
8 86
SureCart\Install\InstallService
S
8 130
SureCartBlocks\Blocks\Form\Block
S
8 106
SureCart\Rest\SubscriptionProtocolRestServiceProvider
S
7 75
SureCart\Middleware\PathRedirectMiddleware
S
7 35
SureCart\BlockValidator\VariantChoice
S
7 26
SureCart\Controllers\Admin\Customers\CustomersController
S
7 48
SureCart\Controllers\Admin\Bumps\BumpsController
S
7 46
SureCart\Rest\PortalProtocolRestServiceProvider
S
7 77
SureCartBlocks\Controllers\OrderController
S
7 131
SureCart\Rest\TaxRegistrationRestServiceProvider
S
7 52
SureCartBlocks\Blocks\PriceChoice\Block
S
7 30
SureCart\Background\AsyncWebhookService
S
7 29
SureCart\Controllers\Admin\ProductCollections\ProductCollectionsController
S
7 69
SureCart\Controllers\Admin\Licenses\LicensesController
S
7 48
SureCartBlocks\Blocks\StoreLogo\Block
S
6 37
SureCartBlocks\Blocks\Email\Block
S
6 22
SureCart\Database\WebhookMigrationsService
S
6 11
SureCart\BlockLibrary\BlockService
S
6 19
SureCart\Controllers\Web\CollectionPageController
S
6 44
SureCartCore\Exceptions\ExceptionsServiceProvider
S
6 48
SureCart\WordPress\Shortcodes\ShortcodesService
S
6 41
SureCart\Rest\IntegrationProvidersRestServiceProvider
S
6 93
SureCartBlocks\Blocks\Payment\Block
S
6 42
SureCartBlocks\Blocks\Product\Media\Block
S
6 59
SureCart\Models\ProvisionalAccount
S
6 15
SureCartBlocks\Blocks\BlockService
S
6 19
SureCart\Settings\SettingService
S
5 186
SureCart\Models\Period
S
5 25
SureCart\Rest\AbandonedCheckoutRestServiceProvider
S
5 56
SureCart\Rest\OrderProtocolRestServiceProvider
S
5 75
SureCart\Rest\TaxProtocolRestServiceProvider
S
5 90
SureCart\Rest\BrandRestServiceProvider
S
5 117
SureCartBlocks\Blocks\CustomerDashboardButton\Block
S
5 19
SureCartBlocks\Blocks\Product\CollectionBadges\Block
S
5 37
SureCart\Rest\AccountRestServiceProvider
S
5 85
SureCartBlocks\Blocks\CartMenuButton\Block
S
5 24
SureCartCore\Controllers\WordPressController
S
5 22
SureCart\Rest\SettingsRestServiceProvider
S
5 85
SureCart\Rest\CustomerNotificationProtocolRestServiceProvider
S
5 90
SureCartCore\Middleware\UserCanMiddleware
S
5 19
SureCart\Models\PaymentIntent
S
4 25
SureCartBlocks\Blocks\Password\Block
S
4 27
SureCart\Controllers\Rest\CheckEmailController
S
4 17
SureCartBlocks\Blocks\Dashboard\DashboardTab\Block
S
4 15
SureCartBlocks\Blocks\Address\Block
S
4 21
SureCartBlocks\Controllers\UserController
S
4 83
SureCart\Models\VerificationCode
S
4 28
SureCartBlocks\Blocks\Product\VariantChoices\Block
S
4 21
SureCart\Models\PaymentMethod
S
4 25
SureCartBlocks\Blocks\Dashboard\OrderDownloads\Block
S
3 26
SureCartBlocks\Blocks\Product\Price\Block
S
3 27
SureCart\Models\Brand
S
3 22
SureCartCore\Kernels\KernelsServiceProvider
S
2 55
SureCartCore\View\ViewServiceProvider
S
2 54
SureCart\Routing\PermalinkServiceProvider
S
2 85

422 more item(s) not shown.