Created at 2026-04-14 06:41:09 , with PHPMetrics v2.9.1 (Jean-François Lépine).
Average weighted method count by class (CC)
24.52
Average cyclomatic complexity by class
17.83
Average relative System complexity
163.77
Average bugs by class(Halstead)
0.46
average defects by class (Kan)
0.79
Class WMC Class cycl. Max method cycl. Relative system complexity Relative data complexity Relative structural complexity Bugs Defects
Plugin\Projects\Domain\Project\Project 27 24 16 10.5 1.5 9 0.33 0.99
Plugin\Projects\Infrastructure\Http\Api\Controller\ProjectApiController 43 30 5 324.47 0.47 324 0.8 0.99
Plugin\Projects\Infrastructure\Persistence\Mysql\MysqlProjectRepository 27 17 6 196.72 0.72 196 0.76 1.15
Plugin\Business\Domain\ThirdParty\ThirdPartyValidator 18 17 17 256.12 0.12 256 0.13 0.78
Plugin\Business\Domain\ThirdParty\ThirdParty 71 63 35 39.91 3.91 36 0.95 1.69
Plugin\Business\Domain\ThirdParty\ThirdPartyNotFoundException 1 1 1 2 2 0 0 0.15
Plugin\Business\Domain\Category\Category 8 6 6 4.33 4.33 0 0.08 0.5
Plugin\Business\Domain\BankAccount\BankAccount 15 13 12 5.29 5.29 0 0.19 0.92
Plugin\Business\Domain\User\Representative 5 3 3 4.81 3.81 1 0.05 0.15
Plugin\Business\Application\Codification\NullThirdPartyCodeGenerator 2 1 1 3 3 0 0.01 0.15
Plugin\Business\Infrastructure\Http\Api\Controller\ThirdPartyApiController 69 49 7 729.13 0.13 729 1.09 2.39
Plugin\Business\Infrastructure\Persistence\Mysql\User\MysqlThirdPartyRepresentativeRepository 8 5 4 9.69 0.69 9 0.13 0.38
Plugin\Business\Infrastructure\Persistence\Mysql\MysqlBankAccountRepository 10 5 2 144.47 0.47 144 0.38 0.36
Plugin\Finance\Domain\BankAccount\BankAccount 20 17 14 10.46 1.46 9 0.27 0.99
Plugin\Finance\Infrastructure\Http\Api\Controller\BankAccountApiController 33 23 5 289.44 0.44 289 0.62 0.64
Plugin\Finance\Infrastructure\Persistence\Mysql\MysqlTreasuryBankAccountRepository 25 15 6 169.77 0.77 169 0.72 1.01
Plugin\DolibarrCompat\Infrastructure\DolibarrMappingTrait 6 5 3 4 4 0 0.05 0.61
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\MysqlConfigurationAdapter 5 3 2 17.2 1.2 16 0.08 0.29
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\Products\DolibarrMysqlProductRepository 41 20 6 197.38 1.38 196 1.02 1.01
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\Trading\DolibarrMysqlSupplierInvoiceRepository 32 20 6 225.73 0.73 225 0.86 1.08
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\Trading\DolibarrMysqlSupplierOrderRepository 26 16 6 196.72 0.72 196 0.75 1.08
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\Trading\DolibarrMysqlOrderRepository 30 17 6 196.8 0.8 196 0.85 1.08
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\Trading\DolibarrMysqlInvoiceRepository 39 28 12 1156.35 0.35 1156 1.31 1.94
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\Trading\DolibarrMysqlProposalRepository 30 17 6 196.8 0.8 196 0.85 1.08
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\Business\DolibarrMysqlThirdPartyRepository 16 9 4 169.47 0.47 169 0.63 0.36
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\Business\DolibarrMysqlThirdPartyCategoryRepository 7 3 2 49.6 0.6 49 0.18 0.22
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\Crm\DolibarrMysqlContactRepository 13 8 4 121.4 0.4 121 0.55 0.36
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\Crm\DolibarrMysqlContactCategoryRepository 6 3 2 9.69 0.69 9 0.15 0.38
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\Crm\DolibarrMysqlEventRepository 22 17 9 169.55 0.55 169 0.54 1.22
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\DolibarrExtrafieldsAdapter 17 10 5 49.91 0.91 49 0.51 0.96
Plugin\DolibarrCompat\Infrastructure\Persistence\Mysql\Menu\MysqlLegacyDolibarrMenuAdapter 12 10 7 16.87 0.87 16 0.26 0.82
Plugin\Crm\Domain\Event\Event 36 33 18 6 6 0 0.36 0.99
Plugin\Crm\Domain\Contact\Contact 61 58 33 4.85 3.85 1 0.79 1.48
Plugin\Crm\Domain\Contact\ContactNotFoundException 2 1 1 3 3 0 0.01 0.15
Plugin\Crm\Infrastructure\Http\Api\Controller\ContactApiController 37 26 8 324.11 0.11 324 0.57 1.06
Plugin\Crm\Infrastructure\Http\Api\Controller\EventApiController 23 17 5 169.55 0.55 169 0.46 0.64
Plugin\Products\Domain\Product\Product 26 23 16 17.95 1.95 16 0.41 1.2
Plugin\Products\Infrastructure\Http\Api\Controller\ProductApiController 54 32 5 841.37 0.37 841 0.93 0.85
anonymous@00000000000017ec0000000000000000 2 1 1 1.5 0.5 1 0.01 0.15
Plugin\Tenant\Domain\Tenant 7 2 2 14.06 14.06 0 0.13 0.22
Plugin\Tenant\Domain\TenantUser 2 1 1 6.71 6.71 0 0.03 0.15
Plugin\Tenant\Domain\TenantGroup 2 1 1 5.67 5.67 0 0.02 0.15
Plugin\Tenant\Application\CreateTenantHandler 8 7 7 9.5 0.5 9 0.05 0.22
Plugin\Tenant\Application\ListUserTenantsHandler 2 1 1 2 1 1 0 0.15
Plugin\Tenant\Infrastructure\Http\Api\Controller\TenantApiController 23 19 8 196.6 0.6 196 0.29 0.78
Plugin\Tenant\Infrastructure\Middleware\TenantMiddleware 19 17 12 169.62 0.62 169 0.19 0.71
Plugin\Tenant\Infrastructure\Persistence\DedicatedDatabaseResolver 12 9 5 49.5 0.5 49 0.07 0.29
Plugin\Tenant\Infrastructure\Persistence\MysqlTenantRepository 32 16 5 484.57 0.57 484 0.58 0.29
Plugin\Trading\Domain\Invoice\InvoiceNotFoundException 1 1 1 2 2 0 0 0.15
Plugin\Trading\Domain\Invoice\Invoice 54 43 25 101.23 1.23 100 0.73 1.36
Plugin\Trading\Domain\Invoice\InvoiceLine 30 26 15 5.09 4.09 1 0.47 0.92
Plugin\Trading\Domain\Proposal\Proposal 26 23 16 10.46 1.46 9 0.36 1.13
Plugin\Trading\Domain\SupplierOrder\SupplierOrder 24 21 14 10.46 1.46 9 0.32 0.99
Plugin\Trading\Domain\Order\Order 26 23 16 10.46 1.46 9 0.36 1.13
Plugin\Trading\Domain\SupplierInvoice\SupplierInvoice 24 21 14 10.46 1.46 9 0.32 0.99
Plugin\Trading\Infrastructure\Http\Api\Controller\SupplierOrderApiController 41 28 5 324.47 0.47 324 0.79 0.85
Plugin\Trading\Infrastructure\Http\Api\Controller\InvoiceApiController 70 51 14 784.18 0.18 784 1.25 2.04
Plugin\Trading\Infrastructure\Http\Api\Controller\OrderApiController 46 30 5 441.42 0.42 441 0.92 0.85
Plugin\Trading\Infrastructure\Http\Api\Controller\ProposalApiController 46 30 5 441.42 0.42 441 0.92 0.85
Plugin\Trading\Infrastructure\Http\Api\Controller\SupplierInvoiceApiController 51 34 5 400.43 0.43 400 0.96 0.99