Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
B | VersionableTrait::versionablePostSave() | 0 | 23 | 7 | 0 | 0 | 0 |
A | VersionableTrait::getAuthUserId() | 0 | 15 | 6 | 0 | 0 | 0 |
A | CreateVersionsTable::up() | 0 | 12 | 1 | 0 | 0 | 0 |
A | Mpociot\Versionable\Version::revert() | 0 | 11 | 2 | 0 | 0 | 0 |
A | VersionableTrait::isValidForVersioning() | 0 | 11 | 3 | 0 | 0 | 0 |
A | VersionableTrait::bootVersionableTrait() | 0 | 11 | 1 | 0 | 0 | 0 |
A | Mpociot\Versionable\Version::getModel() | 0 | 9 | 1 | 0 | 0 | 0 |
A | CreateVersionsTable::down() | 0 | 4 | 1 | 0 | 0 | 0 |
A | Versionable\VersionableTrait::versions() | 0 | 4 | 1 | 0 | 0 | 0 |
A | AddReason::up() | 0 | 7 | 1 | 0 | 0 | 0 |
A | VersionableTrait::currentVersion() | 0 | 4 | 1 | 0 | 0 | 0 |
A | VersionableTrait::enableVersioning() | 0 | 5 | 1 | 0 | 0 | 0 |
A | AddReason::down() | 0 | 7 | 1 | 0 | 0 | 0 |
A | VersionableTrait::previousVersion() | 0 | 4 | 1 | 0 | 0 | 0 |
A | VersionableTrait::disableVersioning() | 0 | 5 | 1 | 0 | 0 | 0 |