Created at 2017-12-08 17:37:29 , with PHPMetrics v2.3.0 (Jean-François Lépine).
Average cyclomatic complexity by class
6.29
Average relative System complexity
230.64
Average bugs by class (Halstead)
0.23
average defects by class (Kan)
0.64
Class Class cycl. Max method cycl. Relative system complexity Relative data complexity Relative structural complexity Bugs Defects
App\Utility\UuidFactory 2 2 5 1 4 0.02 0.22
App\Utility\Migration 6 4 17 1 16 0.1 0.66
App\Utility\Gpg 22 6 576.85 0.85 576 0.54 2.01
App\Utility\Healthchecks 25 11 900.62 0.62 900 1.73 2.38
App\Utility\Purifier 3 3 10 1 9 0.01 0.29
App\Utility\PassboltText 1 1 2 2 0 0.01 0.15
App\Shell\AppShell 2 2 4.83 0.83 4 0.05 0.22
App\Shell\Task\HealthcheckTask 29 8 225.52 0.52 225 2.42 3.27
App\Shell\Task\DropTablesTask 2 2 100.18 0.18 100 0.06 0.38
App\Shell\Task\MysqlExportTask 14 6 169.86 0.86 169 0.39 1.22
App\Shell\Task\KeyringInitTask 4 4 81.4 0.4 81 0.06 0.36
App\Shell\Task\RegisterUserTask 16 6 529.36 0.36 529 0.53 1.68
App\Shell\Task\MysqlImportTask 5 3 121.85 0.85 121 0.19 0.5
App\Shell\Task\InstallTask 34 15 485.13 1.13 484 0.88 2.62
App\Shell\PassboltShell 1 1 49.13 0.13 49 0.18 0.15
App\Shell\ConsoleShell 2 2 36.29 0.29 36 0.07 0.22
App\Controller\Setup\SetupCompleteController 17 6 361.29 0.29 361 0.31 1.27
App\Controller\Setup\RecoverStartController 2 2 81.2 0.2 81 0.05 0.22
App\Controller\Setup\SetupStartController 7 6 169.19 0.19 169 0.09 0.57
App\Controller\Setup\RecoverCompleteController 5 3 64.22 0.22 64 0.06 0.43
App\Controller\Groups\GroupsIndexController 1 1 16 0 16 0.03 0.15
App\Controller\Groups\GroupsUpdateController 27 6 1936.5 0.5 1936 1.15 4.22
App\Controller\Groups\GroupsDeleteController 7 7 324.16 0.16 324 0.16 0.57
App\Controller\Groups\GroupsAddController 5 3 225.21 0.21 225 0.18 0.43
App\Controller\Groups\GroupsViewController 3 3 36.14 0.14 36 0.05 0.29
App\Controller\Resources\ResourcesDeleteController 7 5 225.15 0.15 225 0.12 0.57
App\Controller\Resources\ResourcesIndexController 1 1 25 0 25 0.03 0.15
App\Controller\Resources\ResourcesUpdateController 10 4 361.09 0.09 361 0.28 0.94
App\Controller\Resources\ResourcesViewController 3 3 49.13 0.13 49 0.04 0.29
App\Controller\Resources\ResourcesAddController 5 3 225.15 0.15 225 0.25 0.43
App\Controller\ErrorController 4 4 121.04 0.04 121 0.08 0.36
App\Controller\Roles\RolesIndexController 1 1 9 0 9 0.01 0.15
App\Controller\Comments\CommentsDeleteController 4 3 64.11 0.11 64 0.04 0.36
App\Controller\Comments\CommentsViewController 3 3 36.29 0.29 36 0.05 0.29
App\Controller\Comments\CommentsAddController 5 3 196.13 0.13 196 0.16 0.43
App\Controller\Comments\CommentsUpdateController 5 3 169.2 0.2 169 0.12 0.43
App\Controller\Component\QueryStringComponent 53 7 39.78 3.78 36 1.14 6.98
App\Controller\Component\UserComponent 4 3 49.63 0.63 49 0.08 0.36
App\Controller\Healthcheck\HealthcheckStatusController 1 1 36.21 0.21 36 0.01 0.15
App\Controller\Healthcheck\HealthcheckIndexController 3 3 121.19 0.19 121 0.04 0.29
App\Controller\AppController 3 3 225.06 0.06 225 0.17 0.36
App\Controller\Users\UsersRecoverController 8 3 576.25 0.25 576 0.24 0.71
App\Controller\Users\UsersEditController 19 9 256.16 0.16 256 0.3 1.73
App\Controller\Users\UsersRegisterController 15 5 900.34 0.34 900 0.27 1.45
App\Controller\Users\UsersAddController 2 2 100.18 0.18 100 0.05 0.22
App\Controller\Users\UsersIndexController 2 2 25 0 25 0.05 0.22
App\Controller\Users\UsersDeleteController 10 9 400.15 0.15 400 0.26 0.78
App\Controller\Users\UsersViewController 4 4 49.13 0.13 49 0.03 0.36
App\Controller\Gpgkeys\GpgkeysIndexController 1 1 16 0 16 0.02 0.15
App\Controller\Gpgkeys\GpgkeysViewController 3 3 25.17 0.17 25 0.02 0.29
App\Controller\Favorites\FavoritesAddController 5 4 81.2 0.2 81 0.1 0.43
App\Controller\Favorites\FavoritesDeleteController 4 3 64.11 0.11 64 0.04 0.36
App\Controller\Auth\AuthLoginController 2 2 256.08 0.08 256 0.1 0.36
App\Controller\Auth\AuthVerifyController 2 2 36.21 0.21 36 0.03 0.22
App\Controller\Auth\AuthCheckSessionController 1 1 1 0 1 0 0.15
App\Controller\Auth\AuthLogoutController 1 1 16.5 0.5 16 0.01 0.15
App\Controller\Permissions\PermissionsViewController 4 4 64.11 0.11 64 0.05 0.36
App\Controller\Pages\HomeController 1 1 196.07 0.07 196 0.08 0.15
App\Controller\Share\ShareController 10 4 324.17 0.17 324 0.28 1.1
App\Controller\Share\ShareSearchController 4 4 196.43 0.43 196 0.15 0.43
App\Controller\Events\EmailNotificationsListener 1 1 5 1 4 0.08 0.15
App\Controller\Events\EmailTraits\CommentsEmailTrait 6 6 49.63 0.63 49 0.12 0.59
App\Controller\Events\EmailTraits\ShareEmailTrait 4 3 121.44 0.44 121 0.15 0.52
App\Controller\Events\EmailTraits\UsersEmailTrait 7 5 81.78 0.78 81 0.23 0.89
App\Controller\Events\EmailTraits\RecoveryEmailTrait 2 2 5.5 1.5 4 0.04 0.22
App\Controller\Events\EmailTraits\GroupsEmailTrait 22 7 324.67 0.67 324 1 2.44
App\Controller\Events\EmailTraits\ResourcesEmailTrait 12 6 37.14 1.14 36 0.24 1.1
App\View\Helper\LegacyApiHelper 14 9 100.67 0.67 100 0.43 2
App\View\AppView 1 1 1 0 1 0 0.15
App\View\LegacyJsonView 6 4 16.6 0.6 16 0.13 0.57
App\View\AjaxView 1 1 4 0 4 0 0.15
App\Error\Exception\ValidationRuleException 1 1 2.83 1.83 1 0.02 0.15
App\Error\AppExceptionRenderer 2 2 4.33 0.33 4 0.01 0.22
App\Console\Installer 9 4 49.73 0.73 49 0.44 1.38
App\Auth\GpgAuthenticate 27 9 900.77 0.77 900 0.77 1.97
App\Model\Rule\IsNotSoleManagerOfGroupOwningSharedResourcesRule 1 1 5 1 4 0.01 0.15
App\Model\Rule\IsActiveRule 2 2 5.67 1.67 4 0.03 0.22
App\Model\Rule\IsNotSoftDeletedRule 2 2 5.67 1.67 4 0.03 0.22
App\Model\Rule\HasResourceAccessRule 2 2 16.8 0.8 16 0.04 0.22
App\Model\Rule\HasValidParentRule 4 4 6 2 4 0.05 0.36
App\Model\Rule\IsNotSoleOwnerOfSharedResourcesRule 1 1 5 1 4 0.01 0.15
App\Model\Rule\IsNotSoleManagerOfNonEmptyGroupRule 1 1 5 1 4 0.01 0.15
App\Model\Entity\Avatar 8 7 37.05 1.05 36 0.19 0.8
App\Model\Entity\Resource 1 0 0 0 0 0.02 0.15
App\Model\Entity\User 1 0 0 0 0 0.01 0.15
App\Model\Entity\UserAgent 1 0 0 0 0 0 0.15
App\Model\Entity\GroupsUser 1 0 0 0 0 0.01 0.15
App\Model\Entity\Gpgkey 1 0 0 0 0 0 0.15
App\Model\Entity\Profile 1 0 0 0 0 0 0.15
App\Model\Entity\Favorite 1 0 0 0 0 0 0.15
App\Model\Entity\AuthenticationToken 1 0 0 0 0 0 0.15
App\Model\Entity\Role 1 0 0 0 0 0.01 0.15
App\Model\Entity\Comment 1 0 0 0 0 0.01 0.15
App\Model\Entity\Secret 1 0 0 0 0 0 0.15
App\Model\Entity\Group 1 0 0 0 0 0.01 0.15
App\Model\Entity\Permission 1 0 0 0 0 0.01 0.15
App\Model\Table\AvatarsTable 4 2 400.54 0.54 400 0.26 0.43
App\Model\Table\GpgkeysTable 10 3 1089.49 0.49 1089 0.59 0.94
App\Model\Table\RolesTable 3 3 256.35 0.35 256 0.11 0.29
App\Model\Table\PermissionsTable 29 5 1600.55 0.55 1600 1.22 2.73
App\Model\Table\UsersTable 39 12 3364.42 0.42 3364 1.66 2.97
App\Model\Table\CommentsTable 8 6 784.23 0.23 784 0.52 0.64
App\Model\Table\ProfilesTable 3 3 289.3 0.3 289 0.14 0.29
App\Model\Table\SecretsTable 6 5 484.39 0.39 484 0.37 0.82
App\Model\Table\UserAgentsTable 2 2 144.23 0.23 144 0.06 0.22
App\Model\Table\GroupsTable 26 11 2209.31 0.31 2209 0.94 2.06
App\Model\Table\GroupsUsersTable 10 5 1024.34 0.34 1024 0.66 1.08
App\Model\Table\AuthenticationTokensTable 10 4 625.5 0.5 625 0.26 0.78
App\Model\Table\ResourcesTable 36 9 3025.73 0.73 3025 1.83 3.2
App\Model\Table\FavoritesTable 2 2 225.33 0.33 225 0.18 0.22
App\Application 1 1 2 1 1 0 0.15
V200AddCommentsUserIdField 1 1 16 0 16 0.01 0.15
V200AddFavoriteModifiedField 1 1 9 0 9 0.01 0.15
V200MigrateFileStorageTable 3 3 100 0 100 0.08 0.45
V200MigrateUUID 1 1 9 0 9 0.28 0.15
V200DropUnusedResourceFields 1 1 9 0 9 0 0.15
V200DropUnusedCreatedBy 1 1 9 0 9 0.02 0.15
V200MigrateKeyField 1 1 9 0 9 0 0.15
V200IncreaseEmailSize 1 1 9 0 9 0.01 0.15
V162InitialMigration 2 2 49.13 0.13 49 2.61 0.22
V200ActiveMustBeBoolean 1 1 9 0 9 0.02 0.15
V200MigrateEmailsTable 1 1 4 0 4 0.01 0.15
V200DropUnusedProfileFields 1 1 9 0 9 0.01 0.15
V200DropUnusedPermissionTypesTable 1 1 4 0 4 0 0.15
PassboltSeleniumApi\Controller\ConfigController 3 2 25.21 0.21 25 0.08 0.29
PassboltSeleniumApi\Controller\EmailController 5 4 225.13 0.13 225 0.1 0.43
PassboltSeleniumApi\Controller\SimulateErrorController 1 1 4.4 0.4 4 0.01 0.15
PassboltSeleniumApi\Controller\ResetInstanceController 3 2 100.18 0.18 100 0.07 0.29