Created at 2023-10-02 16:04:37 , with PHPMetrics v2.8.2 (Jean-François Lépine).
Test suites
17
Assertions
125
classes never called by tests (62.86 %)
22

These classes are never called by tests

Tests with high Cyclomatic number or high probability of bugs should be covered by unit tests.
Class Cyclomatic Bugs
Modules\Accounting\Models\AccountType 1 0
Modules\Accounting\Models\PermissionCategory 1 0.01
Modules\Accounting\Models\CostCenterL11nMapper 1 0.05
Modules\Accounting\Models\PostingAbstract 1 0
Modules\Accounting\Models\CostObjectL11nMapper 1 0.05
Modules\Accounting\Models\AccountAbstract 7 0.06
Modules\Accounting\Models\Posting 1 0
Modules\Accounting\Models\AccountAbstractMapper 1 0.06
Modules\Accounting\Models\IncomeStatement 1 0
Modules\Accounting\Models\InvoicePosting 1 0
Modules\Accounting\Models\TimeRangeType 1 0.01
Modules\Accounting\Models\AccountL11nMapper 1 0.04
Modules\Accounting\Controller\ApiController 39 0.71
Modules\Accounting\Controller\Controller 1 0.01
Modules\Accounting\Controller\BackendController 9 0.68
Modules\Accounting\Admin\Status 1 0
Modules\Accounting\Admin\Installer 7 0.22
Modules\Accounting\Admin\Install\Navigation 1 0.01
Modules\Accounting\Admin\Uninstaller 1 0
Modules\Accounting\Admin\Updater 1 0

Execution time of tests

These classes are called by tests

TestSuite Called by these classes
Install\tests\InstallTest - PHPUnit\Framework\TestCase
- phpOMS\Message\Http\HttpResponse
- phpOMS\Uri\HttpUri
- phpOMS\Message\Http\HttpRequest
- Install\WebApplication
Modules\Accounting\tests\Admin\AccountingTest - PHPUnit\Framework\TestCase
Modules\Accounting\tests\Controller\ApiControllerTest - PHPUnit\Framework\TestCase
-
- phpOMS\Account\AccountManager
- Model\CoreSettings
- phpOMS\Module\ModuleManager
- phpOMS\Dispatcher\Dispatcher
- phpOMS\Event\EventManager
- phpOMS\Localization\L11nManager
- phpOMS\Account\Account
- phpOMS\Utils\TestUtils
- Modules\Admin\Models\AccountPermission
- phpOMS\Router\WebRouter
Modules\Accounting\tests\Models\AccountAbstractTest - PHPUnit\Framework\TestCase
-
- DateTime
Modules\Accounting\tests\Models\BalanceL11nTest - PHPUnit\Framework\TestCase
1 Modules\Accounting\Models\BalanceL11n
Modules\Accounting\tests\Models\BalanceTest - PHPUnit\Framework\TestCase
1 Modules\Accounting\Models\Balance
Modules\Accounting\tests\Models\BatchPostingTest - PHPUnit\Framework\TestCase
3 Modules\Accounting\Models\BatchPosting
Modules\Accounting\tests\Models\CostCenterL11nTest - PHPUnit\Framework\TestCase
1 Modules\Accounting\Models\CostCenterL11n
Modules\Accounting\tests\Models\CostCenterMapperTest - PHPUnit\Framework\TestCase
1 Modules\Accounting\Models\CostCenter
1 Modules\Accounting\Models\CostCenterMapper
Modules\Accounting\tests\Models\CostCenterTest - PHPUnit\Framework\TestCase
1 Modules\Accounting\Models\CostCenter
Modules\Accounting\tests\Models\CostObjectL11nTest - PHPUnit\Framework\TestCase
1 Modules\Accounting\Models\CostObjectL11n
Modules\Accounting\tests\Models\CostObjectMapperTest - PHPUnit\Framework\TestCase
1 Modules\Accounting\Models\CostObject
1 Modules\Accounting\Models\CostObjectMapper
Modules\Accounting\tests\Models\CostObjectTest - PHPUnit\Framework\TestCase
1 Modules\Accounting\Models\CostObject
Modules\Accounting\tests\Models\CreditorTest - PHPUnit\Framework\TestCase
1 Modules\Accounting\Models\Creditor
Modules\Accounting\tests\Models\DebitorTest - PHPUnit\Framework\TestCase
1 Modules\Accounting\Models\Debitor
Modules\Accounting\tests\Models\NullCostCenterTest - PHPUnit\Framework\TestCase
1 Modules\Accounting\Models\NullCostCenter
Modules\Accounting\tests\Models\NullCostObjectTest - PHPUnit\Framework\TestCase
1 Modules\Accounting\Models\NullCostObject