Executive summary
sangria-graphql/sangria falls short of our standard for production because we found no recorded design decisions and no architecture document or diagram. It scores 56 out of 100 and is rated Adequate, and all 13 of its critical findings are security problems in the build pipeline.
Maturity, at 46, is the weakest lens and counts most in the score. The best first step for the work it takes is fixing the part of the code only one person knows, worth about 5 points. Recording design decisions would lift Maturity itself, worth about 8 points. Raising Maturity to 70 would lift the score to about 63.
Eleven pipeline tools are referenced by a changeable name, so the build pipeline can be tampered with. One secret can leak from the build pipeline. Pinning each tool to an exact version and limiting the secret to its own step would close both risks. Correcting the flagged pipeline settings would fix the weakness in the build pipeline's configuration.
The product code is 26,939 lines, about €67,000 to rebuild.
If Maturity rose from 46 to 70, the lowest score rated Strong, the score would rise from 56 to about 63.
New since the last survey: 3 findings
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Documentation (README) · README may be stale
Fixed since the last survey: 3 findings
- God Classes · FileTooLong: parser/QueryParser.scala modules/parser/src/main/scala/sangria/parser/QueryParser.scala
- Supply-chain Provenance & Signing REDACTED
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €67,000 · Estimate
| Cost to rebuild | €22,000 to €110,000, for 371 to 1,176 hours of work, about 0.5 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 56. 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 | Medium: 26,939 lines of product code |
| What it is not | Not a quotation: nobody has offered to build it for that. Not a valuation: it says nothing about what the business is worth. Not a certified figure: no professional has signed it as one. |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 execution.deferred | 2 macros.derive.DeriveEnumTypeMacro | 3 validation.ValidationRule | 4 execution.ResultResolver | 5 execution.deferred.HasId | 6 marshalling | 7 renderer | 8 util | 9 validation.rules.overlappingfields.TypeShape | 10 execution.FutureResolver | 11 introspection | 12 validation.rules.overlappingfields.CachedCheck | 13 execution | 14 validation.rules.overlappingfields | 15 catseffect.execution | 16 execution.AlternativeExecutionScheme | 17 execution.ExecutionScheme | 18 execution.Trinary | 19 validation.rules.overlappingfields.TypeAbstractness | 20 schema | 21 validation.SchemaBasedDocumentAnalyzer | 22 validation.rules | 23 validation | 24 ast | 25 schema.DefaultIntrospectionSchemaBuilder | 26 sangria | 27 ast.OperationType | 28 execution.batch.BatchExecutionPlan | 29 macros.derive.DeriveInputObjectTypeMacro | 30 marshalling.queryAst | 31 parser | 32 schema.AstSchemaBuilder | 33 schema.SchemaChange | 34 validation.rules.overlappingfields.SelectionField | 35 execution.batch | 36 macros | 37 macros.derive.DeriveObjectTypeMacro | 38 macros.derive | 39 catseffect.schema | 40 macros.derive.GraphQLInputTypeLookup |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 execution.deferred | ||||||||||||||||||||||||||||||||||||||||
| 2 macros.derive.DeriveEnumTypeMacro | ||||||||||||||||||||||||||||||||||||||||
| 3 validation.ValidationRule | ||||||||||||||||||||||||||||||||||||||||
| 4 execution.ResultResolver | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 5 execution.deferred.HasId | 1 | |||||||||||||||||||||||||||||||||||||||
| 6 marshalling | 2 | |||||||||||||||||||||||||||||||||||||||
| 7 renderer | 13 | 10 | 27 | |||||||||||||||||||||||||||||||||||||
| 8 util | 3 | |||||||||||||||||||||||||||||||||||||||
| 9 validation.rules.overlappingfields.TypeShape | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 10 execution.FutureResolver | 1 | 5 | 6 | 4 | 6 | |||||||||||||||||||||||||||||||||||
| 11 introspection | 1 | 7 | ||||||||||||||||||||||||||||||||||||||
| 12 validation.rules.overlappingfields.CachedCheck | 1 | 3 | 1 | |||||||||||||||||||||||||||||||||||||
| 13 execution | 5 | 2 | 1 | 14 | 66 | 14 | 59 | |||||||||||||||||||||||||||||||||
| 14 validation.rules.overlappingfields | 1 | 4 | 1 | 9 | ||||||||||||||||||||||||||||||||||||
| 15 catseffect.execution | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 execution.AlternativeExecutionScheme | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 17 execution.ExecutionScheme | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 18 execution.Trinary | 4 | |||||||||||||||||||||||||||||||||||||||
| 19 validation.rules.overlappingfields.TypeAbstractness | 2 | |||||||||||||||||||||||||||||||||||||||
| 20 schema | 4 | 1 | 1 | 1 | 37 | 14 | 2 | 17 | 280 | 14 | ||||||||||||||||||||||||||||||
| 21 validation.SchemaBasedDocumentAnalyzer | 7 | 2 | 8 | |||||||||||||||||||||||||||||||||||||
| 22 validation.rules | 6 | 2 | 57 | 4 | 1 | |||||||||||||||||||||||||||||||||||
| 23 validation | 2 | 8 | 3 | 1 | 209 | 1 | ||||||||||||||||||||||||||||||||||
| 24 ast | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 schema.DefaultIntrospectionSchemaBuilder | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 26 sangria | 2 | 6 | 7 | |||||||||||||||||||||||||||||||||||||
| 27 ast.OperationType | 3 | |||||||||||||||||||||||||||||||||||||||
| 28 execution.batch.BatchExecutionPlan | 1 | 2 | 2 | |||||||||||||||||||||||||||||||||||||
| 29 macros.derive.DeriveInputObjectTypeMacro | 2 | |||||||||||||||||||||||||||||||||||||||
| 30 marshalling.queryAst | 1 | |||||||||||||||||||||||||||||||||||||||
| 31 parser | 9 | |||||||||||||||||||||||||||||||||||||||
| 32 schema.AstSchemaBuilder | 1 | 3 | ||||||||||||||||||||||||||||||||||||||
| 33 schema.SchemaChange | 69 | 89 | ||||||||||||||||||||||||||||||||||||||
| 34 validation.rules.overlappingfields.SelectionField | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 35 execution.batch | 1 | 1 | 13 | 1 | 6 | 8 | 3 | |||||||||||||||||||||||||||||||||
| 36 macros | 1 | 12 | 1 | |||||||||||||||||||||||||||||||||||||
| 37 macros.derive.DeriveObjectTypeMacro | 4 | 2 | ||||||||||||||||||||||||||||||||||||||
| 38 macros.derive | 1 | 1 | 6 | 5 | 5 | 1 | ||||||||||||||||||||||||||||||||||
| 39 catseffect.schema | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 40 macros.derive.GraphQLInputTypeLookup | 1 |
4→13 execution.ResultResolver uses execution part of a loop✕
- Connections
- 2 pairs of types, where a type in execution.ResultResolver uses a type in execution.
- The types involved
sangria.execution.ResultResolver.ErrorRegistry→sangria.execution.ExecutionPathsangria.execution.ResultResolver.ErrorRegistry→sangria.execution.RegisteredError
- Direction
- execution.ResultResolver uses execution, so a change to execution can break execution.ResultResolver, while a change to execution.ResultResolver can't break execution.
- 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.
4→24 execution.ResultResolver uses ast part of a loop✕
- Connections
- 1 pair of types, where a type in execution.ResultResolver uses a type in ast.
- The types involved
sangria.execution.ResultResolver.ErrorRegistry→sangria.ast.AstLocation
- Direction
- execution.ResultResolver uses ast, so a change to ast can break execution.ResultResolver, while a change to execution.ResultResolver can't break ast.
- 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.
5→1 execution.deferred.HasId uses execution.deferred✕
- Connections
- 1 pair of types, where a type in execution.deferred.HasId uses a type in execution.deferred.
- The types involved
sangria.execution.deferred.HasId.SimpleHasId→sangria.execution.deferred.HasId
- Direction
- execution.deferred.HasId uses execution.deferred, so a change to execution.deferred can break execution.deferred.HasId, while a change to execution.deferred.HasId can't break execution.deferred.
- Position
- Below the diagonal: execution.deferred.HasId uses a module listed above it, which is the healthy direction.
6→24 marshalling uses ast part of a loop✕
- Connections
- 2 pairs of types, where a type in marshalling uses a type in ast.
- The types involved
sangria.marshalling.QueryAstInputUnmarshaller→sangria.ast.Valuesangria.marshalling.queryAst→sangria.ast.Value
- Direction
- marshalling uses ast, so a change to ast can break marshalling, while a change to marshalling can't break ast.
- 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.
7→11 renderer uses introspection part of a loop✕
- Connections
- 13 pairs of types, where a type in renderer uses a type in introspection.
- The types involved
sangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionDirectivesangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionEnumTypesangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionEnumValuesangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionFieldsangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionInputObjectTypesangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionInputValuesangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionInterfaceTypesangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionObjectTypesangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionScalarTypesangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionSchemasangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionTypesangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionTypeRefsangria.renderer.SchemaRenderer→sangria.introspection.IntrospectionUnionType
- Direction
- renderer uses introspection, so a change to introspection can break renderer, while a change to renderer can't break introspection.
- 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.
7→20 renderer uses schema part of a loop✕
- Connections
- 10 pairs of types, where a type in renderer uses a type in schema.
- The types involved
sangria.renderer.SchemaRenderer→sangria.schema.EnumTypesangria.renderer.SchemaRenderer→sangria.schema.InputFieldsangria.renderer.SchemaRenderer→sangria.schema.InputObjectTypesangria.renderer.SchemaRenderer→sangria.schema.InputTypesangria.renderer.SchemaRenderer→sangria.schema.InterfaceTypesangria.renderer.SchemaRenderer→sangria.schema.ObjectLikeTypesangria.renderer.SchemaRenderer→sangria.schema.ObjectTypesangria.renderer.SchemaRenderer→sangria.schema.ScalarTypesangria.renderer.SchemaRenderer→sangria.schema.Schemasangria.renderer.SchemaRenderer→sangria.schema.UnionType
- Direction
- renderer uses schema, so a change to schema can break renderer, while a change to renderer can't break schema.
- 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.
7→24 renderer uses ast part of a loop✕
- Connections
- 27 pairs of types, where a type in renderer uses a type in ast. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
sangria.renderer.QueryRenderer→sangria.ast.Argumentsangria.renderer.QueryRenderer→sangria.ast.AstLocationsangria.renderer.QueryRenderer→sangria.ast.AstNodesangria.renderer.QueryRenderer→sangria.ast.Commentsangria.renderer.QueryRenderer→sangria.ast.Directivesangria.renderer.QueryRenderer→sangria.ast.EnumValueDefinitionsangria.renderer.QueryRenderer→sangria.ast.FieldDefinitionsangria.renderer.QueryRenderer→sangria.ast.InputValueDefinitionsangria.renderer.QueryRenderer→sangria.ast.NamedTypesangria.renderer.QueryRenderer→sangria.ast.OperationTypesangria.renderer.QueryRenderer→sangria.ast.OperationTypeDefinitionsangria.renderer.QueryRenderer→sangria.ast.Selectionsangria.renderer.QueryRenderer→sangria.ast.StringValuesangria.renderer.QueryRenderer→sangria.ast.VariableDefinitionsangria.renderer.QueryRenderer→sangria.ast.WithCommentssangria.renderer.QueryRenderer→sangria.ast.WithDescriptionsangria.renderer.QueryRenderer→sangria.ast.WithTrailingCommentssangria.renderer.SchemaRenderer→sangria.ast.Argumentsangria.renderer.SchemaRenderer→sangria.ast.Directivesangria.renderer.SchemaRenderer→sangria.ast.Documentsangria.renderer.SchemaRenderer→sangria.ast.EnumValuesangria.renderer.SchemaRenderer→sangria.ast.Fieldsangria.renderer.SchemaRenderer→sangria.ast.SchemaDefinitionsangria.renderer.SchemaRenderer→sangria.ast.StringValuesangria.renderer.SchemaRenderer→sangria.ast.Type
- Direction
- renderer uses ast, so a change to ast can break renderer, while a change to renderer can't break ast.
- 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→24 util uses ast part of a loop✕
- Connections
- 3 pairs of types, where a type in util uses a type in ast.
- The types involved
sangria.util.Cache→sangria.ast.Valuesangria.util.ConcurrentHashMapCache→sangria.ast.Valuesangria.util.TrieMapCache→sangria.ast.Value
- Direction
- util uses ast, so a change to ast can break util, while a change to util can't break ast.
- 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→14 validation.rules.overlappingfields.TypeShape uses validation.rules.overlappingfields part of a loop✕
- Connections
- 2 pairs of types, where a type in validation.rules.overlappingfields.TypeShape uses a type in validation.rules.overlappingfields.
- The types involved
sangria.validation.rules.overlappingfields.TypeShape.Known→sangria.validation.rules.overlappingfields.TypeShapesangria.validation.rules.overlappingfields.TypeShape.Unknown→sangria.validation.rules.overlappingfields.TypeShape
- Direction
- validation.rules.overlappingfields.TypeShape uses validation.rules.overlappingfields, so a change to validation.rules.overlappingfields can break validation.rules.overlappingfields.TypeShape, while a change to validation.rules.overlappingfields.TypeShape can't break validation.rules.overlappingfields.
- 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→20 validation.rules.overlappingfields.TypeShape uses schema part of a loop✕
- Connections
- 1 pair of types, where a type in validation.rules.overlappingfields.TypeShape uses a type in schema.
- The types involved
sangria.validation.rules.overlappingfields.TypeShape.Known→sangria.schema.OutputType
- Direction
- validation.rules.overlappingfields.TypeShape uses schema, so a change to schema can break validation.rules.overlappingfields.TypeShape, while a change to validation.rules.overlappingfields.TypeShape can't break schema.
- 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→1 execution.FutureResolver uses execution.deferred✕
- Connections
- 1 pair of types, where a type in execution.FutureResolver uses a type in execution.deferred.
- The types involved
sangria.execution.FutureResolver.Defer→sangria.execution.deferred.Deferred
- Direction
- execution.FutureResolver uses execution.deferred, so a change to execution.deferred can break execution.FutureResolver, while a change to execution.FutureResolver can't break execution.deferred.
- Position
- Below the diagonal: execution.FutureResolver uses a module listed above it, which is the healthy direction.
10→4 execution.FutureResolver uses execution.ResultResolver✕
- Connections
- 5 pairs of types, where a type in execution.FutureResolver uses a type in execution.ResultResolver.
- The types involved
sangria.execution.FutureResolver.Actions→sangria.execution.ResultResolver.ErrorRegistrysangria.execution.FutureResolver.ErrorFieldResolution→sangria.execution.ResultResolver.ErrorRegistrysangria.execution.FutureResolver.Result→sangria.execution.ResultResolver.ErrorRegistrysangria.execution.FutureResolver.StandardFieldResolution→sangria.execution.ResultResolver.ErrorRegistrysangria.execution.FutureResolver.StreamFieldResolution→sangria.execution.ResultResolver.ErrorRegistry
- Direction
- execution.FutureResolver uses execution.ResultResolver, so a change to execution.ResultResolver can break execution.FutureResolver, while a change to execution.FutureResolver can't break execution.ResultResolver.
- Position
- Below the diagonal: execution.FutureResolver uses a module listed above it, which is the healthy direction.
10→13 execution.FutureResolver uses execution part of a loop✕
- Connections
- 6 pairs of types, where a type in execution.FutureResolver uses a type in execution.
- The types involved
sangria.execution.FutureResolver.ActionsItemResult→sangria.execution.MappedCtxUpdatesangria.execution.FutureResolver.Defer→sangria.execution.DeferredWithInfosangria.execution.FutureResolver.DeferredResult→sangria.execution.ExecutionPathsangria.execution.FutureResolver.Resolve→sangria.execution.ExecutionPathsangria.execution.FutureResolver.Result→sangria.execution.ExecutionPathsangria.execution.FutureResolver.StandardFieldResolution→sangria.execution.MappedCtxUpdate
- Direction
- execution.FutureResolver uses execution, so a change to execution can break execution.FutureResolver, while a change to execution.FutureResolver can't break execution.
- 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→20 execution.FutureResolver uses schema part of a loop✕
- Connections
- 4 pairs of types, where a type in execution.FutureResolver uses a type in schema.
- The types involved
sangria.execution.FutureResolver.ActionsItemResult→sangria.schema.LeafActionsangria.execution.FutureResolver.Defer→sangria.schema.Argssangria.execution.FutureResolver.StandardFieldResolution→sangria.schema.LeafActionsangria.execution.FutureResolver.StreamFieldResolution→sangria.schema.SubscriptionValue
- Direction
- execution.FutureResolver uses schema, so a change to schema can break execution.FutureResolver, while a change to execution.FutureResolver can't break schema.
- 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→24 execution.FutureResolver uses ast part of a loop✕
- Connections
- 6 pairs of types, where a type in execution.FutureResolver uses a type in ast.
- The types involved
sangria.execution.FutureResolver.ActionsItem→sangria.ast.Fieldsangria.execution.FutureResolver.ActionsItemResult→sangria.ast.Fieldsangria.execution.FutureResolver.Defer→sangria.ast.Fieldsangria.execution.FutureResolver.DeferredResult→sangria.ast.AstLocationsangria.execution.FutureResolver.Resolve→sangria.ast.AstLocationsangria.execution.FutureResolver.Result→sangria.ast.AstLocation
- Direction
- execution.FutureResolver uses ast, so a change to ast can break execution.FutureResolver, while a change to execution.FutureResolver can't break ast.
- 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→7 introspection uses renderer✕
- Connections
- 1 pair of types, where a type in introspection uses a type in renderer.
- The types involved
sangria.introspection.IntrospectionSchema→sangria.renderer.SchemaFilter
- Direction
- introspection uses renderer, so a change to renderer can break introspection, while a change to introspection can't break renderer.
- Position
- Below the diagonal: introspection uses a module listed above it, which is the healthy direction.
11→24 introspection uses ast part of a loop✕
- Connections
- 7 pairs of types, where a type in introspection uses a type in ast.
- The types involved
sangria.introspection.IntrospectionDirective→sangria.ast.Valuesangria.introspection.IntrospectionNamedTypeRef→sangria.ast.Valuesangria.introspection.IntrospectionScalarType→sangria.ast.Valuesangria.introspection.IntrospectionSchema→sangria.ast.Documentsangria.introspection.IntrospectionType→sangria.ast.Valuesangria.introspection.IntrospectionTypeRef→sangria.ast.Valuesangria.introspection.TypeKind→sangria.ast.Value
- Direction
- introspection uses ast, so a change to ast can break introspection, while a change to introspection can't break ast.
- 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.
12→9 validation.rules.overlappingfields.CachedCheck uses validation.rules.overlappingfields.TypeShape✕
- Connections
- 1 pair of types, where a type in validation.rules.overlappingfields.CachedCheck uses a type in validation.rules.overlappingfields.TypeShape.
- The types involved
sangria.validation.rules.overlappingfields.CachedCheck.FieldSetCache→sangria.validation.rules.overlappingfields.TypeShape.Known
- Direction
- validation.rules.overlappingfields.CachedCheck uses validation.rules.overlappingfields.TypeShape, so a change to validation.rules.overlappingfields.TypeShape can break validation.rules.overlappingfields.CachedCheck, while a change to validation.rules.overlappingfields.CachedCheck can't break validation.rules.overlappingfields.TypeShape.
- Position
- Below the diagonal: validation.rules.overlappingfields.CachedCheck uses a module listed above it, which is the healthy direction.
12→14 validation.rules.overlappingfields.CachedCheck uses validation.rules.overlappingfields part of a loop✕
- Connections
- 3 pairs of types, where a type in validation.rules.overlappingfields.CachedCheck uses a type in validation.rules.overlappingfields.
- The types involved
sangria.validation.rules.overlappingfields.CachedCheck.FieldSetCache→sangria.validation.rules.overlappingfields.FieldNameAndArgumentssangria.validation.rules.overlappingfields.CachedCheck.FieldSetCache→sangria.validation.rules.overlappingfields.SelectionConflictViolationsBuildersangria.validation.rules.overlappingfields.CachedCheck.FieldSetCache→sangria.validation.rules.overlappingfields.SelectionField
- Direction
- validation.rules.overlappingfields.CachedCheck uses validation.rules.overlappingfields, so a change to validation.rules.overlappingfields can break validation.rules.overlappingfields.CachedCheck, while a change to validation.rules.overlappingfields.CachedCheck can't break validation.rules.overlappingfields.
- 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.
12→19 validation.rules.overlappingfields.CachedCheck uses validation.rules.overlappingfields.TypeAbstractness part of a loop✕
- Connections
- 1 pair of types, where a type in validation.rules.overlappingfields.CachedCheck uses a type in validation.rules.overlappingfields.TypeAbstractness.
- The types involved
sangria.validation.rules.overlappingfields.CachedCheck.FieldSetCache→sangria.validation.rules.overlappingfields.TypeAbstractness.Concrete
- Direction
- validation.rules.overlappingfields.CachedCheck uses validation.rules.overlappingfields.TypeAbstractness, so a change to validation.rules.overlappingfields.TypeAbstractness can break validation.rules.overlappingfields.CachedCheck, while a change to validation.rules.overlappingfields.CachedCheck can't break validation.rules.overlappingfields.TypeAbstractness.
- 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.
13→1 execution uses execution.deferred✕
- Connections
- 5 pairs of types, where a type in execution uses a type in execution.deferred.
- The types involved
sangria.execution.AsyncResolverBuilder→sangria.execution.deferred.DeferredResolversangria.execution.DeferredWithInfo→sangria.execution.deferred.Deferredsangria.execution.Executor→sangria.execution.deferred.DeferredResolversangria.execution.FutureResolverBuilder→sangria.execution.deferred.DeferredResolversangria.execution.ResolverBuilder→sangria.execution.deferred.DeferredResolver
- Direction
- execution uses execution.deferred, so a change to execution.deferred can break execution, while a change to execution can't break execution.deferred.
- Position
- Below the diagonal: execution uses a module listed above it, which is the healthy direction.
13→4 execution uses execution.ResultResolver✕
- Connections
- 2 pairs of types, where a type in execution uses a type in execution.ResultResolver.
- The types involved
sangria.execution.FutureResolver→sangria.execution.ResultResolver.ErrorRegistrysangria.execution.ResultResolver→sangria.execution.ResultResolver.ErrorRegistry
- Direction
- execution uses execution.ResultResolver, so a change to execution.ResultResolver can break execution, while a change to execution can't break execution.ResultResolver.
- Position
- Below the diagonal: execution uses a module listed above it, which is the healthy direction.
13→8 execution uses util✕
- Connections
- 1 pair of types, where a type in execution uses a type in util.
- The types involved
sangria.execution.ValueCoercionHelper→sangria.util.Cache
- Direction
- execution uses util, so a change to util can break execution, while a change to execution can't break util.
- Position
- Below the diagonal: execution uses a module listed above it, which is the healthy direction.
13→10 execution uses execution.FutureResolver✕
- Connections
- 14 pairs of types, where a type in execution uses a type in execution.FutureResolver.
- The types involved
sangria.execution.AsyncExecutionScheme→sangria.execution.FutureResolver.Resultsangria.execution.AsyncResolver→sangria.execution.FutureResolver.Resultsangria.execution.ExecutionScheme→sangria.execution.FutureResolver.Resultsangria.execution.Executor→sangria.execution.FutureResolver.Resultsangria.execution.FutureResolver→sangria.execution.FutureResolver.Actionssangria.execution.FutureResolver→sangria.execution.FutureResolver.Defersangria.execution.FutureResolver→sangria.execution.FutureResolver.DeferredResultsangria.execution.FutureResolver→sangria.execution.FutureResolver.FieldResolutionsangria.execution.FutureResolver→sangria.execution.FutureResolver.Resolvesangria.execution.FutureResolver→sangria.execution.FutureResolver.Resultsangria.execution.FutureResolver→sangria.execution.FutureResolver.SeqRessangria.execution.FutureResolver→sangria.execution.FutureResolver.StandardFieldResolutionsangria.execution.PreparedQuery→sangria.execution.FutureResolver.Resultsangria.execution.Resolver→sangria.execution.FutureResolver.Result
- Direction
- execution uses execution.FutureResolver, so a change to execution.FutureResolver can break execution, while a change to execution can't break execution.FutureResolver.
- Position
- Below the diagonal: execution uses a module listed above it, which is the healthy direction.
13→20 execution uses schema part of a loop✕
- Connections
- 66 pairs of types, where a type in execution uses a type in schema. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
sangria.execution.AsyncResolver→sangria.schema.ObjectTypesangria.execution.AsyncResolverBuilder→sangria.schema.Schemasangria.execution.BeforeFieldResult→sangria.schema.Actionsangria.execution.DeferredWithInfo→sangria.schema.Argssangria.execution.DeprecationTracker→sangria.schema.Contextsangria.execution.DeprecationTracker→sangria.schema.EnumTypesangria.execution.DeprecationTracker→sangria.schema.InputFieldsangria.execution.DeprecationTracker→sangria.schema.InputObjectTypesangria.execution.ExecutionPath→sangria.schema.ObjectTypesangria.execution.Executor→sangria.schema.ObjectTypesangria.execution.Executor→sangria.schema.Schemasangria.execution.FieldCollector→sangria.schema.ObjectTypesangria.execution.FutureResolver→sangria.schema.Contextsangria.execution.FutureResolver→sangria.schema.DeferredFutureValuesangria.execution.FutureResolver→sangria.schema.DeferredValuesangria.execution.FutureResolver→sangria.schema.FutureValuesangria.execution.FutureResolver→sangria.schema.InputTypesangria.execution.FutureResolver→sangria.schema.LeafActionsangria.execution.FutureResolver→sangria.schema.ObjectTypesangria.execution.FutureResolver→sangria.schema.OutputTypesangria.execution.FutureResolver→sangria.schema.PartialFutureValuesangria.execution.FutureResolver→sangria.schema.PartialValuesangria.execution.FutureResolver→sangria.schema.ProjectedNamesangria.execution.FutureResolver→sangria.schema.SequenceLeafActionsangria.execution.FutureResolver→sangria.schema.StandardLeafAction
- Direction
- execution uses schema, so a change to schema can break execution, while a change to execution can't break schema.
- 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.
13→23 execution uses validation part of a loop✕
- Connections
- 14 pairs of types, where a type in execution uses a type in validation.
- The types involved
sangria.execution.AttributeCoercionError→sangria.validation.Violationsangria.execution.ExecutionError→sangria.validation.AstNodeLocationsangria.execution.Executor→sangria.validation.QueryValidatorsangria.execution.InputDocumentMaterializationError→sangria.validation.Violationsangria.execution.InternalExecutionError→sangria.validation.AstNodeLocationsangria.execution.MaterializedSchemaValidationError→sangria.validation.Violationsangria.execution.MiddlewareFromScalar→sangria.validation.Violationsangria.execution.QueryReducerExecutor→sangria.validation.QueryValidatorsangria.execution.ResultResolver→sangria.validation.Violationsangria.execution.ValidationError→sangria.validation.Violationsangria.execution.ValueCoercionHelper→sangria.validation.Violationsangria.execution.VariableCoercionError→sangria.validation.Violationsangria.execution.VariableValue→sangria.validation.Violationsangria.execution.WithViolations→sangria.validation.Violation
- Direction
- execution uses validation, so a change to validation can break execution, while a change to execution can't break validation.
- 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.
13→24 execution uses ast part of a loop✕
- Connections
- 59 pairs of types, where a type in execution uses a type in ast. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
sangria.execution.AsyncResolverBuilder→sangria.ast.Documentsangria.execution.AsyncResolverBuilder→sangria.ast.SourceMappersangria.execution.AsyncResolverBuilder→sangria.ast.VariableValuesangria.execution.CollectedField→sangria.ast.Fieldsangria.execution.CollectedFieldsBuilder→sangria.ast.Fieldsangria.execution.DeferredWithInfo→sangria.ast.Fieldsangria.execution.DeprecationTracker→sangria.ast.Argumentsangria.execution.DeprecationTracker→sangria.ast.Directivesangria.execution.ExecutionError→sangria.ast.AstLocationsangria.execution.ExecutionError→sangria.ast.SourceMappersangria.execution.ExecutionPath→sangria.ast.Fieldsangria.execution.Executor→sangria.ast.Documentsangria.execution.Executor→sangria.ast.OperationDefinitionsangria.execution.Executor→sangria.ast.SourceMappersangria.execution.Executor→sangria.ast.VariableValuesangria.execution.FieldCollector→sangria.ast.ConditionalFragmentsangria.execution.FieldCollector→sangria.ast.Directivesangria.execution.FieldCollector→sangria.ast.Selectionsangria.execution.FieldCollector→sangria.ast.SelectionContainersangria.execution.FieldCollector→sangria.ast.WithDirectivessangria.execution.FutureResolver→sangria.ast.AstLocationsangria.execution.FutureResolver→sangria.ast.Fieldsangria.execution.FutureResolver→sangria.ast.Valuesangria.execution.FutureResolverBuilder→sangria.ast.Documentsangria.execution.FutureResolverBuilder→sangria.ast.SourceMapper
- Direction
- execution uses ast, so a change to ast can break execution, while a change to execution can't break ast.
- 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.
14→12 validation.rules.overlappingfields uses validation.rules.overlappingfields.CachedCheck✕
- Connections
- 1 pair of types, where a type in validation.rules.overlappingfields uses a type in validation.rules.overlappingfields.CachedCheck.
- The types involved
sangria.validation.rules.overlappingfields.CachedCheck→sangria.validation.rules.overlappingfields.CachedCheck.FieldSetCache
- Direction
- validation.rules.overlappingfields uses validation.rules.overlappingfields.CachedCheck, so a change to validation.rules.overlappingfields.CachedCheck can break validation.rules.overlappingfields, while a change to validation.rules.overlappingfields can't break validation.rules.overlappingfields.CachedCheck.
- Position
- Below the diagonal: validation.rules.overlappingfields uses a module listed above it, which is the healthy direction.
14→20 validation.rules.overlappingfields uses schema part of a loop✕
- Connections
- 4 pairs of types, where a type in validation.rules.overlappingfields uses a type in schema.
- The types involved
sangria.validation.rules.overlappingfields.SelectionBuilder→sangria.schema.CompositeTypesangria.validation.rules.overlappingfields.SelectionBuilder→sangria.schema.OutputTypesangria.validation.rules.overlappingfields.SelectionField→sangria.schema.CompositeTypesangria.validation.rules.overlappingfields.SelectionField→sangria.schema.OutputType
- Direction
- validation.rules.overlappingfields uses schema, so a change to schema can break validation.rules.overlappingfields, while a change to validation.rules.overlappingfields can't break schema.
- 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.
14→23 validation.rules.overlappingfields uses validation part of a loop✕
- Connections
- 1 pair of types, where a type in validation.rules.overlappingfields uses a type in validation.
- The types involved
sangria.validation.rules.overlappingfields.SelectionConflictViolation→sangria.validation.AstNodeViolation
- Direction
- validation.rules.overlappingfields uses validation, so a change to validation can break validation.rules.overlappingfields, while a change to validation.rules.overlappingfields can't break validation.
- 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.
14→24 validation.rules.overlappingfields uses ast part of a loop✕
- Connections
- 9 pairs of types, where a type in validation.rules.overlappingfields uses a type in ast.
- The types involved
sangria.validation.rules.overlappingfields.FieldNameAndArguments→sangria.ast.Argumentsangria.validation.rules.overlappingfields.FieldNameAndArguments→sangria.ast.Fieldsangria.validation.rules.overlappingfields.SelectionBuilder→sangria.ast.Fieldsangria.validation.rules.overlappingfields.SelectionBuilder→sangria.ast.SelectionContainersangria.validation.rules.overlappingfields.SelectionConflictViolation→sangria.ast.AstLocationsangria.validation.rules.overlappingfields.SelectionConflictViolation→sangria.ast.SourceMappersangria.validation.rules.overlappingfields.SelectionContainer→sangria.ast.SelectionContainersangria.validation.rules.overlappingfields.SelectionField→sangria.ast.Fieldsangria.validation.rules.overlappingfields.SelectionField→sangria.ast.SelectionContainer
- Direction
- validation.rules.overlappingfields uses ast, so a change to ast can break validation.rules.overlappingfields, while a change to validation.rules.overlappingfields can't break ast.
- 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→13 catseffect.execution uses execution✕
- Connections
- 1 pair of types, where a type in catseffect.execution uses a type in execution.
- The types involved
sangria.catseffect.execution.IOExecutionScheme→sangria.execution.AsyncExecutionScheme
- Direction
- catseffect.execution uses execution, so a change to execution can break catseffect.execution, while a change to catseffect.execution can't break execution.
- Position
- Below the diagonal: catseffect.execution uses a module listed above it, which is the healthy direction.
16→10 execution.AlternativeExecutionScheme uses execution.FutureResolver✕
- Connections
- 1 pair of types, where a type in execution.AlternativeExecutionScheme uses a type in execution.FutureResolver.
- The types involved
sangria.execution.AlternativeExecutionScheme.Extended→sangria.execution.FutureResolver.Result
- Direction
- execution.AlternativeExecutionScheme uses execution.FutureResolver, so a change to execution.FutureResolver can break execution.AlternativeExecutionScheme, while a change to execution.AlternativeExecutionScheme can't break execution.FutureResolver.
- Position
- Below the diagonal: execution.AlternativeExecutionScheme uses a module listed above it, which is the healthy direction.
16→13 execution.AlternativeExecutionScheme uses execution✕
- Connections
- 2 pairs of types, where a type in execution.AlternativeExecutionScheme uses a type in execution.
- The types involved
sangria.execution.AlternativeExecutionScheme.Extended→sangria.execution.ExecutionSchemesangria.execution.AlternativeExecutionScheme.Extended→sangria.execution.ResolverBuilder
- Direction
- execution.AlternativeExecutionScheme uses execution, so a change to execution can break execution.AlternativeExecutionScheme, while a change to execution.AlternativeExecutionScheme can't break execution.
- Position
- Below the diagonal: execution.AlternativeExecutionScheme uses a module listed above it, which is the healthy direction.
17→10 execution.ExecutionScheme uses execution.FutureResolver✕
- Connections
- 1 pair of types, where a type in execution.ExecutionScheme uses a type in execution.FutureResolver.
- The types involved
sangria.execution.ExecutionScheme.Default→sangria.execution.FutureResolver.Result
- Direction
- execution.ExecutionScheme uses execution.FutureResolver, so a change to execution.FutureResolver can break execution.ExecutionScheme, while a change to execution.ExecutionScheme can't break execution.FutureResolver.
- Position
- Below the diagonal: execution.ExecutionScheme uses a module listed above it, which is the healthy direction.
17→13 execution.ExecutionScheme uses execution✕
- Connections
- 2 pairs of types, where a type in execution.ExecutionScheme uses a type in execution.
- The types involved
sangria.execution.ExecutionScheme.Default→sangria.execution.ExecutionSchemesangria.execution.ExecutionScheme.Default→sangria.execution.ResolverBuilder
- Direction
- execution.ExecutionScheme uses execution, so a change to execution can break execution.ExecutionScheme, while a change to execution.ExecutionScheme can't break execution.
- Position
- Below the diagonal: execution.ExecutionScheme uses a module listed above it, which is the healthy direction.
18→13 execution.Trinary uses execution✕
- Connections
- 4 pairs of types, where a type in execution.Trinary uses a type in execution.
- The types involved
sangria.execution.Trinary.Defined→sangria.execution.Trinarysangria.execution.Trinary.Null→sangria.execution.Trinarysangria.execution.Trinary.NullWithDefault→sangria.execution.Trinarysangria.execution.Trinary.Undefined→sangria.execution.Trinary
- Direction
- execution.Trinary uses execution, so a change to execution can break execution.Trinary, while a change to execution.Trinary can't break execution.
- Position
- Below the diagonal: execution.Trinary uses a module listed above it, which is the healthy direction.
19→14 validation.rules.overlappingfields.TypeAbstractness uses validation.rules.overlappingfields✕
- Connections
- 2 pairs of types, where a type in validation.rules.overlappingfields.TypeAbstractness uses a type in validation.rules.overlappingfields.
- The types involved
sangria.validation.rules.overlappingfields.TypeAbstractness.Abstract→sangria.validation.rules.overlappingfields.TypeAbstractnesssangria.validation.rules.overlappingfields.TypeAbstractness.Concrete→sangria.validation.rules.overlappingfields.TypeAbstractness
- Direction
- validation.rules.overlappingfields.TypeAbstractness uses validation.rules.overlappingfields, so a change to validation.rules.overlappingfields can break validation.rules.overlappingfields.TypeAbstractness, while a change to validation.rules.overlappingfields.TypeAbstractness can't break validation.rules.overlappingfields.
- Position
- Below the diagonal: validation.rules.overlappingfields.TypeAbstractness uses a module listed above it, which is the healthy direction.
20→1 schema uses execution.deferred✕
- Connections
- 4 pairs of types, where a type in schema uses a type in execution.deferred.
- The types involved
sangria.schema.DeferredFutureValue→sangria.execution.deferred.Deferredsangria.schema.DeferredValue→sangria.execution.deferred.Deferredsangria.schema.LowPrioActions→sangria.execution.deferred.Deferredsangria.schema.MappingDeferred→sangria.execution.deferred.Deferred
- Direction
- schema uses execution.deferred, so a change to execution.deferred can break schema, while a change to schema can't break execution.deferred.
- Position
- Below the diagonal: schema uses a module listed above it, which is the healthy direction.
20→6 schema uses marshalling✕
- Connections
- 1 pair of types, where a type in schema uses a type in marshalling.
- The types involved
sangria.schema.DefaultValueRenderer→sangria.marshalling.QueryAstResultMarshaller
- Direction
- schema uses marshalling, so a change to marshalling can break schema, while a change to schema can't break marshalling.
- Position
- Below the diagonal: schema uses a module listed above it, which is the healthy direction.
20→7 schema uses renderer✕
- Connections
- 1 pair of types, where a type in schema uses a type in renderer.
- The types involved
sangria.schema.Schema→sangria.renderer.SchemaFilter
- Direction
- schema uses renderer, so a change to renderer can break schema, while a change to schema can't break renderer.
- Position
- Below the diagonal: schema uses a module listed above it, which is the healthy direction.
20→8 schema uses util✕
- Connections
- 1 pair of types, where a type in schema uses a type in util.
- The types involved
sangria.schema.Args→sangria.util.Cache
- Direction
- schema uses util, so a change to util can break schema, while a change to schema can't break util.
- Position
- Below the diagonal: schema uses a module listed above it, which is the healthy direction.
20→11 schema uses introspection✕
- Connections
- 37 pairs of types, where a type in schema uses a type in introspection. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
sangria.schema.DefaultIntrospectionSchemaBuilder→sangria.introspection.IntrospectionDirectivesangria.schema.DefaultIntrospectionSchemaBuilder→sangria.introspection.IntrospectionEnumTypesangria.schema.DefaultIntrospectionSchemaBuilder→sangria.introspection.IntrospectionEnumValuesangria.schema.DefaultIntrospectionSchemaBuilder→sangria.introspection.IntrospectionFieldsangria.schema.DefaultIntrospectionSchemaBuilder→sangria.introspection.IntrospectionInputObjectTypesangria.schema.DefaultIntrospectionSchemaBuilder→sangria.introspection.IntrospectionInputValuesangria.schema.DefaultIntrospectionSchemaBuilder→sangria.introspection.IntrospectionInterfaceTypesangria.schema.DefaultIntrospectionSchemaBuilder→sangria.introspection.IntrospectionObjectTypesangria.schema.DefaultIntrospectionSchemaBuilder→sangria.introspection.IntrospectionScalarTypesangria.schema.DefaultIntrospectionSchemaBuilder→sangria.introspection.IntrospectionSchemasangria.schema.DefaultIntrospectionSchemaBuilder→sangria.introspection.IntrospectionTypesangria.schema.DefaultIntrospectionSchemaBuilder→sangria.introspection.IntrospectionUnionTypesangria.schema.IntrospectionSchemaBuilder→sangria.introspection.IntrospectionDirectivesangria.schema.IntrospectionSchemaBuilder→sangria.introspection.IntrospectionEnumTypesangria.schema.IntrospectionSchemaBuilder→sangria.introspection.IntrospectionEnumValuesangria.schema.IntrospectionSchemaBuilder→sangria.introspection.IntrospectionFieldsangria.schema.IntrospectionSchemaBuilder→sangria.introspection.IntrospectionInputObjectTypesangria.schema.IntrospectionSchemaBuilder→sangria.introspection.IntrospectionInputValuesangria.schema.IntrospectionSchemaBuilder→sangria.introspection.IntrospectionInterfaceTypesangria.schema.IntrospectionSchemaBuilder→sangria.introspection.IntrospectionObjectTypesangria.schema.IntrospectionSchemaBuilder→sangria.introspection.IntrospectionScalarTypesangria.schema.IntrospectionSchemaBuilder→sangria.introspection.IntrospectionSchemasangria.schema.IntrospectionSchemaBuilder→sangria.introspection.IntrospectionTypesangria.schema.IntrospectionSchemaBuilder→sangria.introspection.IntrospectionUnionTypesangria.schema.IntrospectionSchemaMaterializer→sangria.introspection.IntrospectionDirective
- Direction
- schema uses introspection, so a change to introspection can break schema, while a change to schema can't break introspection.
- Position
- Below the diagonal: schema uses a module listed above it, which is the healthy direction.
20→13 schema uses execution✕
- Connections
- 14 pairs of types, where a type in schema uses a type in execution.
- The types involved
sangria.schema.Context→sangria.execution.DeprecationTrackersangria.schema.Context→sangria.execution.ExecutionPathsangria.schema.Context→sangria.execution.MiddlewareAttachmentsangria.schema.DefaultAstSchemaBuilder→sangria.execution.FieldTagsangria.schema.DefaultIntrospectionSchemaBuilder→sangria.execution.FieldTagsangria.schema.DefaultValueRenderer→sangria.execution.ValueCoercionHelpersangria.schema.Field→sangria.execution.FieldTagsangria.schema.ProjectionExclude→sangria.execution.FieldTagsangria.schema.ProjectionName→sangria.execution.FieldTagsangria.schema.SchemaValidationException→sangria.execution.ExceptionHandlersangria.schema.SchemaValidationException→sangria.execution.ExecutionErrorsangria.schema.SchemaValidationException→sangria.execution.QueryAnalysisErrorsangria.schema.SchemaValidationException→sangria.execution.WithViolationssangria.schema.WithInputTypeRendering→sangria.execution.DeprecationTracker
- Direction
- schema uses execution, so a change to execution can break schema, while a change to schema can't break execution.
- Position
- Below the diagonal: schema uses a module listed above it, which is the healthy direction.
20→19 schema uses validation.rules.overlappingfields.TypeAbstractness✕
- Connections
- 2 pairs of types, where a type in schema uses a type in validation.rules.overlappingfields.TypeAbstractness.
- The types involved
sangria.schema.PossibleInterfaceLowPrioImplicits→sangria.validation.rules.overlappingfields.TypeAbstractness.Abstractsangria.schema.PossibleInterfaceLowPrioImplicits→sangria.validation.rules.overlappingfields.TypeAbstractness.Concrete
- Direction
- schema uses validation.rules.overlappingfields.TypeAbstractness, so a change to validation.rules.overlappingfields.TypeAbstractness can break schema, while a change to schema can't break validation.rules.overlappingfields.TypeAbstractness.
- Position
- Below the diagonal: schema uses a module listed above it, which is the healthy direction.
20→23 schema uses validation part of a loop✕
- Connections
- 17 pairs of types, where a type in schema uses a type in validation.
- The types involved
sangria.schema.AstSchemaMaterializer→sangria.validation.Violationsangria.schema.ContainerMembersValidator→sangria.validation.Violationsangria.schema.DefaultValuesValidationRule→sangria.validation.Violationsangria.schema.EnumType→sangria.validation.Violationsangria.schema.EnumValueReservedNameValidator→sangria.validation.Violationsangria.schema.FullSchemaTraversalValidationRule→sangria.validation.Violationsangria.schema.InputObjectTypeRecursionValidator→sangria.validation.Violationsangria.schema.InterfaceImplementationValidationRule→sangria.validation.Violationsangria.schema.OneOfInputObjectValidator→sangria.validation.Violationsangria.schema.ResolvedDirectiveValidationRule→sangria.validation.Violationsangria.schema.ResolverBasedAstSchemaBuilder→sangria.validation.QueryValidatorsangria.schema.ResolverBasedAstSchemaBuilder→sangria.validation.Violationsangria.schema.Schema→sangria.validation.SchemaBasedDocumentAnalyzersangria.schema.SchemaElementValidator→sangria.validation.Violationsangria.schema.SchemaValidationException→sangria.validation.Violationsangria.schema.SchemaValidationRule→sangria.validation.Violationsangria.schema.SubscriptionFieldsValidationRule→sangria.validation.Violation
- Direction
- schema uses validation, so a change to validation can break schema, while a change to schema can't break validation.
- 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.
20→24 schema uses ast part of a loop✕
- Connections
- 280 pairs of types, where a type in schema uses a type in ast. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
sangria.schema.AbstractType→sangria.ast.Typesangria.schema.AdditionalDirectives→sangria.ast.Directivesangria.schema.Args→sangria.ast.Argumentsangria.schema.Argument→sangria.ast.Argumentsangria.schema.Argument→sangria.ast.AstNodesangria.schema.Argument→sangria.ast.Directivesangria.schema.Argument→sangria.ast.InputValueDefinitionsangria.schema.AstDirectiveContext→sangria.ast.Directivesangria.schema.AstDirectiveContext→sangria.ast.FieldDefinitionsangria.schema.AstDirectiveContext→sangria.ast.ObjectLikeTypeExtensionDefinitionsangria.schema.AstDirectiveContext→sangria.ast.TypeDefinitionsangria.schema.AstDirectiveContext→sangria.ast.WithArgumentssangria.schema.AstDirectiveInputTypeContext→sangria.ast.Directivesangria.schema.AstDirectiveInputTypeContext→sangria.ast.FieldDefinitionsangria.schema.AstDirectiveInputTypeContext→sangria.ast.InputValueDefinitionsangria.schema.AstDirectiveInputTypeContext→sangria.ast.Typesangria.schema.AstDirectiveInputTypeContext→sangria.ast.TypeSystemDefinitionsangria.schema.AstDirectiveInputTypeContext→sangria.ast.WithArgumentssangria.schema.AstDirectiveOutputTypeContext→sangria.ast.Directivesangria.schema.AstDirectiveOutputTypeContext→sangria.ast.FieldDefinitionsangria.schema.AstDirectiveOutputTypeContext→sangria.ast.ObjectLikeTypeExtensionDefinitionsangria.schema.AstDirectiveOutputTypeContext→sangria.ast.TypeDefinitionsangria.schema.AstDirectiveOutputTypeContext→sangria.ast.WithArgumentssangria.schema.AstDirectiveScalarContext→sangria.ast.Directivesangria.schema.AstDirectiveScalarContext→sangria.ast.ScalarTypeDefinition
- Direction
- schema uses ast, so a change to ast can break schema, while a change to schema can't break ast.
- 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.
20→26 schema uses sangria part of a loop✕
- Connections
- 14 pairs of types, where a type in schema uses a type in sangria.
- The types involved
sangria.schema.Argument→sangria.astsangria.schema.DefaultAstSchemaBuilder→sangria.astsangria.schema.DefaultIntrospectionSchemaBuilder→sangria.astsangria.schema.EnumType→sangria.astsangria.schema.EnumValue→sangria.astsangria.schema.Field→sangria.astsangria.schema.InputField→sangria.astsangria.schema.InputObjectType→sangria.astsangria.schema.InterfaceType→sangria.astsangria.schema.ObjectType→sangria.astsangria.schema.ScalarType→sangria.astsangria.schema.Schema→sangria.astsangria.schema.SchemaComparator→sangria.astsangria.schema.UnionType→sangria.ast
- Direction
- schema uses sangria, so a change to sangria can break schema, while a change to schema can't break sangria.
- 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.
21→20 validation.SchemaBasedDocumentAnalyzer uses schema✕
- Connections
- 7 pairs of types, where a type in validation.SchemaBasedDocumentAnalyzer uses a type in schema.
- The types involved
sangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedEnumValue→sangria.schema.EnumTypesangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedField→sangria.schema.CompositeTypesangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedFieldArgument→sangria.schema.CompositeTypesangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedInputField→sangria.schema.InputFieldsangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedInputField→sangria.schema.InputObjectTypesangria.validation.SchemaBasedDocumentAnalyzer.IntrospectionUsage→sangria.schema.CompositeTypesangria.validation.SchemaBasedDocumentAnalyzer.VariableUsage→sangria.schema.InputType
- Direction
- validation.SchemaBasedDocumentAnalyzer uses schema, so a change to schema can break validation.SchemaBasedDocumentAnalyzer, while a change to validation.SchemaBasedDocumentAnalyzer can't break schema.
- Position
- Below the diagonal: validation.SchemaBasedDocumentAnalyzer uses a module listed above it, which is the healthy direction.
21→23 validation.SchemaBasedDocumentAnalyzer uses validation part of a loop✕
- Connections
- 2 pairs of types, where a type in validation.SchemaBasedDocumentAnalyzer uses a type in validation.
- The types involved
sangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedUsage→sangria.validation.Violationsangria.validation.SchemaBasedDocumentAnalyzer.IntrospectionUsage→sangria.validation.Violation
- Direction
- validation.SchemaBasedDocumentAnalyzer uses validation, so a change to validation can break validation.SchemaBasedDocumentAnalyzer, while a change to validation.SchemaBasedDocumentAnalyzer can't break validation.
- 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.
21→24 validation.SchemaBasedDocumentAnalyzer uses ast part of a loop✕
- Connections
- 8 pairs of types, where a type in validation.SchemaBasedDocumentAnalyzer uses a type in ast.
- The types involved
sangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedDirectiveArgument→sangria.ast.Argumentsangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedDirectiveArgument→sangria.ast.Directivesangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedEnumValue→sangria.ast.EnumValuesangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedField→sangria.ast.Fieldsangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedFieldArgument→sangria.ast.Argumentsangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedFieldArgument→sangria.ast.Fieldsangria.validation.SchemaBasedDocumentAnalyzer.IntrospectionUsage→sangria.ast.Fieldsangria.validation.SchemaBasedDocumentAnalyzer.VariableUsage→sangria.ast.VariableValue
- Direction
- validation.SchemaBasedDocumentAnalyzer uses ast, so a change to ast can break validation.SchemaBasedDocumentAnalyzer, while a change to validation.SchemaBasedDocumentAnalyzer can't break ast.
- 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.
22→3 validation.rules uses validation.ValidationRule✕
- Connections
- 6 pairs of types, where a type in validation.rules uses a type in validation.ValidationRule.
- The types involved
sangria.validation.rules.ExactlyOneOfFieldGiven→sangria.validation.ValidationRule.AstValidatingVisitorsangria.validation.rules.ExecutableDefinitions→sangria.validation.ValidationRule.AstValidatingVisitorsangria.validation.rules.InputDocumentNonConflictingVariableInference→sangria.validation.ValidationRule.AstValidatingVisitorsangria.validation.rules.LoneAnonymousOperation→sangria.validation.ValidationRule.AstValidatingVisitorsangria.validation.rules.NoUnusedFragments→sangria.validation.ValidationRule.AstValidatingVisitorsangria.validation.rules.OverlappingFieldsCanBeMerged→sangria.validation.ValidationRule.AstValidatingVisitor
- Direction
- validation.rules uses validation.ValidationRule, so a change to validation.ValidationRule can break validation.rules, while a change to validation.rules can't break validation.ValidationRule.
- Position
- Below the diagonal: validation.rules uses a module listed above it, which is the healthy direction.
22→20 validation.rules uses schema✕
- Connections
- 2 pairs of types, where a type in validation.rules uses a type in schema.
- The types involved
sangria.validation.rules.ExactlyOneOfFieldGiven→sangria.schema.InputObjectTypesangria.validation.rules.ExactlyOneOfFieldGiven→sangria.schema.InputType
- Direction
- validation.rules uses schema, so a change to schema can break validation.rules, while a change to validation.rules can't break schema.
- Position
- Below the diagonal: validation.rules uses a module listed above it, which is the healthy direction.
22→23 validation.rules uses validation part of a loop✕
- Connections
- 57 pairs of types, where a type in validation.rules uses a type in validation. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
sangria.validation.rules.ExactlyOneOfFieldGiven→sangria.validation.ValidationContextsangria.validation.rules.ExactlyOneOfFieldGiven→sangria.validation.ValidationRulesangria.validation.rules.ExactlyOneOfFieldGiven→sangria.validation.Violationsangria.validation.rules.ExecutableDefinitions→sangria.validation.ValidationContextsangria.validation.rules.ExecutableDefinitions→sangria.validation.ValidationRulesangria.validation.rules.FieldsOnCorrectType→sangria.validation.ValidationContextsangria.validation.rules.FieldsOnCorrectType→sangria.validation.ValidationRulesangria.validation.rules.FragmentsOnCompositeTypes→sangria.validation.ValidationContextsangria.validation.rules.FragmentsOnCompositeTypes→sangria.validation.ValidationRulesangria.validation.rules.InputDocumentNonConflictingVariableInference→sangria.validation.ValidationContextsangria.validation.rules.InputDocumentNonConflictingVariableInference→sangria.validation.ValidationRulesangria.validation.rules.KnownArgumentNames→sangria.validation.ValidationContextsangria.validation.rules.KnownArgumentNames→sangria.validation.ValidationRulesangria.validation.rules.KnownDirectives→sangria.validation.ValidationContextsangria.validation.rules.KnownDirectives→sangria.validation.ValidationRulesangria.validation.rules.KnownFragmentNames→sangria.validation.ValidationContextsangria.validation.rules.KnownFragmentNames→sangria.validation.ValidationRulesangria.validation.rules.KnownTypeNames→sangria.validation.ValidationContextsangria.validation.rules.KnownTypeNames→sangria.validation.ValidationRulesangria.validation.rules.LoneAnonymousOperation→sangria.validation.ValidationContextsangria.validation.rules.LoneAnonymousOperation→sangria.validation.ValidationRulesangria.validation.rules.NoFragmentCycles→sangria.validation.ValidationContextsangria.validation.rules.NoFragmentCycles→sangria.validation.ValidationRulesangria.validation.rules.NoUndefinedVariables→sangria.validation.ValidationContextsangria.validation.rules.NoUndefinedVariables→sangria.validation.ValidationRule
- Direction
- validation.rules uses validation, so a change to validation can break validation.rules, while a change to validation.rules can't break validation.
- 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.
22→24 validation.rules uses ast part of a loop✕
- Connections
- 4 pairs of types, where a type in validation.rules uses a type in ast.
- The types involved
sangria.validation.rules.ExactlyOneOfFieldGiven→sangria.ast.ObjectValuesangria.validation.rules.ExactlyOneOfFieldGiven→sangria.ast.Valuesangria.validation.rules.ExactlyOneOfFieldGiven→sangria.ast.VariableValuesangria.validation.rules.ExecutableDefinitions→sangria.ast.Definition
- Direction
- validation.rules uses ast, so a change to ast can break validation.rules, while a change to validation.rules can't break ast.
- 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.
22→26 validation.rules uses sangria part of a loop✕
- Connections
- 1 pair of types, where a type in validation.rules uses a type in sangria.
- The types involved
sangria.validation.rules.ExactlyOneOfFieldGiven→sangria.schema
- Direction
- validation.rules uses sangria, so a change to sangria can break validation.rules, while a change to validation.rules can't break sangria.
- 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.
23→3 validation uses validation.ValidationRule✕
- Connections
- 2 pairs of types, where a type in validation uses a type in validation.ValidationRule.
- The types involved
sangria.validation.ValidationContext→sangria.validation.ValidationRule.AstValidatingVisitorsangria.validation.ValidationRule→sangria.validation.ValidationRule.AstValidatingVisitor
- Direction
- validation uses validation.ValidationRule, so a change to validation.ValidationRule can break validation, while a change to validation can't break validation.ValidationRule.
- Position
- Below the diagonal: validation uses a module listed above it, which is the healthy direction.
23→20 validation uses schema✕
- Connections
- 8 pairs of types, where a type in validation uses a type in schema.
- The types involved
sangria.validation.DocumentAnalyzer→sangria.schema.AstSchemaGenericResolversangria.validation.QueryValidator→sangria.schema.Schemasangria.validation.SchemaBasedDocumentAnalyzer→sangria.schema.Schemasangria.validation.TypeComparators→sangria.schema.Schemasangria.validation.TypeInfo→sangria.schema.CompositeTypesangria.validation.TypeInfo→sangria.schema.InputFieldsangria.validation.TypeInfo→sangria.schema.InputTypesangria.validation.ValidationContext→sangria.schema.Schema
- Direction
- validation uses schema, so a change to schema can break validation, while a change to validation can't break schema.
- Position
- Below the diagonal: validation uses a module listed above it, which is the healthy direction.
23→21 validation uses validation.SchemaBasedDocumentAnalyzer✕
- Connections
- 3 pairs of types, where a type in validation uses a type in validation.SchemaBasedDocumentAnalyzer.
- The types involved
sangria.validation.SchemaBasedDocumentAnalyzer→sangria.validation.SchemaBasedDocumentAnalyzer.DeprecatedUsagesangria.validation.SchemaBasedDocumentAnalyzer→sangria.validation.SchemaBasedDocumentAnalyzer.IntrospectionUsagesangria.validation.SchemaBasedDocumentAnalyzer→sangria.validation.SchemaBasedDocumentAnalyzer.VariableUsage
- Direction
- validation uses validation.SchemaBasedDocumentAnalyzer, so a change to validation.SchemaBasedDocumentAnalyzer can break validation, while a change to validation can't break validation.SchemaBasedDocumentAnalyzer.
- Position
- Below the diagonal: validation uses a module listed above it, which is the healthy direction.
23→22 validation uses validation.rules✕
- Connections
- 1 pair of types, where a type in validation uses a type in validation.rules.
- The types involved
sangria.validation.FieldsConflictViolation→sangria.validation.rules.ConflictReason
- Direction
- validation uses validation.rules, so a change to validation.rules can break validation, while a change to validation can't break validation.rules.
- Position
- Below the diagonal: validation uses a module listed above it, which is the healthy direction.
23→24 validation uses ast part of a loop✕
- Connections
- 209 pairs of types, where a type in validation uses a type in ast. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
sangria.validation.AnonOperationNotAloneViolation→sangria.ast.AstLocationsangria.validation.AnonOperationNotAloneViolation→sangria.ast.SourceMappersangria.validation.AstNodeLocation→sangria.ast.AstLocationsangria.validation.AstNodeLocation→sangria.ast.SourceMappersangria.validation.BadValueForDefaultArgViolation→sangria.ast.AstLocationsangria.validation.BadValueForDefaultArgViolation→sangria.ast.SourceMappersangria.validation.BadValueViolation→sangria.ast.AstLocationsangria.validation.BadValueViolation→sangria.ast.SourceMappersangria.validation.BadVarPositionViolation→sangria.ast.AstLocationsangria.validation.BadVarPositionViolation→sangria.ast.SourceMappersangria.validation.CircularImplementViolation→sangria.ast.AstLocationsangria.validation.CircularImplementViolation→sangria.ast.SourceMappersangria.validation.CycleErrorViolation→sangria.ast.AstLocationsangria.validation.CycleErrorViolation→sangria.ast.SourceMappersangria.validation.DefaultForNonNullArgViolation→sangria.ast.AstLocationsangria.validation.DefaultForNonNullArgViolation→sangria.ast.SourceMappersangria.validation.DocumentAnalyzer→sangria.ast.Documentsangria.validation.DocumentAnalyzer→sangria.ast.FragmentDefinitionsangria.validation.DocumentAnalyzer→sangria.ast.FragmentSpreadsangria.validation.DocumentAnalyzer→sangria.ast.OperationDefinitionsangria.validation.DocumentAnalyzer→sangria.ast.SelectionContainersangria.validation.DuplicateArgNameViolation→sangria.ast.AstLocationsangria.validation.DuplicateArgNameViolation→sangria.ast.SourceMappersangria.validation.DuplicateDirectiveViolation→sangria.ast.AstLocationsangria.validation.DuplicateDirectiveViolation→sangria.ast.SourceMapper
- Direction
- validation uses ast, so a change to ast can break validation, while a change to validation can't break ast.
- 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.
23→26 validation uses sangria part of a loop✕
- Connections
- 1 pair of types, where a type in validation uses a type in sangria.
- The types involved
sangria.validation.RuleBasedQueryValidator→sangria.ast
- Direction
- validation uses sangria, so a change to sangria can break validation, while a change to validation can't break sangria.
- 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.
24→23 ast uses validation✕
- Connections
- 1 pair of types, where a type in ast uses a type in validation.
- The types involved
sangria.ast.AstVisitorCommand→sangria.validation.Violation
- Direction
- ast uses validation, so a change to validation can break ast, while a change to ast can't break validation.
- Position
- Below the diagonal: ast uses a module listed above it, which is the healthy direction.
25→13 schema.DefaultIntrospectionSchemaBuilder uses execution✕
- Connections
- 1 pair of types, where a type in schema.DefaultIntrospectionSchemaBuilder uses a type in execution.
- The types involved
sangria.schema.DefaultIntrospectionSchemaBuilder.MaterializedSchemaException→sangria.execution.UserFacingError
- Direction
- schema.DefaultIntrospectionSchemaBuilder uses execution, so a change to execution can break schema.DefaultIntrospectionSchemaBuilder, while a change to schema.DefaultIntrospectionSchemaBuilder can't break execution.
- Position
- Below the diagonal: schema.DefaultIntrospectionSchemaBuilder uses a module listed above it, which is the healthy direction.
25→23 schema.DefaultIntrospectionSchemaBuilder uses validation✕
- Connections
- 1 pair of types, where a type in schema.DefaultIntrospectionSchemaBuilder uses a type in validation.
- The types involved
sangria.schema.DefaultIntrospectionSchemaBuilder.MaterializedSchemaViolation→sangria.validation.Violation
- Direction
- schema.DefaultIntrospectionSchemaBuilder uses validation, so a change to validation can break schema.DefaultIntrospectionSchemaBuilder, while a change to schema.DefaultIntrospectionSchemaBuilder can't break validation.
- Position
- Below the diagonal: schema.DefaultIntrospectionSchemaBuilder uses a module listed above it, which is the healthy direction.
26→19 sangria uses validation.rules.overlappingfields.TypeAbstractness✕
- Connections
- 2 pairs of types, where a type in sangria uses a type in validation.rules.overlappingfields.TypeAbstractness.
- The types involved
sangria.schema→sangria.validation.rules.overlappingfields.TypeAbstractness.Abstractsangria.schema→sangria.validation.rules.overlappingfields.TypeAbstractness.Concrete
- Direction
- sangria uses validation.rules.overlappingfields.TypeAbstractness, so a change to validation.rules.overlappingfields.TypeAbstractness can break sangria, while a change to sangria can't break validation.rules.overlappingfields.TypeAbstractness.
- Position
- Below the diagonal: sangria uses a module listed above it, which is the healthy direction.
26→20 sangria uses schema✕
- Connections
- 6 pairs of types, where a type in sangria uses a type in schema.
- The types involved
sangria.introspection→sangria.schema.CompositeTypesangria.introspection→sangria.schema.InputValuesangria.introspection→sangria.schema.ObjectTypesangria.schema→sangria.schema.PossibleInterfacesangria.schema→sangria.schema.PossibleObjectsangria.schema→sangria.schema.ScalarType
- Direction
- sangria uses schema, so a change to schema can break sangria, while a change to sangria can't break schema.
- Position
- Below the diagonal: sangria uses a module listed above it, which is the healthy direction.
26→24 sangria uses ast✕
- Connections
- 7 pairs of types, where a type in sangria uses a type in ast.
- The types involved
sangria.introspection→sangria.ast.Documentsangria.introspection→sangria.ast.EnumValuesangria.introspection→sangria.ast.Fieldsangria.introspection→sangria.ast.Typesangria.schema→sangria.ast.Argumentsangria.schema→sangria.ast.Directivesangria.schema→sangria.ast.Field
- Direction
- sangria uses ast, so a change to ast can break sangria, while a change to sangria can't break ast.
- Position
- Below the diagonal: sangria uses a module listed above it, which is the healthy direction.
27→24 ast.OperationType uses ast✕
- Connections
- 3 pairs of types, where a type in ast.OperationType uses a type in ast.
- The types involved
sangria.ast.OperationType.Mutation→sangria.ast.OperationTypesangria.ast.OperationType.Query→sangria.ast.OperationTypesangria.ast.OperationType.Subscription→sangria.ast.OperationType
- Direction
- ast.OperationType uses ast, so a change to ast can break ast.OperationType, while a change to ast.OperationType can't break ast.
- Position
- Below the diagonal: ast.OperationType uses a module listed above it, which is the healthy direction.
28→20 execution.batch.BatchExecutionPlan uses schema✕
- Connections
- 1 pair of types, where a type in execution.batch.BatchExecutionPlan uses a type in schema.
- The types involved
sangria.execution.batch.BatchExecutionPlan.Export→sangria.schema.OutputType
- Direction
- execution.batch.BatchExecutionPlan uses schema, so a change to schema can break execution.batch.BatchExecutionPlan, while a change to execution.batch.BatchExecutionPlan can't break schema.
- Position
- Below the diagonal: execution.batch.BatchExecutionPlan uses a module listed above it, which is the healthy direction.
28→21 execution.batch.BatchExecutionPlan uses validation.SchemaBasedDocumentAnalyzer✕
- Connections
- 2 pairs of types, where a type in execution.batch.BatchExecutionPlan uses a type in validation.SchemaBasedDocumentAnalyzer.
- The types involved
sangria.execution.batch.BatchExecutionPlan.ExportFragment→sangria.validation.SchemaBasedDocumentAnalyzer.VariableUsagesangria.execution.batch.BatchExecutionPlan.ExportOperation→sangria.validation.SchemaBasedDocumentAnalyzer.VariableUsage
- Direction
- execution.batch.BatchExecutionPlan uses validation.SchemaBasedDocumentAnalyzer, so a change to validation.SchemaBasedDocumentAnalyzer can break execution.batch.BatchExecutionPlan, while a change to execution.batch.BatchExecutionPlan can't break validation.SchemaBasedDocumentAnalyzer.
- Position
- Below the diagonal: execution.batch.BatchExecutionPlan uses a module listed above it, which is the healthy direction.
28→24 execution.batch.BatchExecutionPlan uses ast✕
- Connections
- 2 pairs of types, where a type in execution.batch.BatchExecutionPlan uses a type in ast.
- The types involved
sangria.execution.batch.BatchExecutionPlan.Export→sangria.ast.Directivesangria.execution.batch.BatchExecutionPlan.ExportOperation→sangria.ast.VariableDefinition
- Direction
- execution.batch.BatchExecutionPlan uses ast, so a change to ast can break execution.batch.BatchExecutionPlan, while a change to execution.batch.BatchExecutionPlan can't break ast.
- Position
- Below the diagonal: execution.batch.BatchExecutionPlan uses a module listed above it, which is the healthy direction.
29→24 macros.derive.DeriveInputObjectTypeMacro uses ast✕
- Connections
- 2 pairs of types, where a type in macros.derive.DeriveInputObjectTypeMacro uses a type in ast.
- The types involved
sangria.macros.derive.DeriveInputObjectTypeMacro.KnownMember→sangria.ast.Typesangria.macros.derive.DeriveInputObjectTypeMacro.NormalArg→sangria.ast.Type
- Direction
- macros.derive.DeriveInputObjectTypeMacro uses ast, so a change to ast can break macros.derive.DeriveInputObjectTypeMacro, while a change to macros.derive.DeriveInputObjectTypeMacro can't break ast.
- Position
- Below the diagonal: macros.derive.DeriveInputObjectTypeMacro uses a module listed above it, which is the healthy direction.
30→24 marshalling.queryAst uses ast✕
- Connections
- 1 pair of types, where a type in marshalling.queryAst uses a type in ast.
- The types involved
sangria.marshalling.queryAst.QueryAstToInput→sangria.ast.Value
- Direction
- marshalling.queryAst uses ast, so a change to ast can break marshalling.queryAst, while a change to marshalling.queryAst can't break ast.
- Position
- Below the diagonal: marshalling.queryAst uses a module listed above it, which is the healthy direction.
31→24 parser uses ast✕
- Connections
- 9 pairs of types, where a type in parser uses a type in ast.
- The types involved
sangria.parser.Fragments→sangria.ast.FragmentSpreadsangria.parser.Ignored→sangria.ast.Commentsangria.parser.Operations→sangria.ast.Valuesangria.parser.PositionTracking→sangria.ast.AstLocationsangria.parser.QueryParser→sangria.ast.Documentsangria.parser.Tokens→sangria.ast.StringValuesangria.parser.Types→sangria.ast.NamedTypesangria.parser.Types→sangria.ast.Typesangria.parser.Values→sangria.ast.Value
- Direction
- parser uses ast, so a change to ast can break parser, while a change to parser can't break ast.
- Position
- Below the diagonal: parser uses a module listed above it, which is the healthy direction.
32→20 schema.AstSchemaBuilder uses schema✕
- Connections
- 1 pair of types, where a type in schema.AstSchemaBuilder uses a type in schema.
- The types involved
sangria.schema.AstSchemaBuilder.TypeName→sangria.schema.Named
- Direction
- schema.AstSchemaBuilder uses schema, so a change to schema can break schema.AstSchemaBuilder, while a change to schema.AstSchemaBuilder can't break schema.
- Position
- Below the diagonal: schema.AstSchemaBuilder uses a module listed above it, which is the healthy direction.
32→24 schema.AstSchemaBuilder uses ast✕
- Connections
- 3 pairs of types, where a type in schema.AstSchemaBuilder uses a type in ast.
- The types involved
sangria.schema.AstSchemaBuilder.FieldName→sangria.ast.Fieldsangria.schema.AstSchemaBuilder.FieldName→sangria.ast.FieldDefinitionsangria.schema.AstSchemaBuilder.TypeName→sangria.ast.TypeDefinition
- Direction
- schema.AstSchemaBuilder uses ast, so a change to ast can break schema.AstSchemaBuilder, while a change to schema.AstSchemaBuilder can't break ast.
- Position
- Below the diagonal: schema.AstSchemaBuilder uses a module listed above it, which is the healthy direction.
33→20 schema.SchemaChange uses schema✕
- Connections
- 69 pairs of types, where a type in schema.SchemaChange uses a type in schema. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
sangria.schema.SchemaChange.AbstractChange→sangria.schema.SchemaChangesangria.schema.SchemaChange.AstDirectiveAdded→sangria.schema.SchemaChangesangria.schema.SchemaChange.AstDirectiveRemoved→sangria.schema.SchemaChangesangria.schema.SchemaChange.DirectiveArgumentTypeChanged→sangria.schema.InputTypesangria.schema.SchemaChange.EnumTypeAstDirectiveAdded→sangria.schema.EnumTypesangria.schema.SchemaChange.EnumTypeAstDirectiveRemoved→sangria.schema.EnumTypesangria.schema.SchemaChange.EnumValueAdded→sangria.schema.EnumTypesangria.schema.SchemaChange.EnumValueAstDirectiveAdded→sangria.schema.EnumTypesangria.schema.SchemaChange.EnumValueAstDirectiveRemoved→sangria.schema.EnumTypesangria.schema.SchemaChange.EnumValueDeprecated→sangria.schema.EnumTypesangria.schema.SchemaChange.EnumValueDescriptionChanged→sangria.schema.EnumTypesangria.schema.SchemaChange.EnumValueRemoved→sangria.schema.EnumTypesangria.schema.SchemaChange.FieldAdded→sangria.schema.ObjectLikeTypesangria.schema.SchemaChange.FieldArgumentAstDirectiveAdded→sangria.schema.ObjectLikeTypesangria.schema.SchemaChange.FieldArgumentAstDirectiveRemoved→sangria.schema.ObjectLikeTypesangria.schema.SchemaChange.FieldAstDirectiveAdded→sangria.schema.ObjectLikeTypesangria.schema.SchemaChange.FieldAstDirectiveRemoved→sangria.schema.ObjectLikeTypesangria.schema.SchemaChange.FieldDeprecationChanged→sangria.schema.ObjectLikeTypesangria.schema.SchemaChange.FieldDescriptionChanged→sangria.schema.ObjectLikeTypesangria.schema.SchemaChange.FieldRemoved→sangria.schema.ObjectLikeTypesangria.schema.SchemaChange.FieldTypeChanged→sangria.schema.ObjectLikeTypesangria.schema.SchemaChange.FieldTypeChanged→sangria.schema.OutputTypesangria.schema.SchemaChange.InputFieldAdded→sangria.schema.InputFieldsangria.schema.SchemaChange.InputFieldAdded→sangria.schema.InputObjectTypesangria.schema.SchemaChange.InputFieldAstDirectiveAdded→sangria.schema.InputField
- Direction
- schema.SchemaChange uses schema, so a change to schema can break schema.SchemaChange, while a change to schema.SchemaChange can't break schema.
- Position
- Below the diagonal: schema.SchemaChange uses a module listed above it, which is the healthy direction.
33→24 schema.SchemaChange uses ast✕
- Connections
- 89 pairs of types, where a type in schema.SchemaChange uses a type in ast. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
sangria.schema.SchemaChange.AbstractAstDirectiveAdded→sangria.ast.Valuesangria.schema.SchemaChange.AbstractAstDirectiveRemoved→sangria.ast.Valuesangria.schema.SchemaChange.AstDirectiveAdded→sangria.ast.Directivesangria.schema.SchemaChange.AstDirectiveAdded→sangria.ast.Valuesangria.schema.SchemaChange.AstDirectiveRemoved→sangria.ast.Directivesangria.schema.SchemaChange.AstDirectiveRemoved→sangria.ast.Valuesangria.schema.SchemaChange.DirectiveAdded→sangria.ast.Directivesangria.schema.SchemaChange.DirectiveArgumentAdded→sangria.ast.Argumentsangria.schema.SchemaChange.DirectiveArgumentAdded→sangria.ast.Directivesangria.schema.SchemaChange.DirectiveArgumentAstDirectiveAdded→sangria.ast.Argumentsangria.schema.SchemaChange.DirectiveArgumentAstDirectiveAdded→sangria.ast.Directivesangria.schema.SchemaChange.DirectiveArgumentAstDirectiveRemoved→sangria.ast.Argumentsangria.schema.SchemaChange.DirectiveArgumentAstDirectiveRemoved→sangria.ast.Directivesangria.schema.SchemaChange.DirectiveArgumentDefaultChanged→sangria.ast.Argumentsangria.schema.SchemaChange.DirectiveArgumentDefaultChanged→sangria.ast.Directivesangria.schema.SchemaChange.DirectiveArgumentDefaultChanged→sangria.ast.Valuesangria.schema.SchemaChange.DirectiveArgumentDeprecated→sangria.ast.Argumentsangria.schema.SchemaChange.DirectiveArgumentDeprecated→sangria.ast.Directivesangria.schema.SchemaChange.DirectiveArgumentDescriptionChanged→sangria.ast.Argumentsangria.schema.SchemaChange.DirectiveArgumentDescriptionChanged→sangria.ast.Directivesangria.schema.SchemaChange.DirectiveArgumentRemoved→sangria.ast.Argumentsangria.schema.SchemaChange.DirectiveArgumentRemoved→sangria.ast.Directivesangria.schema.SchemaChange.DirectiveArgumentTypeChanged→sangria.ast.Argumentsangria.schema.SchemaChange.DirectiveArgumentTypeChanged→sangria.ast.Directivesangria.schema.SchemaChange.DirectiveDescriptionChanged→sangria.ast.Directive
- Direction
- schema.SchemaChange uses ast, so a change to ast can break schema.SchemaChange, while a change to schema.SchemaChange can't break ast.
- Position
- Below the diagonal: schema.SchemaChange uses a module listed above it, which is the healthy direction.
34→14 validation.rules.overlappingfields.SelectionField uses validation.rules.overlappingfields✕
- Connections
- 2 pairs of types, where a type in validation.rules.overlappingfields.SelectionField uses a type in validation.rules.overlappingfields.
- The types involved
sangria.validation.rules.overlappingfields.SelectionField.Builder→sangria.validation.rules.overlappingfields.SelectionFieldsangria.validation.rules.overlappingfields.SelectionField.OrderById→sangria.validation.rules.overlappingfields.SelectionField
- Direction
- validation.rules.overlappingfields.SelectionField uses validation.rules.overlappingfields, so a change to validation.rules.overlappingfields can break validation.rules.overlappingfields.SelectionField, while a change to validation.rules.overlappingfields.SelectionField can't break validation.rules.overlappingfields.
- Position
- Below the diagonal: validation.rules.overlappingfields.SelectionField uses a module listed above it, which is the healthy direction.
34→20 validation.rules.overlappingfields.SelectionField uses schema✕
- Connections
- 2 pairs of types, where a type in validation.rules.overlappingfields.SelectionField uses a type in schema.
- The types involved
sangria.validation.rules.overlappingfields.SelectionField.Builder→sangria.schema.CompositeTypesangria.validation.rules.overlappingfields.SelectionField.Builder→sangria.schema.OutputType
- Direction
- validation.rules.overlappingfields.SelectionField uses schema, so a change to schema can break validation.rules.overlappingfields.SelectionField, while a change to validation.rules.overlappingfields.SelectionField can't break schema.
- Position
- Below the diagonal: validation.rules.overlappingfields.SelectionField uses a module listed above it, which is the healthy direction.
34→24 validation.rules.overlappingfields.SelectionField uses ast✕
- Connections
- 1 pair of types, where a type in validation.rules.overlappingfields.SelectionField uses a type in ast.
- The types involved
sangria.validation.rules.overlappingfields.SelectionField.Builder→sangria.ast.Field
- Direction
- validation.rules.overlappingfields.SelectionField uses ast, so a change to ast can break validation.rules.overlappingfields.SelectionField, while a change to validation.rules.overlappingfields.SelectionField can't break ast.
- Position
- Below the diagonal: validation.rules.overlappingfields.SelectionField uses a module listed above it, which is the healthy direction.
35→1 execution.batch uses execution.deferred✕
- Connections
- 1 pair of types, where a type in execution.batch uses a type in execution.deferred.
- The types involved
sangria.execution.batch.BatchExecutor→sangria.execution.deferred.DeferredResolver
- Direction
- execution.batch uses execution.deferred, so a change to execution.deferred can break execution.batch, while a change to execution.batch can't break execution.deferred.
- Position
- Below the diagonal: execution.batch uses a module listed above it, which is the healthy direction.
35→10 execution.batch uses execution.FutureResolver✕
- Connections
- 1 pair of types, where a type in execution.batch uses a type in execution.FutureResolver.
- The types involved
sangria.execution.batch.BatchExecutor→sangria.execution.FutureResolver.Result
- Direction
- execution.batch uses execution.FutureResolver, so a change to execution.FutureResolver can break execution.batch, while a change to execution.batch can't break execution.FutureResolver.
- Position
- Below the diagonal: execution.batch uses a module listed above it, which is the healthy direction.
35→13 execution.batch uses execution✕
- Connections
- 13 pairs of types, where a type in execution.batch uses a type in execution.
- The types involved
sangria.execution.batch.BatchExecutionError→sangria.execution.ExceptionHandlersangria.execution.batch.BatchExecutionError→sangria.execution.ExecutionErrorsangria.execution.batch.BatchExecutionError→sangria.execution.QueryAnalysisErrorsangria.execution.batch.BatchExecutionViolationError→sangria.execution.ExceptionHandlersangria.execution.batch.BatchExecutionViolationError→sangria.execution.ExecutionErrorsangria.execution.batch.BatchExecutionViolationError→sangria.execution.QueryAnalysisErrorsangria.execution.batch.BatchExecutionViolationError→sangria.execution.WithViolationssangria.execution.batch.BatchExecutor→sangria.execution.DeprecationTrackersangria.execution.batch.BatchExecutor→sangria.execution.ExceptionHandlersangria.execution.batch.BatchExecutor→sangria.execution.ExecutionSchemesangria.execution.batch.BatchExecutor→sangria.execution.Executorsangria.execution.batch.BatchExecutor→sangria.execution.Middlewaresangria.execution.batch.BatchExecutor→sangria.execution.QueryReducer
- Direction
- execution.batch uses execution, so a change to execution can break execution.batch, while a change to execution.batch can't break execution.
- Position
- Below the diagonal: execution.batch uses a module listed above it, which is the healthy direction.
35→20 execution.batch uses schema✕
- Connections
- 1 pair of types, where a type in execution.batch uses a type in schema.
- The types involved
sangria.execution.batch.BatchExecutor→sangria.schema.Schema
- Direction
- execution.batch uses schema, so a change to schema can break execution.batch, while a change to execution.batch can't break schema.
- Position
- Below the diagonal: execution.batch uses a module listed above it, which is the healthy direction.
35→23 execution.batch uses validation✕
- Connections
- 6 pairs of types, where a type in execution.batch uses a type in validation.
- The types involved
sangria.execution.batch.BatchExecutionViolationError→sangria.validation.Violationsangria.execution.batch.BatchExecutor→sangria.validation.QueryValidatorsangria.execution.batch.BatchExecutor→sangria.validation.TypeInfosangria.execution.batch.CircularOperationDependencyViolation→sangria.validation.AstNodeViolationsangria.execution.batch.UndefinedVariableDefinitionViolation→sangria.validation.AstNodeViolationsangria.execution.batch.VariableDefinitionInferenceViolation→sangria.validation.AstNodeViolation
- Direction
- execution.batch uses validation, so a change to validation can break execution.batch, while a change to execution.batch can't break validation.
- Position
- Below the diagonal: execution.batch uses a module listed above it, which is the healthy direction.
35→24 execution.batch uses ast✕
- Connections
- 8 pairs of types, where a type in execution.batch uses a type in ast.
- The types involved
sangria.execution.batch.BatchExecutor→sangria.ast.Documentsangria.execution.batch.BatchExecutor→sangria.ast.Typesangria.execution.batch.CircularOperationDependencyViolation→sangria.ast.AstLocationsangria.execution.batch.CircularOperationDependencyViolation→sangria.ast.SourceMappersangria.execution.batch.UndefinedVariableDefinitionViolation→sangria.ast.AstLocationsangria.execution.batch.UndefinedVariableDefinitionViolation→sangria.ast.SourceMappersangria.execution.batch.VariableDefinitionInferenceViolation→sangria.ast.AstLocationsangria.execution.batch.VariableDefinitionInferenceViolation→sangria.ast.SourceMapper
- Direction
- execution.batch uses ast, so a change to ast can break execution.batch, while a change to execution.batch can't break ast.
- Position
- Below the diagonal: execution.batch uses a module listed above it, which is the healthy direction.
35→28 execution.batch uses execution.batch.BatchExecutionPlan✕
- Connections
- 3 pairs of types, where a type in execution.batch uses a type in execution.batch.BatchExecutionPlan.
- The types involved
sangria.execution.batch.BatchExecutionPlan→sangria.execution.batch.BatchExecutionPlan.ExportOperationsangria.execution.batch.BatchExecutor→sangria.execution.batch.BatchExecutionPlan.ExportFragmentsangria.execution.batch.BatchExecutor→sangria.execution.batch.BatchExecutionPlan.ExportOperation
- Direction
- execution.batch uses execution.batch.BatchExecutionPlan, so a change to execution.batch.BatchExecutionPlan can break execution.batch, while a change to execution.batch can't break execution.batch.BatchExecutionPlan.
- Position
- Below the diagonal: execution.batch uses a module listed above it, which is the healthy direction.
36→20 macros uses schema✕
- Connections
- 1 pair of types, where a type in macros uses a type in schema.
- The types involved
sangria.macros.MacroAstLiftable→sangria.schema.Context
- Direction
- macros uses schema, so a change to schema can break macros, while a change to macros can't break schema.
- Position
- Below the diagonal: macros uses a module listed above it, which is the healthy direction.
36→24 macros uses ast✕
- Connections
- 12 pairs of types, where a type in macros uses a type in ast.
- The types involved
sangria.macros.AstLiftable→sangria.ast.AstLocationsangria.macros.AstLiftable→sangria.ast.Commentsangria.macros.AstLiftable→sangria.ast.Directivesangria.macros.AstLiftable→sangria.ast.DirectiveLocationsangria.macros.AstLiftable→sangria.ast.Documentsangria.macros.AstLiftable→sangria.ast.EnumValueDefinitionsangria.macros.AstLiftable→sangria.ast.FieldDefinitionsangria.macros.AstLiftable→sangria.ast.InputDocumentsangria.macros.AstLiftable→sangria.ast.InputValueDefinitionsangria.macros.AstLiftable→sangria.ast.OperationTypesangria.macros.AstLiftable→sangria.ast.OperationTypeDefinitionsangria.macros.AstLiftable→sangria.ast.VariableDefinition
- Direction
- macros uses ast, so a change to ast can break macros, while a change to macros can't break ast.
- Position
- Below the diagonal: macros uses a module listed above it, which is the healthy direction.
36→31 macros uses parser✕
- Connections
- 1 pair of types, where a type in macros uses a type in parser.
- The types involved
sangria.macros.ParseMacro→sangria.parser.SyntaxError
- Direction
- macros uses parser, so a change to parser can break macros, while a change to macros can't break parser.
- Position
- Below the diagonal: macros uses a module listed above it, which is the healthy direction.
37→24 macros.derive.DeriveObjectTypeMacro uses ast✕
- Connections
- 4 pairs of types, where a type in macros.derive.DeriveObjectTypeMacro uses a type in ast.
- The types involved
sangria.macros.derive.DeriveObjectTypeMacro.KnownMember→sangria.ast.Typesangria.macros.derive.DeriveObjectTypeMacro.MacroMethodArgument→sangria.ast.Typesangria.macros.derive.DeriveObjectTypeMacro.MacroMethodArgumentDefault→sangria.ast.Typesangria.macros.derive.DeriveObjectTypeMacro.NormalArg→sangria.ast.Type
- Direction
- macros.derive.DeriveObjectTypeMacro uses ast, so a change to ast can break macros.derive.DeriveObjectTypeMacro, while a change to macros.derive.DeriveObjectTypeMacro can't break ast.
- Position
- Below the diagonal: macros.derive.DeriveObjectTypeMacro uses a module listed above it, which is the healthy direction.
37→29 macros.derive.DeriveObjectTypeMacro uses macros.derive.DeriveInputObjectTypeMacro✕
- Connections
- 2 pairs of types, where a type in macros.derive.DeriveObjectTypeMacro uses a type in macros.derive.DeriveInputObjectTypeMacro.
- The types involved
sangria.macros.derive.DeriveObjectTypeMacro.ContextArg→sangria.macros.derive.DeriveInputObjectTypeMacro.Argsangria.macros.derive.DeriveObjectTypeMacro.NormalArg→sangria.macros.derive.DeriveInputObjectTypeMacro.Arg
- Direction
- macros.derive.DeriveObjectTypeMacro uses macros.derive.DeriveInputObjectTypeMacro, so a change to macros.derive.DeriveInputObjectTypeMacro can break macros.derive.DeriveObjectTypeMacro, while a change to macros.derive.DeriveObjectTypeMacro can't break macros.derive.DeriveInputObjectTypeMacro.
- Position
- Below the diagonal: macros.derive.DeriveObjectTypeMacro uses a module listed above it, which is the healthy direction.
38→2 macros.derive uses macros.derive.DeriveEnumTypeMacro✕
- Connections
- 1 pair of types, where a type in macros.derive uses a type in macros.derive.DeriveEnumTypeMacro.
- The types involved
sangria.macros.derive.DeriveEnumTypeMacro→sangria.macros.derive.DeriveEnumTypeMacro.MacroDeriveEnumSetting
- Direction
- macros.derive uses macros.derive.DeriveEnumTypeMacro, so a change to macros.derive.DeriveEnumTypeMacro can break macros.derive, while a change to macros.derive can't break macros.derive.DeriveEnumTypeMacro.
- Position
- Below the diagonal: macros.derive uses a module listed above it, which is the healthy direction.
38→13 macros.derive uses execution✕
- Connections
- 1 pair of types, where a type in macros.derive uses a type in execution.
- The types involved
sangria.macros.derive.FieldTags→sangria.execution.FieldTag
- Direction
- macros.derive uses execution, so a change to execution can break macros.derive, while a change to macros.derive can't break execution.
- Position
- Below the diagonal: macros.derive uses a module listed above it, which is the healthy direction.
38→20 macros.derive uses schema✕
- Connections
- 6 pairs of types, where a type in macros.derive uses a type in schema.
- The types involved
sangria.macros.derive.DeriveMacroSupport→sangria.schema.Contextsangria.macros.derive.GraphQLInputTypeLookup→sangria.schema.InputTypesangria.macros.derive.GraphQLInputTypeLookupLowPrio→sangria.schema.InputTypesangria.macros.derive.GraphQLOutputTypeLookup→sangria.schema.OutputTypesangria.macros.derive.Interfaces→sangria.schema.PossibleInterfacesangria.macros.derive.ReplaceInputField→sangria.schema.InputField
- Direction
- macros.derive uses schema, so a change to schema can break macros.derive, while a change to macros.derive can't break schema.
- Position
- Below the diagonal: macros.derive uses a module listed above it, which is the healthy direction.
38→24 macros.derive uses ast✕
- Connections
- 5 pairs of types, where a type in macros.derive uses a type in ast.
- The types involved
sangria.macros.derive.AddFields→sangria.ast.Fieldsangria.macros.derive.DeriveEnumTypeMacro→sangria.ast.Typesangria.macros.derive.DeriveInputObjectTypeMacro→sangria.ast.Typesangria.macros.derive.DeriveObjectTypeMacro→sangria.ast.Typesangria.macros.derive.ReplaceField→sangria.ast.Field
- Direction
- macros.derive uses ast, so a change to ast can break macros.derive, while a change to macros.derive can't break ast.
- Position
- Below the diagonal: macros.derive uses a module listed above it, which is the healthy direction.
38→29 macros.derive uses macros.derive.DeriveInputObjectTypeMacro✕
- Connections
- 5 pairs of types, where a type in macros.derive uses a type in macros.derive.DeriveInputObjectTypeMacro.
- The types involved
sangria.macros.derive.DeriveInputObjectTypeMacro→sangria.macros.derive.DeriveInputObjectTypeMacro.KnownMembersangria.macros.derive.DeriveInputObjectTypeMacro→sangria.macros.derive.DeriveInputObjectTypeMacro.MacroSettingsangria.macros.derive.DeriveObjectTypeMacro→sangria.macros.derive.DeriveInputObjectTypeMacro.KnownMembersangria.macros.derive.MethodArgument→sangria.macros.derive.DeriveInputObjectTypeMacro.Argsangria.macros.derive.MethodArgumentDefault→sangria.macros.derive.DeriveInputObjectTypeMacro.Arg
- Direction
- macros.derive uses macros.derive.DeriveInputObjectTypeMacro, so a change to macros.derive.DeriveInputObjectTypeMacro can break macros.derive, while a change to macros.derive can't break macros.derive.DeriveInputObjectTypeMacro.
- Position
- Below the diagonal: macros.derive uses a module listed above it, which is the healthy direction.
38→37 macros.derive uses macros.derive.DeriveObjectTypeMacro✕
- Connections
- 1 pair of types, where a type in macros.derive uses a type in macros.derive.DeriveObjectTypeMacro.
- The types involved
sangria.macros.derive.DeriveObjectTypeMacro→sangria.macros.derive.DeriveObjectTypeMacro.MacroDeriveObjectSetting
- Direction
- macros.derive uses macros.derive.DeriveObjectTypeMacro, so a change to macros.derive.DeriveObjectTypeMacro can break macros.derive, while a change to macros.derive can't break macros.derive.DeriveObjectTypeMacro.
- Position
- Below the diagonal: macros.derive uses a module listed above it, which is the healthy direction.
39→20 catseffect.schema uses schema✕
- Connections
- 1 pair of types, where a type in catseffect.schema uses a type in schema.
- The types involved
sangria.catseffect.schema.AsyncValue→sangria.schema.LeafAction
- Direction
- catseffect.schema uses schema, so a change to schema can break catseffect.schema, while a change to catseffect.schema can't break schema.
- Position
- Below the diagonal: catseffect.schema uses a module listed above it, which is the healthy direction.
39→38 catseffect.schema uses macros.derive✕
- Connections
- 1 pair of types, where a type in catseffect.schema uses a type in macros.derive.
- The types involved
sangria.catseffect.schema.AsyncValueLowPriority→sangria.macros.derive.GraphQLOutputTypeLookup
- Direction
- catseffect.schema uses macros.derive, so a change to macros.derive can break catseffect.schema, while a change to catseffect.schema can't break macros.derive.
- Position
- Below the diagonal: catseffect.schema uses a module listed above it, which is the healthy direction.
40→38 macros.derive.GraphQLInputTypeLookup uses macros.derive✕
- Connections
- 1 pair of types, where a type in macros.derive.GraphQLInputTypeLookup uses a type in macros.derive.
- The types involved
sangria.macros.derive.GraphQLInputTypeLookup.Finder→sangria.macros.derive.GraphQLInputTypeLookup
- Direction
- macros.derive.GraphQLInputTypeLookup uses macros.derive, so a change to macros.derive can break macros.derive.GraphQLInputTypeLookup, while a change to macros.derive.GraphQLInputTypeLookup can't break macros.derive.
- Position
- Below the diagonal: macros.derive.GraphQLInputTypeLookup 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
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 13 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 6 | Medium |
Roadmap
Begin by documenting significant design decisions in the docs/adr folder and adding a quick-start section to the root README to support new contributors. Next, address the single off-boarding risk identified in the Bus Factor analysis to ensure knowledge continuity. Finally, integrate a static analysis tool into the CI pipeline to block security regressions and configure draft releases or approval gates to prevent bad builds from reaching users.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 Off-boarding risk finding(s) in Bus Factor. | +5.1 pts | Low | Bus Factor |
| 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. | +8.2 pts | Medium | Architecture documentation |
| Add a build/run (quick start) section to the root README — the first thing a newcomer needs. | +5.9 pts | Medium | Documentation (README) |
| Add a SAST step to CI running what this repository's stack ships: scalafix or scapegoat — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing. | +3.3 pts | Medium | Security & performance tooling |
| Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it. | +2.2 pts | Medium | Deployment & Rollback |
| Keep implementation types off the public surface (Java: package-private (no modifier), or leave its package out of `module-info` exports) — even for a small library, every public type is a stability contract. | +1.7 pts | Medium | Library API & versioning |
| Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. | +0.7 pts | Low | Static Analysis (SAST) |
| Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. | +0.7 pts | Low | Static Analysis (SAST) |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.7 | Slop | Static Analysis (SAST): High: REDACTED |
| modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala | 6.0 | Mixed | Explicit Debt: TodoComment |
| modules/core/src/main/scala/sangria/schema/IntrospectionSchemaBuilder.scala | 6.7 | Mixed | Explicit Debt: TodoComment |
| modules/ast/src/main/scala/sangria/ast/QueryAst.scala | 6.7 | Mixed | Explicit Debt: FixmeComment |
| modules/core/src/main/scala/sangria/ast/AstVisitor.scala | 7.0 | Mixed | Cyclomatic Complexity: AstVisitor.visitAstRecursive (cyclomatic 96) |
| modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala | 7.0 | Mixed | Cyclomatic Complexity: QueryRenderer.renderNode (cyclomatic 78) |
| modules/core/src/main/scala/sangria/execution/FutureResolver.scala | 7.0 | Mixed | Cyclomatic Complexity: FutureResolver.resolveField (cyclomatic 47) |
| modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala | 7.0 | Mixed | Cyclomatic Complexity: ValueCoercionHelper.coerceInputValue (cyclomatic 49) |
| modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala | 7.0 | Mixed | Cyclomatic Complexity: DeriveObjectTypeMacro.validateObjectConfig (cyclomatic 27) |
| modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala | 7.0 | Mixed | Cognitive Complexity: DeriveInputObjectTypeMacro.collectFields (cognitive 31) |
| modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala | 7.0 | Mixed | Cognitive Complexity: DeriveEnumTypeMacro.collectEnumValues (cognitive 23) |
| modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala | 7.1 | Mixed | Cyclomatic Complexity: DeriveObjectTypeMacro.collectFields (cyclomatic 21) |
| modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala | 7.1 | Mixed | God Classes: TooManyMethods: DefaultAstSchemaBuilder |
| modules/core/src/main/scala/sangria/execution/deferred/FetcherBasedDeferredResolver.scala | 7.2 | Mixed | Cyclomatic Complexity: FetcherBasedDeferredResolver.resolveEntities (cyclomatic 28) |
| modules/core/src/main/scala/sangria/execution/Executor.scala | 7.2 | Mixed | Cognitive Complexity: Executor.prepare (cognitive 26) |
| modules/core/src/main/scala/sangria/schema/ResolverBasedAstSchemaBuilder.scala | 7.4 | Mixed | Cyclomatic Complexity: ResolverBasedAstSchemaBuilder.extractScalar (cyclomatic 45) |
| modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala | 7.4 | Mixed | Cyclomatic Complexity: DeriveInputObjectTypeMacro.collectFields (cyclomatic 25) |
| modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala | 7.4 | Mixed | Cyclomatic Complexity: DeriveEnumTypeMacro.deriveEnumType (cyclomatic 20) |
| modules/core/src/main/scala/sangria/execution/batch/BatchExecutor.scala | 7.4 | Mixed | Cyclomatic Complexity: BatchExecutor.findUsages (cyclomatic 16) |
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. 56 of 56 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); none rely on LLM judgement. Overall confidence is 0.7 — 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 — 56 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, 179 of 192 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 | — | ◐ 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 MEASURED: test source is present (.scala) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) 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 (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) 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 (.scala) and this repository declares an sbt build (repository root, 118 test files), but it was not re-run: no test result was produced. 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. This repository's dependency manifest (an sbt build (build.sbt)) was found, but this pass cannot parse it for hygiene, so no package was assessed. Zero packages read is NOT a clean dependency tree, so this is NOT SCORED — a gap in the analyzer, not a verdict about this repository. This row is about dependency HYGIENE — outdated, deprecated or unmaintained direct dependencies; known CVEs in the same dependency graph are a separate question, reported under D30 wherever the manifest is OSV-readable.
- 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's 1 sbt build file(s) (build.sbt and project/*.scala) were read and none of the production library dependencies they declare carries a version this pass can resolve from the file itself (10 declared with a version computed rather than written as a literal, or cross-built with `%%` where the build states no scalaVersion to form the Scala binary suffix from). sbt is a program rather than a manifest: a val holding one string literal is read, but anything computed would need the build run, and this pass does not run it. Licences are resolved from the POMs Maven Central publishes, which requires an exact coordinate to ask about. NOT a finding that this repository's licences are compliant: this dimension asserts nothing about its licensing in either direction.
- D21 Naming Consistency — 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. D21's deterministic naming rules are gated on C# first (docs/plans/deterministic-engine.md, P5): each other language is switched on only after its own concept suite and A/B gate pass. Until then its declarations carry no naming verdict this run — this says nothing about whether its names are consistent.
- D22 Internal API Consistency — 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. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: it declares a published package (build.sbt), but no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict.
- D24 Comment Value — 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's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- 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. `modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala` 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.
- D34 Knowledge Freshness — 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. File-level freshness contradicts repo activity: 49 commits in the last 90 days, yet 53 of 74 significant files carry no living knowledge. Those two readings cannot both be true, so the per-file recency signal is treated as unreliable here and freshness is not scored for this run.
- D44 Platform End-of-Life — 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 dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a Dockerfile) is simply not read here yet.
- C1 Data Protection — 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 personal data 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 personal data controls.
- C2 Access Controls — 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 authorization 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 authorization controls.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
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.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- 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.
- 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.
- 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").
- 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.
- 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.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- 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.
Dimensions
D1 · Cyclomatic Complexity
24 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was AstVisitor.visitAstRecursive at 96. A further 9 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being KnownDirectives.getLocation at 27 — they are counted neither in the figure above nor in this dimension's score. 3 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: modules/core/src/main/scala/sangria/validation/rules/KnownDirectives.scala (KnownDirectives.getLocation at 27), modules/core/src/main/scala/sangria/schema/Schema.scala (DirectiveLocation.fromString at 20), modules/core/src/main/scala-2/sangria/macros/AstLiftable.scala (AstLiftable.liftDefinition at 18). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
What to do
- Bring the 2 bodies over 60 down to 60 or less in Cyclomatic Complexity — start with AstVisitor.visitAstRecursive (cyclomatic 96), QueryRenderer.renderNode (cyclomatic 78). — 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 2 together lifts Cyclomatic Complexity from 6.1 to about 6.6/10, projected with the scoring formula itself and assuming each lands exactly at 60; a cleaner split scores higher.
- 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
49 method(s) exceeded the cognitive complexity threshold of 15; the worst was FutureResolver.resolveField at 148.
What to do
- Bring the 1 body over 120 down to 120 or less in Cognitive Complexity — start with FutureResolver.resolveField (cognitive 148). — Refactoring it lifts Cognitive Complexity from 5.1 to about 5.3/10.
- 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
26 god class(es) detected.
What to do
- Resolve the 14 FileTooLong finding(s) in God Classes — start with FutureResolver.scala, Schema.scala, SchemaComparator.scala. — One of this dimension's main actionable groups (14 warning-level).
- Resolve the 6 TooManyMethods finding(s) in God Classes — start with AstSchemaBuilder.scala, AstSchemaMaterializer.scala, SchemaRenderer.scala. — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 5 MethodTooLong finding(s) in God Classes — start with ValueCoercionHelper.scala (2), AstVisitor.scala (2), FutureResolver.scala. — One of this dimension's main actionable groups (5 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
47 duplicated block group(s) detected. A further 3 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted.
What to do
- Resolve the 5 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with QueryRenderer.scala (2), AstVisitor.scala, AstSchemaBuilder.scala. — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 5 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with ExecutionScheme.scala, FutureResolver.scala, StringUtil.scala. — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 4 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with DeriveEnumTypeMacro.scala (2), DeriveInputObjectTypeMacro.scala, QueryParser.scala. — One of this dimension's main actionable groups (4 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.
D5 · Coupling
7 production modules (sbt), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; a dependsOn spread (deps: _*) and a project whose directory a helper computes are not visible there; 1 module(s) off the main sequence, with abstractness counted on 5 of the 7 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 20 classes have LCOM4 above 3.
D9 · Test Distribution
1394 test methods: 1394 unit, 0 integration, 0 BDD, 0 e2e. The Scala suite contributes 1394 test case(s) across 98 file(s) in a test source set declaring at least one — every `test("…")`, `it("…")`, `property("…")` and `"…" in {…}` registration and every JUnit `@Test`, which is how munit, ScalaTest, utest, ZIO Test and specs2 declare a case; a case registered under a computed name is not counted, so this is a floor. Its tier split is INFERRED from paths and file names, except sbt's src/it source set, which the build declares.
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
16 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is modules/core/src/main/scala/sangria/execution/FutureResolver.scala. Counted over 71 of the 153 production source files in this repository: 79 are under the ~2,400-byte size floor this dimension measures over, and the remaining 3 have no attributable history left to measure.
What to do
- Resolve the 1 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
5 deducted task-comment markers across 26939 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.
What to do
- Resolve the 4 TodoComment finding(s) in Explicit Debt — start with DeriveMacroSupport.scala, AstSchemaMaterializer.scala, IntrospectionSchemaBuilder.scala. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 1 FixmeComment finding(s) in Explicit Debt — start with QueryAst.scala. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D26 · Project Cohesion
1 of 1 build units (sbt) 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)
13 finding(s): 0 critical, 13 high, 0 medium, 0 low. 11 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 1 file(s) — `modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala` — so no absence of findings in them is evidence of anything, and nothing in them was analysed. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 1 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
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).
- 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 11 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 (11 issue-level, 0 of them charged here).
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 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 — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
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
AX6 · Interface segregation
- `AstSchemaBuilder[Ctx]` declares 37 abstract members: `additionalTypeExtensionDefs`, `additionalTypes`, `additionalDirectiveDefs`, `resolveNameConflict`, `buildSchema`, `extendSchema`, `buildObjectType`, `extendObjectType`, `buildInputObjectType`, `transformInputObjectType`, `buildInterfaceType`, `buildInterfaceType`, `extendInterfaceType`, `extendInterfaceType`, `buildUnionType`, `extendUnionType`, `extendScalarAlias`, `buildScalarType`, `transformScalarType`, `buildEnumType`, `transformEnumType`, `buildField`, `buildAdditionalFields`, `buildFieldType`, `extendField`, `extendArgument`, `extendInputField`, `extendFieldType`, `extendArgumentType`, `extendInputFieldType`, `buildInputField`, `buildInputFieldType`, `buildArgument`, `buildArgumentType`, `buildEnumValue`, `buildDirective`, `transformDirective`. Counted over its ABSTRACT members — a `def` with no body or a `val`/`var` with no initializer, once per signature; concrete members, private and protected members, and members of a companion `object` are not counted, because no implementer is forced to write them. Those 37 declarations carry 35 distinct name(s), so part of the width is overloading rather than separate responsibilities — but 35 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:11
What to do
- Split fat interfaces into focused role-interfaces so clients depend only on what they use.
AX8 · Test isolation
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something. — modules/core/src/test/scala/sangria/marshalling/EnumInputTypeSpec.scala:95
What to do
- Clear the softer debt: re-enable or delete `ignore`d and `pending` tests, decide whether each empty method or UnsupportedOperationException is deliberate (and say so in a comment), and replace a bare `// scalastyle:off` or `@nowarn` with targeted, justified suppressions.
M1 · Documentation (README)
- 22 code files changed in the last 6 months but the README was not touched — it may no longer reflect the system.
What to do
- 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.
- Review the README against recent changes; refresh the parts that drifted.
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
P1 · CI/CD gates
P10 · Library API & versioning
What to do
- Keep implementation types off the public surface (Java: package-private (no modifier), or leave its package out of `module-info` exports) — even for a small library, every public type is a stability contract.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add scalafix or scapegoat (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 6454 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: scalafix or scapegoat — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY'S PIPELINE FILES. What was read: every file under `.github/workflows/`, `.forgejo/workflows/`, `.gitea/workflows/`, `.azuredevops/` and `.azure-pipelines/`, plus `.gitlab-ci*` and `azure-pipelines*` — with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab's `when: manual`, CircleCI's `type: approval`, an Azure `ManualValidation@` task or an `approvals:` block, a Jenkins `input` step, a `uses:` step naming an approval action, an `environment:` paired with `reviewers` / `required_reviewers` / `protection` / `wait-timer` / `deployment_branch_policy`, a draft-release step, a `workflow_dispatch` promotion, or a release-event gate. ★ What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy — all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release.
What to do
- Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
P6 · Release Hygiene
PF1 · Benchmark discipline
- A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement — allocations (the main way hot code pressures a garbage collector or allocator) aren't being measured. — modules/benchmarks/src/main/scala/sangria/benchmarks/OverlappingFieldsCanBeMergedBenchmark.scala
What to do
- Run JMH with the GC profiler (`-prof gc`, or addProfiler(GCProfiler.class)) so allocation rate regressions are visible, not just time.
PF2 · Allocation hygiene
What to do
- Raise allocation-aware density on the hot paths — currently 2 use(s) across 30,278 production line(s) (~0.1/1k). More of the idioms below on the allocation-heavy paths climbs this toward 10.
- Java: on hot paths, work through buffer views (ByteBuffer/LongBuffer slices, MemorySegment) instead of copies, avoid boxing with primitive collections (fastutil, Eclipse Collections, HPPC, Trove), presize collections and StringBuilders, and pool expensive buffers (Netty's pooled allocator, commons-pool).
- Scala: on hot paths, make small wrappers value classes (extends AnyVal), @specialized generic code over primitives, use primitive collections, and presize builders.
PF3 · Async & latency hygiene
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- No build over this repository's 145 Scala product file(s) passes `-Yexplicit-nulls`, enables WartRemover's `Null` wart or runs Scalafix's `DisableSyntax.noNulls`, so every reference type admits null and nothing reports a `null` written into the code or returned from a Java API — the first one to reach a method call is a `NullPointerException`. `Option` by convention is a habit no tool here holds the code to.
What to do
- On Scala 3, add `-Yexplicit-nulls` to `scalacOptions` so `String` and `String | Null` mean different things, and type each Java API's result as nullable where it can return null; on Scala 2 (or as a first step), enable WartRemover's `Null` wart (`wartremoverErrors += Wart.Null`) or Scalafix's `DisableSyntax.noNulls = true` so the code holds absence in `Option`. Then pay the assertions down rather than adding to them: each `.nn` is a null the compiler could not rule out — wrap the Java value in `Option(…)` at the boundary, pattern-match on `null` once there, or change the API so the null cannot arrive; an `unsafeNulls` import switches the checking off for everything after it.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 68% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 91% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 46% | Weak — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 57% | Adequate — gated by P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 65% | Adequate — gated by D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 78% | Strong | Strongest area. |
Unscored — 1 check(s) recorded observations but carry no score
- X10 Duplicated predicate — 7 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 1 control(s) we could not find positive evidence for
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 61 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 Java 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; this repository's Scala 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 — No container singleton was found, so there is no shared instance for concurrent requests to race on. No class in this Java code is a Spring, JSR-330 or CDI singleton bean. No class in this Scala code is a Play controller, a Cask routes object, a Scalatra servlet, a Finatra controller, an Akka/Pekko HTTP routes holder or a JSR-330/Spring singleton, so no instance is shared between request threads.
- 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
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- 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.
- C1 Data Protection — Not assessed: these personal data 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 personal data 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.
- C2 Access Controls — Not assessed: these authorization 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 authorization 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.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named column (email, first_name, date_of_birth, phone_number, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, a MongoDB or Cassandra driver, JDBC) imported either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a store 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, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database or data-store client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, JDBC, MongoDB, Cassandra, …) imported 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, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database or data-store client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, JDBC, MongoDB, Cassandra, …) imported either, so this repository keeps no personal data for a data subject to erase, export or consent over.
- D10 Test Quality — ~39630 lines of test source are present (.scala) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not included — the .scala suite was found but not re-run
- D12 Dependency Hygiene — Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
- D14 License Compliance — sbt licences not graded — no production declaration in build.sbt carries a literal version
- 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.
- D19 Documentation Quality — No runnable or published unit to look for an example in, and no multi-project root README to look for a map in; the other documentation kinds are withheld (see the gaps), so documentation quality is not applicable here.
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D21 Naming Consistency — Naming consistency is measured on C# only; Java, Scala not measured.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- 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, nor 2+ projects each declaring an entity of their own. 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 — D24 reads C# and Visual Basic comments only — this repository's production source is .java, .scala, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- 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 (.scala), 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 (an sbt build (build.sbt) — 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) — 1 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D34 Knowledge Freshness — knowledge concentrated in recent work — freshness signal contradicted by repo activity
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- 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 (an sbt build (build.sbt) — not scanned yet).
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- 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 — applicable but not scored (2 signals for this style, 2 needed — the count is met but a required primary signal is absent): 434 value object(s); 6 domain event(s); its domain events are published by services or handlers — no domain entity raises one
- 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
- M4 Documentation accuracy — Not applicable: the 2 current-state document(s) make no claim of a kind M4 checks. 1 claim(s) of kinds M4 does not check were not checked (command argument 1); M4 checks only links and versions.
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P2 Observability — This repository's JVM source (1 module(s), 146 file(s) read) declares no entry point and bootstraps no server, and nothing here deploys a service — it is a library, run inside whatever hosts it, so production observability (structured logging, tracing/metrics, health checks) is N/A. If it grows a binary or a service, the dimension reactivates.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JVM source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) 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
- S1 Web-Security Posture — No web surface: 146 Scala file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled TLS certificate validation and obsolete TLS versions, and none was found. This repository serves no HTTP of its own — no HTTP-server artifact (akka-http, pekko-http, http4s, Play, Finagle, zio-http, cask, Scalatra, a tapir server, Jetty, Undertow, …) outside test scope in its build, and no server package imported or server bound in its production source — so HTTPS enforcement, HSTS, cookie flags and input validation are N/A here, as they are for a C# library or worker. If this codebase starts serving HTTP, the dimension reactivates automatically.
- X2 Cancellation propagation — no C# was loaded; this repository's Scala and Java were read, and no request in it can be cancelled by a caller — a Scala request takes no token: a Future cannot be cancelled, and cats-effect, ZIO and Monix interrupt the fiber that made the request from outside the call, not through a parameter; a Java request off Android takes no token: it is cancelled through the handle it returns (Future.cancel, Call.cancel, a Disposable), ambiently (io.grpc.Context) or by interrupting its thread, not through a parameter
- 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.
- X4 Structured logging — This check asks whether log calls keep a message's values apart from its text, which needs a logger that can carry them as fields. This repository's Java was read, and it logs through none that an assembled message defeats: java.util.logging's level methods, log4j 1, commons-logging, JBoss Logging and Flogger take one finished message (as log4net does in C#), or it makes no call through a named logger at all. Calls made through SLF4J or log4j 2 (`org.slf4j.Logger`, `org.apache.logging.log4j.Logger`, Lombok's `@Slf4j`) would be judged.
- 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 — 13 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 160 finding(s)
- FileTooLong: execution/FutureResolver.scala modules/core/src/main/scala/sangria/execution/FutureResolver.scala
- FileTooLong: schema/Schema.scala modules/core/src/main/scala/sangria/schema/Schema.scala
- FileTooLong: schema/SchemaComparator.scala modules/core/src/main/scala/sangria/schema/SchemaComparator.scala
- FileTooLong: validation/Violation.scala modules/core/src/main/scala/sangria/validation/Violation.scala
- FileTooLong: schema/AstSchemaMaterializer.scala modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala
- FileTooLong: renderer/QueryRenderer.scala modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala
- FileTooLong: schema/AstSchemaBuilder.scala modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala
- FileTooLong: derive/DeriveObjectTypeMacro.scala modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala
- FileTooLong: execution/ValueCoercionHelper.scala modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala
- FileTooLong: schema/SchemaValidationRule.scala modules/core/src/main/scala/sangria/schema/SchemaValidationRule.scala
- FileTooLong: schema/ResolverBasedAstSchemaBuilder.scala modules/core/src/main/scala/sangria/schema/ResolverBasedAstSchemaBuilder.scala
- FileTooLong: batch/BatchExecutor.scala modules/core/src/main/scala/sangria/execution/batch/BatchExecutor.scala
- FileTooLong: introspection/package.scala modules/core/src/main/scala/sangria/introspection/package.scala
- FileTooLong: ast/QueryAst.scala modules/ast/src/main/scala/sangria/ast/QueryAst.scala
- TooManyMethods: DefaultAstSchemaBuilder modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:317
- TooManyMethods: AstSchemaMaterializer modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:27
- TooManyMethods: SchemaRenderer modules/core/src/main/scala/sangria/renderer/SchemaRenderer.scala:10
- TooManyMethods: DefaultIntrospectionSchemaBuilder modules/core/src/main/scala/sangria/schema/IntrospectionSchemaBuilder.scala:98
- TooManyMethods: FutureResolver modules/core/src/main/scala/sangria/execution/FutureResolver.scala:64
- TooManyMethods: QueryRenderer modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:6
- MethodTooLong: ValueCoercionHelper.coerceInputValue modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala:171
- MethodTooLong: AstVisitor.visit modules/core/src/main/scala/sangria/ast/AstVisitor.scala:85
- MethodTooLong: AstVisitor.visitAstRecursive modules/core/src/main/scala/sangria/ast/AstVisitor.scala:91
- MethodTooLong: FutureResolver.resolveStandardFieldResolutionSeqInner modules/core/src/main/scala/sangria/execution/FutureResolver.scala:516
- MethodTooLong: ValueCoercionHelper.resolveMapValue modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala:41
- Duplicated block (8 lines × 2) modules/core/src/main/scala/sangria/ast/AstVisitor.scala:357
- Duplicated block (8 lines × 2) modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:90
- Duplicated block (8 lines × 2) modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:705
- Duplicated block (8 lines × 2) modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:387
- Duplicated block (8 lines × 2) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:38
- Duplicated block (5 lines × 2) modules/core/src/main/scala/sangria/execution/ExecutionScheme.scala:79
- Duplicated block (5 lines × 2) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:543
- Duplicated block (5 lines × 2) modules/core/src/main/scala/sangria/util/StringUtil.scala:173
- Duplicated block (5 lines × 2) modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:697
- Duplicated block (5 lines × 2) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:172
- TodoComment modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveMacroSupport.scala:67
- TodoComment modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:430
- TodoComment modules/core/src/main/scala/sangria/schema/IntrospectionSchemaBuilder.scala:36
- TodoComment modules/core/src/main/scala/sangria/schema/IntrospectionSchemaMaterializer.scala:36
- Duplicated block (9 lines × 2) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:34
- Duplicated block (9 lines × 2) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:76
- Duplicated block (9 lines × 2) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:23
- Duplicated block (9 lines × 2) modules/parser/src/main/scala/sangria/parser/QueryParser.scala:852
- Duplicated block (6 lines × 2) modules/core/src/main/scala/sangria/ast/AstVisitor.scala:264
- Duplicated block (6 lines × 2) modules/core/src/main/scala/sangria/execution/ExecutionScheme.scala:85
- Duplicated block (6 lines × 2) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:586
- Duplicated block (6 lines × 2) modules/core/src/main/scala/sangria/introspection/IntrospectionParser.scala:47
- Duplicated block (7 lines × 2) modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:826
- Duplicated block (7 lines × 2) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:75
- Duplicated block (7 lines × 2) modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:101
- Members sharing a duplicated core (4 members, 50+ identical tokens) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:188
- Members sharing a duplicated core (4 members, 50+ identical tokens) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:215
- Duplicated block (16 lines × 2) modules/core/src/main/scala/sangria/execution/Executor.scala:68
- Duplicated block (16 lines × 2) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:549
- Duplicated block (13 lines × 2) modules/core/src/main/scala/sangria/validation/rules/ProvidedRequiredArguments.scala:23
- Duplicated block (13 lines × 2) modules/core/src/main/scala/sangria/validation/rules/overlappingfields/CachedCheck.scala:94
- Duplicated block (12 lines × 2) modules/core/src/main/scala/sangria/ast/AstVisitor.scala:292
- Duplicated block (12 lines × 2) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:153
- Duplicated block (11–12 lines × 2) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:837
- Duplicated block (11–12 lines × 2) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1231
- Duplicated block (10 lines × 2) modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:337
- Duplicated block (10 lines × 2) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:593
- Duplicated block (6 lines × 3) modules/core/src/main/scala/sangria/ast/AstVisitor.scala:129
- Duplicated block (6 lines × 3) modules/core/src/main/scala/sangria/ast/AstVisitor.scala:300
- AstVisitor.visitAstRecursive (cyclomatic 96) modules/core/src/main/scala/sangria/ast/AstVisitor.scala:91
- QueryRenderer.renderNode (cyclomatic 78) modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:500
- ValueCoercionHelper.coerceInputValue (cyclomatic 49) modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala:171
- FutureResolver.resolveField (cyclomatic 47) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1744
- ResolverBasedAstSchemaBuilder.extractScalar (cyclomatic 45) modules/core/src/main/scala/sangria/schema/ResolverBasedAstSchemaBuilder.scala:522
- ValuesOfCorrectType.visitor (cyclomatic 36) modules/core/src/main/scala/sangria/validation/rules/ValuesOfCorrectType.scala:17
- FutureResolver.resolveValue (cyclomatic 33) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1417
- FetcherBasedDeferredResolver.resolveEntities (cyclomatic 28) modules/core/src/main/scala/sangria/execution/deferred/FetcherBasedDeferredResolver.scala:239
- FetcherBasedDeferredResolver.resolveRelations (cyclomatic 27) modules/core/src/main/scala/sangria/execution/deferred/FetcherBasedDeferredResolver.scala:76
- DeriveObjectTypeMacro.validateObjectConfig (cyclomatic 27) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:410
- FutureResolver.resolveStandardFieldResolutionSeqInner (cyclomatic 26) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:516
- DeriveInputObjectTypeMacro.collectFields (cyclomatic 25) modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:79
- QueryReducerExecutor.reduceQueryUnsafe (cyclomatic 24) modules/core/src/main/scala/sangria/execution/QueryReducerExecutor.scala:101
- ValueCoercionHelper.isValidValue (cyclomatic 24) modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala:583
- FieldCollector.collectFieldsInternal (cyclomatic 23) modules/core/src/main/scala/sangria/execution/FieldCollector.scala:38
- TypeInfo.enter (cyclomatic 23) modules/core/src/main/scala/sangria/validation/TypeInfo.scala:62
- ValueCoercionHelper.resolveMapValue (cyclomatic 22) modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala:41
- DeriveObjectTypeMacro.collectFields (cyclomatic 21) modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:99
- ValidationContext.isValidLiteralValue (cyclomatic 20) modules/core/src/main/scala/sangria/validation/QueryValidator.scala:248
- DeriveEnumTypeMacro.deriveEnumType (cyclomatic 20) modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala:9
- FutureResolver.trackDeprecation (cyclomatic 19) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1624
- AstSchemaMaterializer.findOperationsTypes (cyclomatic 17) modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:1073
- BatchExecutor.findUsages (cyclomatic 16) modules/core/src/main/scala/sangria/execution/batch/BatchExecutor.scala:631
- PossibleFragmentSpreads.visitor (cyclomatic 16) modules/core/src/main/scala/sangria/validation/rules/PossibleFragmentSpreads.scala:16
- FixmeComment modules/ast/src/main/scala/sangria/ast/QueryAst.scala:53
- FutureResolver.resolveField (cognitive 148) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1744
- AstVisitor.visitAstRecursive (cognitive 94) modules/core/src/main/scala/sangria/ast/AstVisitor.scala:91
- QueryRenderer.renderNode (cognitive 80) modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:500
- DeriveInputObjectTypeMacro.collectFields (cognitive 76) modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:79
- FutureResolver.resolveValue (cognitive 67) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1417
- ValuesOfCorrectType.visitor (cognitive 61) modules/core/src/main/scala/sangria/validation/rules/ValuesOfCorrectType.scala:17
- FieldCollector.collectFieldsInternal (cognitive 60) modules/core/src/main/scala/sangria/execution/FieldCollector.scala:38
- ValueCoercionHelper.coerceInputValue (cognitive 54) modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala:171
- ValueCoercionHelper.isValidValue (cognitive 44) modules/core/src/main/scala/sangria/execution/ValueCoercionHelper.scala:583
- DeriveObjectTypeMacro.collectFields (cognitive 41) modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:99
- FutureResolver.collectProjections (cognitive 40) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:2006
- QueryRenderer.renderFieldDefinitions (cognitive 39) modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:81
- QueryRenderer.renderEnumValues (cognitive 39) modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:145
- DeriveEnumTypeMacro.deriveEnumType (cognitive 38) modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala:9
- QueryRenderer.renderSelections (cognitive 35) modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:38
- FutureResolver.trackDeprecation (cognitive 34) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1624
- DeriveObjectTypeMacro.createArg (cognitive 32) modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:330
- FetcherBasedDeferredResolver.resolveEntities (cognitive 31) modules/core/src/main/scala/sangria/execution/deferred/FetcherBasedDeferredResolver.scala:239
- DeriveInputObjectTypeMacro.collectFields (cognitive 31) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:59
- DeriveObjectTypeMacro.collectFields (cognitive 31) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:76
- PossibleFragmentSpreads.visitor (cognitive 29) modules/core/src/main/scala/sangria/validation/rules/PossibleFragmentSpreads.scala:16
- FutureResolver.resolveStandardFieldResolutionSeqInner (cognitive 28) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:516
- Executor.prepare (cognitive 26) modules/core/src/main/scala/sangria/execution/Executor.scala:25
- TypeInfo.enter (cognitive 26) modules/core/src/main/scala/sangria/validation/TypeInfo.scala:62
- QueryReducerExecutor.reduceQueryUnsafe (cognitive 24) modules/core/src/main/scala/sangria/execution/QueryReducerExecutor.scala:101
- QueryRenderer.renderInputObjectFieldDefs (cognitive 24) modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:292
- DeriveEnumTypeMacro.collectEnumValues (cognitive 24) modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala:93
- ResolverBasedAstSchemaBuilder.extractScalar (cognitive 23) modules/core/src/main/scala/sangria/schema/ResolverBasedAstSchemaBuilder.scala:522
- DeriveEnumTypeMacro.collectEnumValues (cognitive 23) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:90
- DeriveEnumTypeMacro.deriveEnumType (cognitive 22) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:12
- SubscriptionFieldsValidationRule.validate (cognitive 21) modules/core/src/main/scala/sangria/schema/SchemaValidationRule.scala:208
- ProvidedRequiredArguments.visitor (cognitive 21) modules/core/src/main/scala/sangria/validation/rules/ProvidedRequiredArguments.scala:14
- VariablesInAllowedPosition.visitor (cognitive 21) modules/core/src/main/scala/sangria/validation/rules/VariablesInAllowedPosition.scala:15
- Executor.execute (cognitive 20) modules/core/src/main/scala/sangria/execution/Executor.scala:152
- AstSchemaMaterializer.findOperationsTypes (cognitive 20) modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:1073
- NoFragmentCycles.visitor (cognitive 20) modules/core/src/main/scala/sangria/validation/rules/NoFragmentCycles.scala:10
- DeriveObjectTypeMacro.deriveObjectType (cognitive 20) modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveObjectTypeMacro.scala:49
- FutureResolver.resolveDeferred (cognitive 19) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1367
- ResultResolver.handleSupportedError (cognitive 19) modules/core/src/main/scala/sangria/execution/ResultResolver.scala:69
- BatchExecutor.collectVariables (cognitive 19) modules/core/src/main/scala/sangria/execution/batch/BatchExecutor.scala:247
- QueryRenderer.renderInputValueDefs (cognitive 19) modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:246
- ExactlyOneOfFieldGiven.visitNode (cognitive 18) modules/core/src/main/scala/sangria/validation/rules/ExactlyOneOfFieldGiven.scala:33
- ValueCollector.getVariableValues (cognitive 17) modules/core/src/main/scala/sangria/execution/ValueCollector.scala:34
- ValidationContext.isValidLiteralValue (cognitive 17) modules/core/src/main/scala/sangria/validation/QueryValidator.scala:248
- DeriveObjectTypeMacro.deriveObjectType (cognitive 17) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:33
- FetcherBasedDeferredResolver.resolveRelations (cognitive 16) modules/core/src/main/scala/sangria/execution/deferred/FetcherBasedDeferredResolver.scala:76
- QueryRenderer.renderArgs (cognitive 16) modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:225
- QueryRenderer.renderVarDefs (cognitive 16) modules/core/src/main/scala/sangria/renderer/QueryRenderer.scala:271
- DeriveEnumTypeMacro.collectKnownEnumSubtypes (cognitive 16) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:69
- ClassTooLong: DefaultAstSchemaBuilder modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:317
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Edited copy of a member (33 corresponding lines) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:175
- Duplicated block (40 lines × 2) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:362
- Duplicated block (32 lines × 2) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveEnumTypeMacro.scala:179
- Duplicated block (25–26 lines × 2) modules/core/src/main/scala/sangria/execution/Executor.scala:32
- Duplicated block (21 lines × 2) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:632
- Duplicated block (19 lines × 3) modules/core/src/main/scala-2/sangria/macros/ParseMacro.scala:18
- Duplicated block (19 lines × 2) modules/core/src/main/scala/sangria/execution/FutureResolver.scala:1186
- Duplicated block (17 lines × 2) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:227
- Duplicated block (16 lines × 4) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:189
- Duplicated block (12–13 lines × 2) modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:252
- Duplicated block (11 lines × 2) modules/core/src/main/scala/sangria/ast/AstVisitor.scala:52
- Duplicated block (9–11 lines × 2) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:326
- Duplicated block (10 lines × 4) modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:221
- Duplicated block (7–9 lines × 2) modules/core/src/main/scala/sangria/util/StringUtil.scala:163
- Duplicated block (5 lines × 3) modules/parser/src/main/scala/sangria/parser/QueryParser.scala:837
- Off the main sequence: ast
- README may be stale
Minor — 19 finding(s)
- Duplicated predicate modules/core/src/main/scala/sangria/util/ConcurrentHashMapCache.scala:111
- Duplicated predicate modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala:410
- Duplicated predicate modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveInputObjectTypeMacro.scala:206
- Duplicated predicate modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:250
- Duplicated predicate modules/core/src/main/scala/sangria/util/StringUtil.scala:176
- Duplicated predicate modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:172
- Duplicated predicate modules/derivation/src/main/scala-2/sangria/macros/derive/DeriveObjectTypeMacro.scala:174
- Fat interface: AstSchemaBuilder[Ctx] (37 abstract members) modules/core/src/main/scala/sangria/schema/AstSchemaBuilder.scala:11
- Off-boarding risk: anonymized user #1
- Projects may be oversized for their cohesion
- REDACTED
- REDACTED
- Disabled test modules/core/src/test/scala/sangria/marshalling/EnumInputTypeSpec.scala:95
- No ADRs
- No architecture diagram/doc
- No SAST
- No release approval gate
- Benchmarks don't track allocations modules/benchmarks/src/main/scala/sangria/benchmarks/OverlappingFieldsCanBeMergedBenchmark.scala
- Scala's null is not held to the type system everywhere
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-144264af7de440c7a4c503b6be60a093/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-144264af7de440c7a4c503b6be60a093/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 --exclude *.arrow --exclude *.avro --exclude *.csv --exclude *.dat --exclude *.db --exclude *.feather --exclude *.geojson --exclude *.h5 --exclude *.hdf5 --exclude *.jsonl --exclude *.log --exclude *.ndjson --exclude *.npy --exclude *.npz --exclude *.orc --exclude *.parquet --exclude *.pickle --exclude *.pkl --exclude *.psv --exclude *.sqlite --exclude *.sqlite3 --exclude *.tfrecord --exclude *.tsv --exclude *.txt . | 13 | 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 (an sbt build (build.sbt) — 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 1 file(s) — `modules/derivation/src/main/scala-3/sangria/macros/derive/DeriveEnumTypeMacro.scala` — so the PII/GDPR sweep did not cover them at all. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 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 (an sbt build (build.sbt) — not scanned yet). | 0 | — |