Created at 2017-12-08 17:37:29 , with PHPMetrics v2.3.0 (Jean-François Lépine).
Coupling
Afferent coupling (AC) is the number of classes affected by given class.
Efferent coupling (EC) is the number of classes from which given class receives effects.
Efferent coupling (EC) is the number of classes from which given class receives effects.
Class | Afferent coupling | Efferent coupling | Instability | ClassRank |
---|---|---|---|---|
App\Utility\UuidFactory | 3 | 2 | 0.4 | 0.02 |
App\Utility\Migration | 3 | 6 | 0.67 | 0.01 |
App\Utility\Gpg | 4 | 5 | 0.56 | 0.01 |
App\Utility\Healthchecks | 5 | 14 | 0.74 | 0.03 |
App\Utility\Purifier | 2 | 2 | 0.5 | 0.07 |
App\Utility\PassboltText | 1 | 0 | 0 | 0.01 |
App\Shell\AppShell | 8 | 1 | 0.11 | 0.03 |
App\Shell\Task\HealthcheckTask | 0 | 5 | 1 | 0 |
App\Shell\Task\DropTablesTask | 0 | 3 | 1 | 0 |
App\Shell\Task\MysqlExportTask | 0 | 3 | 1 | 0 |
App\Shell\Task\KeyringInitTask | 0 | 5 | 1 | 0 |
App\Shell\Task\RegisterUserTask | 0 | 6 | 1 | 0 |
App\Shell\Task\MysqlImportTask | 0 | 3 | 1 | 0 |
App\Shell\Task\InstallTask | 1 | 5 | 0.83 | 0.01 |
App\Shell\PassboltShell | 0 | 2 | 1 | 0 |
App\Shell\ConsoleShell | 0 | 4 | 1 | 0 |
App\Controller\Setup\SetupCompleteController | 1 | 6 | 0.86 | 0.01 |
App\Controller\Setup\RecoverStartController | 0 | 2 | 1 | 0 |
App\Controller\Setup\SetupStartController | 1 | 5 | 0.83 | 0.01 |
App\Controller\Setup\RecoverCompleteController | 0 | 4 | 1 | 0 |
App\Controller\Groups\GroupsIndexController | 0 | 1 | 1 | 0 |
App\Controller\Groups\GroupsUpdateController | 0 | 10 | 1 | 0 |
App\Controller\Groups\GroupsDeleteController | 0 | 8 | 1 | 0 |
App\Controller\Groups\GroupsAddController | 0 | 7 | 1 | 0 |
App\Controller\Groups\GroupsViewController | 0 | 4 | 1 | 0 |
App\Controller\Resources\ResourcesDeleteController | 0 | 11 | 1 | 0 |
App\Controller\Resources\ResourcesIndexController | 0 | 1 | 1 | 0 |
App\Controller\Resources\ResourcesUpdateController | 0 | 9 | 1 | 0 |
App\Controller\Resources\ResourcesViewController | 0 | 4 | 1 | 0 |
App\Controller\Resources\ResourcesAddController | 0 | 4 | 1 | 0 |
App\Controller\ErrorController | 0 | 5 | 1 | 0 |
App\Controller\Roles\RolesIndexController | 0 | 1 | 1 | 0 |
App\Controller\Comments\CommentsDeleteController | 0 | 4 | 1 | 0 |
App\Controller\Comments\CommentsViewController | 0 | 5 | 1 | 0 |
App\Controller\Comments\CommentsAddController | 0 | 8 | 1 | 0 |
App\Controller\Comments\CommentsUpdateController | 0 | 7 | 1 | 0 |
App\Controller\Component\QueryStringComponent | 1 | 6 | 0.86 | 0.01 |
App\Controller\Component\UserComponent | 0 | 3 | 1 | 0 |
App\Controller\Healthcheck\HealthcheckStatusController | 0 | 3 | 1 | 0 |
App\Controller\Healthcheck\HealthcheckIndexController | 0 | 6 | 1 | 0 |
App\Controller\AppController | 43 | 7 | 0.14 | 0.16 |
App\Controller\Users\UsersRecoverController | 0 | 5 | 1 | 0 |
App\Controller\Users\UsersEditController | 0 | 7 | 1 | 0 |
App\Controller\Users\UsersRegisterController | 1 | 8 | 0.89 | 0.01 |
App\Controller\Users\UsersAddController | 0 | 4 | 1 | 0 |
App\Controller\Users\UsersIndexController | 0 | 1 | 1 | 0 |
App\Controller\Users\UsersDeleteController | 0 | 10 | 1 | 0 |
App\Controller\Users\UsersViewController | 0 | 4 | 1 | 0 |
App\Controller\Gpgkeys\GpgkeysIndexController | 0 | 1 | 1 | 0 |
App\Controller\Gpgkeys\GpgkeysViewController | 0 | 4 | 1 | 0 |
App\Controller\Favorites\FavoritesAddController | 0 | 5 | 1 | 0 |
App\Controller\Favorites\FavoritesDeleteController | 0 | 4 | 1 | 0 |
App\Controller\Auth\AuthLoginController | 0 | 3 | 1 | 0 |
App\Controller\Auth\AuthVerifyController | 0 | 6 | 1 | 0 |
App\Controller\Auth\AuthCheckSessionController | 0 | 1 | 1 | 0 |
App\Controller\Auth\AuthLogoutController | 0 | 3 | 1 | 0 |
App\Controller\Permissions\PermissionsViewController | 0 | 4 | 1 | 0 |
App\Controller\Pages\HomeController | 0 | 3 | 1 | 0 |
App\Controller\Share\ShareController | 0 | 9 | 1 | 0 |
App\Controller\Share\ShareSearchController | 0 | 5 | 1 | 0 |
App\Controller\Events\EmailNotificationsListener | 2 | 3 | 0.6 | 0.06 |
App\Controller\Events\EmailTraits\CommentsEmailTrait | 0 | 4 | 1 | 0 |
App\Controller\Events\EmailTraits\ShareEmailTrait | 0 | 6 | 1 | 0 |
App\Controller\Events\EmailTraits\UsersEmailTrait | 0 | 5 | 1 | 0 |
App\Controller\Events\EmailTraits\RecoveryEmailTrait | 0 | 4 | 1 | 0 |
App\Controller\Events\EmailTraits\GroupsEmailTrait | 0 | 6 | 1 | 0 |
App\Controller\Events\EmailTraits\ResourcesEmailTrait | 0 | 5 | 1 | 0 |
App\View\Helper\LegacyApiHelper | 3 | 5 | 0.63 | 0.01 |
App\View\AppView | 1 | 1 | 0.5 | 0.01 |
App\View\LegacyJsonView | 0 | 4 | 1 | 0 |
App\View\AjaxView | 0 | 2 | 1 | 0 |
App\Error\Exception\ValidationRuleException | 17 | 2 | 0.11 | 0.03 |
App\Error\AppExceptionRenderer | 0 | 2 | 1 | 0 |
App\Console\Installer | 0 | 5 | 1 | 0 |
App\Auth\GpgAuthenticate | 0 | 10 | 1 | 0 |
App\Model\Rule\IsNotSoleManagerOfGroupOwningSharedResourcesRule | 1 | 2 | 0.67 | 0 |
App\Model\Rule\IsActiveRule | 2 | 2 | 0.5 | 0.01 |
App\Model\Rule\IsNotSoftDeletedRule | 8 | 2 | 0.2 | 0.01 |
App\Model\Rule\HasResourceAccessRule | 2 | 3 | 0.6 | 0.01 |
App\Model\Rule\HasValidParentRule | 1 | 2 | 0.67 | 0.01 |
App\Model\Rule\IsNotSoleOwnerOfSharedResourcesRule | 2 | 2 | 0.5 | 0 |
App\Model\Rule\IsNotSoleManagerOfNonEmptyGroupRule | 1 | 2 | 0.67 | 0 |
App\Model\Entity\Avatar | 2 | 4 | 0.67 | 0.01 |
App\Model\Entity\Resource | 7 | 1 | 0.13 | 0.02 |
App\Model\Entity\User | 6 | 1 | 0.14 | 0.01 |
App\Model\Entity\UserAgent | 0 | 1 | 1 | 0 |
App\Model\Entity\GroupsUser | 0 | 1 | 1 | 0 |
App\Model\Entity\Gpgkey | 0 | 1 | 1 | 0 |
App\Model\Entity\Profile | 0 | 1 | 1 | 0 |
App\Model\Entity\Favorite | 1 | 1 | 0.5 | 0.01 |
App\Model\Entity\AuthenticationToken | 2 | 1 | 0.33 | 0.01 |
App\Model\Entity\Role | 0 | 1 | 1 | 0 |
App\Model\Entity\Comment | 3 | 1 | 0.25 | 0.01 |
App\Model\Entity\Secret | 0 | 1 | 1 | 0 |
App\Model\Entity\Group | 3 | 1 | 0.25 | 0.01 |
App\Model\Entity\Permission | 0 | 1 | 1 | 0 |
App\Model\Table\AvatarsTable | 4 | 11 | 0.73 | 0.01 |
App\Model\Table\GpgkeysTable | 0 | 13 | 1 | 0 |
App\Model\Table\RolesTable | 0 | 5 | 1 | 0 |
App\Model\Table\PermissionsTable | 0 | 14 | 1 | 0 |
App\Model\Table\UsersTable | 0 | 19 | 1 | 0 |
App\Model\Table\CommentsTable | 0 | 13 | 1 | 0 |
App\Model\Table\ProfilesTable | 0 | 7 | 1 | 0 |
App\Model\Table\SecretsTable | 0 | 9 | 1 | 0 |
App\Model\Table\UserAgentsTable | 0 | 5 | 1 | 0 |
App\Model\Table\GroupsTable | 0 | 15 | 1 | 0 |
App\Model\Table\GroupsUsersTable | 0 | 10 | 1 | 0 |
App\Model\Table\AuthenticationTokensTable | 0 | 11 | 1 | 0 |
App\Model\Table\ResourcesTable | 0 | 13 | 1 | 0 |
App\Model\Table\FavoritesTable | 0 | 7 | 1 | 0 |
App\Application | 0 | 1 | 1 | 0 |
V200AddCommentsUserIdField | 0 | 1 | 1 | 0 |
V200AddFavoriteModifiedField | 0 | 1 | 1 | 0 |
V200MigrateFileStorageTable | 0 | 3 | 1 | 0 |
V200MigrateUUID | 0 | 1 | 1 | 0 |
V200DropUnusedResourceFields | 0 | 1 | 1 | 0 |
V200DropUnusedCreatedBy | 0 | 1 | 1 | 0 |
V200MigrateKeyField | 0 | 1 | 1 | 0 |
V200IncreaseEmailSize | 0 | 1 | 1 | 0 |
V162InitialMigration | 0 | 2 | 1 | 0 |
V200ActiveMustBeBoolean | 0 | 1 | 1 | 0 |
V200MigrateEmailsTable | 0 | 2 | 1 | 0 |
V200DropUnusedProfileFields | 0 | 1 | 1 | 0 |
V200DropUnusedPermissionTypesTable | 0 | 1 | 1 | 0 |
PassboltSeleniumApi\Controller\ConfigController | 0 | 5 | 1 | 0 |
PassboltSeleniumApi\Controller\EmailController | 0 | 8 | 1 | 0 |
PassboltSeleniumApi\Controller\SimulateErrorController | 0 | 7 | 1 | 0 |
PassboltSeleniumApi\Controller\ResetInstanceController | 0 | 7 | 1 | 0 |