Code Analysis: SureCart 2.29.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\Controllers\Admin\Products\ProductsListTable
A
68 345
SureCart\Models\User
A
66 274
SureCart\Support\Blocks\TemplateUtilityService
A
66 253
SureCart\Controllers\Rest\CheckoutsController
A
63 218
SureCart\Models\Subscription
A
61 285
SureCart\Request\RequestService
A
60 179
SureCart\Controllers\Admin\Subscriptions\SubscriptionsListTable
A
55 229
SureCart\Controllers\Admin\Orders\OrdersListTable
A
53 254
SureCart\Integrations\IntegrationService
A
53 187
SureCartBlocks\Blocks\ProductItemList\Block
A
52 182
SureCartBlocks\Blocks\BaseBlock
S
50 129
SureCart\Permissions\WPConfig\WPConfigTransformService
S
49 173
SureCart\WordPress\Templates\BlockTemplatesService
S
47 186
SureCart\Controllers\Admin\Coupons\CouponsListTable
S
45 197
SureCart\Integrations\TutorLMS\TutorLMSService
S
44 184
SureCart\Models\Product
S
44 205
SureCart\Controllers\Admin\AffiliationReferrals\AffiliationReferralsListTable
S
44 223
SureCart\WordPress\Admin\Menus\AdminMenuPageService
S
43 176
SureCartCore\Kernels\HttpKernel
S
41 191
SureCartBlocks\Blocks\Product\BuyButton\Block
S
39 95
SureCart\Models\Checkout
S
38 170
SureCartBlocks\Blocks\Upsell\SubmitButton\Block
S
38 102
SureCartBlocks\Controllers\PaymentMethodController
S
36 193
SureCart\Cart\CartService
S
35 165
SureCart\WordPress\PostTypes\FormPostTypeService
S
35 209
SureCartCore\Routing\Router
S
35 155
SureCart\Support\Errors\ErrorsTranslationService
S
35 102
SureCartCore\Routing\Conditions\ConditionFactory
S
33 122
SureCartBlocks\Blocks\Upsell\CountdownTimer\Block
S
32 72
SureCartBlocks\Blocks\Upsell\NoThanksButton\Block
S
32 72
SureCart\Permissions\Models\SubscriptionPermissionsController
S
32 88
SureCart\Rest\RestServiceProvider
S
32 118
SureCart\WordPress\Assets\AssetsService
S
31 126
SureCart\WordPress\Pages\PageService
S
31 112
SureCart\WordPress\PostTypes\CartPostTypeService
S
31 231
SureCart\Controllers\Admin\AffiliationPayouts\AffiliationPayoutsListTable
S
31 161
SureCart\Controllers\Admin\AffiliationClicks\AffiliationClicksListTable
S
31 140
SureCart\Controllers\Admin\Abandoned\AbandonedCheckoutListTable
S
30 138
SureCart\Controllers\Admin\Affiliations\AffiliationsListTable
S
30 175
SureCartBlocks\Blocks\CartSubmit\Block
S
30 67
SureCart\WordPress\Assets\ScriptsService
S
29 270
SureCart\WordPress\Templates\TemplatesService
S
29 156
SureCart\Models\Customer
S
29 102
SureCartCore\Routing\Conditions\UrlCondition
S
29 140
SureCart\Background\BulkActionService
S
29 131
SureCartCore\Responses\ResponseService
S
28 103
SureCart\Integrations\MemberPress\MemberPressService
S
28 114
SureCartCore\Requests\Request
S
27 106
SureCart\Controllers\Admin\Bumps\BumpsListTable
S
27 171
SureCartBlocks\Controllers\SubscriptionController
S
26 559
SureCart\Controllers\Admin\Tables\ListTable
S
26 110
SureCartAppCore\Avatar\Avatar
S
25 75
SureCart\BlockLibrary\FormModeSwitcherService
S
25 121
SureCart\Rest\CheckoutRestServiceProvider
S
25 186
SureCart\Controllers\Admin\Upsells\UpsellsListTable
S
25 168
SureCart\Controllers\Admin\Invoices\InvoicesListTable
S
24 119
SureCart\WordPress\Users\UsersService
S
24 161
SureCart\WordPress\HealthService
S
22 135
SureCart\Controllers\Web\DashboardController
S
22 151
SureCart\WordPress\CompatibilityService
S
22 71
SureCart\WordPress\Pages\PageSeeder
S
21 115
SureCart\WordPress\Templates\CollectionTemplatesService
S
21 101
SureCartAppCore\Assets\Assets
S
21 81
SureCart\Controllers\Admin\AffiliationRequests\AffiliationRequestsListTable
S
21 109
SureCart\Controllers\Web\BuyPageController
S
21 126
SureCart\Background\CustomerSyncService
S
20 82
SureCart\Controllers\Admin\ProductGroups\ProductGroupsListTable
S
20 108
SureCart\Models\Referral
S
19 101
SureCart\Rest\ProductsRestServiceProvider
S
19 146
SureCart\Support\Encryption
S
19 53
SureCart\Support\Scripts\AdminModelEditController
S
19 96
SureCart\WordPress\Admin\Menus\ProductCollectionsMenuService
S
18 86
SureCart\Models\Purchase
S
18 72
SureCart\Controllers\Web\WebhookController
S
18 111
SureCart\WordPress\TranslationsServiceProvider
S
17 64
SureCart\Controllers\Rest\IncomingWebhooksController
S
17 59
SureCart\Models\Affiliation
S
17 65
SureCart\Controllers\Rest\RestController
S
17 66
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\Support\Currency
S
17 377
SureCart\Webhooks\WebhooksService
S
17 66
SureCart\WordPress\Admin\Notices\AdminNoticesService
S
16 100
SureCart\WordPress\Assets\BlockAssetsLoadService
S
16 46
SureCart\WordPress\Shortcodes\ShortcodesServiceProvider
S
16 278
SureCartCore\Exceptions\ErrorHandler
S
16 66
SureCartCore\View\PhpViewFilesystemFinder
S
16 43
SureCart\Account\AccountService
S
16 49
SureCart\Permissions\Models\ModelPermissionsController
S
16 45
SureCart\Rest\BlockPatternsRestServiceProvider
S
16 141
SureCart\Integrations\Elementor\ElementorServiceProvider
S
16 77
SureCart\Middleware\CheckoutRedirectMiddleware
S
15 65
SureCart\WordPress\Users\CustomerLinkService
S
15 66
SureCartCore\Helpers\Handler
S
15 57
SureCart\Controllers\Admin\Products\ProductsController
S
15 111
SureCart\Routing\PermalinkSettingService
S
15 102
SureCart\Integrations\ThriveAutomator\Triggers\PurchaseUpdatedTrigger
S
14 40
SureCart\Controllers\Rest\CustomerController
S
14 50
SureCart\Controllers\Rest\DraftCheckoutsController
S
14 60
SureCart\WordPress\Templates\UpsellTemplatesService
S
14 86
SureCartCore\Csrf\Csrf
S
14 45
SureCart\Controllers\Rest\SettingsController
S
14 51
SureCart\Models\BuyLink
S
13 33
SureCart\WordPress\Assets\PreloadService
S
13 55
SureCartBlocks\Blocks\AddToCartButton\Block
S
13 74
SureCart\Models\Payout
S
13 56
SureCart\Database\UpdateMigrationServiceProvider
S
13 63
SureCart\Models\AffiliationRequest
S
12 72
SureCartCore\Helpers\Url
S
12 36
SureCart\Controllers\Rest\VerificationCodeController
S
12 52
SureCart\Integrations\Elementor\Conditions\ProductSingle
S
12 51
SureCart\Rest\SubscriptionRestServiceProvider
S
11 133
SureCart\WordPress\LineItemStateService
S
11 36
SureCart\WordPress\ThemeService
S
11 44
SureCart\Rest\OrderRestServiceProvider
S
11 39
SureCartBlocks\Blocks\CheckoutForm\Block
S
11 27
SureCart\Middleware\LoginLinkMiddleware
S
11 40
SureCart\WordPress\Sitemap\ProductCollectionSiteMap
S
11 56
SureCart\WordPress\Sitemap\ProductSiteMap
S
11 60
SureCart\Controllers\Rest\IntegrationsController
S
11 53
SureCartBlocks\Blocks\Dashboard\DashboardPage\Block
S
11 34
SureCartBlocks\Blocks\Form\Block
S
11 116
SureCartBlocks\Blocks\ProductDonation\Block
S
11 81
SureCartAppCore\Sidebar\Sidebar
S
10 22
SureCartCore\View\PhpView
S
10 35
SureCart\Models\ReturnRequest
S
10 60
SureCart\Permissions\Models\CustomerPermissionsController
S
10 31
SureCart\Integrations\AffiliateWP\AffiliateWPRecurringIntegration
S
10 46
SureCart\Integrations\Beaver\BeaverServiceProvider
S
10 42
SureCart\Support\TimeDate
S
10 209
SureCart\Controllers\Web\ProductPageController
S
10 45
SureCart\Controllers\Admin\Upsells\UpsellsController
S
9 70
SureCartBlocks\Controllers\CustomerController
S
9 93
SureCart\Models\ProvisionalAccount
S
9 19
SureCartBlocks\Blocks\ProductCollection\Block
S
9 72
SureCart\Controllers\Admin\Settings\BaseSettings
S
9 75
SureCartAppCore\Image\Image
S
9 37
SureCart\Permissions\AdminAccessService
S
9 23
SureCartBlocks\Controllers\DownloadController
S
9 139
SureCart\Integrations\ThriveAutomator\DataObjects\ProductDataObject
S
9 45
SureCart\Rest\UpsellRestServiceProvider
S
9 85
SureCartCore\Exceptions\Whoops\DebugDataProvider
S
8 26
SureCart\Controllers\Admin\Restore\RestoreController
S
8 54
SureCartBlocks\Blocks\Product\Media\Block
S
8 68
SureCartBlocks\Controllers\Middleware\UpdateSubscriptionMiddleware
S
8 43
SureCartBlocks\Blocks\VariantPriceSelector\Block
S
8 45
SureCart\Install\InstallService
S
8 130
SureCartBlocks\Blocks\Dashboard\CustomerSubscriptions\Block
S
8 72
SureCartBlocks\Blocks\PriceChoice\Block
S
8 47
SureCart\Rest\BumpRestServiceProvider
S
8 90
SureCart\Database\Table
S
8 41
SureCart\Rest\DraftCheckoutRestServiceProvider
S
8 86
SureCartBlocks\Blocks\CartBlock
S
8 27
SureCart\WordPress\Posts\PostService
S
7 24
SureCart\WordPress\Shortcodes\ShortcodesService
S
7 41
SureCart\BlockValidator\VariantChoice
S
7 26
SureCart\Rest\SubscriptionProtocolRestServiceProvider
S
7 75
SureCart\Background\AsyncWebhookService
S
7 29
SureCart\Rest\UpsellFunnelRestServiceProvider
S
7 88
SureCartBlocks\Controllers\OrderController
S
7 137
SureCart\Rest\PortalProtocolRestServiceProvider
S
7 77
SureCart\Middleware\PathRedirectMiddleware
S
7 35
SureCart\Controllers\Admin\ProductCollections\ProductCollectionsController
S
7 69
SureCartBlocks\Blocks\BlockService
S
6 19
SureCartBlocks\Blocks\Email\Block
S
6 22
SureCartBlocks\Blocks\Address\Block
S
6 37
SureCartBlocks\Blocks\StoreLogo\Block
S
6 37
SureCart\Controllers\Web\CollectionPageController
S
6 44
SureCartCore\Exceptions\ExceptionsServiceProvider
S
6 48
SureCart\Database\WebhookMigrationsService
S
6 11
SureCartBlocks\Blocks\Payment\Block
S
6 42
SureCart\BlockLibrary\BlockService
S
6 19
SureCartBlocks\Controllers\LicenseController
S
6 126
SureCart\Models\LineItem
S
6 28
SureCart\Rest\AbandonedCheckoutRestServiceProvider
S
5 56
SureCart\Rest\TaxProtocolRestServiceProvider
S
5 90
SureCartBlocks\Blocks\CartMenuButton\Block
S
5 24
SureCart\Rest\SettingsRestServiceProvider
S
5 85
SureCart\Rest\OrderProtocolRestServiceProvider
S
5 75
SureCart\Middleware\CheckoutFormModeMiddleware
S
5 12
SureCartBlocks\Blocks\CustomerDashboardButton\Block
S
5 19
SureCart\Controllers\Web\CheckoutFormsController
S
5 22
SureCart\Models\Period
S
5 25
SureCartCore\Middleware\UserCanMiddleware
S
5 19
SureCartBlocks\Blocks\Product\CollectionBadges\Block
S
5 37
SureCart\Rest\BrandRestServiceProvider
S
5 117
SureCartCore\Controllers\WordPressController
S
5 22
SureCartBlocks\Blocks\ProductDonationPrices\Block
S
5 34
SureCart\WordPress\CLI\CLICommands
S
5 16
SureCart\Settings\SettingService
S
5 226
SureCart\Rest\CustomerNotificationProtocolRestServiceProvider
S
5 90
SureCart\Rest\AccountRestServiceProvider
S
5 85
SureCartBlocks\Blocks\Password\Block
S
4 27
SureCart\Models\PaymentIntent
S
4 25
SureCartBlocks\Blocks\Dashboard\DashboardTab\Block
S
4 15
SureCart\Controllers\Rest\CheckEmailController
S
4 17
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\ProductDonationAmounts\Block
S
3 28
SureCart\Routing\PermalinkServiceProvider
S
2 115

521 more item(s) not shown.