Code Analysis: Leat CRM 0.5.11

Class Rating Complexity Lines of code
Leat\Api\Connection
D
160 984
Leat\Domain\Services\CustomerSession
C
113 516
Leat\Domain\Services\GiftcardProduct
B
93 576
Leat\Domain\Services\SpendRules
A
60 470
Leat\Domain\Services\EarnRules
S
49 274
Leat\Api\Schemas\ExtendSchema
S
47 167
Leat\Api\Schemas\V1\AbstractSchema
S
41 199
Leat\Api\Routes\V1\AbstractRoute
S
37 132
Leat\Assets\AssetDataRegistry
S
36 153
Leat\Domain\Bootstrap
S
30 228
Leat\Domain\Services\PromotionRules
S
28 277
Leat\AssetsController
S
27 227
Leat\Settings
S
25 335
Leat\Assets\Api
S
21 81
Leat\Shortcodes\AbstractShortcode
S
20 60
Leat\Integrations\IntegrationRegistry
S
19 73
Leat\Api\Routes\V1\WCProductsSearch
S
18 109
Leat\Utils\Common
S
16 43
Leat\Installer
S
15 88
Leat\Api\Routes\V1\WCCategoriesSearch
S
15 89
Leat\Api\Routes\V1\SpendRulesClaim
S
13 77
Leat\Api\Routes\V1\Middleware
S
11 45
Leat\Api\RoutesController
S
10 72
Leat\Utils\Logger
S
9 30
Leat\Api\Routes\V1\EarnRules
S
9 102
Leat\Api\Routes\V1\PromotionRules
S
9 92
Leat\Api\Routes\V1\SpendRules
S
9 108
Leat\RedirectController
S
9 14
Leat\Utils\OrderNotes
S
8 27
Leat\Api\Routes\V1\Admin\Settings
S
8 57
Leat\Package
S
8 46
Leat\Domain\Package
S
8 25
Leat\Api\Routes\V1\Coupons
S
7 43
Leat\Api\Routes\V1\EarnReward
S
6 53
Leat\Migration
S
6 16
Leat\Api\Formatters
S
6 12
Leat\Registry\Container
S
6 22
Leat\Api\Schemas\V1\EarnRewardSchema
S
5 24
Leat\Api\Routes\V1\JoinProgram
S
5 42
Leat\PostTypeController
S
5 138
Leat\Api\Schemas\V1\WCCategoriesSearchSchema
S
4 21
Leat\Registry\AbstractDependencyType
S
4 9
Leat\Api\Routes\V1\Admin\Shops
S
4 24
Leat\Api\Routes\V1\PromotionRulesSync
S
4 26
Leat\Api\Routes\V1\SpendRulesSync
S
4 26
Leat\Api\Routes\V1\Contact
S
4 31
Leat\Api\Api
S
4 65
Leat\Shortcodes\CustomerDashboardShortcode
S
4 14
Leat\Api\Schemas\V1\WCProductsSearchSchema
S
3 23
Leat\Api\Schemas\V1\PromotionRulesSchema
S
3 54
Leat\Api\Schemas\V1\SpendRulesSyncSchema
S
3 54
Leat\Api\Schemas\V1\SpendRulesSchema
S
3 54
Leat\Api\Schemas\V1\EarnRulesSchema
S
3 74
Leat\Api\Routes\V1\Admin\Rewards
S
3 20
Leat\Api\SchemaController
S
3 30
Leat\Api\Exceptions\RouteException
S
3 11
Leat\Api\Schemas\V1\JoinProgramSchema
S
2 15
Leat\Registry\SharedType
S
2 6
Leat\Api\Schemas\V1\PromotionRulesSyncSchema
S
2 51
Leat\Api\Schemas\V1\CouponsSchema
S
2 14
Leat\Api\Schemas\V1\SpendRulesClaimSchema
S
2 51
Leat\Api\Schemas\V1\Admin\SettingsSchema
S
2 30
Leat\Api\Formatters\DefaultFormatter
S
1 3
Leat\Api\Schemas\V1\Admin\RewardsSchema
S
1 34
Leat\Api\Schemas\V1\Admin\ShopsSchema
S
1 14
Leat\Registry\FactoryType
S
1 3
Leat\Api\Schemas\V1\ContactSchema
S
1 19