Code Analysis: SureCart 2.31.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\Controllers\Admin\Products\ProductsListTable
A
68 346
SureCart\Models\User
A
66 274
SureCart\Support\Blocks\TemplateUtilityService
A
66 253
SureCart\Controllers\Rest\CheckoutsController
A
63 218
SureCart\Models\Subscription
A
62 289
SureCart\Request\RequestService
A
60 179
SureCart\Controllers\Admin\Subscriptions\SubscriptionsListTable
A
55 230
SureCart\Controllers\Admin\Orders\OrdersListTable
A
53 255
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 224
SureCart\WordPress\Admin\Menus\AdminMenuPageService
S
43 176
SureCartCore\Kernels\HttpKernel
S
41 191
SureCartBlocks\Blocks\Product\BuyButton\Block
S
39 95
SureCart\Support\Errors\ErrorsTranslationService
S
39 117
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 166
SureCartCore\Routing\Router
S
35 155
SureCart\WordPress\PostTypes\FormPostTypeService
S
34 213
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 162
SureCart\Controllers\Admin\AffiliationClicks\AffiliationClicksListTable
S
31 141
SureCart\Controllers\Admin\Abandoned\AbandonedCheckoutListTable
S
30 139
SureCart\Controllers\Admin\Affiliations\AffiliationsListTable
S
30 176
SureCartBlocks\Blocks\CartSubmit\Block
S
30 67
SureCart\WordPress\Assets\ScriptsService
S
29 269
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 172
SureCart\BlockLibrary\FormModeSwitcherService
S
26 124
SureCartBlocks\Controllers\SubscriptionController
S
26 559
SureCart\Controllers\Admin\Tables\ListTable
S
26 110
SureCartAppCore\Avatar\Avatar
S
25 75
SureCart\Rest\CheckoutRestServiceProvider
S
25 186
SureCart\Controllers\Admin\Upsells\UpsellsListTable
S
25 169
SureCart\Controllers\Admin\Invoices\InvoicesListTable
S
24 119
SureCart\WordPress\Users\UsersService
S
24 161
SureCart\WordPress\CompatibilityService
S
24 74
SureCart\Controllers\Web\DashboardController
S
22 151
SureCart\WordPress\HealthService
S
22 135
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 110
SureCart\Controllers\Web\BuyPageController
S
21 126
SureCart\Background\CustomerSyncService
S
20 82
SureCart\Controllers\Admin\ProductGroups\ProductGroupsListTable
S
20 109
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\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\TranslationsServiceProvider
S
16 57
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\Templates\UpsellTemplatesService
S
15 87
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
SureCartCore\Csrf\Csrf
S
14 45
SureCart\Controllers\Rest\SettingsController
S
14 51
SureCart\WordPress\Posts\PostService
S
13 43
SureCart\Models\BuyLink
S
13 33
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
SureCartBlocks\Blocks\Dashboard\DashboardPage\Block
S
11 34
SureCartBlocks\Blocks\Form\Block
S
11 116
SureCartBlocks\Blocks\ProductDonation\Block
S
11 81
SureCart\Controllers\Rest\IntegrationsController
S
11 53
SureCartBlocks\Blocks\CheckoutForm\Block
S
11 27
SureCart\Rest\SubscriptionRestServiceProvider
S
11 133
SureCart\WordPress\LineItemStateService
S
11 36
SureCart\WordPress\ThemeService
S
11 44
SureCart\Rest\OrderRestServiceProvider
S
11 39
SureCart\Middleware\LoginLinkMiddleware
S
11 40
SureCart\WordPress\Sitemap\ProductCollectionSiteMap
S
11 56
SureCart\WordPress\Sitemap\ProductSiteMap
S
11 60
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\Beaver\BeaverServiceProvider
S
10 42
SureCart\Support\TimeDate
S
10 209
SureCart\Controllers\Web\ProductPageController
S
10 45
SureCart\Integrations\AffiliateWP\AffiliateWPRecurringIntegration
S
10 46
SureCartBlocks\Controllers\DownloadController
S
9 139
SureCart\Controllers\Admin\Settings\BaseSettings
S
9 75
SureCartBlocks\Controllers\CustomerController
S
9 93
SureCart\Models\ProvisionalAccount
S
9 19
SureCartBlocks\Blocks\ProductCollection\Block
S
9 72
SureCart\Controllers\Admin\Upsells\UpsellsController
S
9 70
SureCartAppCore\Image\Image
S
9 37
SureCart\Permissions\AdminAccessService
S
9 23
SureCart\Rest\UpsellRestServiceProvider
S
9 85
SureCart\Integrations\ThriveAutomator\DataObjects\ProductDataObject
S
9 45
SureCartBlocks\Blocks\Product\Media\Block
S
8 68
SureCart\Install\InstallService
S
8 130
SureCart\Controllers\Admin\Restore\RestoreController
S
8 54
SureCart\Models\LineItem
S
8 43
SureCart\Database\Table
S
8 41
SureCartBlocks\Blocks\CartBlock
S
8 27
SureCartBlocks\Blocks\VariantPriceSelector\Block
S
8 45
SureCart\Rest\DraftCheckoutRestServiceProvider
S
8 86
SureCartBlocks\Blocks\Dashboard\CustomerSubscriptions\Block
S
8 72
SureCartCore\Exceptions\Whoops\DebugDataProvider
S
8 26
SureCartBlocks\Controllers\Middleware\UpdateSubscriptionMiddleware
S
8 43
SureCart\Rest\BumpRestServiceProvider
S
8 90
SureCartBlocks\Blocks\PriceChoice\Block
S
8 47
SureCart\WordPress\Shortcodes\ShortcodesService
S
7 41
SureCart\Rest\PortalProtocolRestServiceProvider
S
7 77
SureCartBlocks\Controllers\OrderController
S
7 137
SureCart\Controllers\Admin\ProductCollections\ProductCollectionsController
S
7 69
SureCart\Middleware\PathRedirectMiddleware
S
7 35
SureCart\Rest\SubscriptionProtocolRestServiceProvider
S
7 75
SureCart\Models\Coupon
S
7 15
SureCart\BlockValidator\VariantChoice
S
7 26
SureCart\Rest\UpsellFunnelRestServiceProvider
S
7 88
SureCart\Background\AsyncWebhookService
S
7 29
SureCart\Database\WebhookMigrationsService
S
6 11
SureCartCore\Exceptions\ExceptionsServiceProvider
S
6 48
SureCartBlocks\Blocks\Address\Block
S
6 37
SureCartBlocks\Controllers\LicenseController
S
6 126
SureCartBlocks\Blocks\Payment\Block
S
6 42
SureCartBlocks\Blocks\Email\Block
S
6 22
SureCart\BlockLibrary\BlockService
S
6 19
SureCart\Controllers\Web\CollectionPageController
S
6 44
SureCartBlocks\Blocks\BlockService
S
6 19
SureCartBlocks\Blocks\StoreLogo\Block
S
6 37
SureCart\Models\Period
S
5 25
SureCart\Rest\TaxProtocolRestServiceProvider
S
5 90
SureCart\Rest\BrandRestServiceProvider
S
5 117
SureCart\Controllers\Web\CheckoutFormsController
S
5 22
SureCart\WordPress\CLI\CLICommands
S
5 16
SureCartBlocks\Blocks\CartMenuButton\Block
S
5 24
SureCart\Rest\SettingsRestServiceProvider
S
5 85
SureCart\Middleware\CheckoutFormModeMiddleware
S
5 12
SureCartCore\Middleware\UserCanMiddleware
S
5 19
SureCartBlocks\Blocks\ProductDonationPrices\Block
S
5 34
SureCartCore\Controllers\WordPressController
S
5 22
SureCart\Rest\CustomerNotificationProtocolRestServiceProvider
S
5 90
SureCart\Rest\AbandonedCheckoutRestServiceProvider
S
5 56
SureCartBlocks\Blocks\CustomerDashboardButton\Block
S
5 19
SureCartBlocks\Blocks\Product\CollectionBadges\Block
S
5 37
SureCart\Settings\SettingService
S
5 226
SureCart\Rest\AccountRestServiceProvider
S
5 85
SureCart\Rest\OrderProtocolRestServiceProvider
S
5 75
SureCart\Controllers\Rest\CheckEmailController
S
4 17
SureCartBlocks\Blocks\Dashboard\DashboardTab\Block
S
4 15
SureCart\Models\PaymentMethod
S
4 25
SureCartBlocks\Blocks\Password\Block
S
4 27
SureCartBlocks\Controllers\UserController
S
4 83
SureCart\Models\PaymentIntent
S
4 25
SureCart\Models\VerificationCode
S
4 28
SureCartBlocks\Blocks\Product\VariantChoices\Block
S
4 21
SureCartBlocks\Blocks\ProductDonationAmounts\Block
S
3 28
SureCart\Routing\PermalinkServiceProvider
S
2 115

521 more item(s) not shown.