Executive summary
doctrine/migrations scores 58 out of 100 and is rated Adequate, while four of its five lenses score higher still: Code Health at 86 and Production Readiness at 74, both rated Strong, and Architecture at 82 and Security and Compliance at 79, both rated Adequate.
The score is lower than those four because the weakest lens counts most, and here that is Maturity, which scores 37 and is rated Weak. Its Architecture documentation dimension scores 0 out of 10, and until that reaches 4, Maturity can't be rated higher than Adequate. The first actions are to resolve the 1 No ADRs found finding(s) in ADR Quality and to record your significant design decisions, and if Maturity rose to 70, the score would rise from 58 to about 74.
19 findings are critical, all in Static Analysis (SAST).
Watchdog couldn't measure 18 dimensions in this code, among them Code Coverage, Test Reliability and Dependency Hygiene, so they are left out of the score. The product code is 7,393 lines, which would take an estimated 0.1 person-years, around €16,000, to rebuild.
If Maturity rose from 37 to 70, the lowest score rated Strong, the score would rise from 58 to about 74.
New since the last survey: 8 findings
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
Fixed since the last survey: 1 finding
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €16,000 · Estimate
| Cost to rebuild | €5,300 to €27,000, for 89 to 282 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.8 at a score of 58. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 7,393 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 Configuration.Connection | 2 Configuration.EntityManager | 3 Finder | 4 Finder.Exception | 5 Provider | 6 Query | 7 Tools | 8 Version | 9 Exception | 10 Metadata | 11 Configuration.Connection.Exception | 12 Configuration.EntityManager.Exception | 13 Configuration.Exception | 14 Event | 15 Generator.Exception | 16 Metadata.Storage | 17 Provider.Exception | 18 Query.Exception | 19 Tools.Console.Exception | 20 Configuration | 21 Configuration.Migration.Exception | 22 Event.Listeners | 23 Configuration.Migration | 24 Generator | 25 Tools.Console | 26 Tools.Console.Helper | 27 Doctrine.Migrations | 28 Tools.Console.Command |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Configuration.Connection | ||||||||||||||||||||||||||||
| 2 Configuration.EntityManager | ||||||||||||||||||||||||||||
| 3 Finder | ||||||||||||||||||||||||||||
| 4 Finder.Exception | ||||||||||||||||||||||||||||
| 5 Provider | ||||||||||||||||||||||||||||
| 6 Query | ||||||||||||||||||||||||||||
| 7 Tools | ||||||||||||||||||||||||||||
| 8 Version | 1 | 2 | 11 | 4 | 8 | |||||||||||||||||||||||
| 9 Exception | 1 | 1 | ||||||||||||||||||||||||||
| 10 Metadata | 7 | 2 | ||||||||||||||||||||||||||
| 11 Configuration.Connection.Exception | 1 | |||||||||||||||||||||||||||
| 12 Configuration.EntityManager.Exception | 1 | |||||||||||||||||||||||||||
| 13 Configuration.Exception | 1 | 1 | 1 | |||||||||||||||||||||||||
| 14 Event | 2 | 2 | ||||||||||||||||||||||||||
| 15 Generator.Exception | 1 | |||||||||||||||||||||||||||
| 16 Metadata.Storage | 3 | 4 | ||||||||||||||||||||||||||
| 17 Provider.Exception | 1 | |||||||||||||||||||||||||||
| 18 Query.Exception | 1 | |||||||||||||||||||||||||||
| 19 Tools.Console.Exception | 2 | 1 | ||||||||||||||||||||||||||
| 20 Configuration | 1 | |||||||||||||||||||||||||||
| 21 Configuration.Migration.Exception | 7 | |||||||||||||||||||||||||||
| 22 Event.Listeners | 1 | |||||||||||||||||||||||||||
| 23 Configuration.Migration | 9 | |||||||||||||||||||||||||||
| 24 Generator | 1 | 2 | ||||||||||||||||||||||||||
| 25 Tools.Console | 1 | 1 | 2 | |||||||||||||||||||||||||
| 26 Tools.Console.Helper | 3 | 1 | 1 | 3 | ||||||||||||||||||||||||
| 27 Doctrine.Migrations | 1 | 1 | 2 | 2 | 11 | 8 | 2 | 2 | 1 | 1 | 8 | 1 | 1 | |||||||||||||||
| 28 Tools.Console.Command | 1 | 8 | 1 |
8→5 Version uses Provider✕
- Connections
- 1 pair of types, where a type in Version uses a type in Provider.
- The types involved
Doctrine.Migrations.Version.DbalExecutor→Doctrine.Migrations.Provider.SchemaDiffProvider
- Direction
- Version uses Provider, so a change to Provider can break Version, while a change to Version can't break Provider.
- Position
- Below the diagonal: Version uses a module listed above it, which is the healthy direction.
8→6 Version uses Query✕
- Connections
- 2 pairs of types, where a type in Version uses a type in Query.
- The types involved
Doctrine.Migrations.Version.DbalExecutor→Doctrine.Migrations.Query.QueryDoctrine.Migrations.Version.Executor→Doctrine.Migrations.Query.Query
- Direction
- Version uses Query, so a change to Query can break Version, while a change to Version can't break Query.
- Position
- Below the diagonal: Version uses a module listed above it, which is the healthy direction.
8→10 Version uses Metadata part of a loop✕
- Connections
- 11 pairs of types, where a type in Version uses a type in Metadata.
- The types involved
Doctrine.Migrations.Version.CurrentMigrationStatusCalculator→Doctrine.Migrations.Metadata.AvailableMigrationsListDoctrine.Migrations.Version.CurrentMigrationStatusCalculator→Doctrine.Migrations.Metadata.ExecutedMigrationsListDoctrine.Migrations.Version.DbalExecutor→Doctrine.Migrations.Metadata.MigrationPlanDoctrine.Migrations.Version.Executor→Doctrine.Migrations.Metadata.MigrationPlanDoctrine.Migrations.Version.MigrationPlanCalculator→Doctrine.Migrations.Metadata.AvailableMigrationsListDoctrine.Migrations.Version.MigrationPlanCalculator→Doctrine.Migrations.Metadata.MigrationPlanListDoctrine.Migrations.Version.MigrationStatusCalculator→Doctrine.Migrations.Metadata.AvailableMigrationsListDoctrine.Migrations.Version.MigrationStatusCalculator→Doctrine.Migrations.Metadata.ExecutedMigrationsListDoctrine.Migrations.Version.SortedMigrationPlanCalculator→Doctrine.Migrations.Metadata.AvailableMigrationsListDoctrine.Migrations.Version.SortedMigrationPlanCalculator→Doctrine.Migrations.Metadata.ExecutedMigrationsListDoctrine.Migrations.Version.SortedMigrationPlanCalculator→Doctrine.Migrations.Metadata.MigrationPlanList
- Direction
- Version uses Metadata, so a change to Metadata can break Version, while a change to Version can't break Metadata.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
8→16 Version uses Metadata.Storage part of a loop✕
- Connections
- 4 pairs of types, where a type in Version uses a type in Metadata.Storage.
- The types involved
Doctrine.Migrations.Version.CurrentMigrationStatusCalculator→Doctrine.Migrations.Metadata.Storage.MetadataStorageDoctrine.Migrations.Version.DbalExecutor→Doctrine.Migrations.Metadata.Storage.MetadataStorageDoctrine.Migrations.Version.DefaultAliasResolver→Doctrine.Migrations.Metadata.Storage.MetadataStorageDoctrine.Migrations.Version.SortedMigrationPlanCalculator→Doctrine.Migrations.Metadata.Storage.MetadataStorage
- Direction
- Version uses Metadata.Storage, so a change to Metadata.Storage can break Version, while a change to Version can't break Metadata.Storage.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
8→27 Version uses Doctrine.Migrations part of a loop✕
- Connections
- 8 pairs of types, where a type in Version uses a type in Doctrine.Migrations.
- The types involved
Doctrine.Migrations.Version.DbalExecutor→Doctrine.Migrations.AbstractMigrationDoctrine.Migrations.Version.DbalExecutor→Doctrine.Migrations.EventDispatcherDoctrine.Migrations.Version.DbalExecutor→Doctrine.Migrations.MigratorConfigurationDoctrine.Migrations.Version.DbalExecutor→Doctrine.Migrations.ParameterFormatterDoctrine.Migrations.Version.DbalMigrationFactory→Doctrine.Migrations.AbstractMigrationDoctrine.Migrations.Version.Executor→Doctrine.Migrations.MigratorConfigurationDoctrine.Migrations.Version.MigrationFactory→Doctrine.Migrations.AbstractMigrationDoctrine.Migrations.Version.SortedMigrationPlanCalculator→Doctrine.Migrations.MigrationsRepository
- Direction
- Version uses Doctrine.Migrations, so a change to Doctrine.Migrations can break Version, while a change to Version can't break Doctrine.Migrations.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
9→8 Exception uses Version✕
- Connections
- 1 pair of types, where a type in Exception uses a type in Version.
- The types involved
Doctrine.Migrations.Exception.MigrationNotAvailable→Doctrine.Migrations.Version.Version
- Direction
- Exception uses Version, so a change to Version can break Exception, while a change to Exception can't break Version.
- Position
- Below the diagonal: Exception uses a module listed above it, which is the healthy direction.
9→27 Exception uses Doctrine.Migrations part of a loop✕
- Connections
- 1 pair of types, where a type in Exception uses a type in Doctrine.Migrations.
- The types involved
Doctrine.Migrations.Exception.MigrationConfigurationConflict→Doctrine.Migrations.AbstractMigration
- Direction
- Exception uses Doctrine.Migrations, so a change to Doctrine.Migrations can break Exception, while a change to Exception can't break Doctrine.Migrations.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
10→8 Metadata uses Version✕
- Connections
- 7 pairs of types, where a type in Metadata uses a type in Version.
- The types involved
Doctrine.Migrations.Metadata.AvailableMigration→Doctrine.Migrations.Version.VersionDoctrine.Migrations.Metadata.AvailableMigrationsList→Doctrine.Migrations.Version.VersionDoctrine.Migrations.Metadata.AvailableMigrationsSet→Doctrine.Migrations.Version.VersionDoctrine.Migrations.Metadata.ExecutedMigration→Doctrine.Migrations.Version.VersionDoctrine.Migrations.Metadata.ExecutedMigrationsList→Doctrine.Migrations.Version.VersionDoctrine.Migrations.Metadata.MigrationPlan→Doctrine.Migrations.Version.ExecutionResultDoctrine.Migrations.Metadata.MigrationPlan→Doctrine.Migrations.Version.Version
- Direction
- Metadata uses Version, so a change to Version can break Metadata, while a change to Metadata can't break Version.
- Position
- Below the diagonal: Metadata uses a module listed above it, which is the healthy direction.
10→27 Metadata uses Doctrine.Migrations part of a loop✕
- Connections
- 2 pairs of types, where a type in Metadata uses a type in Doctrine.Migrations.
- The types involved
Doctrine.Migrations.Metadata.AvailableMigration→Doctrine.Migrations.AbstractMigrationDoctrine.Migrations.Metadata.MigrationPlan→Doctrine.Migrations.AbstractMigration
- Direction
- Metadata uses Doctrine.Migrations, so a change to Doctrine.Migrations can break Metadata, while a change to Metadata can't break Doctrine.Migrations.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
11→9 Configuration.Connection.Exception uses Exception✕
- Connections
- 1 pair of types, where a type in Configuration.Connection.Exception uses a type in Exception.
- The types involved
Doctrine.Migrations.Configuration.Connection.Exception.LoaderException→Doctrine.Migrations.Exception.MigrationException
- Direction
- Configuration.Connection.Exception uses Exception, so a change to Exception can break Configuration.Connection.Exception, while a change to Configuration.Connection.Exception can't break Exception.
- Position
- Below the diagonal: Configuration.Connection.Exception uses a module listed above it, which is the healthy direction.
12→9 Configuration.EntityManager.Exception uses Exception✕
- Connections
- 1 pair of types, where a type in Configuration.EntityManager.Exception uses a type in Exception.
- The types involved
Doctrine.Migrations.Configuration.EntityManager.Exception.LoaderException→Doctrine.Migrations.Exception.MigrationException
- Direction
- Configuration.EntityManager.Exception uses Exception, so a change to Exception can break Configuration.EntityManager.Exception, while a change to Configuration.EntityManager.Exception can't break Exception.
- Position
- Below the diagonal: Configuration.EntityManager.Exception uses a module listed above it, which is the healthy direction.
13→1 Configuration.Exception uses Configuration.Connection✕
- Connections
- 1 pair of types, where a type in Configuration.Exception uses a type in Configuration.Connection.
- The types involved
Doctrine.Migrations.Configuration.Exception.InvalidLoader→Doctrine.Migrations.Configuration.Connection.ConnectionLoader
- Direction
- Configuration.Exception uses Configuration.Connection, so a change to Configuration.Connection can break Configuration.Exception, while a change to Configuration.Exception can't break Configuration.Connection.
- Position
- Below the diagonal: Configuration.Exception uses a module listed above it, which is the healthy direction.
13→2 Configuration.Exception uses Configuration.EntityManager✕
- Connections
- 1 pair of types, where a type in Configuration.Exception uses a type in Configuration.EntityManager.
- The types involved
Doctrine.Migrations.Configuration.Exception.InvalidLoader→Doctrine.Migrations.Configuration.EntityManager.EntityManagerLoader
- Direction
- Configuration.Exception uses Configuration.EntityManager, so a change to Configuration.EntityManager can break Configuration.Exception, while a change to Configuration.Exception can't break Configuration.EntityManager.
- Position
- Below the diagonal: Configuration.Exception uses a module listed above it, which is the healthy direction.
13→9 Configuration.Exception uses Exception✕
- Connections
- 1 pair of types, where a type in Configuration.Exception uses a type in Exception.
- The types involved
Doctrine.Migrations.Configuration.Exception.ConfigurationException→Doctrine.Migrations.Exception.MigrationException
- Direction
- Configuration.Exception uses Exception, so a change to Exception can break Configuration.Exception, while a change to Configuration.Exception can't break Exception.
- Position
- Below the diagonal: Configuration.Exception uses a module listed above it, which is the healthy direction.
14→10 Event uses Metadata✕
- Connections
- 2 pairs of types, where a type in Event uses a type in Metadata.
- The types involved
Doctrine.Migrations.Event.MigrationsEventArgs→Doctrine.Migrations.Metadata.MigrationPlanListDoctrine.Migrations.Event.MigrationsVersionEventArgs→Doctrine.Migrations.Metadata.MigrationPlan
- Direction
- Event uses Metadata, so a change to Metadata can break Event, while a change to Event can't break Metadata.
- Position
- Below the diagonal: Event uses a module listed above it, which is the healthy direction.
14→27 Event uses Doctrine.Migrations part of a loop✕
- Connections
- 2 pairs of types, where a type in Event uses a type in Doctrine.Migrations.
- The types involved
Doctrine.Migrations.Event.MigrationsEventArgs→Doctrine.Migrations.MigratorConfigurationDoctrine.Migrations.Event.MigrationsVersionEventArgs→Doctrine.Migrations.MigratorConfiguration
- Direction
- Event uses Doctrine.Migrations, so a change to Doctrine.Migrations can break Event, while a change to Event can't break Doctrine.Migrations.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
15→9 Generator.Exception uses Exception✕
- Connections
- 1 pair of types, where a type in Generator.Exception uses a type in Exception.
- The types involved
Doctrine.Migrations.Generator.Exception.GeneratorException→Doctrine.Migrations.Exception.MigrationException
- Direction
- Generator.Exception uses Exception, so a change to Exception can break Generator.Exception, while a change to Generator.Exception can't break Exception.
- Position
- Below the diagonal: Generator.Exception uses a module listed above it, which is the healthy direction.
16→8 Metadata.Storage uses Version✕
- Connections
- 3 pairs of types, where a type in Metadata.Storage uses a type in Version.
- The types involved
Doctrine.Migrations.Metadata.Storage.MetadataStorage→Doctrine.Migrations.Version.ExecutionResultDoctrine.Migrations.Metadata.Storage.TableMetadataStorage→Doctrine.Migrations.Version.ComparatorDoctrine.Migrations.Metadata.Storage.TableMetadataStorage→Doctrine.Migrations.Version.ExecutionResult
- Direction
- Metadata.Storage uses Version, so a change to Version can break Metadata.Storage, while a change to Metadata.Storage can't break Version.
- Position
- Below the diagonal: Metadata.Storage uses a module listed above it, which is the healthy direction.
16→10 Metadata.Storage uses Metadata✕
- Connections
- 4 pairs of types, where a type in Metadata.Storage uses a type in Metadata.
- The types involved
Doctrine.Migrations.Metadata.Storage.MetadataStorage→Doctrine.Migrations.Metadata.ExecutedMigrationsListDoctrine.Migrations.Metadata.Storage.TableMetadataStorage→Doctrine.Migrations.Metadata.AvailableMigrationDoctrine.Migrations.Metadata.Storage.TableMetadataStorage→Doctrine.Migrations.Metadata.ExecutedMigrationDoctrine.Migrations.Metadata.Storage.TableMetadataStorage→Doctrine.Migrations.Metadata.ExecutedMigrationsList
- Direction
- Metadata.Storage uses Metadata, so a change to Metadata can break Metadata.Storage, while a change to Metadata.Storage can't break Metadata.
- Position
- Below the diagonal: Metadata.Storage uses a module listed above it, which is the healthy direction.
17→9 Provider.Exception uses Exception✕
- Connections
- 1 pair of types, where a type in Provider.Exception uses a type in Exception.
- The types involved
Doctrine.Migrations.Provider.Exception.ProviderException→Doctrine.Migrations.Exception.MigrationException
- Direction
- Provider.Exception uses Exception, so a change to Exception can break Provider.Exception, while a change to Provider.Exception can't break Exception.
- Position
- Below the diagonal: Provider.Exception uses a module listed above it, which is the healthy direction.
18→9 Query.Exception uses Exception✕
- Connections
- 1 pair of types, where a type in Query.Exception uses a type in Exception.
- The types involved
Doctrine.Migrations.Query.Exception.InvalidArguments→Doctrine.Migrations.Exception.MigrationException
- Direction
- Query.Exception uses Exception, so a change to Exception can break Query.Exception, while a change to Query.Exception can't break Exception.
- Position
- Below the diagonal: Query.Exception uses a module listed above it, which is the healthy direction.
19→8 Tools.Console.Exception uses Version✕
- Connections
- 2 pairs of types, where a type in Tools.Console.Exception uses a type in Version.
- The types involved
Doctrine.Migrations.Tools.Console.Exception.VersionAlreadyExists→Doctrine.Migrations.Version.VersionDoctrine.Migrations.Tools.Console.Exception.VersionDoesNotExist→Doctrine.Migrations.Version.Version
- Direction
- Tools.Console.Exception uses Version, so a change to Version can break Tools.Console.Exception, while a change to Tools.Console.Exception can't break Version.
- Position
- Below the diagonal: Tools.Console.Exception uses a module listed above it, which is the healthy direction.
19→9 Tools.Console.Exception uses Exception✕
- Connections
- 1 pair of types, where a type in Tools.Console.Exception uses a type in Exception.
- The types involved
Doctrine.Migrations.Tools.Console.Exception.ConsoleException→Doctrine.Migrations.Exception.MigrationException
- Direction
- Tools.Console.Exception uses Exception, so a change to Exception can break Tools.Console.Exception, while a change to Tools.Console.Exception can't break Exception.
- Position
- Below the diagonal: Tools.Console.Exception uses a module listed above it, which is the healthy direction.
20→16 Configuration uses Metadata.Storage✕
- Connections
- 1 pair of types, where a type in Configuration uses a type in Metadata.Storage.
- The types involved
Doctrine.Migrations.Configuration.Configuration→Doctrine.Migrations.Metadata.Storage.MetadataStorageConfiguration
- Direction
- Configuration uses Metadata.Storage, so a change to Metadata.Storage can break Configuration, while a change to Configuration can't break Metadata.Storage.
- Position
- Below the diagonal: Configuration uses a module listed above it, which is the healthy direction.
21→13 Configuration.Migration.Exception uses Configuration.Exception✕
- Connections
- 7 pairs of types, where a type in Configuration.Migration.Exception uses a type in Configuration.Exception.
- The types involved
Doctrine.Migrations.Configuration.Migration.Exception.InvalidConfigurationFormat→Doctrine.Migrations.Configuration.Exception.ConfigurationExceptionDoctrine.Migrations.Configuration.Migration.Exception.InvalidConfigurationKey→Doctrine.Migrations.Configuration.Exception.ConfigurationExceptionDoctrine.Migrations.Configuration.Migration.Exception.JsonNotValid→Doctrine.Migrations.Configuration.Exception.ConfigurationExceptionDoctrine.Migrations.Configuration.Migration.Exception.MissingConfigurationFile→Doctrine.Migrations.Configuration.Exception.ConfigurationExceptionDoctrine.Migrations.Configuration.Migration.Exception.XmlNotValid→Doctrine.Migrations.Configuration.Exception.ConfigurationExceptionDoctrine.Migrations.Configuration.Migration.Exception.YamlNotAvailable→Doctrine.Migrations.Configuration.Exception.ConfigurationExceptionDoctrine.Migrations.Configuration.Migration.Exception.YamlNotValid→Doctrine.Migrations.Configuration.Exception.ConfigurationException
- Direction
- Configuration.Migration.Exception uses Configuration.Exception, so a change to Configuration.Exception can break Configuration.Migration.Exception, while a change to Configuration.Migration.Exception can't break Configuration.Exception.
- Position
- Below the diagonal: Configuration.Migration.Exception uses a module listed above it, which is the healthy direction.
22→14 Event.Listeners uses Event✕
- Connections
- 1 pair of types, where a type in Event.Listeners uses a type in Event.
- The types involved
Doctrine.Migrations.Event.Listeners.AutoCommitListener→Doctrine.Migrations.Event.MigrationsEventArgs
- Direction
- Event.Listeners uses Event, so a change to Event can break Event.Listeners, while a change to Event.Listeners can't break Event.
- Position
- Below the diagonal: Event.Listeners uses a module listed above it, which is the healthy direction.
23→20 Configuration.Migration uses Configuration✕
- Connections
- 9 pairs of types, where a type in Configuration.Migration uses a type in Configuration.
- The types involved
Doctrine.Migrations.Configuration.Migration.ConfigurationArray→Doctrine.Migrations.Configuration.ConfigurationDoctrine.Migrations.Configuration.Migration.ConfigurationFileWithFallback→Doctrine.Migrations.Configuration.ConfigurationDoctrine.Migrations.Configuration.Migration.ConfigurationLoader→Doctrine.Migrations.Configuration.ConfigurationDoctrine.Migrations.Configuration.Migration.ExistingConfiguration→Doctrine.Migrations.Configuration.ConfigurationDoctrine.Migrations.Configuration.Migration.FormattedFile→Doctrine.Migrations.Configuration.ConfigurationDoctrine.Migrations.Configuration.Migration.JsonFile→Doctrine.Migrations.Configuration.ConfigurationDoctrine.Migrations.Configuration.Migration.PhpFile→Doctrine.Migrations.Configuration.ConfigurationDoctrine.Migrations.Configuration.Migration.XmlFile→Doctrine.Migrations.Configuration.ConfigurationDoctrine.Migrations.Configuration.Migration.YamlFile→Doctrine.Migrations.Configuration.Configuration
- Direction
- Configuration.Migration uses Configuration, so a change to Configuration can break Configuration.Migration, while a change to Configuration.Migration can't break Configuration.
- Position
- Below the diagonal: Configuration.Migration uses a module listed above it, which is the healthy direction.
24→5 Generator uses Provider✕
- Connections
- 1 pair of types, where a type in Generator uses a type in Provider.
- The types involved
Doctrine.Migrations.Generator.DiffGenerator→Doctrine.Migrations.Provider.SchemaProvider
- Direction
- Generator uses Provider, so a change to Provider can break Generator, while a change to Generator can't break Provider.
- Position
- Below the diagonal: Generator uses a module listed above it, which is the healthy direction.
24→20 Generator uses Configuration✕
- Connections
- 2 pairs of types, where a type in Generator uses a type in Configuration.
- The types involved
Doctrine.Migrations.Generator.Generator→Doctrine.Migrations.Configuration.ConfigurationDoctrine.Migrations.Generator.SqlGenerator→Doctrine.Migrations.Configuration.Configuration
- Direction
- Generator uses Configuration, so a change to Configuration can break Generator, while a change to Generator can't break Configuration.
- Position
- Below the diagonal: Generator uses a module listed above it, which is the healthy direction.
25→13 Tools.Console uses Configuration.Exception✕
- Connections
- 1 pair of types, where a type in Tools.Console uses a type in Configuration.Exception.
- The types involved
Doctrine.Migrations.Tools.Console.InvalidAllOrNothingConfiguration→Doctrine.Migrations.Configuration.Exception.ConfigurationException
- Direction
- Tools.Console uses Configuration.Exception, so a change to Configuration.Exception can break Tools.Console, while a change to Tools.Console can't break Configuration.Exception.
- Position
- Below the diagonal: Tools.Console uses a module listed above it, which is the healthy direction.
25→20 Tools.Console uses Configuration✕
- Connections
- 1 pair of types, where a type in Tools.Console uses a type in Configuration.
- The types involved
Doctrine.Migrations.Tools.Console.ConsoleInputMigratorConfigurationFactory→Doctrine.Migrations.Configuration.Configuration
- Direction
- Tools.Console uses Configuration, so a change to Configuration can break Tools.Console, while a change to Tools.Console can't break Configuration.
- Position
- Below the diagonal: Tools.Console uses a module listed above it, which is the healthy direction.
25→27 Tools.Console uses Doctrine.Migrations part of a loop✕
- Connections
- 2 pairs of types, where a type in Tools.Console uses a type in Doctrine.Migrations.
- The types involved
Doctrine.Migrations.Tools.Console.ConsoleInputMigratorConfigurationFactory→Doctrine.Migrations.MigratorConfigurationDoctrine.Migrations.Tools.Console.MigratorConfigurationFactory→Doctrine.Migrations.MigratorConfiguration
- Direction
- Tools.Console uses Doctrine.Migrations, so a change to Doctrine.Migrations can break Tools.Console, while a change to Tools.Console can't break Doctrine.Migrations.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
26→8 Tools.Console.Helper uses Version✕
- Connections
- 3 pairs of types, where a type in Tools.Console.Helper uses a type in Version.
- The types involved
Doctrine.Migrations.Tools.Console.Helper.MigrationStatusInfosHelper→Doctrine.Migrations.Version.AliasResolverDoctrine.Migrations.Tools.Console.Helper.MigrationStatusInfosHelper→Doctrine.Migrations.Version.MigrationPlanCalculatorDoctrine.Migrations.Tools.Console.Helper.MigrationStatusInfosHelper→Doctrine.Migrations.Version.MigrationStatusCalculator
- Direction
- Tools.Console.Helper uses Version, so a change to Version can break Tools.Console.Helper, while a change to Tools.Console.Helper can't break Version.
- Position
- Below the diagonal: Tools.Console.Helper uses a module listed above it, which is the healthy direction.
26→10 Tools.Console.Helper uses Metadata✕
- Connections
- 1 pair of types, where a type in Tools.Console.Helper uses a type in Metadata.
- The types involved
Doctrine.Migrations.Tools.Console.Helper.MigrationStatusInfosHelper→Doctrine.Migrations.Metadata.ExecutedMigrationsList
- Direction
- Tools.Console.Helper uses Metadata, so a change to Metadata can break Tools.Console.Helper, while a change to Tools.Console.Helper can't break Metadata.
- Position
- Below the diagonal: Tools.Console.Helper uses a module listed above it, which is the healthy direction.
26→16 Tools.Console.Helper uses Metadata.Storage✕
- Connections
- 1 pair of types, where a type in Tools.Console.Helper uses a type in Metadata.Storage.
- The types involved
Doctrine.Migrations.Tools.Console.Helper.MigrationStatusInfosHelper→Doctrine.Migrations.Metadata.Storage.MetadataStorage
- Direction
- Tools.Console.Helper uses Metadata.Storage, so a change to Metadata.Storage can break Tools.Console.Helper, while a change to Tools.Console.Helper can't break Metadata.Storage.
- Position
- Below the diagonal: Tools.Console.Helper uses a module listed above it, which is the healthy direction.
26→20 Tools.Console.Helper uses Configuration✕
- Connections
- 3 pairs of types, where a type in Tools.Console.Helper uses a type in Configuration.
- The types involved
Doctrine.Migrations.Tools.Console.Helper.ConfigurationHelper→Doctrine.Migrations.Configuration.ConfigurationDoctrine.Migrations.Tools.Console.Helper.MigrationDirectoryHelper→Doctrine.Migrations.Configuration.ConfigurationDoctrine.Migrations.Tools.Console.Helper.MigrationStatusInfosHelper→Doctrine.Migrations.Configuration.Configuration
- Direction
- Tools.Console.Helper uses Configuration, so a change to Configuration can break Tools.Console.Helper, while a change to Tools.Console.Helper can't break Configuration.
- Position
- Below the diagonal: Tools.Console.Helper uses a module listed above it, which is the healthy direction.
27→1 Doctrine.Migrations uses Configuration.Connection✕
- Connections
- 1 pair of types, where a type in Doctrine.Migrations uses a type in Configuration.Connection.
- The types involved
Doctrine.Migrations.DependencyFactory→Doctrine.Migrations.Configuration.Connection.ConnectionLoader
- Direction
- Doctrine.Migrations uses Configuration.Connection, so a change to Configuration.Connection can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Configuration.Connection.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
27→2 Doctrine.Migrations uses Configuration.EntityManager✕
- Connections
- 1 pair of types, where a type in Doctrine.Migrations uses a type in Configuration.EntityManager.
- The types involved
Doctrine.Migrations.DependencyFactory→Doctrine.Migrations.Configuration.EntityManager.EntityManagerLoader
- Direction
- Doctrine.Migrations uses Configuration.EntityManager, so a change to Configuration.EntityManager can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Configuration.EntityManager.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
27→3 Doctrine.Migrations uses Finder✕
- Connections
- 2 pairs of types, where a type in Doctrine.Migrations uses a type in Finder.
- The types involved
Doctrine.Migrations.DependencyFactory→Doctrine.Migrations.Finder.MigrationFinderDoctrine.Migrations.FilesystemMigrationsRepository→Doctrine.Migrations.Finder.MigrationFinder
- Direction
- Doctrine.Migrations uses Finder, so a change to Finder can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Finder.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
27→5 Doctrine.Migrations uses Provider✕
- Connections
- 2 pairs of types, where a type in Doctrine.Migrations uses a type in Provider.
- The types involved
Doctrine.Migrations.DependencyFactory→Doctrine.Migrations.Provider.SchemaDiffProviderDoctrine.Migrations.DependencyFactory→Doctrine.Migrations.Provider.SchemaProvider
- Direction
- Doctrine.Migrations uses Provider, so a change to Provider can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Provider.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
27→8 Doctrine.Migrations uses Version✕
- Connections
- 11 pairs of types, where a type in Doctrine.Migrations uses a type in Version.
- The types involved
Doctrine.Migrations.DbalMigrator→Doctrine.Migrations.Version.ExecutorDoctrine.Migrations.DependencyFactory→Doctrine.Migrations.Version.AliasResolverDoctrine.Migrations.DependencyFactory→Doctrine.Migrations.Version.ComparatorDoctrine.Migrations.DependencyFactory→Doctrine.Migrations.Version.ExecutorDoctrine.Migrations.DependencyFactory→Doctrine.Migrations.Version.MigrationFactoryDoctrine.Migrations.DependencyFactory→Doctrine.Migrations.Version.MigrationPlanCalculatorDoctrine.Migrations.DependencyFactory→Doctrine.Migrations.Version.MigrationStatusCalculatorDoctrine.Migrations.FilesystemMigrationsRepository→Doctrine.Migrations.Version.MigrationFactoryDoctrine.Migrations.FilesystemMigrationsRepository→Doctrine.Migrations.Version.VersionDoctrine.Migrations.MigrationsRepository→Doctrine.Migrations.Version.VersionDoctrine.Migrations.Rollup→Doctrine.Migrations.Version.Version
- Direction
- Doctrine.Migrations uses Version, so a change to Version can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Version.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
27→10 Doctrine.Migrations uses Metadata✕
- Connections
- 8 pairs of types, where a type in Doctrine.Migrations uses a type in Metadata.
- The types involved
Doctrine.Migrations.DbalMigrator→Doctrine.Migrations.Metadata.MigrationPlanListDoctrine.Migrations.EventDispatcher→Doctrine.Migrations.Metadata.MigrationPlanDoctrine.Migrations.EventDispatcher→Doctrine.Migrations.Metadata.MigrationPlanListDoctrine.Migrations.FilesystemMigrationsRepository→Doctrine.Migrations.Metadata.AvailableMigrationDoctrine.Migrations.FilesystemMigrationsRepository→Doctrine.Migrations.Metadata.AvailableMigrationsSetDoctrine.Migrations.MigrationsRepository→Doctrine.Migrations.Metadata.AvailableMigrationDoctrine.Migrations.MigrationsRepository→Doctrine.Migrations.Metadata.AvailableMigrationsSetDoctrine.Migrations.Migrator→Doctrine.Migrations.Metadata.MigrationPlanList
- Direction
- Doctrine.Migrations uses Metadata, so a change to Metadata can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Metadata.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
27→14 Doctrine.Migrations uses Event✕
- Connections
- 2 pairs of types, where a type in Doctrine.Migrations uses a type in Event.
- The types involved
Doctrine.Migrations.EventDispatcher→Doctrine.Migrations.Event.MigrationsEventArgsDoctrine.Migrations.EventDispatcher→Doctrine.Migrations.Event.MigrationsVersionEventArgs
- Direction
- Doctrine.Migrations uses Event, so a change to Event can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Event.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
27→16 Doctrine.Migrations uses Metadata.Storage✕
- Connections
- 2 pairs of types, where a type in Doctrine.Migrations uses a type in Metadata.Storage.
- The types involved
Doctrine.Migrations.DependencyFactory→Doctrine.Migrations.Metadata.Storage.MetadataStorageDoctrine.Migrations.Rollup→Doctrine.Migrations.Metadata.Storage.MetadataStorage
- Direction
- Doctrine.Migrations uses Metadata.Storage, so a change to Metadata.Storage can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Metadata.Storage.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
27→20 Doctrine.Migrations uses Configuration✕
- Connections
- 1 pair of types, where a type in Doctrine.Migrations uses a type in Configuration.
- The types involved
Doctrine.Migrations.DependencyFactory→Doctrine.Migrations.Configuration.Configuration
- Direction
- Doctrine.Migrations uses Configuration, so a change to Configuration can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Configuration.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
27→23 Doctrine.Migrations uses Configuration.Migration✕
- Connections
- 1 pair of types, where a type in Doctrine.Migrations uses a type in Configuration.Migration.
- The types involved
Doctrine.Migrations.DependencyFactory→Doctrine.Migrations.Configuration.Migration.ConfigurationLoader
- Direction
- Doctrine.Migrations uses Configuration.Migration, so a change to Configuration.Migration can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Configuration.Migration.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
27→24 Doctrine.Migrations uses Generator✕
- Connections
- 8 pairs of types, where a type in Doctrine.Migrations uses a type in Generator.
- The types involved
Doctrine.Migrations.DependencyFactory→Doctrine.Migrations.Generator.ClassNameGeneratorDoctrine.Migrations.DependencyFactory→Doctrine.Migrations.Generator.DiffGeneratorDoctrine.Migrations.DependencyFactory→Doctrine.Migrations.Generator.FileBuilderDoctrine.Migrations.DependencyFactory→Doctrine.Migrations.Generator.GeneratorDoctrine.Migrations.DependencyFactory→Doctrine.Migrations.Generator.SqlGeneratorDoctrine.Migrations.FileQueryWriter→Doctrine.Migrations.Generator.FileBuilderDoctrine.Migrations.SchemaDumper→Doctrine.Migrations.Generator.GeneratorDoctrine.Migrations.SchemaDumper→Doctrine.Migrations.Generator.SqlGenerator
- Direction
- Doctrine.Migrations uses Generator, so a change to Generator can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Generator.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
27→25 Doctrine.Migrations uses Tools.Console✕
- Connections
- 1 pair of types, where a type in Doctrine.Migrations uses a type in Tools.Console.
- The types involved
Doctrine.Migrations.DependencyFactory→Doctrine.Migrations.Tools.Console.MigratorConfigurationFactory
- Direction
- Doctrine.Migrations uses Tools.Console, so a change to Tools.Console can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Tools.Console.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
27→26 Doctrine.Migrations uses Tools.Console.Helper✕
- Connections
- 1 pair of types, where a type in Doctrine.Migrations uses a type in Tools.Console.Helper.
- The types involved
Doctrine.Migrations.DependencyFactory→Doctrine.Migrations.Tools.Console.Helper.MigrationStatusInfosHelper
- Direction
- Doctrine.Migrations uses Tools.Console.Helper, so a change to Tools.Console.Helper can break Doctrine.Migrations, while a change to Doctrine.Migrations can't break Tools.Console.Helper.
- Position
- Below the diagonal: Doctrine.Migrations uses a module listed above it, which is the healthy direction.
28→8 Tools.Console.Command uses Version✕
- Connections
- 1 pair of types, where a type in Tools.Console.Command uses a type in Version.
- The types involved
Doctrine.Migrations.Tools.Console.Command.VersionCommand→Doctrine.Migrations.Version.Version
- Direction
- Tools.Console.Command uses Version, so a change to Version can break Tools.Console.Command, while a change to Tools.Console.Command can't break Version.
- Position
- Below the diagonal: Tools.Console.Command uses a module listed above it, which is the healthy direction.
28→10 Tools.Console.Command uses Metadata✕
- Connections
- 8 pairs of types, where a type in Tools.Console.Command uses a type in Metadata.
- The types involved
Doctrine.Migrations.Tools.Console.Command.DiffCommand→Doctrine.Migrations.Metadata.AvailableMigrationsListDoctrine.Migrations.Tools.Console.Command.DiffCommand→Doctrine.Migrations.Metadata.ExecutedMigrationsListDoctrine.Migrations.Tools.Console.Command.ListCommand→Doctrine.Migrations.Metadata.AvailableMigrationsListDoctrine.Migrations.Tools.Console.Command.ListCommand→Doctrine.Migrations.Metadata.ExecutedMigrationsListDoctrine.Migrations.Tools.Console.Command.MigrateCommand→Doctrine.Migrations.Metadata.ExecutedMigrationsListDoctrine.Migrations.Tools.Console.Command.UpToDateCommand→Doctrine.Migrations.Metadata.AvailableMigrationsListDoctrine.Migrations.Tools.Console.Command.UpToDateCommand→Doctrine.Migrations.Metadata.ExecutedMigrationsListDoctrine.Migrations.Tools.Console.Command.VersionCommand→Doctrine.Migrations.Metadata.ExecutedMigrationsList
- Direction
- Tools.Console.Command uses Metadata, so a change to Metadata can break Tools.Console.Command, while a change to Tools.Console.Command can't break Metadata.
- Position
- Below the diagonal: Tools.Console.Command uses a module listed above it, which is the healthy direction.
28→27 Tools.Console.Command uses Doctrine.Migrations✕
- Connections
- 1 pair of types, where a type in Tools.Console.Command uses a type in Doctrine.Migrations.
- The types involved
Doctrine.Migrations.Tools.Console.Command.DoctrineCommand→Doctrine.Migrations.DependencyFactory
- Direction
- Tools.Console.Command uses Doctrine.Migrations, so a change to Doctrine.Migrations can break Tools.Console.Command, while a change to Tools.Console.Command can't break Doctrine.Migrations.
- Position
- Below the diagonal: Tools.Console.Command uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 19 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 11 | Medium |
Roadmap
Begin by resolving the lack of Architecture Decision Records to properly document significant design choices and their consequences. Next, address the 19 orphaned files, prioritizing MigrateCommand.php, DbalExecutor.php, and VersionCommand.php, to improve codebase hygiene. Finally, update the README to include a clear getting-started guide and architecture overview, while correcting inaccuracies regarding missing files and project dependencies to ensure documentation matches the current reality.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +15.8 pts | Low | ADR Quality |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +10.7 pts | Medium | Architecture documentation |
| Resolve the 19 Orphaned file finding(s) in Knowledge Freshness — start with MigrateCommand.php, DbalExecutor.php, VersionCommand.php. | +9.8 pts | Medium | Knowledge Freshness |
| Expand the README with getting-started, architecture overview and a project map. | +7.6 pts | Medium | Documentation (README) |
| Reconcile the README with reality: README claims Doctrine Migrations is a project but the evidence shows no repository (0 projects); docs/en/reference/configuration.rst names `migrations.xml`, but no file or folder `migrations.xml` exists; docs/en/reference/managing-migrations.rst names `doctrine_migration_20180601172528.sql`, but no file or folder `doctrine_migration_20180601172528.sql` exists. | +3.0 pts | Medium | Documentation accuracy |
| Resolve the 1 Off-boarding risk finding(s) in Bus Factor. | +1.1 pts | Low | Bus Factor |
| Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release. | +2.0 pts | Medium | Release Hygiene |
| Resolve the 8 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED, REDACTED. | +0.9 pts | Low | Supply-chain Provenance & Signing |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.0 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| src/Metadata/AvailableMigrationsList.php | 7.2 | Mixed | Code Duplication: Duplicated block (5 lines × 2) |
| REDACTED | 7.2 | Mixed | Static Analysis (SAST): High: REDACTED |
| src/Tools/Console/Command/VersionCommand.php | 7.4 | Mixed | Cyclomatic Complexity: VersionCommand.markVersions (cyclomatic 16) |
| src/Tools/Console/Command/ExecuteCommand.php | 7.4 | Mixed | Code Duplication: Duplicated block (29 lines × 2) |
| tests/AbstractMigrationTest.php | 7.8 | Mixed | Test Quality: No assertions: testAbortIfDontThrowsException |
| tests/Tools/TransactionHelperTest.php | 7.8 | Mixed | Test Quality: No assertions: testItTriggersADeprecationWhenUseful |
| src/Generator/DiffGenerator.php | 8.5 | Near-clean | Cognitive Complexity: DiffGenerator.generate (cognitive 16) |
| src/Generator/SqlGenerator.php | 8.5 | Near-clean | Cognitive Complexity: SqlGenerator.generate (cognitive 16) |
| src/Version/DefaultAliasResolver.php | 8.5 | Near-clean | Cognitive Complexity: DefaultAliasResolver.resolveVersionAlias (cognitive 16) |
| src/DependencyFactory.php | 8.5 | Near-clean | God Classes: TooManyMethods: DependencyFactory |
| src/AbstractMigration.php | 8.5 | Near-clean | Cohesion (LCOM4): Low cohesion: AbstractMigration (LCOM4 5) |
| tests/Event/Listeners/AutoCommitListenerTest.php | 8.5 | Near-clean | Test Quality: No assertions: testListenerDoesNothingDuringADryRun |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 44 of 49 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 49 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 74 of 87 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT READ here — but this repository measures it: a coverage step in CI (`phpunit --coverage`) shows that coverage is collected and tracked in your own CI. The built-in collector has no runner for this ecosystem (.php), so the analyzer could not read the number — a gap in the analyzer's language coverage, not an unmeasured repo. Not scored. To have the real number read, produce a coverage report in a standard format (Clover XML — with Xdebug (`XDEBUG_MODE=coverage`) or PCOV installed, `vendor/bin/phpunit --coverage-clover coverage.xml`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (Clover XML — with Xdebug (`XDEBUG_MODE=coverage`) or PCOV installed, `vendor/bin/phpunit --coverage-clover coverage.xml`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.php) but the built-in reliability runner does not support this repository's ecosystem, so flakiness couldn't be assessed. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — 7 direct Composer requirement(s) were read, but the outdated signal needs Packagist, and no committed composer.lock resolves them to releases, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D14 License Compliance — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — this repository declares a composer.json but commits no composer.lock this pass can read, so the set of packages it installs is not on disk: its composer.json states version CONSTRAINTS, and Composer's guidance is that a library leaves the lock uncommitted. Producing the graph needs Composer's solver, which this pass does not run, and grading whichever release happens to be newest today would be a verdict about a dependency graph nobody resolved. NOT a finding that this repository's licences are compliant: this dimension asserts nothing about its licensing in either direction.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D32 Data Compliance (PII/GDPR) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `src/AbstractMigration.php`, `src/Configuration/Connection/ConfigurationFile.php`, `src/Configuration/Connection/ExistingConnection.php`, `src/Configuration/EntityManager/ConfigurationFile.php`, `src/Configuration/EntityManager/ExistingEntityManager.php`, … (+35 more) produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and no C#, F#, JavaScript/TypeScript, Dart, Ruby or Scala was found, and this repository's , PHP is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, JavaScript/TypeScript, Java, Dart, Ruby and Scala source only, and no C#, JavaScript/TypeScript, Java, Dart, Ruby or Scala was found, and this repository's , PHP is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P7 Outbound HTTP resilience — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check recognises outbound HTTP clients, their timeouts and resilience policies, and service entry points in .NET, Go, JVM, Python, JavaScript/TypeScript, Ruby, PHP, Rust, Elixir, Swift, Dart and Erlang. No service entry point was found in the PHP source it does read, and the rest of this repository's production source is , which it does not read yet — the service may well be there — a gap in this analyzer's language reach, not a finding about the code.
- P8 Schema migrations — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. The schema may be created by a runner, a deploy script or a config file outside what this check reads, so an absence here is our blind spot rather than a missing migration strategy. The card abstains instead of scoring. You can widen what we reach: if the schema is created and evolved by a tool this check does not name, naming it lets us teach the detector to read it.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala, Rust and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala, Rust or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Scala, Ruby and Python source only, and no C# was loaded and no JavaScript/TypeScript, Java, Scala, Ruby or Python was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Java, Rust, Erlang, F#, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded, no Java, Rust, Erlang, F#, Python, Dart, Ruby, Scala or Kotlin was found, and this repository's PHP is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Rust, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Java, Rust, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
1 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was VersionCommand.markVersions at 16.
What to do
- Bring the 1 body over 15 down to 15 or less in Cyclomatic Complexity — start with VersionCommand.markVersions (cyclomatic 16). — Refactoring it lifts Cyclomatic Complexity from 9.9 to about 10.0/10.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
5 method(s) exceeded the cognitive complexity threshold of 15; the worst was VersionCommand.markVersions at 25.
What to do
- Bring the 5 bodies over 15 down to 15 or less in Cognitive Complexity — start with VersionCommand.markVersions (cognitive 25), VersionCommand.mark (cognitive 17), DiffGenerator.generate (cognitive 16). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 5 together lifts Cognitive Complexity from 9.1 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
1 god class(es) detected.
What to do
- Resolve the 1 TooManyMethods finding(s) in God Classes — start with DependencyFactory.php. — One of this dimension's main actionable groups (1 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
7 duplicated block group(s) detected.
What to do
- Resolve the 2 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with AvailableMigrationsList.php (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Duplicated block (29 lines × 2) finding(s) in Code Duplication — start with ExecuteCommand.php. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (15 lines × 2) finding(s) in Code Duplication — start with ExecuteCommand.php. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
1 of 31 classes have LCOM4 above 3.
What to do
- Resolve the 1 Low cohesion finding(s) in Cohesion (LCOM4) — start with AbstractMigration.php. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
334 test methods: 334 unit, 0 integration, 0 BDD, 0 e2e.
D10 · Test Quality
2 skipped (2 with a documented reason), 6 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 334 tests.
What to do
- Resolve the 5 No assertions finding(s) in Test Quality — start with AbstractMigrationTest.php (2), TransactionHelperTest.php (2), AutoCommitListenerTest.php. — One of this dimension's main actionable groups (5 warning-level).
- Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
2 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is src/DependencyFactory.php. Counted over 29 of the 166 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
0 deducted task-comment markers across 7393 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's root README and its companion documentation are both excellent: the root README states what the project does (Doctrine Migrations) with a build/status badge, Packagist download/versions, and a link to the full reference docs site; the referenced architecture/design docs (docs/en/) cover every migration topic in depth. The docs are complete, well-structured, and clearly state what each document is for. This single README file documents version-numbering rules and migration ordering behavior (the only visible document) with excellent inline examples showing both the problem and the fix. It is a focused reference rather than an overview of the project, so it does not contradict any category but its thinness makes it unrepresentative of the repository's documentation quality.
What to do
- Improve Documentation Quality — currently 8.9/10. — The repository's root README and its companion documentation are both excellent: the root README states what the project does (Doctrine Migrations) with a build/status badge, Packagist download/versions, and a link to the full reference docs site; the referenced architecture/design docs (docs/en/) cover every migration topic in depth. The docs are complete, well-structured, and clearly state what each document is for. This single README file documents version-numbering rules and migration ordering behavior (the only visible document) with excellent inline examples showing both the problem and the fix. It is a focused reference rather than an overview of the project, so it does not contradict any category but its thinness makes it unrepresentative of the repository's documentation quality.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D22 · Internal API Consistency
1 API inconsistencies across 165 exposed types.
What to do
- Resolve the 1 Redundant configuration methods for migration organization. The class… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D26 · Project Cohesion
1 of 1 build units (Composer) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
19 finding(s): 0 critical, 19 high, 0 medium, 0 low. 17 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 40 file(s) — `src/AbstractMigration.php` (line 42), `src/Configuration/Connection/ConfigurationFile.php` (line 21), `src/Configuration/Connection/ExistingConnection.php` (line 12), `src/Configuration/EntityManager/ConfigurationFile.php` (line 19), `src/Configuration/EntityManager/ExistingEntityManager.php` (line 12), … (+35 more) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- No action in Static Analysis (SAST) — all 12 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (12 issue-level, 0 of them charged here).
- No action in Static Analysis (SAST) — all 5 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (5 issue-level, 0 of them charged here).
D34 · Knowledge Freshness
19 of 29 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/Tools/Console/Command/MigrateCommand.php. Counted over 29 of the 166 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 19 Orphaned file finding(s) in Knowledge Freshness — start with MigrateCommand.php, DbalExecutor.php, VersionCommand.php. — One of this dimension's main actionable groups (19 recommendation-level).
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
1/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 8 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D37 · Vulnerability-disclosure Policy
A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 7 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
M1 · Documentation (README)
- The root README is 22 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise — or with no heading at all — is not seen and this row may understate what the document covers.
What to do
- Expand the README with getting-started, architecture overview and a project map.
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 1 of 1 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
M4 · Documentation accuracy
- README claims Doctrine Migrations is a project but the evidence shows no repository (0 projects) — reported by the model that read the README against this repository; no term search was run for this one, so nothing here has been checked against the tree. Treat it as a reading to confirm, not as a measured contradiction: verify it against the code before acting on it, and if the footprint it describes does exist, this row is wrong. — README.md:1
- docs/en/reference/configuration.rst names `migrations.xml`, but no file or folder `migrations.xml` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/en/reference/configuration.rst:18
- docs/en/reference/managing-migrations.rst names `doctrine_migration_20180601172528.sql`, but no file or folder `doctrine_migration_20180601172528.sql` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/en/reference/managing-migrations.rst:320
What to do
- Reconcile the README with reality: README claims Doctrine Migrations is a project but the evidence shows no repository (0 projects); docs/en/reference/configuration.rst names `migrations.xml`, but no file or folder `migrations.xml` exists; docs/en/reference/managing-migrations.rst names `doctrine_migration_20180601172528.sql`, but no file or folder `doctrine_migration_20180601172528.sql` exists.
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
P3 · Security & performance tooling
What to do
- Dependabot is configured but does not watch `composer` — add that `package-ecosystem` entry to REDACTED so those dependencies get the same automatic update and advisory pressure as the ones it already covers.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X3 · Exception handling
- `catch (Throwable)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — src/Tools/Console/Helper/MigrationStatusInfosHelper.php:179
What to do
- Swallowed exception (caught, then discarded)
X30 · Support guard that admits what it rejects
X4 · Structured logging
X5 · Nullable reference types
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 86% | Strong | Strongest area. |
| Architecture | 82% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 37% | Weak — gated by D34, M1, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 74% | Strong | Solid. |
| Security | 79% | Adequate — gated by D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Unscored — 2 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- X10 Duplicated predicate — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 2 control(s) we could not find positive evidence for
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 67 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — Not applicable: this repository's PHP imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX2 Stateful singletons — Not applicable: PHP builds its object graph per request and shares none of it between requests.
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB1 Runtime evidence locked — no reproducible boot — This repository has nothing the runtime tiers could boot or serve — no markup, no UI framework or web-server dependency, no UI component source, no native UI project and no API definition — nothing here is a surface to boot — so runtime a11y/egress/header evidence has no subject here. Not applicable: this is neither a gap in the scan nor a finding about your code.
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- C1 Data Protection — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential in a Laravel migration, an Eloquent $fillable/$hidden list or a Doctrine #[ORM\Column] property — and no database client (PDO, mysqli, Laravel's DB facade, $wpdb) in the source either, so this repository keeps no data at rest for these controls to protect.
- C2 Access Controls — No access-control surface detected in the analyzed source — this repository registers no route (no Laravel Route::…, no Symfony #[Route], no Filament panel, no WordPress REST route or AJAX action). Access control is therefore N/A here — a Composer library is authorized by the application that mounts it, not by itself. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone_number, …) or stored credential in a Laravel migration, an Eloquent model's $fillable/$hidden list or a Doctrine #[ORM\Column] property — and no database client (PDO, mysqli, Laravel's DB facade, $wpdb) in the source either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a hosted backend configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential in a Laravel migration, an Eloquent $fillable/$hidden list or a Doctrine #[ORM\Column] property — and no database client (PDO, mysqli, Laravel's DB facade, $wpdb) in the source either, so this repository keeps no personal data whose lifetime a retention limit would bound.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential in a Laravel migration, an Eloquent $fillable/$hidden list or a Doctrine #[ORM\Column] property — and no database client (PDO, mysqli, Laravel's DB facade, $wpdb) in the source either, so this repository keeps no personal data for a data subject to erase, export or consent over.
- D11 Test Reliability — Test reliability not included — no .php test runner
- D12 Dependency Hygiene — Not scored — 7 direct Composer requirement(s) were read, but the outdated signal needs Packagist, and no committed composer.lock resolves them to releases, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D14 License Compliance — Composer package licences not graded — this repository commits no composer.lock and this pass does not run Composer's solver
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.php), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D30 Dependency Vulnerabilities — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (composer.json — not scanned yet).
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — 40 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (composer.json — not scanned yet).
- D5 Coupling — Not applicable — this Composer build ships 1 production module(s), so there is no coupling BETWEEN modules to measure. (Its test and non-production modules are not part of the shipped graph.)
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (5 value object(s))
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P7 Outbound HTTP resilience — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P8 Schema migrations — Doctrine is declared, but the schema-migration mechanism could not be identified. Our limit, not a verdict on this repository.
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Clover XML — with Xdebug (`XDEBUG_MODE=coverage`) or PCOV installed, `vendor/bin/phpunit --coverage-clover coverage.xml`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for PHPBench subjects (`bench*` methods, or `@Subject`/`#[Subject]` ones) in a file importing PhpBench or carrying its annotations, `bench*` methods in a `*Bench.php` file where PHPBench is installed, or phpbench/phpbench in a composer.json or a phpbench.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: PHP runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- PF3 Async & latency hygiene — Not applicable: PHP has no async/await function colour, so there is no asynchronous code for a blocking call to stall.
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X12 Unreachable branch — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X13 Undrained process stream — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X17 Uncapped recursion over a caller-supplied document — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X2 Cancellation propagation — no C# was loaded; this repository's PHP was read and makes no request a caller can cancel (amphp's HttpClient or connect) — synchronous PHP offers its callers no cancellation to take
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X24 Document value interpolated into markup unescaped — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. PHP gives a request one thread of its own; the event-loop libraries (ReactPHP, Amp) run callbacks one at a time, and ext-parallel copies every value across its channels, so no array or collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X29 Per-element action decided by a fixed element — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 19 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 32 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No assertions: testAbortIfDontThrowsException tests/AbstractMigrationTest.php:96
- No assertions: testSkipIfDontThrowsException tests/AbstractMigrationTest.php:118
- No assertions: testListenerDoesNothingDuringADryRun tests/Event/Listeners/AutoCommitListenerTest.php:21
- No assertions: testItTriggersADeprecationWhenUseful tests/Tools/TransactionHelperTest.php:19
- No assertions: testItDoesNotTriggerADeprecationWhenUseless tests/Tools/TransactionHelperTest.php:39
- Duplicated block (5 lines × 2) src/Metadata/AvailableMigrationsList.php:48
- Duplicated block (5 lines × 2) src/Metadata/AvailableMigrationsList.php:38
- VersionCommand.markVersions (cyclomatic 16) src/Tools/Console/Command/VersionCommand.php:130
- VersionCommand.markVersions (cognitive 25) src/Tools/Console/Command/VersionCommand.php:130
- VersionCommand.mark (cognitive 17) src/Tools/Console/Command/VersionCommand.php:188
- DiffGenerator.generate (cognitive 16) src/Generator/DiffGenerator.php:43
- SqlGenerator.generate (cognitive 16) src/Generator/SqlGenerator.php:41
- DefaultAliasResolver.resolveVersionAlias (cognitive 16) src/Version/DefaultAliasResolver.php:51
- Redundant configuration methods for migration organization. The class provides specific setters/getters for 'Year' and 'YearAndMonth' organization modes, but also provides a generic `setMigrationOrganization(string)` method. This creates two ways to configure the same state, risking inconsistency if the specific setters are called after the generic one (or vice versa) without proper internal synchronization.
- TooManyMethods: DependencyFactory src/DependencyFactory.php:62
- REDACTED
- Duplicated block (29 lines × 2) src/Tools/Console/Command/ExecuteCommand.php:46
- Duplicated block (15 lines × 2) src/Tools/Console/Command/ExecuteCommand.php:116
- Duplicated block (13 lines × 2) src/Tools/Console/Command/ExecuteCommand.php:148
- Duplicated block (7 lines × 3) src/Metadata/AvailableMigrationsList.php:62
- Duplicated block (7 lines × 2) src/Metadata/AvailableMigrationsList.php:73
- Low cohesion: AbstractMigration (LCOM4 5) src/AbstractMigration.php:26
- Coverage collected but not gated
- Swallowed exception (caught, then discarded) src/Tools/Console/Helper/MigrationStatusInfosHelper.php:179
Minor — 33 finding(s)
- Orphaned file src/Tools/Console/Command/MigrateCommand.php:1
- Orphaned file src/Version/DbalExecutor.php:1
- Orphaned file src/Tools/Console/Command/VersionCommand.php:1
- Orphaned file src/Tools/Console/Helper/MigrationStatusInfosHelper.php:1
- Orphaned file src/Tools/Console/Command/DoctrineCommand.php:1
- Orphaned file src/Tools/Console/Command/ExecuteCommand.php:1
- Orphaned file src/Tools/Console/ConsoleRunner.php:1
- Orphaned file src/Version/SortedMigrationPlanCalculator.php:1
- Orphaned file src/Tools/Console/Command/DumpSchemaCommand.php:1
- Orphaned file src/DbalMigrator.php:1
- Orphaned file src/Configuration/Migration/ConfigurationArray.php:1
- Orphaned file src/Tools/Console/Command/UpToDateCommand.php:1
- Orphaned file src/Version/DefaultAliasResolver.php:1
- Orphaned file src/Configuration/Migration/XmlFile.php:1
- Orphaned file src/Tools/Console/ConsoleInputMigratorConfigurationFactory.php:1
- Orphaned file src/Generator/SqlGenerator.php:1
- Orphaned file src/Version/ExecutionResult.php:1
- Orphaned file src/Finder/Finder.php:1
- Orphaned file src/Tools/Console/Command/ListCommand.php:1
- README/code drift README.md:1
- README/code drift docs/en/reference/configuration.rst:18
- README/code drift docs/en/reference/managing-migrations.rst:320
- Off-boarding risk: anonymized user #1
- No ADRs found
- Projects may be oversized for their cohesion
- Orphaned files with no living knowledge
- REDACTED
- REDACTED
- Thin README
- No ADRs
- No architecture diagram/doc
- No changelog
- Duplicated predicate src/Tools/Console/Command/ExecuteCommand.php:176
Minor — 3 finding(s)
- Skipped (documented): testCompile tests/BoxPharCompileTest.php:19
- Skipped (documented): testCreateDependencyFactoryFromLegacyOrmHelper tests/Tools/Console/ConsoleRunnerTest.php:31
- No assertions (declared): testEntityManagerWithoutMetadata tests/Provider/OrmSchemaProviderTest.php:47
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-e4a0b5cf0304403aa3f7be0847de7f66/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-e4a0b5cf0304403aa3f7be0847de7f66/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 19 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | none (dependency manifest found, not scanned for vulnerabilities here) | — | none (dependency manifest found, not scanned for vulnerabilities here): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (composer.json — not scanned yet). | 0 | — |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 40 file(s) — `src/AbstractMigration.php`, `src/Configuration/Connection/ConfigurationFile.php`, `src/Configuration/Connection/ExistingConnection.php`, `src/Configuration/EntityManager/ConfigurationFile.php`, `src/Configuration/EntityManager/ExistingEntityManager.php`, … (+35 more) — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | none (dependency manifest found, not scanned for vulnerabilities here) | — | none (dependency manifest found, not scanned for vulnerabilities here): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (composer.json — not scanned yet). | 0 | — |