Code Analysis: SureCart 2.19.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 274
SureCart\Support\Blocks\TemplateUtilityService
A
63 245
SureCart\Controllers\Rest\CheckoutsController
A
62 215
SureCart\Models\Subscription
A
61 285
SureCart\Request\RequestService
A
58 174
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 181
SureCart\Controllers\Admin\Products\ProductsListTable
A
52 301
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\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\Upsell\SubmitButton\Block
S
38 102
SureCart\Models\Checkout
S
36 164
SureCartBlocks\Blocks\ProductCollection\Block
S
36 118
SureCartBlocks\Controllers\PaymentMethodController
S
36 191
SureCart\Cart\CartService
S
35 165
SureCartCore\Routing\Router
S
35 155
SureCart\WordPress\Admin\Menus\AdminMenuPageService
S
35 157
SureCart\WordPress\PostTypes\FormPostTypeService
S
35 209
SureCartCore\Routing\Conditions\ConditionFactory
S
33 122
SureCartBlocks\Blocks\Upsell\CountdownTimer\Block
S
32 72
SureCartBlocks\Blocks\Upsell\NoThanksButton\Block
S
32 72
SureCart\Rest\RestServiceProvider
S
32 118
SureCart\WordPress\Pages\PageService
S
31 112
SureCart\WordPress\PostTypes\CartPostTypeService
S
31 231
SureCartBlocks\Blocks\CartSubmit\Block
S
30 67
SureCart\Permissions\Models\SubscriptionPermissionsController
S
30 85
SureCartCore\Routing\Conditions\UrlCondition
S
29 140
SureCart\Support\Errors\ErrorsTranslationService
S
29 100
SureCart\WordPress\Assets\ScriptsService
S
29 266
SureCart\WordPress\Assets\AssetsService
S
29 122
SureCart\WordPress\Templates\TemplatesService
S
29 156
SureCartCore\Responses\ResponseService
S
28 103
SureCart\Integrations\MemberPress\MemberPressService
S
28 114
SureCart\Models\Customer
S
27 96
SureCartCore\Requests\Request
S
27 106
SureCart\Controllers\Admin\Abandoned\AbandonedCheckoutListTable
S
27 128
SureCart\Controllers\Admin\Bumps\BumpsListTable
S
27 171
SureCartBlocks\Controllers\SubscriptionController
S
26 558
SureCart\Controllers\Admin\Tables\ListTable
S
26 110
SureCart\Models\Form
S
25 107
SureCart\Rest\CheckoutRestServiceProvider
S
25 186
SureCart\Controllers\Admin\Upsells\UpsellsListTable
S
25 168
SureCartAppCore\Avatar\Avatar
S
25 75
SureCart\Controllers\Admin\Invoices\InvoicesListTable
S
24 119
SureCart\WordPress\Users\UsersService
S
24 161
SureCart\Controllers\Web\DashboardController
S
22 151
SureCart\WordPress\HealthService
S
22 135
SureCart\Controllers\Web\BuyPageController
S
21 126
SureCart\WordPress\CompatibilityService
S
21 61
SureCart\WordPress\Templates\CollectionTemplatesService
S
21 101
SureCartAppCore\Assets\Assets
S
21 81
SureCart\Background\CustomerSyncService
S
20 82
SureCart\Controllers\Admin\ProductGroups\ProductGroupsListTable
S
20 108
SureCart\WordPress\Pages\PageSeeder
S
20 115
SureCart\Rest\ProductsRestServiceProvider
S
19 146
SureCart\Support\Encryption
S
19 53
SureCart\Support\Scripts\AdminModelEditController
S
19 95
SureCart\Models\Purchase
S
18 72
SureCart\Controllers\Web\WebhookController
S
18 111
SureCart\WordPress\Admin\Menus\ProductCollectionsMenuService
S
18 86
SureCart\Controllers\Rest\RestController
S
17 66
SureCartCore\View\ViewService
S
17 68
SureCartBlocks\Blocks\ProductCollectionImage\Block
S
17 41
SureCartBlocks\Controllers\BaseController
S
17 46
SureCart\Permissions\RolesService
S
17 167
SureCart\Controllers\Web\UpsellPageController
S
17 80
SureCart\Integrations\AffiliateWP\AffiliateWPIntegration
S
17 87
SureCart\Support\Currency
S
17 379
SureCart\Webhooks\WebhooksService
S
17 66
SureCart\Controllers\Rest\IncomingWebhooksController
S
17 59
SureCart\WordPress\TranslationsServiceProvider
S
17 64
SureCartCore\Exceptions\ErrorHandler
S
16 66
SureCart\Account\AccountService
S
16 49
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\Admin\Notices\AdminNoticesService
S
16 100
SureCart\WordPress\Shortcodes\ShortcodesServiceProvider
S
16 278
SureCartCore\Helpers\Handler
S
15 57
SureCart\Routing\PermalinkSettingService
S
15 102
SureCart\Middleware\CheckoutRedirectMiddleware
S
15 65
SureCart\WordPress\Users\CustomerLinkService
S
15 66
SureCartCore\Csrf\Csrf
S
14 45
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
SureCart\WordPress\Templates\UpsellTemplatesService
S
14 86
SureCart\Models\BuyLink
S
13 33
SureCartBlocks\Blocks\AddToCartButton\Block
S
13 74
SureCart\Controllers\Rest\SettingsController
S
13 47
SureCart\Database\UpdateMigrationServiceProvider
S
13 63
SureCart\WordPress\Assets\PreloadService
S
13 55
SureCart\Integrations\ThriveAutomator\Triggers\PurchaseInvokedTrigger
S
12 35
SureCart\Integrations\ThriveAutomator\Triggers\PurchaseCreatedTrigger
S
12 35
SureCartCore\Helpers\MixedType
S
12 37
SureCartCore\Helpers\Url
S
12 36
SureCart\Controllers\Rest\VerificationCodeController
S
12 52
SureCart\Controllers\Rest\IntegrationsController
S
11 53
SureCart\Rest\OrderRestServiceProvider
S
11 39
SureCart\Middleware\LoginLinkMiddleware
S
11 40
SureCart\Rest\SubscriptionRestServiceProvider
S
11 133
SureCart\Controllers\Admin\Products\ProductsController
S
11 82
SureCartBlocks\Blocks\CheckoutForm\Block
S
11 27
SureCartBlocks\Blocks\Dashboard\DashboardPage\Block
S
11 34
SureCartBlocks\Blocks\Form\Block
S
11 116
SureCartBlocks\Blocks\ProductDonation\Block
S
11 81
SureCart\Integrations\Elementor\Conditions\ProductSingle
S
11 48
SureCart\WordPress\LineItemStateService
S
11 36
SureCart\WordPress\ThemeService
S
11 44
SureCart\WordPress\Sitemap\ProductCollectionSiteMap
S
11 56
SureCart\WordPress\Sitemap\ProductSiteMap
S
11 59
SureCart\Integrations\Beaver\BeaverServiceProvider
S
10 42
SureCart\Support\TimeDate
S
10 209
SureCartAppCore\Sidebar\Sidebar
S
10 22
SureCart\Models\ReturnRequest
S
10 60
SureCartCore\View\PhpView
S
10 35
SureCart\Integrations\AffiliateWP\AffiliateWPRecurringIntegration
S
10 46
SureCart\Permissions\Models\CustomerPermissionsController
S
10 31
SureCartBlocks\Controllers\CustomerController
S
9 93
SureCartAppCore\Image\Image
S
9 37
SureCart\Controllers\Admin\Settings\BaseSettings
S
9 73
SureCart\Controllers\Web\ProductPageController
S
9 43
SureCart\Controllers\Admin\Upsells\UpsellsController
S
9 65
SureCart\Rest\UpsellRestServiceProvider
S
9 85
SureCart\Integrations\ThriveAutomator\DataObjects\ProductDataObject
S
9 45
SureCart\Permissions\AdminAccessService
S
9 23
SureCartBlocks\Controllers\DownloadController
S
9 139
SureCartBlocks\Blocks\Dashboard\DashboardPage
S
9 27
SureCartBlocks\Blocks\Product\Media\Block
S
8 68
SureCart\Controllers\Admin\Restore\RestoreController
S
8 55
SureCartBlocks\Controllers\Middleware\UpdateSubscriptionMiddleware
S
8 43
SureCartBlocks\Blocks\Dashboard\CustomerSubscriptions\Block
S
8 72
SureCart\Install\InstallService
S
8 130
SureCart\Rest\DraftCheckoutRestServiceProvider
S
8 86
SureCartCore\Exceptions\Whoops\DebugDataProvider
S
8 26
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\BlockValidator\VariantChoice
S
7 26
SureCart\Background\AsyncWebhookService
S
7 29
SureCartBlocks\Blocks\PriceChoice\Block
S
7 30
SureCart\Controllers\Admin\ProductCollections\ProductCollectionsController
S
7 69
SureCart\Rest\UpsellFunnelRestServiceProvider
S
7 88
SureCart\Rest\PortalProtocolRestServiceProvider
S
7 77
SureCart\Controllers\Admin\Bumps\BumpsController
S
7 46
SureCart\Controllers\Admin\Customers\CustomersController
S
7 48
SureCart\Middleware\PathRedirectMiddleware
S
7 35
SureCart\Controllers\Admin\Licenses\LicensesController
S
7 48
SureCart\Rest\SubscriptionProtocolRestServiceProvider
S
7 75
SureCartBlocks\Controllers\OrderController
S
7 137
SureCart\Models\LineItem
S
6 28
SureCartBlocks\Blocks\Payment\Block
S
6 42
SureCartBlocks\Blocks\Email\Block
S
6 22
SureCart\WordPress\Shortcodes\ShortcodesService
S
6 41
SureCart\Controllers\Web\CollectionPageController
S
6 44
SureCartCore\Exceptions\ExceptionsServiceProvider
S
6 48
SureCart\Models\ProvisionalAccount
S
6 15
SureCartBlocks\Blocks\BlockService
S
6 19
SureCartBlocks\Controllers\LicenseController
S
6 126
SureCart\Database\WebhookMigrationsService
S
6 11
SureCartBlocks\Blocks\StoreLogo\Block
S
6 37
SureCart\BlockLibrary\BlockService
S
6 19
SureCartCore\Controllers\WordPressController
S
5 22
SureCart\Rest\SettingsRestServiceProvider
S
5 85
SureCart\Rest\AccountRestServiceProvider
S
5 85
SureCartCore\Middleware\UserCanMiddleware
S
5 19
SureCartBlocks\Blocks\CustomerDashboardButton\Block
S
5 19
SureCart\Rest\TaxProtocolRestServiceProvider
S
5 90
SureCart\Rest\AbandonedCheckoutRestServiceProvider
S
5 56
SureCart\Models\Period
S
5 25
SureCart\Rest\CustomerNotificationProtocolRestServiceProvider
S
5 90
SureCart\Rest\BrandRestServiceProvider
S
5 117
SureCartBlocks\Blocks\ProductDonationPrices\Block
S
5 34
SureCart\Rest\OrderProtocolRestServiceProvider
S
5 75
SureCartBlocks\Blocks\Product\CollectionBadges\Block
S
5 37
SureCartBlocks\Blocks\CartMenuButton\Block
S
5 24
SureCart\Settings\SettingService
S
5 226
SureCart\Models\PaymentMethod
S
4 25
SureCartBlocks\Blocks\Product\VariantChoices\Block
S
4 21
SureCartBlocks\Blocks\Dashboard\DashboardTab\Block
S
4 15
SureCart\Controllers\Rest\CheckEmailController
S
4 17
SureCartBlocks\Blocks\Password\Block
S
4 27
SureCart\Models\VerificationCode
S
4 28
SureCart\Models\PaymentIntent
S
4 25
SureCartBlocks\Controllers\UserController
S
4 83
SureCartBlocks\Blocks\Address\Block
S
4 21
SureCartBlocks\Blocks\Dashboard\OrderDownloads\Block
S
3 26
SureCartBlocks\Blocks\ProductDonationAmounts\Block
S
3 28
SureCart\Routing\PermalinkServiceProvider
S
2 110

467 more item(s) not shown.