Executive summary
The system holds an adequate overall standing of 68%, reflecting a robust foundation that carries real operational risk. While the code is clean and the architecture is sound, the asset is large enough that its weakest areas pose a significant threat to business continuity. This is not a fragile system, but it is one where a single point of failure in operations could halt delivery and incur substantial costs.
The value tied up in this asset is substantial, comprising over 114,000 lines of production code. Rebuilding it from scratch would require approximately 1.4 person-years and cost around €200,000, indicating a high barrier to replacement. The codebase is mature in its logic and domain modeling, with no boilerplate or straight-line logic, suggesting a well-structured core. However, the sheer size means that any operational gap is amplified, making reliability and recoverability critical to protecting this investment.
The primary risk lies in production readiness, which scores only 59%. This lens measures whether the system is safe to operate, tested, and observable. A low score here means that changes may ripple unpredictably and that outages could be difficult to diagnose or recover from. Without adequate observability and disaster recovery procedures, the business faces delays in fixing issues and potential data loss during failures. This is the most urgent area to address, as it directly impacts the system's ability to serve customers reliably.
A second theme is operational resilience, specifically the lack of documented disaster recovery. While persistence guards exist, they do not constitute a full recovery strategy. The absence of codified backups and geo-recovery in infrastructure-as-code leaves the system vulnerable to catastrophic data loss. This is not a theoretical risk; it is a concrete exposure that could lead to extended downtime and regulatory or reputational damage. Addressing this requires documenting recovery time objectives and procedures, ensuring that the team can restore service quickly if needed.
On the positive side, the system boasts excellent code health, architecture, and domain modeling. The code is maintainable, the structure is logical, and the business logic is well-captured. These strengths provide a solid base for future development. However, these technical merits do not offset the operational gaps. The team should focus first on codifying backups and geo-recovery in infrastructure-as-code, as this offers the highest leverage for reducing risk. This action protects the existing investment and stabilizes the system for future changes. Confidence in this assessment is high, though some areas like event-driven patterns were not measured, leaving a partial picture of the full system landscape.
Raise Readiness 59 → 70 (the Healthy floor) ⇒ headline 68 → ~71.
New since the last scan (14+)
- D5 · Off the main sequence: diesel_table_macro_syntax
- D5 · Off the main sequence: dsl_auto_type
- D5 · Off the main sequence: migrations_internals
- D5 · Off the main sequence: diesel_attribute_parser
- D5 · Off the main sequence: diesel_infer_query
- D15 · Repeated repair: diesel/src/doctest_setup.rs diesel/src/doctest_setup.rs
- D15 · Repeated repair: diesel/src/query_dsl/mod.rs diesel/src/query_dsl/mod.rs
- D15 · Repeated repair: diesel/src/sqlite/connection/sqlite_blob.rs diesel/src/sqlite/connection/sqlite_blob.rs
- D22 · Redundant methods with identical return types and likely identical implementation logic. `cast` and `fallible_cast` appear to be aliases for the same operation, creating confusion about when to use which.
- D22 · Two methods on the same trait (`IntoSql`) with identical signatures and return types. This suggests one is a legacy alias or a mistake in trait design.
- D22 · Inconsistent naming for similar database operations across different contexts. `execute_returning_id` is specific to insert statements, while `execute_returning_count` is on the generic Connection trait. While domains differ, the naming convention `execute_returning_*` is not unified (e.g., `execute_and_return_id` vs `execute_returning_count`). More critically, `execute_returning_id` is only available on `InsertStatement` for MySQL-like connections, whereas generic connections use `execute_returning_count`. This creates a fragmented API for 'execute and get result' operations.
- D22 · Repetitive pattern across multiple statement types (`Insert`, `Update`, `Delete`) for boxing queries. While this is a common Rust pattern for trait object safety, the existence of both `into_boxed` and `into_boxed_clone` on every statement type suggests a potential duplication of intent if the clone variant is not strictly necessary for all use cases, or if the API could be unified via a single `into_boxed` that handles cloning internally if needed. However, the more glaring issue is the duplication of `internal_into_boxed` and `internal_into_boxed_clone` in the DSL traits (`BoxedDsl` and `BoxedCloneDsl`) which wrap these methods.
- D31 · REDACTED
- P12 · Coverage collected but not gated
Rebuild cost & value ~ Modeled — €68,000–€340,000
| Cost to rebuild | €68,000–€340,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 1.0× (at 68% quality) |
| Size & shape | Large · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
This codebase represents roughly ~1.4 person-years of build effort (about ~€200,000 to rebuild). Its weakest lens is Readiness at 59% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency graph
Architecture — module dependency matrix
| depends on → | 1 diesel.backend | 2 diesel.connection | 3 diesel.query_builder.query_id | 4 diesel.serialize | 5 diesel.sql_types | 6 diesel.expression | 7 diesel.query_builder.ast_pass | 8 diesel.query_builder | 9 diesel.expression.functions.aggregate_expressions.aggregate_filter | 10 diesel.expression.functions.aggregate_expressions.frame_clause | 11 diesel.query_builder.from_clause | 12 diesel.expression.functions.aggregate_expressions | 13 diesel.pg.types.sql_types | 14 diesel.query_dsl | 15 diesel.query_source | 16 diesel.query_builder.update_statement | 17 diesel.query_source.joins | 18 diesel.r2d2 | 19 diesel.row | 20 diesel.connection.statement_cache | 21 diesel.deserialize | 22 diesel.mysql_like.connection.raw | 23 diesel_cli.infer_schema_internals.table_data | 24 diesel.sqlite.connection | 25 diesel_cli.infer_schema_internals.data_structures | 26 diesel.query_builder.insert_statement | 27 diesel.insertable | 28 diesel.query_builder.combination_clause | 29 diesel.query_builder.select_statement | 30 diesel.query_builder.select_statement.boxed | 31 diesel.query_builder.select_statement.boxed_clone | 32 diesel.sqlite.backend | 33 diesel.query_source.aliasing.alias | 34 diesel_derives.model | 35 diesel.collation | 36 diesel.expression.nullable | 37 diesel.pg.backend | 38 diesel.pg.query_builder.copy.copy_to | 39 diesel.pg.connection.private | 40 diesel.pg.connection |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 diesel.backend | ||||||||||||||||||||||||||||||||||||||||
| 2 diesel.connection | ||||||||||||||||||||||||||||||||||||||||
| 3 diesel.query_builder.query_id | ||||||||||||||||||||||||||||||||||||||||
| 4 diesel.serialize | ||||||||||||||||||||||||||||||||||||||||
| 5 diesel.sql_types | ||||||||||||||||||||||||||||||||||||||||
| 6 diesel.expression | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 7 diesel.query_builder.ast_pass | 1 | |||||||||||||||||||||||||||||||||||||||
| 8 diesel.query_builder | 1 | |||||||||||||||||||||||||||||||||||||||
| 9 diesel.expression.functions.aggregate_expressions.aggregate_filter | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 10 diesel.expression.functions.aggregate_expressions.frame_clause | 2 | 1 | 5 | 5 | ||||||||||||||||||||||||||||||||||||
| 11 diesel.query_builder.from_clause | 1 | 2 | 2 | 3 | ||||||||||||||||||||||||||||||||||||
| 12 diesel.expression.functions.aggregate_expressions | 1 | 4 | 2 | 1 | 2 | 1 | ||||||||||||||||||||||||||||||||||
| 13 diesel.pg.types.sql_types | 8 | 2 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 14 diesel.query_dsl | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 15 diesel.query_source | 2 | 2 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 16 diesel.query_builder.update_statement | 1 | 1 | 2 | 4 | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 17 diesel.query_source.joins | 1 | 4 | 4 | 3 | 2 | 1 | 4 | |||||||||||||||||||||||||||||||||
| 18 diesel.r2d2 | 1 | 1 | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 19 diesel.row | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 diesel.connection.statement_cache | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 21 diesel.deserialize | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 diesel.mysql_like.connection.raw | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 diesel_cli.infer_schema_internals.table_data | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 24 diesel.sqlite.connection | 5 | 4 | 6 | 8 | 6 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||
| 25 diesel_cli.infer_schema_internals.data_structures | 1 | 2 | 2 | |||||||||||||||||||||||||||||||||||||
| 26 diesel.query_builder.insert_statement | 1 | 1 | 4 | 5 | 1 | 1 | 2 | 1 | 1 | 3 | 1 | |||||||||||||||||||||||||||||
| 27 diesel.insertable | 1 | 3 | 3 | 3 | ||||||||||||||||||||||||||||||||||||
| 28 diesel.query_builder.combination_clause | 1 | 7 | 9 | 2 | 1 | |||||||||||||||||||||||||||||||||||
| 29 diesel.query_builder.select_statement | 1 | 1 | 1 | 3 | 1 | 1 | 2 | 3 | 3 | 1 | 3 | |||||||||||||||||||||||||||||
| 30 diesel.query_builder.select_statement.boxed | 1 | 1 | 1 | 2 | 3 | 1 | 2 | 2 | 1 | 1 | 3 | |||||||||||||||||||||||||||||
| 31 diesel.query_builder.select_statement.boxed_clone | 1 | 1 | 2 | 3 | 1 | 2 | 2 | 1 | 1 | 3 | ||||||||||||||||||||||||||||||
| 32 diesel.sqlite.backend | 2 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 33 diesel.query_source.aliasing.alias | 1 | 1 | 1 | 3 | 1 | 1 | 2 | 2 | 4 | 3 | 1 | |||||||||||||||||||||||||||||
| 34 diesel_derives.model | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 35 diesel.collation | 1 | 2 | 6 | 6 | 3 | 1 | ||||||||||||||||||||||||||||||||||
| 36 diesel.expression.nullable | 1 | 3 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 37 diesel.pg.backend | 2 | 2 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 38 diesel.pg.query_builder.copy.copy_to | 1 | 1 | 2 | 2 | 1 | 4 | 1 | |||||||||||||||||||||||||||||||||
| 39 diesel.pg.connection.private | 2 | 1 | 1 | 2 | ||||||||||||||||||||||||||||||||||||
| 40 diesel.pg.connection | 4 | 1 | 2 | 2 | 3 |
6→1 diesel.expression depends on diesel.backend✕
- Type pairs
- 1 distinct (type in diesel.expression → type in diesel.backend) reference.
- Which types
diesel.expression.QueryMetadata→diesel.backend.Backend
- Direction
- diesel.expression uses diesel.backend. Changing diesel.backend can break diesel.expression, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
6→5 diesel.expression depends on diesel.sql_types✕
- Type pairs
- 1 distinct (type in diesel.expression → type in diesel.sql_types) reference.
- Which types
diesel.expression.QueryMetadata→diesel.sql_types.TypeMetadata
- Direction
- diesel.expression uses diesel.sql_types. Changing diesel.sql_types can break diesel.expression, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
7→8 diesel.query_builder.ast_pass depends on diesel.query_builder cycle✕
- Type pairs
- 1 distinct (type in diesel.query_builder.ast_pass → type in diesel.query_builder) reference.
- Which types
diesel.query_builder.ast_pass.AstPass→diesel.query_builder.QueryBuilder
- Direction
- diesel.query_builder.ast_pass uses diesel.query_builder. Changing diesel.query_builder can break diesel.query_builder.ast_pass, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
8→7 diesel.query_builder depends on diesel.query_builder.ast_pass✕
- Type pairs
- 1 distinct (type in diesel.query_builder → type in diesel.query_builder.ast_pass) reference.
- Which types
diesel.query_builder.QueryFragment→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.query_builder uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.query_builder, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→4 diesel.expression.functions.aggregate_expressions.aggregate_filter depends on diesel.serialize✕
- Type pairs
- 1 distinct (type in diesel.expression.functions.aggregate_expressions.aggregate_filter → type in diesel.serialize) reference.
- Which types
diesel.expression.functions.aggregate_expressions.aggregate_filter.FilterDsl→diesel.serialize.Output
- Direction
- diesel.expression.functions.aggregate_expressions.aggregate_filter uses diesel.serialize. Changing diesel.serialize can break diesel.expression.functions.aggregate_expressions.aggregate_filter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→7 diesel.expression.functions.aggregate_expressions.aggregate_filter depends on diesel.query_builder.ast_pass✕
- Type pairs
- 1 distinct (type in diesel.expression.functions.aggregate_expressions.aggregate_filter → type in diesel.query_builder.ast_pass) reference.
- Which types
diesel.expression.functions.aggregate_expressions.aggregate_filter.Filter→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.expression.functions.aggregate_expressions.aggregate_filter uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.expression.functions.aggregate_expressions.aggregate_filter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→8 diesel.expression.functions.aggregate_expressions.aggregate_filter depends on diesel.query_builder✕
- Type pairs
- 1 distinct (type in diesel.expression.functions.aggregate_expressions.aggregate_filter → type in diesel.query_builder) reference.
- Which types
diesel.expression.functions.aggregate_expressions.aggregate_filter.Filter→diesel.query_builder.QueryFragment
- Direction
- diesel.expression.functions.aggregate_expressions.aggregate_filter uses diesel.query_builder. Changing diesel.query_builder can break diesel.expression.functions.aggregate_expressions.aggregate_filter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→3 diesel.expression.functions.aggregate_expressions.frame_clause depends on diesel.query_builder.query_id✕
- Type pairs
- 2 distinct (type in diesel.expression.functions.aggregate_expressions.frame_clause → type in diesel.query_builder.query_id) references.
- Which types
diesel.expression.functions.aggregate_expressions.frame_clause.OffsetFollowing→diesel.query_builder.query_id.QueryIddiesel.expression.functions.aggregate_expressions.frame_clause.OffsetPreceding→diesel.query_builder.query_id.QueryId
- Direction
- diesel.expression.functions.aggregate_expressions.frame_clause uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.expression.functions.aggregate_expressions.frame_clause, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→4 diesel.expression.functions.aggregate_expressions.frame_clause depends on diesel.serialize✕
- Type pairs
- 1 distinct (type in diesel.expression.functions.aggregate_expressions.frame_clause → type in diesel.serialize) reference.
- Which types
diesel.expression.functions.aggregate_expressions.frame_clause.FrameDsl→diesel.serialize.Output
- Direction
- diesel.expression.functions.aggregate_expressions.frame_clause uses diesel.serialize. Changing diesel.serialize can break diesel.expression.functions.aggregate_expressions.frame_clause, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→7 diesel.expression.functions.aggregate_expressions.frame_clause depends on diesel.query_builder.ast_pass✕
- Type pairs
- 5 distinct (type in diesel.expression.functions.aggregate_expressions.frame_clause → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.expression.functions.aggregate_expressions.frame_clause.BetweenFrame→diesel.query_builder.ast_pass.AstPassdiesel.expression.functions.aggregate_expressions.frame_clause.FrameClause→diesel.query_builder.ast_pass.AstPassdiesel.expression.functions.aggregate_expressions.frame_clause.OffsetFollowing→diesel.query_builder.ast_pass.AstPassdiesel.expression.functions.aggregate_expressions.frame_clause.OffsetPreceding→diesel.query_builder.ast_pass.AstPassdiesel.expression.functions.aggregate_expressions.frame_clause.StartFrame→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.expression.functions.aggregate_expressions.frame_clause uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.expression.functions.aggregate_expressions.frame_clause, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→8 diesel.expression.functions.aggregate_expressions.frame_clause depends on diesel.query_builder✕
- Type pairs
- 5 distinct (type in diesel.expression.functions.aggregate_expressions.frame_clause → type in diesel.query_builder) references.
- Which types
diesel.expression.functions.aggregate_expressions.frame_clause.BetweenFrame→diesel.query_builder.QueryFragmentdiesel.expression.functions.aggregate_expressions.frame_clause.FrameClause→diesel.query_builder.QueryFragmentdiesel.expression.functions.aggregate_expressions.frame_clause.OffsetFollowing→diesel.query_builder.QueryFragmentdiesel.expression.functions.aggregate_expressions.frame_clause.OffsetPreceding→diesel.query_builder.QueryFragmentdiesel.expression.functions.aggregate_expressions.frame_clause.StartFrame→diesel.query_builder.QueryFragment
- Direction
- diesel.expression.functions.aggregate_expressions.frame_clause uses diesel.query_builder. Changing diesel.query_builder can break diesel.expression.functions.aggregate_expressions.frame_clause, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→3 diesel.query_builder.from_clause depends on diesel.query_builder.query_id✕
- Type pairs
- 1 distinct (type in diesel.query_builder.from_clause → type in diesel.query_builder.query_id) reference.
- Which types
diesel.query_builder.from_clause.FromClause→diesel.query_builder.query_id.QueryId
- Direction
- diesel.query_builder.from_clause uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.query_builder.from_clause, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→7 diesel.query_builder.from_clause depends on diesel.query_builder.ast_pass✕
- Type pairs
- 2 distinct (type in diesel.query_builder.from_clause → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.query_builder.from_clause.FromClause→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.from_clause.NoFromClause→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.query_builder.from_clause uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.query_builder.from_clause, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→8 diesel.query_builder.from_clause depends on diesel.query_builder✕
- Type pairs
- 2 distinct (type in diesel.query_builder.from_clause → type in diesel.query_builder) references.
- Which types
diesel.query_builder.from_clause.FromClause→diesel.query_builder.QueryFragmentdiesel.query_builder.from_clause.NoFromClause→diesel.query_builder.QueryFragment
- Direction
- diesel.query_builder.from_clause uses diesel.query_builder. Changing diesel.query_builder can break diesel.query_builder.from_clause, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→15 diesel.query_builder.from_clause depends on diesel.query_source cycle✕
- Type pairs
- 3 distinct (type in diesel.query_builder.from_clause → type in diesel.query_source) references.
- Which types
diesel.query_builder.from_clause.AsQuerySource→diesel.query_source.QuerySourcediesel.query_builder.from_clause.FromClause→diesel.query_source.AppearsInFromClausediesel.query_builder.from_clause.FromClause→diesel.query_source.QuerySource
- Direction
- diesel.query_builder.from_clause uses diesel.query_source. Changing diesel.query_source can break diesel.query_builder.from_clause, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
12→4 diesel.expression.functions.aggregate_expressions depends on diesel.serialize✕
- Type pairs
- 1 distinct (type in diesel.expression.functions.aggregate_expressions → type in diesel.serialize) reference.
- Which types
diesel.expression.functions.aggregate_expressions.AggregateExpression→diesel.serialize.Output
- Direction
- diesel.expression.functions.aggregate_expressions uses diesel.serialize. Changing diesel.serialize can break diesel.expression.functions.aggregate_expressions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→6 diesel.expression.functions.aggregate_expressions depends on diesel.expression✕
- Type pairs
- 4 distinct (type in diesel.expression.functions.aggregate_expressions → type in diesel.expression) references.
- Which types
diesel.expression.functions.aggregate_expressions.AggregateExpression→diesel.expression.AppearsOnTablediesel.expression.functions.aggregate_expressions.AggregateExpression→diesel.expression.Expressiondiesel.expression.functions.aggregate_expressions.AggregateExpression→diesel.expression.SelectableExpressiondiesel.expression.functions.aggregate_expressions.AggregateExpression→diesel.expression.ValidGrouping
- Direction
- diesel.expression.functions.aggregate_expressions uses diesel.expression. Changing diesel.expression can break diesel.expression.functions.aggregate_expressions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→7 diesel.expression.functions.aggregate_expressions depends on diesel.query_builder.ast_pass✕
- Type pairs
- 2 distinct (type in diesel.expression.functions.aggregate_expressions → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.expression.functions.aggregate_expressions.AggregateExpression→diesel.query_builder.ast_pass.AstPassdiesel.expression.functions.aggregate_expressions.FunctionFragment→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.expression.functions.aggregate_expressions uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.expression.functions.aggregate_expressions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→8 diesel.expression.functions.aggregate_expressions depends on diesel.query_builder✕
- Type pairs
- 1 distinct (type in diesel.expression.functions.aggregate_expressions → type in diesel.query_builder) reference.
- Which types
diesel.expression.functions.aggregate_expressions.AggregateExpression→diesel.query_builder.QueryFragment
- Direction
- diesel.expression.functions.aggregate_expressions uses diesel.query_builder. Changing diesel.query_builder can break diesel.expression.functions.aggregate_expressions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→9 diesel.expression.functions.aggregate_expressions depends on diesel.expression.functions.aggregate_expressions.aggregate_filter✕
- Type pairs
- 2 distinct (type in diesel.expression.functions.aggregate_expressions → type in diesel.expression.functions.aggregate_expressions.aggregate_filter) references.
- Which types
diesel.expression.functions.aggregate_expressions.AggregateExpression→diesel.expression.functions.aggregate_expressions.aggregate_filter.Filterdiesel.expression.functions.aggregate_expressions.AggregateExpression→diesel.expression.functions.aggregate_expressions.aggregate_filter.FilterDsl
- Direction
- diesel.expression.functions.aggregate_expressions uses diesel.expression.functions.aggregate_expressions.aggregate_filter. Changing diesel.expression.functions.aggregate_expressions.aggregate_filter can break diesel.expression.functions.aggregate_expressions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→10 diesel.expression.functions.aggregate_expressions depends on diesel.expression.functions.aggregate_expressions.frame_clause✕
- Type pairs
- 1 distinct (type in diesel.expression.functions.aggregate_expressions → type in diesel.expression.functions.aggregate_expressions.frame_clause) reference.
- Which types
diesel.expression.functions.aggregate_expressions.AggregateExpression→diesel.expression.functions.aggregate_expressions.frame_clause.FrameDsl
- Direction
- diesel.expression.functions.aggregate_expressions uses diesel.expression.functions.aggregate_expressions.frame_clause. Changing diesel.expression.functions.aggregate_expressions.frame_clause can break diesel.expression.functions.aggregate_expressions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→4 diesel.pg.types.sql_types depends on diesel.serialize✕
- Type pairs
- 8 distinct (type in diesel.pg.types.sql_types → type in diesel.serialize) references.
- Which types
diesel.pg.types.sql_types.NullValueTreatment→diesel.serialize.Outputdiesel.pg.types.sql_types.NullValueTreatment→diesel.serialize.ToSqldiesel.pg.types.sql_types.Range→diesel.serialize.Outputdiesel.pg.types.sql_types.Range→diesel.serialize.ToSqldiesel.pg.types.sql_types.RangeBound→diesel.serialize.Outputdiesel.pg.types.sql_types.RangeBound→diesel.serialize.ToSqldiesel.pg.types.sql_types.Uuid→diesel.serialize.Outputdiesel.pg.types.sql_types.Uuid→diesel.serialize.ToSql
- Direction
- diesel.pg.types.sql_types uses diesel.serialize. Changing diesel.serialize can break diesel.pg.types.sql_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→6 diesel.pg.types.sql_types depends on diesel.expression✕
- Type pairs
- 2 distinct (type in diesel.pg.types.sql_types → type in diesel.expression) references.
- Which types
diesel.pg.types.sql_types.Range→diesel.expression.AsExpressiondiesel.pg.types.sql_types.Range→diesel.expression.Expression
- Direction
- diesel.pg.types.sql_types uses diesel.expression. Changing diesel.expression can break diesel.pg.types.sql_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→10 diesel.pg.types.sql_types depends on diesel.expression.functions.aggregate_expressions.frame_clause✕
- Type pairs
- 2 distinct (type in diesel.pg.types.sql_types → type in diesel.expression.functions.aggregate_expressions.frame_clause) references.
- Which types
diesel.pg.types.sql_types.Range→diesel.expression.functions.aggregate_expressions.frame_clause.FrameClauseDslHelperdiesel.pg.types.sql_types.Range→diesel.expression.functions.aggregate_expressions.frame_clause.ValidFrameClause
- Direction
- diesel.pg.types.sql_types uses diesel.expression.functions.aggregate_expressions.frame_clause. Changing diesel.expression.functions.aggregate_expressions.frame_clause can break diesel.pg.types.sql_types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→21 diesel.pg.types.sql_types depends on diesel.deserialize cycle✕
- Type pairs
- 1 distinct (type in diesel.pg.types.sql_types → type in diesel.deserialize) reference.
- Which types
diesel.pg.types.sql_types.Uuid→diesel.deserialize.FromSql
- Direction
- diesel.pg.types.sql_types uses diesel.deserialize. Changing diesel.deserialize can break diesel.pg.types.sql_types, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
14→5 diesel.query_dsl depends on diesel.sql_types✕
- Type pairs
- 1 distinct (type in diesel.query_dsl → type in diesel.sql_types) reference.
- Which types
diesel.query_dsl.QueryDsl→diesel.sql_types.SingleValue
- Direction
- diesel.query_dsl uses diesel.sql_types. Changing diesel.sql_types can break diesel.query_dsl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→9 diesel.query_dsl depends on diesel.expression.functions.aggregate_expressions.aggregate_filter✕
- Type pairs
- 1 distinct (type in diesel.query_dsl → type in diesel.expression.functions.aggregate_expressions.aggregate_filter) reference.
- Which types
diesel.query_dsl.QueryDsl→diesel.expression.functions.aggregate_expressions.aggregate_filter.Filter
- Direction
- diesel.query_dsl uses diesel.expression.functions.aggregate_expressions.aggregate_filter. Changing diesel.expression.functions.aggregate_expressions.aggregate_filter can break diesel.query_dsl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→6 diesel.query_source depends on diesel.expression✕
- Type pairs
- 2 distinct (type in diesel.query_source → type in diesel.expression) references.
- Which types
diesel.query_source.Column→diesel.expression.Expressiondiesel.query_source.QueryRelationField→diesel.expression.Expression
- Direction
- diesel.query_source uses diesel.expression. Changing diesel.expression can break diesel.query_source, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→8 diesel.query_source depends on diesel.query_builder✕
- Type pairs
- 2 distinct (type in diesel.query_source → type in diesel.query_builder) references.
- Which types
diesel.query_source.QueryRelation→diesel.query_builder.AsQuerydiesel.query_source.Table→diesel.query_builder.AsQuery
- Direction
- diesel.query_source uses diesel.query_builder. Changing diesel.query_builder can break diesel.query_source, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→10 diesel.query_source depends on diesel.expression.functions.aggregate_expressions.frame_clause✕
- Type pairs
- 2 distinct (type in diesel.query_source → type in diesel.expression.functions.aggregate_expressions.frame_clause) references.
- Which types
diesel.query_source.AutoIncrementTable→diesel.expression.functions.aggregate_expressions.frame_clause.Sealeddiesel.query_source.View→diesel.expression.functions.aggregate_expressions.frame_clause.Sealed
- Direction
- diesel.query_source uses diesel.expression.functions.aggregate_expressions.frame_clause. Changing diesel.expression.functions.aggregate_expressions.frame_clause can break diesel.query_source, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→11 diesel.query_source depends on diesel.query_builder.from_clause✕
- Type pairs
- 1 distinct (type in diesel.query_source → type in diesel.query_builder.from_clause) reference.
- Which types
diesel.query_source.QuerySource→diesel.query_builder.from_clause.FromClause
- Direction
- diesel.query_source uses diesel.query_builder.from_clause. Changing diesel.query_builder.from_clause can break diesel.query_source, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→3 diesel.query_builder.update_statement depends on diesel.query_builder.query_id✕
- Type pairs
- 1 distinct (type in diesel.query_builder.update_statement → type in diesel.query_builder.query_id) reference.
- Which types
diesel.query_builder.update_statement.UpdateStatement→diesel.query_builder.query_id.QueryId
- Direction
- diesel.query_builder.update_statement uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.query_builder.update_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→4 diesel.query_builder.update_statement depends on diesel.serialize✕
- Type pairs
- 1 distinct (type in diesel.query_builder.update_statement → type in diesel.serialize) reference.
- Which types
diesel.query_builder.update_statement.UpdateStatement→diesel.serialize.Output
- Direction
- diesel.query_builder.update_statement uses diesel.serialize. Changing diesel.serialize can break diesel.query_builder.update_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→7 diesel.query_builder.update_statement depends on diesel.query_builder.ast_pass✕
- Type pairs
- 2 distinct (type in diesel.query_builder.update_statement → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.query_builder.update_statement.SetClause→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.update_statement.UpdateStatement→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.query_builder.update_statement uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.query_builder.update_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→8 diesel.query_builder.update_statement depends on diesel.query_builder✕
- Type pairs
- 4 distinct (type in diesel.query_builder.update_statement → type in diesel.query_builder) references.
- Which types
diesel.query_builder.update_statement.SetClause→diesel.query_builder.QueryFragmentdiesel.query_builder.update_statement.UpdateStatement→diesel.query_builder.AsQuerydiesel.query_builder.update_statement.UpdateStatement→diesel.query_builder.Querydiesel.query_builder.update_statement.UpdateStatement→diesel.query_builder.QueryFragment
- Direction
- diesel.query_builder.update_statement uses diesel.query_builder. Changing diesel.query_builder can break diesel.query_builder.update_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→9 diesel.query_builder.update_statement depends on diesel.expression.functions.aggregate_expressions.aggregate_filter✕
- Type pairs
- 2 distinct (type in diesel.query_builder.update_statement → type in diesel.expression.functions.aggregate_expressions.aggregate_filter) references.
- Which types
diesel.query_builder.update_statement.UpdateStatement→diesel.expression.functions.aggregate_expressions.aggregate_filter.Filterdiesel.query_builder.update_statement.UpdateStatement→diesel.expression.functions.aggregate_expressions.aggregate_filter.FilterDsl
- Direction
- diesel.query_builder.update_statement uses diesel.expression.functions.aggregate_expressions.aggregate_filter. Changing diesel.expression.functions.aggregate_expressions.aggregate_filter can break diesel.query_builder.update_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→11 diesel.query_builder.update_statement depends on diesel.query_builder.from_clause✕
- Type pairs
- 1 distinct (type in diesel.query_builder.update_statement → type in diesel.query_builder.from_clause) reference.
- Which types
diesel.query_builder.update_statement.UpdateStatement→diesel.query_builder.from_clause.FromClause
- Direction
- diesel.query_builder.update_statement uses diesel.query_builder.from_clause. Changing diesel.query_builder.from_clause can break diesel.query_builder.update_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→14 diesel.query_builder.update_statement depends on diesel.query_dsl✕
- Type pairs
- 1 distinct (type in diesel.query_builder.update_statement → type in diesel.query_dsl) reference.
- Which types
diesel.query_builder.update_statement.UpdateStatement→diesel.query_dsl.RunQueryDslSupport
- Direction
- diesel.query_builder.update_statement uses diesel.query_dsl. Changing diesel.query_dsl can break diesel.query_builder.update_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→3 diesel.query_source.joins depends on diesel.query_builder.query_id✕
- Type pairs
- 1 distinct (type in diesel.query_source.joins → type in diesel.query_builder.query_id) reference.
- Which types
diesel.query_source.joins.Join→diesel.query_builder.query_id.QueryId
- Direction
- diesel.query_source.joins uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.query_source.joins, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→4 diesel.query_source.joins depends on diesel.serialize✕
- Type pairs
- 4 distinct (type in diesel.query_source.joins → type in diesel.serialize) references.
- Which types
diesel.query_source.joins.AppendSelection→diesel.serialize.Outputdiesel.query_source.joins.Join→diesel.serialize.Outputdiesel.query_source.joins.JoinOn→diesel.serialize.Outputdiesel.query_source.joins.OnClauseWrapper→diesel.serialize.Output
- Direction
- diesel.query_source.joins uses diesel.serialize. Changing diesel.serialize can break diesel.query_source.joins, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→7 diesel.query_source.joins depends on diesel.query_builder.ast_pass✕
- Type pairs
- 4 distinct (type in diesel.query_source.joins → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.query_source.joins.Inner→diesel.query_builder.ast_pass.AstPassdiesel.query_source.joins.Join→diesel.query_builder.ast_pass.AstPassdiesel.query_source.joins.LeftOuter→diesel.query_builder.ast_pass.AstPassdiesel.query_source.joins.OnKeyword→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.query_source.joins uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.query_source.joins, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→8 diesel.query_source.joins depends on diesel.query_builder✕
- Type pairs
- 3 distinct (type in diesel.query_source.joins → type in diesel.query_builder) references.
- Which types
diesel.query_source.joins.Inner→diesel.query_builder.QueryFragmentdiesel.query_source.joins.Join→diesel.query_builder.QueryFragmentdiesel.query_source.joins.LeftOuter→diesel.query_builder.QueryFragment
- Direction
- diesel.query_source.joins uses diesel.query_builder. Changing diesel.query_builder can break diesel.query_source.joins, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→11 diesel.query_source.joins depends on diesel.query_builder.from_clause✕
- Type pairs
- 2 distinct (type in diesel.query_source.joins → type in diesel.query_builder.from_clause) references.
- Which types
diesel.query_source.joins.Join→diesel.query_builder.from_clause.FromClausediesel.query_source.joins.JoinOn→diesel.query_builder.from_clause.FromClause
- Direction
- diesel.query_source.joins uses diesel.query_builder.from_clause. Changing diesel.query_builder.from_clause can break diesel.query_source.joins, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→14 diesel.query_source.joins depends on diesel.query_dsl✕
- Type pairs
- 1 distinct (type in diesel.query_source.joins → type in diesel.query_dsl) reference.
- Which types
diesel.query_source.joins.OnClauseWrapper→diesel.query_dsl.QueryDsl
- Direction
- diesel.query_source.joins uses diesel.query_dsl. Changing diesel.query_dsl can break diesel.query_source.joins, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→15 diesel.query_source.joins depends on diesel.query_source✕
- Type pairs
- 4 distinct (type in diesel.query_source.joins → type in diesel.query_source) references.
- Which types
diesel.query_source.joins.Join→diesel.query_source.AppearsInFromClausediesel.query_source.joins.Join→diesel.query_source.QuerySourcediesel.query_source.joins.JoinOn→diesel.query_source.AppearsInFromClausediesel.query_source.joins.JoinOn→diesel.query_source.QuerySource
- Direction
- diesel.query_source.joins uses diesel.query_source. Changing diesel.query_source can break diesel.query_source.joins, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→2 diesel.r2d2 depends on diesel.connection✕
- Type pairs
- 1 distinct (type in diesel.r2d2 → type in diesel.connection) reference.
- Which types
diesel.r2d2.R2D2Connection→diesel.connection.Connection
- Direction
- diesel.r2d2 uses diesel.connection. Changing diesel.connection can break diesel.r2d2, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→7 diesel.r2d2 depends on diesel.query_builder.ast_pass✕
- Type pairs
- 1 distinct (type in diesel.r2d2 → type in diesel.query_builder.ast_pass) reference.
- Which types
diesel.r2d2.CheckConnectionQuery→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.r2d2 uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.r2d2, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→8 diesel.r2d2 depends on diesel.query_builder✕
- Type pairs
- 2 distinct (type in diesel.r2d2 → type in diesel.query_builder) references.
- Which types
diesel.r2d2.CheckConnectionQuery→diesel.query_builder.Querydiesel.r2d2.CheckConnectionQuery→diesel.query_builder.QueryFragment
- Direction
- diesel.r2d2 uses diesel.query_builder. Changing diesel.query_builder can break diesel.r2d2, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→14 diesel.r2d2 depends on diesel.query_dsl✕
- Type pairs
- 1 distinct (type in diesel.r2d2 → type in diesel.query_dsl) reference.
- Which types
diesel.r2d2.CheckConnectionQuery→diesel.query_dsl.RunQueryDslSupport
- Direction
- diesel.r2d2 uses diesel.query_dsl. Changing diesel.query_dsl can break diesel.r2d2, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→35 diesel.r2d2 depends on diesel.collation cycle✕
- Type pairs
- 1 distinct (type in diesel.r2d2 → type in diesel.collation) reference.
- Which types
diesel.r2d2.TestCustomizer→diesel.collation.C
- Direction
- diesel.r2d2 uses diesel.collation. Changing diesel.collation can break diesel.r2d2, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
19→13 diesel.row depends on diesel.pg.types.sql_types✕
- Type pairs
- 1 distinct (type in diesel.row → type in diesel.pg.types.sql_types) reference.
- Which types
diesel.row.Row→diesel.pg.types.sql_types.Range
- Direction
- diesel.row uses diesel.pg.types.sql_types. Changing diesel.pg.types.sql_types can break diesel.row, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→2 diesel.connection.statement_cache depends on diesel.connection✕
- Type pairs
- 1 distinct (type in diesel.connection.statement_cache → type in diesel.connection) reference.
- Which types
diesel.connection.statement_cache.StatementCache→diesel.connection.CacheSize
- Direction
- diesel.connection.statement_cache uses diesel.connection. Changing diesel.connection can break diesel.connection.statement_cache, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→18 diesel.connection.statement_cache depends on diesel.r2d2✕
- Type pairs
- 1 distinct (type in diesel.connection.statement_cache → type in diesel.r2d2) reference.
- Which types
diesel.connection.statement_cache.StatementCallbackReturnType→diesel.r2d2.Error
- Direction
- diesel.connection.statement_cache uses diesel.r2d2. Changing diesel.r2d2 can break diesel.connection.statement_cache, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→35 diesel.connection.statement_cache depends on diesel.collation cycle✕
- Type pairs
- 2 distinct (type in diesel.connection.statement_cache → type in diesel.collation) references.
- Which types
diesel.connection.statement_cache.StatementCache→diesel.collation.Cdiesel.connection.statement_cache.StatementCallbackReturnType→diesel.collation.C
- Direction
- diesel.connection.statement_cache uses diesel.collation. Changing diesel.collation can break diesel.connection.statement_cache, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
21→19 diesel.deserialize depends on diesel.row✕
- Type pairs
- 1 distinct (type in diesel.deserialize → type in diesel.row) reference.
- Which types
diesel.deserialize.Queryable→diesel.row.Row
- Direction
- diesel.deserialize uses diesel.row. Changing diesel.row can break diesel.deserialize, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→20 diesel.mysql_like.connection.raw depends on diesel.connection.statement_cache✕
- Type pairs
- 1 distinct (type in diesel.mysql_like.connection.raw → type in diesel.connection.statement_cache) reference.
- Which types
diesel.mysql_like.connection.raw.RawConnection→diesel.connection.statement_cache.PrepareForCache
- Direction
- diesel.mysql_like.connection.raw uses diesel.connection.statement_cache. Changing diesel.connection.statement_cache can break diesel.mysql_like.connection.raw, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→19 diesel_cli.infer_schema_internals.table_data depends on diesel.row✕
- Type pairs
- 1 distinct (type in diesel_cli.infer_schema_internals.table_data → type in diesel.row) reference.
- Which types
diesel_cli.infer_schema_internals.table_data.TableName→diesel.row.Row
- Direction
- diesel_cli.infer_schema_internals.table_data uses diesel.row. Changing diesel.row can break diesel_cli.infer_schema_internals.table_data, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→21 diesel_cli.infer_schema_internals.table_data depends on diesel.deserialize✕
- Type pairs
- 1 distinct (type in diesel_cli.infer_schema_internals.table_data → type in diesel.deserialize) reference.
- Which types
diesel_cli.infer_schema_internals.table_data.TableName→diesel.deserialize.Queryable
- Direction
- diesel_cli.infer_schema_internals.table_data uses diesel.deserialize. Changing diesel.deserialize can break diesel_cli.infer_schema_internals.table_data, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→25 diesel_cli.infer_schema_internals.table_data depends on diesel_cli.infer_schema_internals.data_structures cycle✕
- Type pairs
- 2 distinct (type in diesel_cli.infer_schema_internals.table_data → type in diesel_cli.infer_schema_internals.data_structures) references.
- Which types
diesel_cli.infer_schema_internals.table_data.TableData→diesel_cli.infer_schema_internals.data_structures.ColumnDefinitiondiesel_cli.infer_schema_internals.table_data.ViewData→diesel_cli.infer_schema_internals.data_structures.ColumnDefinition
- Direction
- diesel_cli.infer_schema_internals.table_data uses diesel_cli.infer_schema_internals.data_structures. Changing diesel_cli.infer_schema_internals.data_structures can break diesel_cli.infer_schema_internals.table_data, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
24→2 diesel.sqlite.connection depends on diesel.connection✕
- Type pairs
- 5 distinct (type in diesel.sqlite.connection → type in diesel.connection) references.
- Which types
diesel.sqlite.connection.SqliteConnection→diesel.connection.CacheSizediesel.sqlite.connection.SqliteConnection→diesel.connection.Connectiondiesel.sqlite.connection.SqliteConnection→diesel.connection.LoadConnectiondiesel.sqlite.connection.SqliteConnection→diesel.connection.SimpleConnectiondiesel.sqlite.connection.SqliteConnection→diesel.connection.WithMetadataLookup
- Direction
- diesel.sqlite.connection uses diesel.connection. Changing diesel.connection can break diesel.sqlite.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→3 diesel.sqlite.connection depends on diesel.query_builder.query_id✕
- Type pairs
- 4 distinct (type in diesel.sqlite.connection → type in diesel.query_builder.query_id) references.
- Which types
diesel.sqlite.connection.Pragma→diesel.query_builder.query_id.QueryIddiesel.sqlite.connection.SetPragmaInt→diesel.query_builder.query_id.QueryIddiesel.sqlite.connection.Vacuum→diesel.query_builder.query_id.QueryIddiesel.sqlite.connection.WalCheckpoint→diesel.query_builder.query_id.QueryId
- Direction
- diesel.sqlite.connection uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.sqlite.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→7 diesel.sqlite.connection depends on diesel.query_builder.ast_pass✕
- Type pairs
- 6 distinct (type in diesel.sqlite.connection → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.sqlite.connection.AttachDatabase→diesel.query_builder.ast_pass.AstPassdiesel.sqlite.connection.DetachDatabase→diesel.query_builder.ast_pass.AstPassdiesel.sqlite.connection.Pragma→diesel.query_builder.ast_pass.AstPassdiesel.sqlite.connection.SetPragmaInt→diesel.query_builder.ast_pass.AstPassdiesel.sqlite.connection.Vacuum→diesel.query_builder.ast_pass.AstPassdiesel.sqlite.connection.WalCheckpoint→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.sqlite.connection uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.sqlite.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→8 diesel.sqlite.connection depends on diesel.query_builder✕
- Type pairs
- 8 distinct (type in diesel.sqlite.connection → type in diesel.query_builder) references.
- Which types
diesel.sqlite.connection.AttachDatabase→diesel.query_builder.QueryFragmentdiesel.sqlite.connection.DetachDatabase→diesel.query_builder.QueryFragmentdiesel.sqlite.connection.Pragma→diesel.query_builder.Querydiesel.sqlite.connection.Pragma→diesel.query_builder.QueryFragmentdiesel.sqlite.connection.SetPragmaInt→diesel.query_builder.QueryFragmentdiesel.sqlite.connection.Vacuum→diesel.query_builder.QueryFragmentdiesel.sqlite.connection.WalCheckpoint→diesel.query_builder.Querydiesel.sqlite.connection.WalCheckpoint→diesel.query_builder.QueryFragment
- Direction
- diesel.sqlite.connection uses diesel.query_builder. Changing diesel.query_builder can break diesel.sqlite.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→14 diesel.sqlite.connection depends on diesel.query_dsl✕
- Type pairs
- 6 distinct (type in diesel.sqlite.connection → type in diesel.query_dsl) references.
- Which types
diesel.sqlite.connection.AttachDatabase→diesel.query_dsl.RunQueryDslSupportdiesel.sqlite.connection.DetachDatabase→diesel.query_dsl.RunQueryDslSupportdiesel.sqlite.connection.Pragma→diesel.query_dsl.RunQueryDslSupportdiesel.sqlite.connection.SetPragmaInt→diesel.query_dsl.RunQueryDslSupportdiesel.sqlite.connection.Vacuum→diesel.query_dsl.RunQueryDslSupportdiesel.sqlite.connection.WalCheckpoint→diesel.query_dsl.RunQueryDslSupport
- Direction
- diesel.sqlite.connection uses diesel.query_dsl. Changing diesel.query_dsl can break diesel.sqlite.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→18 diesel.sqlite.connection depends on diesel.r2d2✕
- Type pairs
- 1 distinct (type in diesel.sqlite.connection → type in diesel.r2d2) reference.
- Which types
diesel.sqlite.connection.SqliteConnection→diesel.r2d2.R2D2Connection
- Direction
- diesel.sqlite.connection uses diesel.r2d2. Changing diesel.r2d2 can break diesel.sqlite.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→20 diesel.sqlite.connection depends on diesel.connection.statement_cache✕
- Type pairs
- 1 distinct (type in diesel.sqlite.connection → type in diesel.connection.statement_cache) reference.
- Which types
diesel.sqlite.connection.SqliteConnection→diesel.connection.statement_cache.StatementCache
- Direction
- diesel.sqlite.connection uses diesel.connection.statement_cache. Changing diesel.connection.statement_cache can break diesel.sqlite.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→22 diesel.sqlite.connection depends on diesel.mysql_like.connection.raw✕
- Type pairs
- 1 distinct (type in diesel.sqlite.connection → type in diesel.mysql_like.connection.raw) reference.
- Which types
diesel.sqlite.connection.SqliteConnection→diesel.mysql_like.connection.raw.RawConnection
- Direction
- diesel.sqlite.connection uses diesel.mysql_like.connection.raw. Changing diesel.mysql_like.connection.raw can break diesel.sqlite.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→19 diesel_cli.infer_schema_internals.data_structures depends on diesel.row✕
- Type pairs
- 1 distinct (type in diesel_cli.infer_schema_internals.data_structures → type in diesel.row) reference.
- Which types
diesel_cli.infer_schema_internals.data_structures.ColumnInformation→diesel.row.Row
- Direction
- diesel_cli.infer_schema_internals.data_structures uses diesel.row. Changing diesel.row can break diesel_cli.infer_schema_internals.data_structures, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→21 diesel_cli.infer_schema_internals.data_structures depends on diesel.deserialize✕
- Type pairs
- 2 distinct (type in diesel_cli.infer_schema_internals.data_structures → type in diesel.deserialize) references.
- Which types
diesel_cli.infer_schema_internals.data_structures.ColumnInformation→diesel.deserialize.Queryablediesel_cli.infer_schema_internals.data_structures.ColumnInformation→diesel.deserialize.QueryableByName
- Direction
- diesel_cli.infer_schema_internals.data_structures uses diesel.deserialize. Changing diesel.deserialize can break diesel_cli.infer_schema_internals.data_structures, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→23 diesel_cli.infer_schema_internals.data_structures depends on diesel_cli.infer_schema_internals.table_data✕
- Type pairs
- 2 distinct (type in diesel_cli.infer_schema_internals.data_structures → type in diesel_cli.infer_schema_internals.table_data) references.
- Which types
diesel_cli.infer_schema_internals.data_structures.ForeignKeyConstraint→diesel_cli.infer_schema_internals.table_data.TableNamediesel_cli.infer_schema_internals.data_structures.QueryRelationData→diesel_cli.infer_schema_internals.table_data.TableName
- Direction
- diesel_cli.infer_schema_internals.data_structures uses diesel_cli.infer_schema_internals.table_data. Changing diesel_cli.infer_schema_internals.table_data can break diesel_cli.infer_schema_internals.data_structures, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→3 diesel.query_builder.insert_statement depends on diesel.query_builder.query_id✕
- Type pairs
- 1 distinct (type in diesel.query_builder.insert_statement → type in diesel.query_builder.query_id) reference.
- Which types
diesel.query_builder.insert_statement.InsertStatement→diesel.query_builder.query_id.QueryId
- Direction
- diesel.query_builder.insert_statement uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.query_builder.insert_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→4 diesel.query_builder.insert_statement depends on diesel.serialize✕
- Type pairs
- 1 distinct (type in diesel.query_builder.insert_statement → type in diesel.serialize) reference.
- Which types
diesel.query_builder.insert_statement.InsertStatement→diesel.serialize.Output
- Direction
- diesel.query_builder.insert_statement uses diesel.serialize. Changing diesel.serialize can break diesel.query_builder.insert_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→7 diesel.query_builder.insert_statement depends on diesel.query_builder.ast_pass✕
- Type pairs
- 4 distinct (type in diesel.query_builder.insert_statement → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.query_builder.insert_statement.DefaultValues→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.insert_statement.InsertStatement→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.insert_statement.ValuesClause→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.insert_statement.insert_statement$module→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.query_builder.insert_statement uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.query_builder.insert_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→8 diesel.query_builder.insert_statement depends on diesel.query_builder✕
- Type pairs
- 5 distinct (type in diesel.query_builder.insert_statement → type in diesel.query_builder) references.
- Which types
diesel.query_builder.insert_statement.DefaultValues→diesel.query_builder.QueryFragmentdiesel.query_builder.insert_statement.InsertStatement→diesel.query_builder.AsQuerydiesel.query_builder.insert_statement.InsertStatement→diesel.query_builder.Querydiesel.query_builder.insert_statement.InsertStatement→diesel.query_builder.QueryFragmentdiesel.query_builder.insert_statement.ValuesClause→diesel.query_builder.QueryFragment
- Direction
- diesel.query_builder.insert_statement uses diesel.query_builder. Changing diesel.query_builder can break diesel.query_builder.insert_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→9 diesel.query_builder.insert_statement depends on diesel.expression.functions.aggregate_expressions.aggregate_filter✕
- Type pairs
- 1 distinct (type in diesel.query_builder.insert_statement → type in diesel.expression.functions.aggregate_expressions.aggregate_filter) reference.
- Which types
diesel.query_builder.insert_statement.InsertStatement→diesel.expression.functions.aggregate_expressions.aggregate_filter.FilterDsl
- Direction
- diesel.query_builder.insert_statement uses diesel.expression.functions.aggregate_expressions.aggregate_filter. Changing diesel.expression.functions.aggregate_expressions.aggregate_filter can break diesel.query_builder.insert_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→10 diesel.query_builder.insert_statement depends on diesel.expression.functions.aggregate_expressions.frame_clause✕
- Type pairs
- 1 distinct (type in diesel.query_builder.insert_statement → type in diesel.expression.functions.aggregate_expressions.frame_clause) reference.
- Which types
diesel.query_builder.insert_statement.ValuesClause→diesel.expression.functions.aggregate_expressions.frame_clause.Sealed
- Direction
- diesel.query_builder.insert_statement uses diesel.expression.functions.aggregate_expressions.frame_clause. Changing diesel.expression.functions.aggregate_expressions.frame_clause can break diesel.query_builder.insert_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→11 diesel.query_builder.insert_statement depends on diesel.query_builder.from_clause✕
- Type pairs
- 2 distinct (type in diesel.query_builder.insert_statement → type in diesel.query_builder.from_clause) references.
- Which types
diesel.query_builder.insert_statement.InsertStatement→diesel.query_builder.from_clause.FromClausediesel.query_builder.insert_statement.insert_statement$module→diesel.query_builder.from_clause.FromClause
- Direction
- diesel.query_builder.insert_statement uses diesel.query_builder.from_clause. Changing diesel.query_builder.from_clause can break diesel.query_builder.insert_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→14 diesel.query_builder.insert_statement depends on diesel.query_dsl✕
- Type pairs
- 1 distinct (type in diesel.query_builder.insert_statement → type in diesel.query_dsl) reference.
- Which types
diesel.query_builder.insert_statement.InsertStatement→diesel.query_dsl.RunQueryDslSupport
- Direction
- diesel.query_builder.insert_statement uses diesel.query_dsl. Changing diesel.query_dsl can break diesel.query_builder.insert_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→24 diesel.query_builder.insert_statement depends on diesel.sqlite.connection✕
- Type pairs
- 1 distinct (type in diesel.query_builder.insert_statement → type in diesel.sqlite.connection) reference.
- Which types
diesel.query_builder.insert_statement.InsertStatement→diesel.sqlite.connection.SqliteConnection
- Direction
- diesel.query_builder.insert_statement uses diesel.sqlite.connection. Changing diesel.sqlite.connection can break diesel.query_builder.insert_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→27 diesel.query_builder.insert_statement depends on diesel.insertable cycle✕
- Type pairs
- 3 distinct (type in diesel.query_builder.insert_statement → type in diesel.insertable) references.
- Which types
diesel.query_builder.insert_statement.DefaultValues→diesel.insertable.CanInsertInSingleQuerydiesel.query_builder.insert_statement.DefaultValues→diesel.insertable.Insertablediesel.query_builder.insert_statement.ValuesClause→diesel.insertable.CanInsertInSingleQuery
- Direction
- diesel.query_builder.insert_statement uses diesel.insertable. Changing diesel.insertable can break diesel.query_builder.insert_statement, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
26→35 diesel.query_builder.insert_statement depends on diesel.collation cycle✕
- Type pairs
- 1 distinct (type in diesel.query_builder.insert_statement → type in diesel.collation) reference.
- Which types
diesel.query_builder.insert_statement.InsertStatement→diesel.collation.C
- Direction
- diesel.query_builder.insert_statement uses diesel.collation. Changing diesel.collation can break diesel.query_builder.insert_statement, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
27→3 diesel.insertable depends on diesel.query_builder.query_id✕
- Type pairs
- 1 distinct (type in diesel.insertable → type in diesel.query_builder.query_id) reference.
- Which types
diesel.insertable.DefaultableColumnInsertValue→diesel.query_builder.query_id.QueryId
- Direction
- diesel.insertable uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.insertable, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→7 diesel.insertable depends on diesel.query_builder.ast_pass✕
- Type pairs
- 3 distinct (type in diesel.insertable → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.insertable.ColumnInsertValue→diesel.query_builder.ast_pass.AstPassdiesel.insertable.DefaultableColumnInsertValue→diesel.query_builder.ast_pass.AstPassdiesel.insertable.InsertValues→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.insertable uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.insertable, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→8 diesel.insertable depends on diesel.query_builder✕
- Type pairs
- 3 distinct (type in diesel.insertable → type in diesel.query_builder) references.
- Which types
diesel.insertable.ColumnInsertValue→diesel.query_builder.QueryFragmentdiesel.insertable.DefaultableColumnInsertValue→diesel.query_builder.QueryFragmentdiesel.insertable.InsertValues→diesel.query_builder.QueryFragment
- Direction
- diesel.insertable uses diesel.query_builder. Changing diesel.query_builder can break diesel.insertable, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→26 diesel.insertable depends on diesel.query_builder.insert_statement✕
- Type pairs
- 3 distinct (type in diesel.insertable → type in diesel.query_builder.insert_statement) references.
- Which types
diesel.insertable.ColumnInsertValue→diesel.query_builder.insert_statement.UndecoratedInsertRecorddiesel.insertable.DefaultableColumnInsertValue→diesel.query_builder.insert_statement.UndecoratedInsertRecorddiesel.insertable.Insertable→diesel.query_builder.insert_statement.InsertStatement
- Direction
- diesel.insertable uses diesel.query_builder.insert_statement. Changing diesel.query_builder.insert_statement can break diesel.insertable, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→4 diesel.query_builder.combination_clause depends on diesel.serialize✕
- Type pairs
- 1 distinct (type in diesel.query_builder.combination_clause → type in diesel.serialize) reference.
- Which types
diesel.query_builder.combination_clause.CombinationClause→diesel.serialize.Output
- Direction
- diesel.query_builder.combination_clause uses diesel.serialize. Changing diesel.serialize can break diesel.query_builder.combination_clause, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→7 diesel.query_builder.combination_clause depends on diesel.query_builder.ast_pass✕
- Type pairs
- 7 distinct (type in diesel.query_builder.combination_clause → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.query_builder.combination_clause.All→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.combination_clause.CombinationClause→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.combination_clause.Distinct→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.combination_clause.Except→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.combination_clause.Intersect→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.combination_clause.ParenthesisWrapper→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.combination_clause.Union→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.query_builder.combination_clause uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.query_builder.combination_clause, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→8 diesel.query_builder.combination_clause depends on diesel.query_builder✕
- Type pairs
- 9 distinct (type in diesel.query_builder.combination_clause → type in diesel.query_builder) references.
- Which types
diesel.query_builder.combination_clause.All→diesel.query_builder.QueryFragmentdiesel.query_builder.combination_clause.CombinationClause→diesel.query_builder.Querydiesel.query_builder.combination_clause.CombinationClause→diesel.query_builder.QueryFragmentdiesel.query_builder.combination_clause.CombinationClause→diesel.query_builder.SelectQuerydiesel.query_builder.combination_clause.Distinct→diesel.query_builder.QueryFragmentdiesel.query_builder.combination_clause.Except→diesel.query_builder.QueryFragmentdiesel.query_builder.combination_clause.Intersect→diesel.query_builder.QueryFragmentdiesel.query_builder.combination_clause.ParenthesisWrapper→diesel.query_builder.QueryFragmentdiesel.query_builder.combination_clause.Union→diesel.query_builder.QueryFragment
- Direction
- diesel.query_builder.combination_clause uses diesel.query_builder. Changing diesel.query_builder can break diesel.query_builder.combination_clause, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→14 diesel.query_builder.combination_clause depends on diesel.query_dsl✕
- Type pairs
- 2 distinct (type in diesel.query_builder.combination_clause → type in diesel.query_dsl) references.
- Which types
diesel.query_builder.combination_clause.CombinationClause→diesel.query_dsl.QueryDsldiesel.query_builder.combination_clause.CombinationClause→diesel.query_dsl.RunQueryDslSupport
- Direction
- diesel.query_builder.combination_clause uses diesel.query_dsl. Changing diesel.query_dsl can break diesel.query_builder.combination_clause, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→27 diesel.query_builder.combination_clause depends on diesel.insertable✕
- Type pairs
- 1 distinct (type in diesel.query_builder.combination_clause → type in diesel.insertable) reference.
- Which types
diesel.query_builder.combination_clause.CombinationClause→diesel.insertable.Insertable
- Direction
- diesel.query_builder.combination_clause uses diesel.insertable. Changing diesel.insertable can break diesel.query_builder.combination_clause, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→4 diesel.query_builder.select_statement depends on diesel.serialize✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement → type in diesel.serialize) reference.
- Which types
diesel.query_builder.select_statement.SelectStatement→diesel.serialize.Output
- Direction
- diesel.query_builder.select_statement uses diesel.serialize. Changing diesel.serialize can break diesel.query_builder.select_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→6 diesel.query_builder.select_statement depends on diesel.expression✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement → type in diesel.expression) reference.
- Which types
diesel.query_builder.select_statement.SelectStatement→diesel.expression.Expression
- Direction
- diesel.query_builder.select_statement uses diesel.expression. Changing diesel.expression can break diesel.query_builder.select_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→7 diesel.query_builder.select_statement depends on diesel.query_builder.ast_pass✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement → type in diesel.query_builder.ast_pass) reference.
- Which types
diesel.query_builder.select_statement.SelectStatement→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.query_builder.select_statement uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.query_builder.select_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→8 diesel.query_builder.select_statement depends on diesel.query_builder✕
- Type pairs
- 3 distinct (type in diesel.query_builder.select_statement → type in diesel.query_builder) references.
- Which types
diesel.query_builder.select_statement.SelectStatement→diesel.query_builder.Querydiesel.query_builder.select_statement.SelectStatement→diesel.query_builder.QueryFragmentdiesel.query_builder.select_statement.SelectStatement→diesel.query_builder.SelectQuery
- Direction
- diesel.query_builder.select_statement uses diesel.query_builder. Changing diesel.query_builder can break diesel.query_builder.select_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→9 diesel.query_builder.select_statement depends on diesel.expression.functions.aggregate_expressions.aggregate_filter✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement → type in diesel.expression.functions.aggregate_expressions.aggregate_filter) reference.
- Which types
diesel.query_builder.select_statement.SelectStatement→diesel.expression.functions.aggregate_expressions.aggregate_filter.FilterDsl
- Direction
- diesel.query_builder.select_statement uses diesel.expression.functions.aggregate_expressions.aggregate_filter. Changing diesel.expression.functions.aggregate_expressions.aggregate_filter can break diesel.query_builder.select_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→11 diesel.query_builder.select_statement depends on diesel.query_builder.from_clause✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement → type in diesel.query_builder.from_clause) reference.
- Which types
diesel.query_builder.select_statement.SelectStatement→diesel.query_builder.from_clause.FromClause
- Direction
- diesel.query_builder.select_statement uses diesel.query_builder.from_clause. Changing diesel.query_builder.from_clause can break diesel.query_builder.select_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→14 diesel.query_builder.select_statement depends on diesel.query_dsl✕
- Type pairs
- 2 distinct (type in diesel.query_builder.select_statement → type in diesel.query_dsl) references.
- Which types
diesel.query_builder.select_statement.SelectStatement→diesel.query_dsl.QueryDsldiesel.query_builder.select_statement.SelectStatement→diesel.query_dsl.RunQueryDslSupport
- Direction
- diesel.query_builder.select_statement uses diesel.query_dsl. Changing diesel.query_dsl can break diesel.query_builder.select_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→15 diesel.query_builder.select_statement depends on diesel.query_source✕
- Type pairs
- 3 distinct (type in diesel.query_builder.select_statement → type in diesel.query_source) references.
- Which types
diesel.query_builder.select_statement.SelectStatement→diesel.query_source.AppearsInFromClausediesel.query_builder.select_statement.SelectStatement→diesel.query_source.QuerySourcediesel.query_builder.select_statement.SelectStatement→diesel.query_source.Table
- Direction
- diesel.query_builder.select_statement uses diesel.query_source. Changing diesel.query_source can break diesel.query_builder.select_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→17 diesel.query_builder.select_statement depends on diesel.query_source.joins✕
- Type pairs
- 3 distinct (type in diesel.query_builder.select_statement → type in diesel.query_source.joins) references.
- Which types
diesel.query_builder.select_statement.SelectStatement→diesel.query_source.joins.AppendSelectiondiesel.query_builder.select_statement.SelectStatement→diesel.query_source.joins.JoinTodiesel.query_builder.select_statement.SelectStatement→diesel.query_source.joins.ToInnerJoin
- Direction
- diesel.query_builder.select_statement uses diesel.query_source.joins. Changing diesel.query_source.joins can break diesel.query_builder.select_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→27 diesel.query_builder.select_statement depends on diesel.insertable✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement → type in diesel.insertable) reference.
- Which types
diesel.query_builder.select_statement.SelectStatement→diesel.insertable.Insertable
- Direction
- diesel.query_builder.select_statement uses diesel.insertable. Changing diesel.insertable can break diesel.query_builder.select_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→28 diesel.query_builder.select_statement depends on diesel.query_builder.combination_clause✕
- Type pairs
- 3 distinct (type in diesel.query_builder.select_statement → type in diesel.query_builder.combination_clause) references.
- Which types
diesel.query_builder.select_statement.SelectStatement→diesel.query_builder.combination_clause.Exceptdiesel.query_builder.select_statement.SelectStatement→diesel.query_builder.combination_clause.Intersectdiesel.query_builder.select_statement.SelectStatement→diesel.query_builder.combination_clause.Union
- Direction
- diesel.query_builder.select_statement uses diesel.query_builder.combination_clause. Changing diesel.query_builder.combination_clause can break diesel.query_builder.select_statement, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→3 diesel.query_builder.select_statement.boxed depends on diesel.query_builder.query_id✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement.boxed → type in diesel.query_builder.query_id) reference.
- Which types
diesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_builder.query_id.QueryId
- Direction
- diesel.query_builder.select_statement.boxed uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.query_builder.select_statement.boxed, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→4 diesel.query_builder.select_statement.boxed depends on diesel.serialize✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement.boxed → type in diesel.serialize) reference.
- Which types
diesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.serialize.Output
- Direction
- diesel.query_builder.select_statement.boxed uses diesel.serialize. Changing diesel.serialize can break diesel.query_builder.select_statement.boxed, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→6 diesel.query_builder.select_statement.boxed depends on diesel.expression✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement.boxed → type in diesel.expression) reference.
- Which types
diesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.expression.Expression
- Direction
- diesel.query_builder.select_statement.boxed uses diesel.expression. Changing diesel.expression can break diesel.query_builder.select_statement.boxed, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→7 diesel.query_builder.select_statement.boxed depends on diesel.query_builder.ast_pass✕
- Type pairs
- 2 distinct (type in diesel.query_builder.select_statement.boxed → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.query_builder.select_statement.boxed.BoxedQueryHelper→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.query_builder.select_statement.boxed uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.query_builder.select_statement.boxed, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→8 diesel.query_builder.select_statement.boxed depends on diesel.query_builder✕
- Type pairs
- 3 distinct (type in diesel.query_builder.select_statement.boxed → type in diesel.query_builder) references.
- Which types
diesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_builder.Querydiesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_builder.QueryFragmentdiesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_builder.SelectQuery
- Direction
- diesel.query_builder.select_statement.boxed uses diesel.query_builder. Changing diesel.query_builder can break diesel.query_builder.select_statement.boxed, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→9 diesel.query_builder.select_statement.boxed depends on diesel.expression.functions.aggregate_expressions.aggregate_filter✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement.boxed → type in diesel.expression.functions.aggregate_expressions.aggregate_filter) reference.
- Which types
diesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.expression.functions.aggregate_expressions.aggregate_filter.FilterDsl
- Direction
- diesel.query_builder.select_statement.boxed uses diesel.expression.functions.aggregate_expressions.aggregate_filter. Changing diesel.expression.functions.aggregate_expressions.aggregate_filter can break diesel.query_builder.select_statement.boxed, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→11 diesel.query_builder.select_statement.boxed depends on diesel.query_builder.from_clause✕
- Type pairs
- 2 distinct (type in diesel.query_builder.select_statement.boxed → type in diesel.query_builder.from_clause) references.
- Which types
diesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_builder.from_clause.FromClausediesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_builder.from_clause.NoFromClause
- Direction
- diesel.query_builder.select_statement.boxed uses diesel.query_builder.from_clause. Changing diesel.query_builder.from_clause can break diesel.query_builder.select_statement.boxed, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→14 diesel.query_builder.select_statement.boxed depends on diesel.query_dsl✕
- Type pairs
- 2 distinct (type in diesel.query_builder.select_statement.boxed → type in diesel.query_dsl) references.
- Which types
diesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_dsl.QueryDsldiesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_dsl.RunQueryDslSupport
- Direction
- diesel.query_builder.select_statement.boxed uses diesel.query_dsl. Changing diesel.query_dsl can break diesel.query_builder.select_statement.boxed, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→17 diesel.query_builder.select_statement.boxed depends on diesel.query_source.joins✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement.boxed → type in diesel.query_source.joins) reference.
- Which types
diesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_source.joins.JoinTo
- Direction
- diesel.query_builder.select_statement.boxed uses diesel.query_source.joins. Changing diesel.query_source.joins can break diesel.query_builder.select_statement.boxed, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→27 diesel.query_builder.select_statement.boxed depends on diesel.insertable✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement.boxed → type in diesel.insertable) reference.
- Which types
diesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.insertable.Insertable
- Direction
- diesel.query_builder.select_statement.boxed uses diesel.insertable. Changing diesel.insertable can break diesel.query_builder.select_statement.boxed, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→28 diesel.query_builder.select_statement.boxed depends on diesel.query_builder.combination_clause✕
- Type pairs
- 3 distinct (type in diesel.query_builder.select_statement.boxed → type in diesel.query_builder.combination_clause) references.
- Which types
diesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_builder.combination_clause.Exceptdiesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_builder.combination_clause.Intersectdiesel.query_builder.select_statement.boxed.BoxedSelectStatement→diesel.query_builder.combination_clause.Union
- Direction
- diesel.query_builder.select_statement.boxed uses diesel.query_builder.combination_clause. Changing diesel.query_builder.combination_clause can break diesel.query_builder.select_statement.boxed, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→3 diesel.query_builder.select_statement.boxed_clone depends on diesel.query_builder.query_id✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement.boxed_clone → type in diesel.query_builder.query_id) reference.
- Which types
diesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_builder.query_id.QueryId
- Direction
- diesel.query_builder.select_statement.boxed_clone uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.query_builder.select_statement.boxed_clone, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→4 diesel.query_builder.select_statement.boxed_clone depends on diesel.serialize✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement.boxed_clone → type in diesel.serialize) reference.
- Which types
diesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.serialize.Output
- Direction
- diesel.query_builder.select_statement.boxed_clone uses diesel.serialize. Changing diesel.serialize can break diesel.query_builder.select_statement.boxed_clone, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→7 diesel.query_builder.select_statement.boxed_clone depends on diesel.query_builder.ast_pass✕
- Type pairs
- 2 distinct (type in diesel.query_builder.select_statement.boxed_clone → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.query_builder.select_statement.boxed_clone.BoxedCloneQueryHelper→diesel.query_builder.ast_pass.AstPassdiesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.query_builder.select_statement.boxed_clone uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.query_builder.select_statement.boxed_clone, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→8 diesel.query_builder.select_statement.boxed_clone depends on diesel.query_builder✕
- Type pairs
- 3 distinct (type in diesel.query_builder.select_statement.boxed_clone → type in diesel.query_builder) references.
- Which types
diesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_builder.Querydiesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_builder.QueryFragmentdiesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_builder.SelectQuery
- Direction
- diesel.query_builder.select_statement.boxed_clone uses diesel.query_builder. Changing diesel.query_builder can break diesel.query_builder.select_statement.boxed_clone, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→9 diesel.query_builder.select_statement.boxed_clone depends on diesel.expression.functions.aggregate_expressions.aggregate_filter✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement.boxed_clone → type in diesel.expression.functions.aggregate_expressions.aggregate_filter) reference.
- Which types
diesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.expression.functions.aggregate_expressions.aggregate_filter.FilterDsl
- Direction
- diesel.query_builder.select_statement.boxed_clone uses diesel.expression.functions.aggregate_expressions.aggregate_filter. Changing diesel.expression.functions.aggregate_expressions.aggregate_filter can break diesel.query_builder.select_statement.boxed_clone, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→11 diesel.query_builder.select_statement.boxed_clone depends on diesel.query_builder.from_clause✕
- Type pairs
- 2 distinct (type in diesel.query_builder.select_statement.boxed_clone → type in diesel.query_builder.from_clause) references.
- Which types
diesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_builder.from_clause.FromClausediesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_builder.from_clause.NoFromClause
- Direction
- diesel.query_builder.select_statement.boxed_clone uses diesel.query_builder.from_clause. Changing diesel.query_builder.from_clause can break diesel.query_builder.select_statement.boxed_clone, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→14 diesel.query_builder.select_statement.boxed_clone depends on diesel.query_dsl✕
- Type pairs
- 2 distinct (type in diesel.query_builder.select_statement.boxed_clone → type in diesel.query_dsl) references.
- Which types
diesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_dsl.QueryDsldiesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_dsl.RunQueryDslSupport
- Direction
- diesel.query_builder.select_statement.boxed_clone uses diesel.query_dsl. Changing diesel.query_dsl can break diesel.query_builder.select_statement.boxed_clone, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→17 diesel.query_builder.select_statement.boxed_clone depends on diesel.query_source.joins✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement.boxed_clone → type in diesel.query_source.joins) reference.
- Which types
diesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_source.joins.JoinTo
- Direction
- diesel.query_builder.select_statement.boxed_clone uses diesel.query_source.joins. Changing diesel.query_source.joins can break diesel.query_builder.select_statement.boxed_clone, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→27 diesel.query_builder.select_statement.boxed_clone depends on diesel.insertable✕
- Type pairs
- 1 distinct (type in diesel.query_builder.select_statement.boxed_clone → type in diesel.insertable) reference.
- Which types
diesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.insertable.Insertable
- Direction
- diesel.query_builder.select_statement.boxed_clone uses diesel.insertable. Changing diesel.insertable can break diesel.query_builder.select_statement.boxed_clone, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→28 diesel.query_builder.select_statement.boxed_clone depends on diesel.query_builder.combination_clause✕
- Type pairs
- 3 distinct (type in diesel.query_builder.select_statement.boxed_clone → type in diesel.query_builder.combination_clause) references.
- Which types
diesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_builder.combination_clause.Exceptdiesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_builder.combination_clause.Intersectdiesel.query_builder.select_statement.boxed_clone.BoxedCloneSelectStatement→diesel.query_builder.combination_clause.Union
- Direction
- diesel.query_builder.select_statement.boxed_clone uses diesel.query_builder.combination_clause. Changing diesel.query_builder.combination_clause can break diesel.query_builder.select_statement.boxed_clone, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→1 diesel.sqlite.backend depends on diesel.backend✕
- Type pairs
- 2 distinct (type in diesel.sqlite.backend → type in diesel.backend) references.
- Which types
diesel.sqlite.backend.Sqlite→diesel.backend.Backenddiesel.sqlite.backend.Sqlite→diesel.backend.SqlDialect
- Direction
- diesel.sqlite.backend uses diesel.backend. Changing diesel.backend can break diesel.sqlite.backend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→5 diesel.sqlite.backend depends on diesel.sql_types✕
- Type pairs
- 1 distinct (type in diesel.sqlite.backend → type in diesel.sql_types) reference.
- Which types
diesel.sqlite.backend.Sqlite→diesel.sql_types.TypeMetadata
- Direction
- diesel.sqlite.backend uses diesel.sql_types. Changing diesel.sql_types can break diesel.sqlite.backend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→6 diesel.sqlite.backend depends on diesel.expression✕
- Type pairs
- 1 distinct (type in diesel.sqlite.backend → type in diesel.expression) reference.
- Which types
diesel.sqlite.backend.Sqlite→diesel.expression.QueryMetadata
- Direction
- diesel.sqlite.backend uses diesel.expression. Changing diesel.expression can break diesel.sqlite.backend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→28 diesel.sqlite.backend depends on diesel.query_builder.combination_clause✕
- Type pairs
- 1 distinct (type in diesel.sqlite.backend → type in diesel.query_builder.combination_clause) reference.
- Which types
diesel.sqlite.backend.Sqlite→diesel.query_builder.combination_clause.SupportsCombinationClause
- Direction
- diesel.sqlite.backend uses diesel.query_builder.combination_clause. Changing diesel.query_builder.combination_clause can break diesel.sqlite.backend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→3 diesel.query_source.aliasing.alias depends on diesel.query_builder.query_id✕
- Type pairs
- 1 distinct (type in diesel.query_source.aliasing.alias → type in diesel.query_builder.query_id) reference.
- Which types
diesel.query_source.aliasing.alias.Alias→diesel.query_builder.query_id.QueryId
- Direction
- diesel.query_source.aliasing.alias uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.query_source.aliasing.alias, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→4 diesel.query_source.aliasing.alias depends on diesel.serialize✕
- Type pairs
- 1 distinct (type in diesel.query_source.aliasing.alias → type in diesel.serialize) reference.
- Which types
diesel.query_source.aliasing.alias.Alias→diesel.serialize.Output
- Direction
- diesel.query_source.aliasing.alias uses diesel.serialize. Changing diesel.serialize can break diesel.query_source.aliasing.alias, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→7 diesel.query_source.aliasing.alias depends on diesel.query_builder.ast_pass✕
- Type pairs
- 1 distinct (type in diesel.query_source.aliasing.alias → type in diesel.query_builder.ast_pass) reference.
- Which types
diesel.query_source.aliasing.alias.Alias→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.query_source.aliasing.alias uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.query_source.aliasing.alias, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→8 diesel.query_source.aliasing.alias depends on diesel.query_builder✕
- Type pairs
- 3 distinct (type in diesel.query_source.aliasing.alias → type in diesel.query_builder) references.
- Which types
diesel.query_source.aliasing.alias.Alias→diesel.query_builder.AsQuerydiesel.query_source.aliasing.alias.Alias→diesel.query_builder.Querydiesel.query_source.aliasing.alias.Alias→diesel.query_builder.QueryFragment
- Direction
- diesel.query_source.aliasing.alias uses diesel.query_builder. Changing diesel.query_builder can break diesel.query_source.aliasing.alias, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→9 diesel.query_source.aliasing.alias depends on diesel.expression.functions.aggregate_expressions.aggregate_filter✕
- Type pairs
- 1 distinct (type in diesel.query_source.aliasing.alias → type in diesel.expression.functions.aggregate_expressions.aggregate_filter) reference.
- Which types
diesel.query_source.aliasing.alias.Alias→diesel.expression.functions.aggregate_expressions.aggregate_filter.FilterDsl
- Direction
- diesel.query_source.aliasing.alias uses diesel.expression.functions.aggregate_expressions.aggregate_filter. Changing diesel.expression.functions.aggregate_expressions.aggregate_filter can break diesel.query_source.aliasing.alias, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→11 diesel.query_source.aliasing.alias depends on diesel.query_builder.from_clause✕
- Type pairs
- 1 distinct (type in diesel.query_source.aliasing.alias → type in diesel.query_builder.from_clause) reference.
- Which types
diesel.query_source.aliasing.alias.Alias→diesel.query_builder.from_clause.FromClause
- Direction
- diesel.query_source.aliasing.alias uses diesel.query_builder.from_clause. Changing diesel.query_builder.from_clause can break diesel.query_source.aliasing.alias, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→14 diesel.query_source.aliasing.alias depends on diesel.query_dsl✕
- Type pairs
- 2 distinct (type in diesel.query_source.aliasing.alias → type in diesel.query_dsl) references.
- Which types
diesel.query_source.aliasing.alias.Alias→diesel.query_dsl.QueryDsldiesel.query_source.aliasing.alias.Alias→diesel.query_dsl.RunQueryDslSupport
- Direction
- diesel.query_source.aliasing.alias uses diesel.query_dsl. Changing diesel.query_dsl can break diesel.query_source.aliasing.alias, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→15 diesel.query_source.aliasing.alias depends on diesel.query_source✕
- Type pairs
- 2 distinct (type in diesel.query_source.aliasing.alias → type in diesel.query_source) references.
- Which types
diesel.query_source.aliasing.alias.Alias→diesel.query_source.AppearsInFromClausediesel.query_source.aliasing.alias.Alias→diesel.query_source.QuerySource
- Direction
- diesel.query_source.aliasing.alias uses diesel.query_source. Changing diesel.query_source can break diesel.query_source.aliasing.alias, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→17 diesel.query_source.aliasing.alias depends on diesel.query_source.joins✕
- Type pairs
- 4 distinct (type in diesel.query_source.aliasing.alias → type in diesel.query_source.joins) references.
- Which types
diesel.query_source.aliasing.alias.Alias→diesel.query_source.joins.AppendSelectiondiesel.query_source.aliasing.alias.Alias→diesel.query_source.joins.JoinTodiesel.query_source.aliasing.alias.Alias→diesel.query_source.joins.OnClauseWrapperdiesel.query_source.aliasing.alias.Alias→diesel.query_source.joins.ToInnerJoin
- Direction
- diesel.query_source.aliasing.alias uses diesel.query_source.joins. Changing diesel.query_source.joins can break diesel.query_source.aliasing.alias, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→28 diesel.query_source.aliasing.alias depends on diesel.query_builder.combination_clause✕
- Type pairs
- 3 distinct (type in diesel.query_source.aliasing.alias → type in diesel.query_builder.combination_clause) references.
- Which types
diesel.query_source.aliasing.alias.Alias→diesel.query_builder.combination_clause.Exceptdiesel.query_source.aliasing.alias.Alias→diesel.query_builder.combination_clause.Intersectdiesel.query_source.aliasing.alias.Alias→diesel.query_builder.combination_clause.Union
- Direction
- diesel.query_source.aliasing.alias uses diesel.query_builder.combination_clause. Changing diesel.query_builder.combination_clause can break diesel.query_source.aliasing.alias, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→29 diesel.query_source.aliasing.alias depends on diesel.query_builder.select_statement✕
- Type pairs
- 1 distinct (type in diesel.query_source.aliasing.alias → type in diesel.query_builder.select_statement) reference.
- Which types
diesel.query_source.aliasing.alias.Alias→diesel.query_builder.select_statement.SelectStatement
- Direction
- diesel.query_source.aliasing.alias uses diesel.query_builder.select_statement. Changing diesel.query_builder.select_statement can break diesel.query_source.aliasing.alias, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→19 diesel_derives.model depends on diesel.row✕
- Type pairs
- 1 distinct (type in diesel_derives.model → type in diesel.row) reference.
- Which types
diesel_derives.model.Model→diesel.row.Field
- Direction
- diesel_derives.model uses diesel.row. Changing diesel.row can break diesel_derives.model, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→32 diesel_derives.model depends on diesel.sqlite.backend✕
- Type pairs
- 1 distinct (type in diesel_derives.model → type in diesel.sqlite.backend) reference.
- Which types
diesel_derives.model.Model→diesel.sqlite.backend.SqliteType
- Direction
- diesel_derives.model uses diesel.sqlite.backend. Changing diesel.sqlite.backend can break diesel_derives.model, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→2 diesel.collation depends on diesel.connection✕
- Type pairs
- 1 distinct (type in diesel.collation → type in diesel.connection) reference.
- Which types
diesel.collation.C→diesel.connection.BoxableConnection
- Direction
- diesel.collation uses diesel.connection. Changing diesel.connection can break diesel.collation, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→3 diesel.collation depends on diesel.query_builder.query_id✕
- Type pairs
- 2 distinct (type in diesel.collation → type in diesel.query_builder.query_id) references.
- Which types
diesel.collation.Collation→diesel.query_builder.query_id.QueryIddiesel.collation.Custom→diesel.query_builder.query_id.QueryId
- Direction
- diesel.collation uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.collation, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→7 diesel.collation depends on diesel.query_builder.ast_pass✕
- Type pairs
- 6 distinct (type in diesel.collation → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.collation.Binary→diesel.query_builder.ast_pass.AstPassdiesel.collation.C→diesel.query_builder.ast_pass.AstPassdiesel.collation.Custom→diesel.query_builder.ast_pass.AstPassdiesel.collation.NoCase→diesel.query_builder.ast_pass.AstPassdiesel.collation.Posix→diesel.query_builder.ast_pass.AstPassdiesel.collation.RTrim→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.collation uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.collation, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→8 diesel.collation depends on diesel.query_builder✕
- Type pairs
- 6 distinct (type in diesel.collation → type in diesel.query_builder) references.
- Which types
diesel.collation.Binary→diesel.query_builder.QueryFragmentdiesel.collation.C→diesel.query_builder.QueryFragmentdiesel.collation.Custom→diesel.query_builder.QueryFragmentdiesel.collation.NoCase→diesel.query_builder.QueryFragmentdiesel.collation.Posix→diesel.query_builder.QueryFragmentdiesel.collation.RTrim→diesel.query_builder.QueryFragment
- Direction
- diesel.collation uses diesel.query_builder. Changing diesel.query_builder can break diesel.collation, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→15 diesel.collation depends on diesel.query_source✕
- Type pairs
- 3 distinct (type in diesel.collation → type in diesel.query_source) references.
- Which types
diesel.collation.C→diesel.query_source.ColumnHasTablediesel.collation.C→diesel.query_source.QueryRelationFielddiesel.collation.C→diesel.query_source.Table
- Direction
- diesel.collation uses diesel.query_source. Changing diesel.query_source can break diesel.collation, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→33 diesel.collation depends on diesel.query_source.aliasing.alias✕
- Type pairs
- 1 distinct (type in diesel.collation → type in diesel.query_source.aliasing.alias) reference.
- Which types
diesel.collation.C→diesel.query_source.aliasing.alias.Alias
- Direction
- diesel.collation uses diesel.query_source.aliasing.alias. Changing diesel.query_source.aliasing.alias can break diesel.collation, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→3 diesel.expression.nullable depends on diesel.query_builder.query_id✕
- Type pairs
- 1 distinct (type in diesel.expression.nullable → type in diesel.query_builder.query_id) reference.
- Which types
diesel.expression.nullable.Nullable→diesel.query_builder.query_id.QueryId
- Direction
- diesel.expression.nullable uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.expression.nullable, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→6 diesel.expression.nullable depends on diesel.expression✕
- Type pairs
- 3 distinct (type in diesel.expression.nullable → type in diesel.expression) references.
- Which types
diesel.expression.nullable.Nullable→diesel.expression.AppearsOnTablediesel.expression.nullable.Nullable→diesel.expression.Expressiondiesel.expression.nullable.Nullable→diesel.expression.SelectableExpression
- Direction
- diesel.expression.nullable uses diesel.expression. Changing diesel.expression can break diesel.expression.nullable, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→7 diesel.expression.nullable depends on diesel.query_builder.ast_pass✕
- Type pairs
- 1 distinct (type in diesel.expression.nullable → type in diesel.query_builder.ast_pass) reference.
- Which types
diesel.expression.nullable.Nullable→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.expression.nullable uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.expression.nullable, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→8 diesel.expression.nullable depends on diesel.query_builder✕
- Type pairs
- 1 distinct (type in diesel.expression.nullable → type in diesel.query_builder) reference.
- Which types
diesel.expression.nullable.Nullable→diesel.query_builder.QueryFragment
- Direction
- diesel.expression.nullable uses diesel.query_builder. Changing diesel.query_builder can break diesel.expression.nullable, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→33 diesel.expression.nullable depends on diesel.query_source.aliasing.alias✕
- Type pairs
- 1 distinct (type in diesel.expression.nullable → type in diesel.query_source.aliasing.alias) reference.
- Which types
diesel.expression.nullable.Nullable→diesel.query_source.aliasing.alias.Alias
- Direction
- diesel.expression.nullable uses diesel.query_source.aliasing.alias. Changing diesel.query_source.aliasing.alias can break diesel.expression.nullable, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→1 diesel.pg.backend depends on diesel.backend✕
- Type pairs
- 2 distinct (type in diesel.pg.backend → type in diesel.backend) references.
- Which types
diesel.pg.backend.Pg→diesel.backend.Backenddiesel.pg.backend.Pg→diesel.backend.SqlDialect
- Direction
- diesel.pg.backend uses diesel.backend. Changing diesel.backend can break diesel.pg.backend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→5 diesel.pg.backend depends on diesel.sql_types✕
- Type pairs
- 2 distinct (type in diesel.pg.backend → type in diesel.sql_types) references.
- Which types
diesel.pg.backend.Pg→diesel.sql_types.HasSqlTypediesel.pg.backend.Pg→diesel.sql_types.TypeMetadata
- Direction
- diesel.pg.backend uses diesel.sql_types. Changing diesel.sql_types can break diesel.pg.backend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→6 diesel.pg.backend depends on diesel.expression✕
- Type pairs
- 1 distinct (type in diesel.pg.backend → type in diesel.expression) reference.
- Which types
diesel.pg.backend.Pg→diesel.expression.QueryMetadata
- Direction
- diesel.pg.backend uses diesel.expression. Changing diesel.expression can break diesel.pg.backend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→18 diesel.pg.backend depends on diesel.r2d2✕
- Type pairs
- 1 distinct (type in diesel.pg.backend → type in diesel.r2d2) reference.
- Which types
diesel.pg.backend.FailedToLookupTypeError→diesel.r2d2.Error
- Direction
- diesel.pg.backend uses diesel.r2d2. Changing diesel.r2d2 can break diesel.pg.backend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→28 diesel.pg.backend depends on diesel.query_builder.combination_clause✕
- Type pairs
- 1 distinct (type in diesel.pg.backend → type in diesel.query_builder.combination_clause) reference.
- Which types
diesel.pg.backend.Pg→diesel.query_builder.combination_clause.SupportsCombinationClause
- Direction
- diesel.pg.backend uses diesel.query_builder.combination_clause. Changing diesel.query_builder.combination_clause can break diesel.pg.backend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→35 diesel.pg.backend depends on diesel.collation✕
- Type pairs
- 1 distinct (type in diesel.pg.backend → type in diesel.collation) reference.
- Which types
diesel.pg.backend.Pg→diesel.collation.C
- Direction
- diesel.pg.backend uses diesel.collation. Changing diesel.collation can break diesel.pg.backend, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→2 diesel.pg.query_builder.copy.copy_to depends on diesel.connection✕
- Type pairs
- 1 distinct (type in diesel.pg.query_builder.copy.copy_to → type in diesel.connection) reference.
- Which types
diesel.pg.query_builder.copy.copy_to.ExecuteCopyToConnection→diesel.connection.Connection
- Direction
- diesel.pg.query_builder.copy.copy_to uses diesel.connection. Changing diesel.connection can break diesel.pg.query_builder.copy.copy_to, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→3 diesel.pg.query_builder.copy.copy_to depends on diesel.query_builder.query_id✕
- Type pairs
- 1 distinct (type in diesel.pg.query_builder.copy.copy_to → type in diesel.query_builder.query_id) reference.
- Which types
diesel.pg.query_builder.copy.copy_to.CopyToCommand→diesel.query_builder.query_id.QueryId
- Direction
- diesel.pg.query_builder.copy.copy_to uses diesel.query_builder.query_id. Changing diesel.query_builder.query_id can break diesel.pg.query_builder.copy.copy_to, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→7 diesel.pg.query_builder.copy.copy_to depends on diesel.query_builder.ast_pass✕
- Type pairs
- 2 distinct (type in diesel.pg.query_builder.copy.copy_to → type in diesel.query_builder.ast_pass) references.
- Which types
diesel.pg.query_builder.copy.copy_to.CopyToCommand→diesel.query_builder.ast_pass.AstPassdiesel.pg.query_builder.copy.copy_to.CopyToOptions→diesel.query_builder.ast_pass.AstPass
- Direction
- diesel.pg.query_builder.copy.copy_to uses diesel.query_builder.ast_pass. Changing diesel.query_builder.ast_pass can break diesel.pg.query_builder.copy.copy_to, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→8 diesel.pg.query_builder.copy.copy_to depends on diesel.query_builder✕
- Type pairs
- 2 distinct (type in diesel.pg.query_builder.copy.copy_to → type in diesel.query_builder) references.
- Which types
diesel.pg.query_builder.copy.copy_to.CopyToCommand→diesel.query_builder.QueryFragmentdiesel.pg.query_builder.copy.copy_to.CopyToOptions→diesel.query_builder.QueryFragment
- Direction
- diesel.pg.query_builder.copy.copy_to uses diesel.query_builder. Changing diesel.query_builder can break diesel.pg.query_builder.copy.copy_to, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→13 diesel.pg.query_builder.copy.copy_to depends on diesel.pg.types.sql_types✕
- Type pairs
- 1 distinct (type in diesel.pg.query_builder.copy.copy_to → type in diesel.pg.types.sql_types) reference.
- Which types
diesel.pg.query_builder.copy.copy_to.CopyRow→diesel.pg.types.sql_types.Range
- Direction
- diesel.pg.query_builder.copy.copy_to uses diesel.pg.types.sql_types. Changing diesel.pg.types.sql_types can break diesel.pg.query_builder.copy.copy_to, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→19 diesel.pg.query_builder.copy.copy_to depends on diesel.row✕
- Type pairs
- 4 distinct (type in diesel.pg.query_builder.copy.copy_to → type in diesel.row) references.
- Which types
diesel.pg.query_builder.copy.copy_to.CopyField→diesel.row.Fielddiesel.pg.query_builder.copy.copy_to.CopyRow→diesel.row.Fielddiesel.pg.query_builder.copy.copy_to.CopyRow→diesel.row.Rowdiesel.pg.query_builder.copy.copy_to.CopyRow→diesel.row.RowIndex
- Direction
- diesel.pg.query_builder.copy.copy_to uses diesel.row. Changing diesel.row can break diesel.pg.query_builder.copy.copy_to, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→35 diesel.pg.query_builder.copy.copy_to depends on diesel.collation✕
- Type pairs
- 1 distinct (type in diesel.pg.query_builder.copy.copy_to → type in diesel.collation) reference.
- Which types
diesel.pg.query_builder.copy.copy_to.CopyToQuery→diesel.collation.C
- Direction
- diesel.pg.query_builder.copy.copy_to uses diesel.collation. Changing diesel.collation can break diesel.pg.query_builder.copy.copy_to, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→20 diesel.pg.connection.private depends on diesel.connection.statement_cache✕
- Type pairs
- 2 distinct (type in diesel.pg.connection.private → type in diesel.connection.statement_cache) references.
- Which types
diesel.pg.connection.private.CopyFromWrapper→diesel.connection.statement_cache.QueryFragmentForCachedStatementdiesel.pg.connection.private.QueryFragmentHelper→diesel.connection.statement_cache.QueryFragmentForCachedStatement
- Direction
- diesel.pg.connection.private uses diesel.connection.statement_cache. Changing diesel.connection.statement_cache can break diesel.pg.connection.private, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→22 diesel.pg.connection.private depends on diesel.mysql_like.connection.raw✕
- Type pairs
- 1 distinct (type in diesel.pg.connection.private → type in diesel.mysql_like.connection.raw) reference.
- Which types
diesel.pg.connection.private.ConnectionAndTransactionManager→diesel.mysql_like.connection.raw.RawConnection
- Direction
- diesel.pg.connection.private uses diesel.mysql_like.connection.raw. Changing diesel.mysql_like.connection.raw can break diesel.pg.connection.private, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→37 diesel.pg.connection.private depends on diesel.pg.backend✕
- Type pairs
- 1 distinct (type in diesel.pg.connection.private → type in diesel.pg.backend) reference.
- Which types
diesel.pg.connection.private.CopyFromWrapper→diesel.pg.backend.Pg
- Direction
- diesel.pg.connection.private uses diesel.pg.backend. Changing diesel.pg.backend can break diesel.pg.connection.private, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→40 diesel.pg.connection.private depends on diesel.pg.connection cycle✕
- Type pairs
- 2 distinct (type in diesel.pg.connection.private → type in diesel.pg.connection) references.
- Which types
diesel.pg.connection.private.CopyFromWrapper→diesel.pg.connection.PgConnectiondiesel.pg.connection.private.QueryFragmentHelper→diesel.pg.connection.PgConnection
- Direction
- diesel.pg.connection.private uses diesel.pg.connection. Changing diesel.pg.connection can break diesel.pg.connection.private, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
40→2 diesel.pg.connection depends on diesel.connection✕
- Type pairs
- 4 distinct (type in diesel.pg.connection → type in diesel.connection) references.
- Which types
diesel.pg.connection.PgConnection→diesel.connection.CacheSizediesel.pg.connection.PgConnection→diesel.connection.Connectiondiesel.pg.connection.PgConnection→diesel.connection.LoadConnectiondiesel.pg.connection.PgConnection→diesel.connection.SimpleConnection
- Direction
- diesel.pg.connection uses diesel.connection. Changing diesel.connection can break diesel.pg.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→18 diesel.pg.connection depends on diesel.r2d2✕
- Type pairs
- 1 distinct (type in diesel.pg.connection → type in diesel.r2d2) reference.
- Which types
diesel.pg.connection.PgConnection→diesel.r2d2.R2D2Connection
- Direction
- diesel.pg.connection uses diesel.r2d2. Changing diesel.r2d2 can break diesel.pg.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→20 diesel.pg.connection depends on diesel.connection.statement_cache✕
- Type pairs
- 2 distinct (type in diesel.pg.connection → type in diesel.connection.statement_cache) references.
- Which types
diesel.pg.connection.PgConnection→diesel.connection.statement_cache.StatementCachediesel.pg.connection.connection$module→diesel.connection.statement_cache.MaybeCached
- Direction
- diesel.pg.connection uses diesel.connection.statement_cache. Changing diesel.connection.statement_cache can break diesel.pg.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→38 diesel.pg.connection depends on diesel.pg.query_builder.copy.copy_to✕
- Type pairs
- 2 distinct (type in diesel.pg.connection → type in diesel.pg.query_builder.copy.copy_to) references.
- Which types
diesel.pg.connection.PgConnection→diesel.pg.query_builder.copy.copy_to.CopyToCommanddiesel.pg.connection.PgConnection→diesel.pg.query_builder.copy.copy_to.ExecuteCopyToConnection
- Direction
- diesel.pg.connection uses diesel.pg.query_builder.copy.copy_to. Changing diesel.pg.query_builder.copy.copy_to can break diesel.pg.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→39 diesel.pg.connection depends on diesel.pg.connection.private✕
- Type pairs
- 3 distinct (type in diesel.pg.connection → type in diesel.pg.connection.private) references.
- Which types
diesel.pg.connection.PgConnection→diesel.pg.connection.private.ConnectionAndTransactionManagerdiesel.pg.connection.PgConnection→diesel.pg.connection.private.PgLoadingModediesel.pg.connection.connection$module→diesel.pg.connection.private.ConnectionAndTransactionManager
- Direction
- diesel.pg.connection uses diesel.pg.connection.private. Changing diesel.pg.connection.private can break diesel.pg.connection, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2021 — Injection | 6 | High / Critical |
| A05:2021 — Security Misconfiguration | 4 | High / Critical |
Roadmap
First, codify disaster recovery by defining RTO/RPO and restore procedures in infrastructure as code, ensuring backups are properly credited. Second, extend structured logging to all runnable modules to guarantee full production diagnosability. Third, establish architecture decision records in a standard directory to document key design choices and their consequences. Finally, improve deployment reliability by adding health checks to compose services and maintaining immutable image tags for safe rollbacks.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +7.6 pts | Low | ADR Quality |
| Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery. | +8.0 pts | Medium | DR & Backup |
| Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production. | +8.0 pts | Medium | Observability |
| Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form). | +7.9 pts | Medium | Architecture documentation |
| Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding. | +7.4 pts | Medium | Deployment & Rollback |
| Add a 'Testing' section to the root README — how to run the test suite. | +6.8 pts | Medium | Documentation (README) |
| Improve Documentation Quality — currently 7.9/10. | +1.8 pts | Medium | Documentation Quality |
| Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. | +0.7 pts | Low | Knowledge Freshness |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 1.6 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.8 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.1 | Mixed | IaC & Container Security: High IaC: REDACTED |
| diesel_cli/src/migrations/diff_schema.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| diesel_derives/src/sql_function.rs | 6.0 | Mixed | Explicit Debt: FixmeComment |
| diesel_derives/src/table.rs | 6.0 | Mixed | Explicit Debt: FixmeComment |
| diesel_tests/tests/view_testing.rs | 6.5 | Mixed | Explicit Debt: TodoComment |
| diesel/src/query_source/mod.rs | 6.6 | Mixed | Explicit Debt: TodoComment |
| diesel_cli/src/main.rs | 6.7 | Mixed | Explicit Debt: TodoComment |
| diesel/src/query_builder/select_statement/dsl_impls.rs | 6.7 | Mixed | Explicit Debt: FixmeComment |
| diesel_derives/src/multiconnection.rs | 7.0 | Mixed | Cognitive Complexity: MultiHelper::new (cognitive 16) |
| diesel/src/pg/types/ranges.rs | 7.0 | Mixed | Code Duplication: Duplicated block (6 lines × 2) |
| diesel_cli/src/config.rs | 7.0 | Mixed | Cyclomatic Complexity: Config::update_config (cyclomatic 38) |
| diesel_cli/src/print_schema.rs | 7.0 | Mixed | Cyclomatic Complexity: CustomTypesForTablesForDisplay::fmt (cyclomatic 16) |
| diesel_infer_query/src/expression.rs | 7.1 | Mixed | Cyclomatic Complexity: diesel_infer_query::expression::infer_expr (cyclomatic 27) |
| diesel_derives/src/as_changeset.rs | 7.1 | Mixed | Cognitive Complexity: diesel_derives::as_changeset::derive (cognitive 22) |
| diesel/src/query_builder/select_statement/boxed.rs | 7.1 | Mixed | Code Duplication: Duplicated block (12 lines × 2) |
| diesel/src/sqlite/types/json.rs | 7.2 | Mixed | Cyclomatic Complexity: diesel::sqlite::types::json::jsonb::read_jsonb_value (cyclomatic 23) |
| diesel/src/sqlite/connection/raw.rs | 7.2 | Mixed | God Classes: FileTooLong: connection/raw.rs |
| REDACTED | 7.2 | Mixed | Static Analysis (SAST): High: REDACTED |
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. 38 of 43 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 43 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, 227 of 251 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 · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D6 Cohesion (LCOM4) — 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.
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT READ here — but this repository measures it: a Codecov configuration (.github/codecov.yml) and a coverage step in CI (`cargo llvm-cov`) shows that coverage is collected and tracked in your own CI. The built-in collector has no runner for this ecosystem (.rs), so the analyzer could not read the number — a gap in the analyzer's language coverage, not an unmeasured repo. Not scored. To have the real number read, produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) 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 (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) 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 (.rs) and this repository declares a Cargo test suite (repository root, 198 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. Not scored — 86 direct Cargo declaration(s) were read, but the outdated signal needs crates.io, and no committed Cargo.lock resolves them to versions, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D14 License Compliance — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — this repository declares Cargo manifests but commits no Cargo.lock, so the set of crates it actually ships is not resolvable from the checkout: its declarations carry version RANGES, and grading whichever release happens to be newest today would be a verdict about a dependency graph this repository has not pinned. Commit the lock and this dimension grades the closure against crates.io. NOT a finding that this repository's licences are compliant: this dimension asserts nothing about its licensing in either direction.
- D30 Dependency Vulnerabilities — 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. Osv: the scanner produced no output at all, so no dependency was actually scanned. 'osv-scanner' exited 128 and produced no findings, and that exit code has no documented repo-side meaning — so this run measured nothing, and nothing here is a statement about the repository.
- D43 Malicious Dependencies — 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. Osv: the scanner produced no output at all, so no dependency was actually scanned. 'osv-scanner' exited 128 and produced no findings, and that exit code has no documented repo-side meaning — so this run measured nothing, and nothing here is a statement about the repository.
- AX1 Captive dependencies — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX2 Stateful singletons — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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.
- C3 Audit Trail — 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 audit 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 audit controls.
- C4 Data Retention — 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 retention 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 retention controls.
- C5 Data-Subject Rights — 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 data-subject rights 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 data-subject rights controls.
- DM3 Integration-event coupling — 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 — a domain type leaking across a crate boundary cannot be told apart from source alone from a legitimate shared-kernel crate. Reported as guidance rather than measured.
- DM7 Repository granularity — 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 — detecting 'a repository per CHILD entity' needs the aggregate-root structure, which is not resolvable from source alone here. Reported as guidance rather than measured.
- ED5 Idempotency — 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 finds retry-prone mutations by walking the repository's declared types, and NONE was loaded on this run, so it had nothing to look at. That is a limit of the analyzer's reach — it reads .NET projects — not a finding that this repository has no command handlers or message consumers.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P10 Library API & versioning — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads NuGet packaging and C# public API only, and no .NET project was loaded for this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- PF1 Benchmark discipline — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- PF2 Allocation 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 check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X10 Duplicated predicate — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X25 Inert configuration knob — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X26 Unsynchronised callback handoff — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X28 Index access outside its own emptiness guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X32 Type resolved by simple name across every loaded assembly — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X6 Hand-rolled structured-format parsing — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X7 Silent fallback defaults — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
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.
- 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.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- DM4 Rich vs anemic domain model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- 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".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
14 function(s) exceeded the cyclomatic complexity threshold of 15; the worst was TypeInferrer::try_infer_expression_type at 43. A further 4 function(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 AuthorizerContext::from_ffi at 34 — they are counted neither in the figure above nor in this dimension's score. 4 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold functions was excluded, so the exclusion is disclosed nowhere in the file itself: diesel/src/sqlite/connection/authorizer.rs (AuthorizerContext::from_ffi at 34), diesel/src/mysql_like/connection/bind.rs (MysqlType::from at 26), diesel_derives/src/model.rs (Model::from_item at 24), diesel_attribute_parser/src/lib.rs (StructAttr::parse at 20). 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
- Resolve the 2 diesel_cli finding(s) in Cyclomatic Complexity — start with diff_schema.rs, sqlite.rs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 TypeInferrer finding(s) in Cyclomatic Complexity — start with expression_type_inference.rs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Config finding(s) in Cyclomatic Complexity — start with config.rs. — One of this dimension's main actionable groups (1 warning-level).
- 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
32 function(s) exceeded the cognitive complexity threshold of 15; the worst was diesel::sqlite::types::json::jsonb::read_jsonb_value at 75.
What to do
- Resolve the 7 diesel_derives finding(s) in Cognitive Complexity — start with sql_function.rs (3), table.rs (2), as_changeset.rs. — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 6 diesel_cli finding(s) in Cognitive Complexity — start with diff_schema.rs (2), REDACTED, inference.rs. — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 2 Config finding(s) in Cognitive Complexity — start with config.rs (2). — One of this dimension's main actionable groups (2 warning-level).
- 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
41 god class(es) detected.
What to do
- Resolve the 16 FunctionTooLong finding(s) in God Classes — start with multiconnection.rs (5), sql_function.rs (4), REDACTED (2). — One of this dimension's main actionable groups (16 warning-level).
- Resolve the 12 FileTooLong finding(s) in God Classes — start with sql_function.rs, multiconnection.rs, print_schema.rs. — One of this dimension's main actionable groups (12 warning-level).
- Resolve the 8 MethodTooLong finding(s) in God Classes — start with diff_schema.rs (2), expression_type_inference.rs, config.rs. — One of this dimension's main actionable groups (8 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
56 duplicated block group(s) detected.
What to do
- Resolve the 6 Duplicated block (12 lines × 2) finding(s) in Code Duplication — start with boxed.rs, boxed_clone.rs, mariadb.rs. — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 5 Duplicated block (7 lines × 2) finding(s) in Code Duplication — start with enum_type_query_fragments.rs, print_schema.rs, boxed.rs. — 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 config.rs, insertable.rs, table.rs. — One of this dimension's main actionable groups (5 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
13 production modules (Cargo), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 5 module(s) off the main sequence, with abstractness counted on 10 of the 13 (the rest declare no modelled class or interface, export only macros, or are not Gradle/Maven modules or Cargo crates).
What to do
- Resolve the 5 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (5 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D9 · Test Distribution
1749 test methods: 748 unit, 1001 integration, 0 BDD, 0 e2e. The Rust suite contributes 1749 `#[test]` function(s) across 198 file(s) declaring at least one; its unit/integration split is Cargo's own — 96 of those file(s) are integration-test targets under a crate's tests/ directory, and the rest are #[test] functions compiled into the crate they test.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D15 · Churn × Complexity Hotspots
Top hotspots: diesel/src/sqlite/types/json.rs (13×23=299); diesel_cli/src/print_schema.rs (16×16=256); diesel_cli/src/migrations/diff_schema.rs (5×36=180) Repeated repair below the complexity floor: diesel_cli/src/infer_schema_internals/inference.rs (4 of 7 changes were fixes); diesel_cli/src/infer_schema_internals/mariadb.rs (4 of 7 changes were fixes); diesel/src/doctest_setup.rs (3 of 5 changes were fixes)
What to do
- Resolve the 7 Repeated repair finding(s) in Churn × Complexity Hotspots — start with REDACTED (2), inference.rs, mariadb.rs. — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 5 Hotspot finding(s) in Churn × Complexity Hotspots — start with json.rs, print_schema.rs, diff_schema.rs. — One of this dimension's main actionable groups (5 warning-level).
D16 · Bus Factor
30 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is diesel/src/mysql_like/connection/bind.rs. Counted over 281 of the 413 production source files in this repository: 131 are under the ~2,400-byte size floor this dimension measures over, and the remaining 1 have no attributable history left to measure.
What to do
- Resolve the 3 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (3 recommendation-level).
- Resolve the 1 Further sole-owners (lower concentration) finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
56 deducted task-comment markers across 114478 LoC (0.0/KLoC) → score 9.9. 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 30 FixmeComment finding(s) in Explicit Debt — start with REDACTED (3), table.rs (2), find_requires_correct_type.rs (2). — One of this dimension's main actionable groups (30 warning-level).
- Resolve the 26 TodoComment finding(s) in Explicit Debt — start with REDACTED (6), view_testing.rs (5), diff_schema.rs (3). — One of this dimension's main actionable groups (26 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.
D19 · Documentation Quality
The repository's root README is a comprehensive project overview (safe extensible ORM and Query Builder for Rust) with links to CI tests, Crates.io, docs.rs, and an extensive Getting Started guide. It also documents supported databases, Cargo.toml configuration, usage examples (users::table.load(&mut connection), Post::belonging_to(user).load(...)), a Usage section covering simple queries, complex queries, less boilerplate, derive(Queryable, Selectable), and the full outline plus license/contributing sections. The diesel/README.md, diesel_bench/README.md, diesel_cli/README.md, and diesel_dynamic_schema/README.md are READMEs for directories (diesel/, diesel_bench/, diesel_cli/, diesel_dynamic_schema/) rather than the repository root, so they do not fall under the root's overview/installation/usage/contributing scope. The quality is high with only minor unstructured elements among the READMEs. The repository's READMEs are all directory-specific guides for subdirectories (sqlite/getting_started_step_2, sqlite/wasm), each with a 'Getting Started' heading and usage examples showing how to run cargo commands. There is no single root README covering the project overview, installation, or contribution guidance; the only documentation is the getting-started docs plus an architecture/Docs markdown files count of 0.
What to do
- Improve Documentation Quality — currently 7.9/10. — The repository's root README is a comprehensive project overview (safe extensible ORM and Query Builder for Rust) with links to CI tests, Crates.io, docs.rs, and an extensive Getting Started guide. It also documents supported databases, Cargo.toml configuration, usage examples (users::table.load(&mut connection), Post::belonging_to(user).load(...)), a Usage section covering simple queries, complex queries, less boilerplate, derive(Queryable, Selectable), and the full outline plus license/contributing sections. The diesel/README.md, diesel_bench/README.md, diesel_cli/README.md, and diesel_dynamic_schema/README.md are READMEs for directories (diesel/, diesel_bench/, diesel_cli/, diesel_dynamic_schema/) rather than the repository root, so they do not fall under the root's overview/installation/usage/contributing scope. The quality is high with only minor unstructured elements among the READMEs. The repository's READMEs are all directory-specific guides for subdirectories (sqlite/getting_started_step_2, sqlite/wasm), each with a 'Getting Started' heading and usage examples showing how to run cargo commands. There is no single root README covering the project overview, installation, or contribution guidance; the only documentation is the getting-started docs plus an architecture/Docs markdown files count of 0.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D22 · Internal API Consistency
4 API inconsistencies across a 400-member sample of 523 exposed types.
What to do
- Resolve the 1 Redundant methods with identical return types and likely identical… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Two methods on the same trait (`IntoSql`) with identical signatures and… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Inconsistent naming for similar database operations across different… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D26 · Project Cohesion
1 of 13 build units (Cargo) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Split diesel 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)
6 finding(s): 0 critical, 6 high, 0 medium, 0 low. semgrep hit a parse error in 2 file(s) — `diesel/src/connection/mod.rs` (lines 441–445, lines 449–451, lines 610–611), `diesel/src/sqlite/connection/raw.rs` (line 53, line 468, line 512, …) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 3 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 3 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (3). — One of this dimension's main actionable groups (3 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).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D31 · IaC & Container Security
4 finding(s): 0 critical, 3 high, 1 medium, 0 low.
What to do
- Resolve the 3 High IaC finding(s) in IaC & Container Security — start with REDACTED (3). — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 1 Medium IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D34 · Knowledge Freshness
25 of 282 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is diesel/src/expression/case_when.rs. Counted over 282 of the 413 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
Strongest change-coupling: primitives.rs↔primitives.rs 58%; array.rs↔record.rs 53%; ranges.rs↔record.rs 53%
What to do
- Resolve the 3 Change coupling finding(s) in Change Coupling — start with primitives.rs, array.rs, ranges.rs. — One of this dimension's main actionable groups (3 warning-level).
D36 · Supply-chain Provenance & Signing
Build pipeline generates provenance, signs artifacts and produces an SBOM.
What to do
- Resolve the 2 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
D37 · Vulnerability-disclosure Policy
A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 2 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX8 · Test isolation
AX9 · CQS / query purity
DM4 · Rich vs anemic domain model
DM5 · Encapsulated state
DM6 · Domain ↔ infrastructure boundary
M1 · Documentation (README)
What to do
- Add a 'Testing' section to the root README — how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 26 of 38 project(s) that lack one — worth up to 1.4 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
What to do
- Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
- `cargo fmt --version` invokes cargo fmt in the mode that REWRITES the files it reformats and exits 0 whatever it changed. The rewrite happens inside the runner's throwaway checkout and is then discarded, so the step passes on a badly-formatted change exactly as it passes on a clean one — it enforces nothing, and no other step in this file reads the result. `--check` is the flag that turns the same invocation into a gate: it leaves the files alone and exits non-zero when anything would have been reformatted. — REDACTED:439
What to do
- Add `--check` to the cargo fmt step in `REDACTED` so a change that is not formatted fails CI, instead of being silently reformatted into a checkout that is thrown away — or, if reformatting the branch is the intent, commit the result back so the fix reaches the repository.
P2 · Observability
- Only 2/3 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `xtask`.
What to do
- Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
- Consider OpenTelemetry tracing/metrics (opentelemetry with tracing-opentelemetry) and a health-check endpoint (a /health route on your axum/actix router) for operability.
P3 · Security & performance tooling
What to do
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
P6 · Release Hygiene
P8 · Schema migrations
PF3 · Async & latency hygiene
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 89% | Strong | Solid. |
| Architecture | 94% | Exemplary | Solid. |
| Maturity | 59% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 59% | Adequate — gated by P5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 87% | Adequate — gated by D29 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 100% | Exemplary | Strongest area. |
| Performance | 100% | Exemplary | Solid. |
Unscored — 1 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
Not evidenced — 3 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit 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 audit 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.
- C4 Data Retention — Not assessed: these retention 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 retention 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.
- C5 Data-Subject Rights — Not assessed: these data-subject rights 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 data-subject rights 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.
Not included — 79 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 analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX2 Stateful singletons — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — postgres Pulling mysql Pulling mysql Error Get "https://registry-1.docker.io/v2/": Forbidden postgres Error context canceled mariadb Pulling mariadb Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: postgres Pulling mariadb Pulling mysql Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden mysql Error context canceled mariadb Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- 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.
- D10 Test Quality — ~47362 lines of test source are present (.rs) 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 .rs suite was found but not re-run
- D12 Dependency Hygiene — Not scored — 86 direct Cargo declaration(s) were read, but the outdated signal needs crates.io, and no committed Cargo.lock resolves them to versions, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D14 License Compliance — Crate licences not graded — this Cargo repository commits no Cargo.lock
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — symbol resolution incomplete — too few calls resolved to assess navigability
- D30 Dependency Vulnerabilities — Scanner failed to run — not a clean result
- D32 Data Compliance (PII/GDPR) — 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.
- 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 — Scanner failed to run — not a clean result
- D6 Cohesion (LCOM4) — D6 reads a CS/VB/GO/SCALA/SWIFT/DART/JAVA/PY/KT/TS/TSX/MTS/CTS/JS/JSX/MJS/CJS/PHP class graph only — this repository's production source is .rs, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- 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 Aggregate boundaries — this Rust crate declares no domain aggregate (a struct with private state and its own command methods), so DM1's aggregate-boundary read has no population to be taken over
- DM2 Strongly-typed ids — the crate defines newtype typed-ids but declares no domain aggregate that could carry an id — so DM2's adoption ratio has no population to be taken over
- DM3 Integration-event coupling — not scored — a domain type leaking across a crate boundary cannot be told apart from source alone from a legitimate shared-kernel crate. Reported as guidance rather than measured
- DM7 Repository granularity — not scored — detecting 'a repository per CHILD entity' needs the aggregate-root structure, which is not resolvable from source alone here. Reported as guidance rather than measured
- ED2 Event/command shape — not scored — deciding whether a command has more than one competing handler requires resolving the call graph, and a call made through an inferred or generic receiver has no resolvable owner in the source. Reported as guidance rather than measured
- ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C# syntax, and none was loaded for this repository. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P10 Library API & versioning — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the Rust source, so there is no service whose uptime a failing dependency could take down
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `cargo install cargo-llvm-cov`, then `cargo llvm-cov --lcov --output-path lcov.info`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- PF2 Allocation hygiene — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X10 Duplicated predicate — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X24 Document value interpolated into markup unescaped — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X25 Inert configuration knob — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X26 Unsynchronised callback handoff — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X27 Collection changed while being enumerated — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X28 Index access outside its own emptiness guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X29 Per-element action decided by a fixed element — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X30 Support guard that admits what it rejects — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X7 Silent fallback defaults — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- 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 — 9 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 231 finding(s)
- FixmeComment diesel/src/expression/subselect.rs:64
- FixmeComment diesel/src/mysql_like/connection/raw.rs:302
- FixmeComment diesel/src/pg/metadata_lookup.rs:1
- FixmeComment diesel/src/query_builder/query_id.rs:120
- FixmeComment diesel/src/query_builder/select_statement/dsl_impls.rs:731
- FixmeComment diesel/src/query_dsl/select_dsl.rs:12
- FixmeComment diesel/src/query_dsl/mod.rs:210
- FixmeComment diesel/src/query_source/aliasing/joins.rs:113
- FixmeComment diesel/src/query_source/aliasing/aliased_field.rs:93
- FixmeComment diesel_derives/src/table.rs:1222
- FixmeComment diesel_derives/src/table.rs:1229
- FixmeComment diesel_compile_tests/tests/fail/pg_upsert_do_update_requires_valid_update.rs:80
- FixmeComment diesel_compile_tests/tests/fail/insert_cannot_reference_columns_from_other_table.rs:28
- FixmeComment diesel_compile_tests/tests/fail/find_requires_correct_type.rs:19
- FixmeComment diesel_compile_tests/tests/fail/find_requires_correct_type.rs:23
- FixmeComment diesel_compile_tests/tests/fail/filter_cannot_take_comparison_for_columns_from_another_table.rs:39
- FixmeComment diesel_compile_tests/tests/fail/filter_cannot_take_comparison_for_columns_from_another_table.rs:55
- FixmeComment diesel_derives/src/sql_function.rs:457
- FixmeComment diesel_derives/tests/selectable.rs:68
- FixmeComment diesel_derives/tests/queryable_by_name.rs:141
- FixmeComment diesel_tests/tests/types.rs:1
- FixmeComment diesel_tests/tests/transactions.rs:6
- FixmeComment diesel_tests/tests/transactions.rs:74
- FixmeComment diesel_tests/tests/macros.rs:1
- FixmeComment diesel_tests/tests/filter.rs:595
- TodoComment diesel/src/reexport_ambiguities.rs:10
- TodoComment diesel/src/expression/functions/aggregate_expressions/frame_clause.rs:421
- TodoComment diesel/src/pg/types/numeric.rs:84
- TodoComment diesel/src/query_builder/query_id.rs:116
- TodoComment diesel/src/query_source/mod.rs:47
- TodoComment diesel/src/query_source/mod.rs:94
- TodoComment diesel/src/query_source/mod.rs:99
- TodoComment diesel/src/query_source/mod.rs:107
- TodoComment diesel/src/sql_types/mod.rs:731
- TodoComment diesel/src/sqlite/auto_extension.rs:24
- TodoComment diesel/src/sqlite/connection/sqlite_value.rs:287
- TodoComment diesel/src/sqlite/connection/sqlite_value.rs:311
- TodoComment REDACTED:806
- TodoComment diesel_cli/src/main.rs:140
- TodoComment diesel_cli/src/migrations/diff_schema.rs:1302
- TodoComment diesel_cli/src/migrations/diff_schema.rs:1307
- TodoComment diesel_cli/src/migrations/diff_schema.rs:1352
- TodoComment diesel_derives/src/table.rs:1051
- TodoComment diesel_infer_query/tests/parsing.rs:129
- TodoComment diesel_tests/tests/window_functions.rs:62
- TodoComment diesel_tests/tests/view_testing.rs:40
- TodoComment diesel_tests/tests/view_testing.rs:172
- TodoComment diesel_tests/tests/view_testing.rs:173
- TodoComment diesel_tests/tests/view_testing.rs:174
- TodoComment diesel_tests/tests/view_testing.rs:175
- FunctionTooLong: diesel_derives::multiconnection::generate_connection_impl diesel_derives/src/multiconnection.rs:162
- FunctionTooLong: diesel_derives::multiconnection::generate_bind_collector diesel_derives/src/multiconnection.rs:888
- FunctionTooLong: diesel_derives::multiconnection::generate_querybuilder diesel_derives/src/multiconnection.rs:1451
- FunctionTooLong: diesel_cli::migrations::diff_schema::generate_sql_based_on_diff_schema diesel_cli/src/migrations/diff_schema.rs:57
- FunctionTooLong: diesel_derives::sql_function::expand_nonvariadic diesel_derives/src/sql_function.rs:368
- FunctionTooLong: diesel_infer_query::expression::infer_expr diesel_infer_query/src/expression.rs:13
- FunctionTooLong: diesel_derives::as_changeset::derive diesel_derives/src/as_changeset.rs:13
- FunctionTooLong: diesel_derives::multiconnection::generate_backend diesel_derives/src/multiconnection.rs:1922
- FunctionTooLong: diesel_derives::insertable::derive_into_single_table diesel_derives/src/insertable.rs:29
- FunctionTooLong: diesel_derives::sql_function::generate_tokens_for_non_aggregate_functions diesel_derives/src/sql_function.rs:723
- FunctionTooLong: diesel_derives::sql_function::parse_attribute diesel_derives/src/sql_function.rs:1336
- FunctionTooLong: dsl_auto_type::auto_type::auto_type_impl dsl_auto_type/src/auto_type/mod.rs:40
- FunctionTooLong: diesel_derives::multiconnection::generate_row diesel_derives/src/multiconnection.rs:704
- FunctionTooLong: diesel_derives::sql_function::generate_tokens_for_aggregate_functions diesel_derives/src/sql_function.rs:962
- FunctionTooLong: diesel_cli::migrations::run_migration_command diesel_cli/src/migrations/mod.rs:199
- FunctionTooLong: diesel_derives::as_expression::derive_inner diesel_derives/src/as_expression.rs:34
- FileTooLong: src/sql_function.rs diesel_derives/src/sql_function.rs
- FileTooLong: src/multiconnection.rs diesel_derives/src/multiconnection.rs
- FileTooLong: src/print_schema.rs diesel_cli/src/print_schema.rs
- FileTooLong: migrations/diff_schema.rs diesel_cli/src/migrations/diff_schema.rs
- FileTooLong: connection/raw.rs diesel/src/sqlite/connection/raw.rs
- FileTooLong: insert_statement/insert_with_default_for_sqlite.rs diesel/src/query_builder/insert_statement/insert_with_default_for_sqlite.rs
- FileTooLong: src/table.rs diesel_derives/src/table.rs
- FileTooLong: select_statement/dsl_impls.rs diesel/src/query_builder/select_statement/dsl_impls.rs
- FileTooLong: REDACTED REDACTED
- FileTooLong: expression/operators.rs diesel/src/expression/operators.rs
- FileTooLong: connection/bind.rs diesel/src/mysql_like/connection/bind.rs
- FileTooLong: expression/expression_methods.rs diesel/src/pg/expression/expression_methods.rs
- MethodTooLong: TypeInferrer.try_infer_expression_type dsl_auto_type/src/auto_type/expression_type_inference.rs:82
- MethodTooLong: Config.update_config diesel_cli/src/config.rs:150
- MethodTooLong: AuthorizerContext.from_ffi diesel/src/sqlite/connection/authorizer.rs:581
- MethodTooLong: BindData.for_output diesel/src/mysql_like/connection/bind.rs:287
- MethodTooLong: SchemaDiff.generate_up_sql diesel_cli/src/migrations/diff_schema.rs:606
- MethodTooLong: SchemaDiff.generate_down_sql diesel_cli/src/migrations/diff_schema.rs:759
- MethodTooLong: SqlFunctionAttribute.parse_attr diesel_derives/src/sql_function.rs:1928
- MethodTooLong: CustomTypesForTablesForDisplay.fmt diesel_cli/src/print_schema.rs:1007
- Repeated repair: diesel_cli/src/infer_schema_internals/inference.rs diesel_cli/src/infer_schema_internals/inference.rs:370
- Repeated repair: diesel_cli/src/infer_schema_internals/mariadb.rs diesel_cli/src/infer_schema_internals/mariadb.rs:11
- Repeated repair: diesel/src/doctest_setup.rs diesel/src/doctest_setup.rs:361
- Repeated repair: diesel/src/query_dsl/mod.rs diesel/src/query_dsl/mod.rs:1886
- Repeated repair: diesel/src/query_builder/update_statement/mod.rs diesel/src/query_builder/update_statement/mod.rs:282
- Repeated repair: diesel/src/sqlite/connection/sqlite_blob.rs diesel/src/sqlite/connection/sqlite_blob.rs:148
- Repeated repair: diesel_cli/src/infer_schema_internals/information_schema.rs diesel_cli/src/infer_schema_internals/information_schema.rs:120
- diesel_derives::sql_function::expand_variadic (cognitive 33) diesel_derives/src/sql_function.rs:170
- diesel_derives::sql_function::expand_nonvariadic (cognitive 25) diesel_derives/src/sql_function.rs:368
- diesel_derives::as_changeset::derive (cognitive 22) diesel_derives/src/as_changeset.rs:13
- diesel_derives::table::generate_valid_grouping_for_table_columns (cognitive 19) diesel_derives/src/table.rs:868
- diesel_derives::sql_function::parse_attribute (cognitive 18) diesel_derives/src/sql_function.rs:1336
- diesel_derives::table::expand (cognitive 17) diesel_derives/src/table.rs:319
- diesel_derives::multiconnection::generate_connection_impl (cognitive 16) diesel_derives/src/multiconnection.rs:162
- diesel_cli::migrations::diff_schema::generate_sql_based_on_diff_schema (cognitive 71) diesel_cli/src/migrations/diff_schema.rs:57
- diesel_cli::migrations::run_migration_command (cognitive 30) diesel_cli/src/migrations/mod.rs:199
- diesel_cli::infer_schema_internals::inference::load_view_data (cognitive 22) diesel_cli/src/infer_schema_internals/inference.rs:370
- diesel_cli::migrations::diff_schema::generate_create_table (cognitive 21) diesel_cli/src/migrations/diff_schema.rs:1124
- diesel_cli::infer_schema_internals::sqlite::determine_column_type (cognitive 19) diesel_cli/src/infer_schema_internals/sqlite.rs:377
- diesel_cli::regenerate_schema_if_file_specified (cognitive 18) diesel_cli/src/main.rs:267
- Duplicated block (12 lines × 2) diesel/src/query_builder/select_statement/boxed.rs:283
- Duplicated block (12 lines × 2) diesel/src/query_builder/select_statement/boxed_clone.rs:305
- Duplicated block (12 lines × 2) diesel_cli/src/infer_schema_internals/mariadb.rs:19
- Duplicated block (12 lines × 2) diesel_derives/src/multiconnection.rs:1595
- Duplicated block (12 lines × 2) diesel_derives/src/sql_function.rs:1087
- Duplicated block (12 lines × 2) diesel/src/pg/query_builder/copy/mod.rs:85
- Hotspot: diesel/src/sqlite/types/json.rs diesel/src/sqlite/types/json.rs:97
- Hotspot: diesel_cli/src/print_schema.rs diesel_cli/src/print_schema.rs:1007
- Hotspot: diesel_cli/src/migrations/diff_schema.rs diesel_cli/src/migrations/diff_schema.rs:57
- Hotspot: diesel_cli/src/migrations/mod.rs diesel_cli/src/migrations/mod.rs:199
- Hotspot: diesel_attribute_parser/src/lib.rs diesel_attribute_parser/src/lib.rs:278
- Duplicated block (7 lines × 2) diesel_cli/src/migrations/diff_schema/enum_type_query_fragments.rs:58
- Duplicated block (7 lines × 2) diesel_cli/src/print_schema.rs:1019
- Duplicated block (7 lines × 2) diesel/src/query_builder/select_statement/boxed.rs:434
- Duplicated block (7 lines × 2) diesel/src/mysql_like/connection/url.rs:83
- Duplicated block (7 lines × 2) diesel_cli/src/infer_schema_internals/sqlite.rs:51
- Duplicated block (5 lines × 2) diesel_cli/src/config.rs:102
- Duplicated block (5 lines × 2) diesel_derives/src/insertable.rs:171
- Duplicated block (5 lines × 2) diesel_derives/src/table.rs:981
- Duplicated block (5 lines × 2) diesel_derives/src/as_changeset.rs:274
- Duplicated block (5 lines × 2) diesel_infer_query/src/expression.rs:132
- Off the main sequence: diesel_table_macro_syntax
- Off the main sequence: dsl_auto_type
- Off the main sequence: migrations_internals
- Off the main sequence: diesel_attribute_parser
- Off the main sequence: diesel_infer_query
- Duplicated block (17 lines × 2) diesel/src/sqlite/types/json.rs:133
- Duplicated block (17 lines × 2) diesel_cli/src/infer_schema_internals/mariadb.rs:60
- Duplicated block (17 lines × 2) diesel_derives/src/multiconnection.rs:1733
- Duplicated block (17 lines × 2) diesel_migrations/src/migration_harness.rs:186
- Duplicated block (6 lines × 2) diesel/src/pg/types/ranges.rs:162
- Duplicated block (6 lines × 2) diesel/src/mysql_like/query_builder/mod.rs:44
- Duplicated block (6 lines × 2) diesel/src/expression/sql_literal.rs:169
- Duplicated block (6 lines × 2) diesel_cli/src/migrations/mod.rs:459
- Change coupling: primitives.rs ↔ primitives.rs diesel/src/pg/types/primitives.rs
- Change coupling: array.rs ↔ record.rs diesel/src/pg/types/array.rs
- Change coupling: ranges.rs ↔ record.rs diesel/src/pg/types/ranges.rs
- Duplicated block (11 lines × 2) diesel/src/query_builder/select_statement/boxed.rs:172
- Duplicated block (11 lines × 2) diesel/src/query_builder/select_statement/boxed.rs:247
- Duplicated block (11 lines × 2) diesel/src/connection/transaction_manager.rs:326
- Duplicated block (10 lines × 2) diesel/src/query_builder/insert_statement/batch_insert.rs:139
- Duplicated block (10 lines × 2) diesel_derives/src/table.rs:235
- Duplicated block (10 lines × 2) diesel/src/sqlite/types/json.rs:344
- Duplicated block (9 lines × 2) diesel/src/sqlite/connection/raw.rs:1419
- Duplicated block (9 lines × 2) diesel_cli/src/config.rs:314
- Duplicated block (9 lines × 2) diesel_cli/src/database.rs:299
- diesel_cli::migrations::diff_schema::generate_sql_based_on_diff_schema (cyclomatic 36) diesel_cli/src/migrations/diff_schema.rs:57
- diesel_cli::infer_schema_internals::sqlite::determine_column_type (cyclomatic 17) diesel_cli/src/infer_schema_internals/sqlite.rs:377
- Config::update_config (cognitive 65) diesel_cli/src/config.rs:150
- Config::set_filter (cognitive 16) diesel_cli/src/config.rs:60
- TooManyMethods: SqliteConnection REDACTED:195
- TooManyMethods: RawConnection diesel/src/sqlite/connection/raw.rs:65
- ClassTooLong: SqliteConnection REDACTED:195
- ClassTooLong: RawConnection diesel/src/sqlite/connection/raw.rs:65
- REDACTED
- REDACTED
- Duplicated block (6 lines × 3) diesel_derives/src/sql_type.rs:76
- Duplicated block (6 lines × 3) diesel_cli/src/migrations/diff_schema/enum_type_query_fragments.rs:58
- TypeInferrer::try_infer_expression_type (cyclomatic 43) dsl_auto_type/src/auto_type/expression_type_inference.rs:82
- Config::update_config (cyclomatic 38) diesel_cli/src/config.rs:150
- diesel_infer_query::expression::infer_expr (cyclomatic 27) diesel_infer_query/src/expression.rs:13
- SqlFunctionAttribute::parse_attr (cyclomatic 24) diesel_derives/src/sql_function.rs:1928
- ConnectionOptions::parse (cyclomatic 23) diesel/src/mysql_like/connection/url.rs:62
- diesel::sqlite::types::json::jsonb::read_jsonb_value (cyclomatic 23) diesel/src/sqlite/types/json.rs:97
- ColumnType::for_type_path (cyclomatic 23) diesel_cli/src/infer_schema_internals/data_structures.rs:48
- Expression::infer_nullability (cyclomatic 19) diesel_infer_query/src/select.rs:110
- dsl_auto_type::auto_type::auto_type_impl (cyclomatic 18) dsl_auto_type/src/auto_type/mod.rs:40
- CustomTypesForTablesForDisplay::fmt (cyclomatic 16) diesel_cli/src/print_schema.rs:1007
- QueryRelationDefinition::fmt (cyclomatic 16) diesel_cli/src/print_schema.rs:1500
- diesel_derives::sql_function::expand_nonvariadic (cyclomatic 16) diesel_derives/src/sql_function.rs:368
- diesel::sqlite::types::json::jsonb::read_jsonb_value (cognitive 75) diesel/src/sqlite/types/json.rs:97
- SqlFunctionAttribute::parse_attr (cognitive 49) diesel_derives/src/sql_function.rs:1928
- CustomTypesForTablesForDisplay::fmt (cognitive 35) diesel_cli/src/print_schema.rs:1007
- ColumnType::for_type_path (cognitive 29) diesel_cli/src/infer_schema_internals/data_structures.rs:48
- SchemaCollector::visit_item_enum (cognitive 26) diesel_cli/src/migrations/diff_schema/schema_parsing.rs:137
- diesel_infer_query::expression::infer_expr (cognitive 25) diesel_infer_query/src/expression.rs:13
- QueryRelationDefinition::fmt (cognitive 24) diesel_cli/src/print_schema.rs:1500
- TypeInferrer::try_infer_expression_type (cognitive 24) dsl_auto_type/src/auto_type/expression_type_inference.rs:82
- DeriveEnumInput::parse (cognitive 22) diesel_derives/src/enum_.rs:139
- QueryRelationDefinitions::fmt (cognitive 21) diesel_cli/src/print_schema.rs:1301
- SemverArgs::run_semver_checks_for (cognitive 21) xtask/src/semver_checks.rs:86
- dsl_auto_type::auto_type::auto_type_impl (cognitive 20) dsl_auto_type/src/auto_type/mod.rs:40
- CopyToQuery::load (cognitive 19) diesel/src/pg/query_builder/copy/copy_to.rs:295
- ConnectionOptions::parse (cognitive 18) diesel/src/mysql_like/connection/url.rs:62
- Expression::infer_nullability (cognitive 17) diesel_infer_query/src/select.rs:110
- MultiHelper::new (cognitive 16) diesel_derives/src/multiconnection.rs:91
- LocalVariablesMap::process_pat (cognitive 16) dsl_auto_type/src/auto_type/local_variables_map.rs:33
- Redundant methods with identical return types and likely identical implementation logic. `cast` and `fallible_cast` appear to be aliases for the same operation, creating confusion about when to use which.
- Two methods on the same trait (`IntoSql`) with identical signatures and return types. This suggests one is a legacy alias or a mistake in trait design.
- Inconsistent naming for similar database operations across different contexts. `execute_returning_id` is specific to insert statements, while `execute_returning_count` is on the generic Connection trait. While domains differ, the naming convention `execute_returning_*` is not unified (e.g., `execute_and_return_id` vs `execute_returning_count`). More critically, `execute_returning_id` is only available on `InsertStatement` for MySQL-like connections, whereas generic connections use `execute_returning_count`. This creates a fragmented API for 'execute and get result' operations.
- Repetitive pattern across multiple statement types (`Insert`, `Update`, `Delete`) for boxing queries. While this is a common Rust pattern for trait object safety, the existence of both `into_boxed` and `into_boxed_clone` on every statement type suggests a potential duplication of intent if the clone variant is not strictly necessary for all use cases, or if the API could be unified via a single `into_boxed` that handles cloning internally if needed. However, the more glaring issue is the duplication of `internal_into_boxed` and `internal_into_boxed_clone` in the DSL traits (`BoxedDsl` and `BoxedCloneDsl`) which wrap these methods.
- TooManyFunctions: diesel_derives diesel_derives/src/lib.rs:131
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (24 lines × 2) diesel_derives/src/sql_function.rs:775
- Duplicated block (22 lines × 2) diesel_derives/src/sql_function.rs:807
- Duplicated block (17–20 lines × 2) diesel_cli/src/config.rs:81
- Duplicated block (18 lines × 2) diesel_table_macro_syntax/src/lib.rs:63
- Duplicated block (16–17 lines × 2) diesel/src/connection/transaction_manager.rs:398
- Duplicated block (15–16 lines × 2) diesel_derives/src/sql_function.rs:751
- Duplicated block (16 lines × 2) diesel_derives/src/sql_function.rs:1033
- Duplicated block (15 lines × 2) diesel_derives/src/as_changeset.rs:59
- Duplicated block (14 lines × 2) diesel/src/mysql_like/connection/mod.rs:161
- Duplicated block (13–14 lines × 2) diesel_cli/src/config.rs:242
- Duplicated block (13 lines × 2) diesel_derives/src/multiconnection.rs:1713
- Duplicated block (12–13 lines × 2) diesel_derives/src/sql_function.rs:1161
- Duplicated block (11–12 lines × 2) diesel_derives/src/sql_function.rs:1007
- Duplicated block (8–9 lines × 2) diesel_derives/src/has_query.rs:73
- Duplicated block (8 lines × 2) diesel_derives/src/sql_function.rs:1020
- Duplicated block (7 lines × 3) diesel_derives/src/multiconnection.rs:1162
- Duplicated block (6–7 lines × 2) diesel_derives/src/as_changeset.rs:182
- Duplicated block (5 lines × 4) diesel_derives/src/multiconnection.rs:1140
- Duplicated block (2–5 lines × 3) diesel_derives/src/sql_function.rs:774
- Duplicated block (13 lines × 4) diesel/src/query_builder/select_statement/boxed.rs:84
- Duplicated block (7 lines × 4) diesel_infer_query/src/expression.rs:109
- CI formatting step cannot fail REDACTED:439
- Coverage collected but not gated
- No DR/backup evidence
Minor — 11 finding(s)
- Off-boarding risk: anonymized user #1
- Off-boarding risk: anonymized user #2
- Off-boarding risk: anonymized user #3
- Further sole-owners (lower concentration)
- No ADRs found
- Split diesel
- Orphaned files with no living knowledge
- No ADRs
- No architecture diagram/doc
- Logging is not universal
- No rollback/health safety
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-68b2fbc598094787a86562a7beeca7b0/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-68b2fbc598094787a86562a7beeca7b0/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 . | 6 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive . | 0 | — |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 4 | artifacts/raw/trivy-config.json |
| 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. | 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 | osv-scanner | — | osv-scanner --format json --recursive . | 0 | — |