Code Analysis: SureCart 3.1.2

Class Rating Complexity Lines of code
SureCart\Models\Model
D
174 561
SureCart\Models\DatabaseModel
D
142 478
SureCart\Models\Product
C
120 427
SureCart\Integrations\Bricks\BricksDynamicDataService
C
110 416
SureCart\WordPress\PostTypes\ProductPostTypeService
C
108 709
SureCart\Background\BackgroundProcess
B
95 325
SureCartBlocks\Util\BlockStyleAttributes
B
83 385
SureCartCore\Support\Arr
B
80 228
SureCart\Controllers\Admin\Products\ProductsListTable
B
78 369
SureCart\Support\Blocks\TemplateUtilityService
A
67 259
SureCart\Models\Checkout
A
66 246
SureCart\Models\User
A
66 274
SureCart\Models\Subscription
A
63 291
SureCart\BlockLibrary\BlockStylesService
A
62 144
SureCart\Request\RequestService
A
60 179
SureCart\Controllers\Admin\Subscriptions\SubscriptionsListTable
A
59 261
SureCart\Controllers\Admin\Orders\OrdersListTable
A
55 264
SureCart\Integrations\IntegrationService
A
53 187
SureCartBlocks\Blocks\BaseBlock
S
50 129
SureCartBlocks\Blocks\ProductItemList\Block
S
50 175
SureCart\Models\Blocks\ProductPageBlock
S
50 341
SureCart\WordPress\Admin\Menus\AdminMenuPageService
S
49 199
SureCart\Permissions\WPConfig\WPConfigTransformService
S
49 173
SureCart\Controllers\Rest\CheckoutsController
S
48 180
SureCart\BlockLibrary\ProductListMigrationService
S
48 233
SureCart\WordPress\Templates\BlockTemplatesService
S
46 185
SureCart\Controllers\Admin\AffiliationReferrals\AffiliationReferralsListTable
S
46 236
SureCart\Controllers\Admin\Coupons\CouponsListTable
S
45 197
SureCart\Integrations\TutorLMS\TutorLMSService
S
44 184
SureCart\Models\Price
S
43 168
SureCart\Controllers\Admin\Invoices\InvoicesListTable
S
41 180
SureCartCore\Kernels\HttpKernel
S
41 191
SureCart\Support\Errors\ErrorsTranslationService
S
41 123
SureCart\Sync\PostSyncService
S
41 191
SureCartBlocks\Blocks\Product\BuyButton\Block
S
39 95
SureCartBlocks\Blocks\Upsell\SubmitButton\Block
S
38 102
SureCart\Models\Blocks\ProductListBlock
S
38 191
SureCart\BlockLibrary\URLParamService
S
37 109
SureCartBlocks\Controllers\PaymentMethodController
S
36 193
SureCartCore\Routing\Router
S
35 155
SureCart\Cart\CartService
S
35 127
SureCart\WordPress\PostTypes\FormPostTypeService
S
34 213
SureCart\Rest\RestServiceProvider
S
34 134
SureCart\Controllers\Admin\Abandoned\AbandonedCheckoutListTable
S
33 159
SureCart\Background\BulkActionService
S
33 144
SureCartCore\Routing\Conditions\ConditionFactory
S
33 122
SureCart\Models\LineItem
S
32 88
SureCartBlocks\Blocks\Upsell\NoThanksButton\Block
S
32 72
SureCartBlocks\Blocks\Upsell\CountdownTimer\Block
S
32 72
SureCart\Permissions\Models\SubscriptionPermissionsController
S
32 88
SureCart\WordPress\Assets\AssetsService
S
31 126
SureCart\WordPress\Assets\ScriptsService
S
31 272
SureCart\WordPress\PostTypes\CartPostTypeService
S
31 186
SureCart\WordPress\Pages\PageService
S
31 112
SureCart\Controllers\Admin\AffiliationClicks\AffiliationClicksListTable
S
31 141
SureCart\Controllers\Admin\AffiliationPayouts\AffiliationPayoutsListTable
S
31 162
SureCart\WordPress\CompatibilityService
S
30 107
SureCartBlocks\Blocks\CartSubmit\Block
S
30 67
SureCart\Controllers\Admin\Products\ProductsController
S
30 226
SureCart\Controllers\Admin\Affiliations\AffiliationsListTable
S
30 176
SureCart\Rest\CheckoutRestServiceProvider
S
30 202
SureCart\Models\Customer
S
29 102
SureCart\Integrations\MemberPress\MemberPressService
S
28 114
SureCart\Controllers\Web\BuyPageController
S
28 156
SureCart\BlockLibrary\FormModeSwitcherService
S
27 127
SureCart\Controllers\Admin\Bumps\BumpsListTable
S
27 172
SureCart\Controllers\Admin\Tables\ListTable
S
27 113
SureCartBlocks\Controllers\SubscriptionController
S
26 559
SureCart\WordPress\Assets\BlockAssetsLoadService
S
25 55
SureCart\BlockLibrary\CartMigrationService
S
25 87
SureCartAppCore\Avatar\Avatar
S
25 75
SureCart\Controllers\Admin\Upsells\UpsellsListTable
S
25 169
SureCart\WordPress\Users\UsersService
S
24 161
SureCart\WordPress\Shortcodes\ShortcodesService
S
23 103
SureCart\WordPress\HealthService
S
22 135
SureCart\Models\GalleryItemAttachment
S
22 72
SureCart\Controllers\Web\DashboardController
S
22 163
SureCart\WordPress\Pages\PageSeeder
S
21 115
SureCart\WordPress\Templates\TemplatesService
S
21 102
SureCartAppCore\Assets\Assets
S
21 81
SureCart\Controllers\Admin\AffiliationRequests\AffiliationRequestsListTable
S
21 110
SureCart\Support\Currency
S
20 388
SureCart\Sync\CustomerSyncService
S
20 82
SureCart\Account\AccountService
S
20 59
SureCart\Controllers\Admin\ProductGroups\ProductGroupsListTable
S
20 109
SureCart\Background\QueueService
S
20 95
SureCart\Integrations\Bricks\BricksElementsService
S
20 80
SureCart\Integrations\Bricks\Elements\BuyButton
S
20 163
SureCart\Rest\ProductsRestServiceProvider
S
20 175
SureCart\Support\Scripts\AdminModelEditController
S
19 97
SureCart\WordPress\Taxonomies\CollectionTaxonomyService
S
19 81
SureCart\Models\Referral
S
19 101
SureCart\Permissions\Models\ModelPermissionsController
S
19 53
SureCart\Support\Interval
S
18 60
SureCart\Sync\CollectionSyncService
S
18 82
SureCart\WordPress\Admin\Menus\ProductCollectionsMenuService
S
18 86
SureCart\Models\Media
S
18 67
SureCart\Models\Purchase
S
18 72
SureCart\Controllers\Web\WebhookController
S
18 111
SureCart\Webhooks\WebhooksService
S
17 66
SureCart\WordPress\Admin\Notices\AdminNoticesService
S
17 103
SureCart\Controllers\Rest\IncomingWebhooksController
S
17 59
SureCart\WordPress\Shortcodes\ShortcodesServiceProvider
S
17 318
SureCart\Models\Affiliation
S
17 65
SureCart\Models\GalleryItem
S
17 42
SureCart\Controllers\Rest\RestController
S
17 66
SureCart\BlockLibrary\ProductListService
S
17 100
SureCartBlocks\Blocks\ProductCollectionImage\Block
S
17 41
SureCartBlocks\Controllers\BaseController
S
17 46
SureCart\Permissions\RolesService
S
17 168
SureCart\Controllers\Web\UpsellPageController
S
17 80
SureCart\Integrations\AffiliateWP\AffiliateWPIntegration
S
17 87
SureCart\WordPress\TranslationsServiceProvider
S
16 57
SureCart\WordPress\Templates\UpsellTemplatesService
S
16 90
SureCartCore\View\PhpViewFilesystemFinder
S
16 43
SureCart\Rest\BlockPatternsRestServiceProvider
S
16 141
SureCart\Middleware\CheckoutRedirectMiddleware
S
15 65
SureCart\WordPress\Users\CustomerLinkService
S
15 66
SureCart\Routing\PermalinkSettingService
S
15 102
SureCart\Controllers\Rest\DraftCheckoutsController
S
14 60
SureCartBlocks\Blocks\AddToCartButton\Block
S
14 158
SureCart\Controllers\Rest\CustomerController
S
14 50
SureCart\Integrations\ThriveAutomator\Triggers\PurchaseUpdatedTrigger
S
14 40
SureCart\Controllers\Rest\SettingsController
S
14 52
SureCart\WordPress\Posts\PostService
S
13 43
SureCart\Integrations\Elementor\Conditions\ProductSingle
S
13 50
SureCart\WordPress\PostTypes\MetaboxService
S
13 67
SureCart\Database\UpdateMigrationServiceProvider
S
13 63
SureCart\Models\BuyLink
S
13 33
SureCart\Models\Payout
S
13 56
SureCart\Models\AffiliationRequest
S
12 72
SureCart\Models\Invoice
S
12 57
SureCartBlocks\Blocks\Form\Block
S
12 119
SureCart\Controllers\Rest\VerificationCodeController
S
12 52
SureCart\Controllers\Rest\IntegrationsController
S
11 53
SureCart\Middleware\LoginLinkMiddleware
S
11 40
SureCart\Models\Coupon
S
11 24
SureCartBlocks\Blocks\CheckoutForm\Block
S
11 27
SureCartBlocks\Blocks\ProductDonation\Block
S
11 81
SureCart\Rest\OrderRestServiceProvider
S
11 39
SureCart\Rest\SubscriptionRestServiceProvider
S
11 133
SureCartBlocks\Blocks\Dashboard\DashboardPage\Block
S
11 34
SureCart\Migration\ProductPageWrapperService
S
11 37
SureCart\WordPress\LineItemStateService
S
11 36
SureCart\Integrations\Beaver\BeaverServiceProvider
S
11 46
SureCart\Models\GalleryItemProductMedia
S
11 35
SureCart\WordPress\ThemeService
S
11 44
SureCart\Permissions\Models\CheckoutPermissionsController
S
10 30
SureCart\Integrations\AffiliateWP\AffiliateWPRecurringIntegration
S
10 46
SureCart\Support\TimeDate
S
10 209
SureCart\Models\ReturnRequest
S
10 60
SureCart\Controllers\Admin\Invoices\InvoicesViewController
S
9 80
SureCart\Rest\UpsellRestServiceProvider
S
9 85
SureCartBlocks\Blocks\PriceChoice\Block
S
9 50
SureCartBlocks\Blocks\ProductCollection\Block
S
9 87
SureCart\Models\ProvisionalAccount
S
9 19
SureCart\Controllers\Admin\Settings\BaseSettings
S
9 75
SureCartBlocks\Controllers\DownloadController
S
9 139
SureCart\Controllers\Admin\Upsells\UpsellsController
S
9 71
SureCart\Database\ProductPageMigrationService
S
9 48
SureCart\Models\Discount
S
9 22
SureCartBlocks\Controllers\CustomerController
S
9 93
SureCart\Permissions\AdminAccessService
S
9 23
SureCart\Background\AsyncWebhookService
S
8 31
SureCart\Install\InstallService
S
8 130
SureCartBlocks\Blocks\Dashboard\CustomerSubscriptions\Block
S
8 72
SureCart\Database\Table
S
8 41
SureCart\Controllers\Admin\Restore\RestoreController
S
8 54
SureCartBlocks\Blocks\VariantPriceSelector\Block
S
8 45
SureCartBlocks\Blocks\CartBlock
S
8 27
SureCartBlocks\Blocks\Product\Media\Block
S
8 68
SureCart\Rest\BumpRestServiceProvider
S
8 90
SureCartBlocks\Controllers\Middleware\UpdateSubscriptionMiddleware
S
8 43
SureCart\Svg\Svg
S
8 27
SureCartBlocks\Controllers\OrderController
S
7 137
SureCart\Controllers\Admin\ProductCollections\ProductCollectionsController
S
7 69
SureCart\Integrations\Bricks\Elements\Media
S
7 63
SureCart\Rest\UpsellFunnelRestServiceProvider
S
7 88
SureCart\Middleware\PathRedirectMiddleware
S
7 35
SureCart\BlockValidator\VariantChoice
S
7 26
SureCart\Integrations\Bricks\Elements\ProductData
S
7 132
SureCartBlocks\Blocks\Address\Block
S
6 37
SureCartBlocks\Blocks\StoreLogo\Block
S
6 37
SureCart\Integrations\Bricks\Elements\ProductCard
S
6 124
SureCartBlocks\Blocks\Product\VariantChoices\Block
S
6 26
SureCartBlocks\Blocks\Email\Block
S
6 22
SureCart\Integrations\Bricks\Elements\PriceData
S
6 124
SureCartCore\Exceptions\ExceptionsServiceProvider
S
6 48
SureCart\Database\WebhookMigrationsService
S
6 12
SureCart\WordPress\Admin\PluginCache\AdminPluginCacheService
S
6 60
SureCartBlocks\Controllers\LicenseController
S
6 126
SureCart\Controllers\Web\CheckoutFormsController
S
5 22
SureCart\Middleware\InvoiceRedirectMiddleware
S
5 24
SureCart\Middleware\CheckoutFormModeMiddleware
S
5 12
SureCartBlocks\Blocks\CustomerDashboardButton\Block
S
5 19
SureCart\Rest\AccountRestServiceProvider
S
5 85
SureCartBlocks\Blocks\ProductCollectionTitle\Block
S
5 22
SureCart\Rest\SettingsRestServiceProvider
S
5 85
SureCart\Settings\SettingService
S
5 235
SureCartBlocks\Blocks\ProductCollectionDescription\Block
S
5 19
SureCart\Rest\TaxProtocolRestServiceProvider
S
5 90
SureCart\Rest\CustomerNotificationProtocolRestServiceProvider
S
5 90
SureCart\Sync\ProductsSyncProcess
S
5 27
SureCart\WordPress\CLI\CLICommands
S
5 16
SureCartBlocks\Blocks\ProductDonationPrices\Block
S
5 34
SureCart\Rest\BrandRestServiceProvider
S
5 117
SureCartBlocks\Blocks\Product\Price\Block
S
5 27
SureCart\Models\Period
S
5 25
SureCart\Models\PaymentMethod
S
5 28
SureCartBlocks\Blocks\Product\PriceChoices\Block
S
4 25
SureCartBlocks\Blocks\Password\Block
S
4 27
SureCartBlocks\Controllers\UserController
S
4 83
SureCart\Models\VerificationCode
S
4 28
SureCart\Models\PaymentIntent
S
4 25
SureCart\Integrations\Bricks\Elements\Product
S
3 224
SureCart\Routing\PermalinkServiceProvider
S
2 104

563 more item(s) not shown.