Executive summary
transact-rs/sqlx meets our standard for a preview release, though we found no recorded design decisions and no architecture document or diagram. It scores 68 out of 100 and is rated Strong, and 47 of its 49 critical findings are security problems in the build pipeline.
Maturity, at 59, is the weakest lens and counts most in the score. The best first step is recording design decisions, worth about 8 points. Having someone learn and document the two files no active contributor knows is another step, worth about 3 points. Raising Maturity to 62 would lift the score to about 69.
Forty-six pipeline tools are referenced by a changeable name, so the build pipeline can be tampered with. One pipeline step runs a download nobody checks, and two parts of the code are no longer understood by anyone working on it. Having someone learn the forgotten files, pinning each tool to an exact version and checking the download against a checksum would close these risks.
The product code is 57,245 lines, about €90,000 to rebuild.
If Maturity rose from 59 to 62, the lowest score rated Strong, the score would rise from 68 to about 69.
New since the last survey: 7 findings
- Cognitive Complexity · Handshake::decode_with (cognitive 16) sqlx-mysql/src/protocol/connect/handshake.rs
- Knowledge Freshness · Orphaned knowledge sqlx-sqlite/src/connection/explain.rs
- Knowledge Freshness · Orphaned knowledge sqlx-postgres/src/type_info.rs
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Web-Security Posture · Weak hash algorithm sqlx-postgres/src/message/password.rs
Fixed since the last survey: 1 finding
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €90,000 · Estimate
| Cost to rebuild | €30,000 to €150,000, for 498 to 1,581 hours of work, about 0.6 person-years for 1 to 2 engineers |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×1.0 at a score of 68. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Medium: 57,245 lines of product code |
| What it is not | Not a quotation: nobody has offered to build it for that. Not a valuation: it says nothing about what the business is worth. Not a certified figure: no professional has signed it as one. |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 sqlx_core.config.common | 2 sqlx_core.io.decode | 3 sqlx_core.io.encode | 4 sqlx_core.sql_str | 5 sqlx_core.value | 6 sqlx_mysql.protocol.capabilities | 7 sqlx_core.decode | 8 sqlx_core.migrate.migration | 9 sqlx_postgres.message | 10 sqlx_postgres.types.array | 11 sqlx_postgres.value | 12 sqlx_core.migrate.migrate | 13 sqlx_postgres.message.sync | 14 sqlx_core.connection | 15 sqlx_core.type_info | 16 sqlx_core.column | 17 sqlx_core.encode | 18 sqlx_core.error | 19 sqlx_core.pool.connection | 20 sqlx_core.testing | 21 sqlx_core.types | 22 sqlx_mysql.options | 23 sqlx_sqlite.options | 24 sqlx_core.statement | 25 sqlx_macros_core.query.output | 26 sqlx_mysql.connection.stream | 27 sqlx_postgres.options | 28 sqlx_postgres.types.oid | 29 sqlx_core.executor | 30 sqlx_mysql.type_info | 31 sqlx_postgres.type_info | 32 sqlx_core.any.connection | 33 sqlx_core.pool | 34 sqlx_mysql.connection | 35 sqlx_postgres.connection.resolve | 36 sqlx_sqlite.connection | 37 sqlx_postgres.connection | 38 sqlx_postgres.arguments | 39 sqlx_core.types.json | 40 sqlx_core.types.text |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 sqlx_core.config.common | ||||||||||||||||||||||||||||||||||||||||
| 2 sqlx_core.io.decode | ||||||||||||||||||||||||||||||||||||||||
| 3 sqlx_core.io.encode | ||||||||||||||||||||||||||||||||||||||||
| 4 sqlx_core.sql_str | ||||||||||||||||||||||||||||||||||||||||
| 5 sqlx_core.value | ||||||||||||||||||||||||||||||||||||||||
| 6 sqlx_mysql.protocol.capabilities | ||||||||||||||||||||||||||||||||||||||||
| 7 sqlx_core.decode | 1 | |||||||||||||||||||||||||||||||||||||||
| 8 sqlx_core.migrate.migration | 1 | |||||||||||||||||||||||||||||||||||||||
| 9 sqlx_postgres.message | 1 | |||||||||||||||||||||||||||||||||||||||
| 10 sqlx_postgres.types.array | 1 | |||||||||||||||||||||||||||||||||||||||
| 11 sqlx_postgres.value | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 12 sqlx_core.migrate.migrate | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 sqlx_postgres.message.sync | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 sqlx_core.connection | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 15 sqlx_core.type_info | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 sqlx_core.column | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 17 sqlx_core.encode | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 sqlx_core.error | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 sqlx_core.pool.connection | 3 | |||||||||||||||||||||||||||||||||||||||
| 20 sqlx_core.testing | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 sqlx_core.types | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 sqlx_mysql.options | 2 | |||||||||||||||||||||||||||||||||||||||
| 23 sqlx_sqlite.options | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 24 sqlx_core.statement | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 25 sqlx_macros_core.query.output | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 26 sqlx_mysql.connection.stream | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 sqlx_postgres.options | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 28 sqlx_postgres.types.oid | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 29 sqlx_core.executor | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 sqlx_mysql.type_info | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 31 sqlx_postgres.type_info | 1 | 3 | ||||||||||||||||||||||||||||||||||||||
| 32 sqlx_core.any.connection | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 33 sqlx_core.pool | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 34 sqlx_mysql.connection | 1 | 1 | 1 | 2 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 35 sqlx_postgres.connection.resolve | 2 | 2 | 2 | 3 | 2 | 2 | ||||||||||||||||||||||||||||||||||
| 36 sqlx_sqlite.connection | 1 | 1 | 1 | 2 | 2 | 1 | ||||||||||||||||||||||||||||||||||
| 37 sqlx_postgres.connection | 1 | 1 | 1 | 1 | 2 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||
| 38 sqlx_postgres.arguments | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 39 sqlx_core.types.json | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||
| 40 sqlx_core.types.text | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
7→5 sqlx_core.decode uses sqlx_core.value✕
- Connections
- 1 pair of types, where a type in sqlx_core.decode uses a type in sqlx_core.value.
- The types involved
sqlx_core.decode.Decode→sqlx_core.value.ValueRef
- Direction
- sqlx_core.decode uses sqlx_core.value, so a change to sqlx_core.value can break sqlx_core.decode, while a change to sqlx_core.decode can't break sqlx_core.value.
- Position
- Below the diagonal: sqlx_core.decode uses a module listed above it, which is the healthy direction.
8→4 sqlx_core.migrate.migration uses sqlx_core.sql_str✕
- Connections
- 1 pair of types, where a type in sqlx_core.migrate.migration uses a type in sqlx_core.sql_str.
- The types involved
sqlx_core.migrate.migration.Migration→sqlx_core.sql_str.SqlStr
- Direction
- sqlx_core.migrate.migration uses sqlx_core.sql_str, so a change to sqlx_core.sql_str can break sqlx_core.migrate.migration, while a change to sqlx_core.migrate.migration can't break sqlx_core.sql_str.
- Position
- Below the diagonal: sqlx_core.migrate.migration uses a module listed above it, which is the healthy direction.
9→3 sqlx_postgres.message uses sqlx_core.io.encode✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.message uses a type in sqlx_core.io.encode.
- The types involved
sqlx_postgres.message.EncodeMessage→sqlx_core.io.encode.ProtocolEncode
- Direction
- sqlx_postgres.message uses sqlx_core.io.encode, so a change to sqlx_core.io.encode can break sqlx_postgres.message, while a change to sqlx_postgres.message can't break sqlx_core.io.encode.
- Position
- Below the diagonal: sqlx_postgres.message uses a module listed above it, which is the healthy direction.
10→31 sqlx_postgres.types.array uses sqlx_postgres.type_info part of a loop✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.types.array uses a type in sqlx_postgres.type_info.
- The types involved
sqlx_postgres.types.array.PgHasArrayType→sqlx_postgres.type_info.PgTypeInfo
- Direction
- sqlx_postgres.types.array uses sqlx_postgres.type_info, so a change to sqlx_postgres.type_info can break sqlx_postgres.types.array, while a change to sqlx_postgres.types.array can't break sqlx_postgres.type_info.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
11→5 sqlx_postgres.value uses sqlx_core.value✕
- Connections
- 2 pairs of types, where a type in sqlx_postgres.value uses a type in sqlx_core.value.
- The types involved
sqlx_postgres.value.PgValue→sqlx_core.value.Valuesqlx_postgres.value.PgValueRef→sqlx_core.value.ValueRef
- Direction
- sqlx_postgres.value uses sqlx_core.value, so a change to sqlx_core.value can break sqlx_postgres.value, while a change to sqlx_postgres.value can't break sqlx_core.value.
- Position
- Below the diagonal: sqlx_postgres.value uses a module listed above it, which is the healthy direction.
11→31 sqlx_postgres.value uses sqlx_postgres.type_info part of a loop✕
- Connections
- 2 pairs of types, where a type in sqlx_postgres.value uses a type in sqlx_postgres.type_info.
- The types involved
sqlx_postgres.value.PgValue→sqlx_postgres.type_info.PgTypeInfosqlx_postgres.value.PgValueRef→sqlx_postgres.type_info.PgTypeInfo
- Direction
- sqlx_postgres.value uses sqlx_postgres.type_info, so a change to sqlx_postgres.type_info can break sqlx_postgres.value, while a change to sqlx_postgres.value can't break sqlx_postgres.type_info.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
12→8 sqlx_core.migrate.migrate uses sqlx_core.migrate.migration✕
- Connections
- 1 pair of types, where a type in sqlx_core.migrate.migrate uses a type in sqlx_core.migrate.migration.
- The types involved
sqlx_core.migrate.migrate.Migrate→sqlx_core.migrate.migration.Migration
- Direction
- sqlx_core.migrate.migrate uses sqlx_core.migrate.migration, so a change to sqlx_core.migrate.migration can break sqlx_core.migrate.migrate, while a change to sqlx_core.migrate.migrate can't break sqlx_core.migrate.migration.
- Position
- Below the diagonal: sqlx_core.migrate.migrate uses a module listed above it, which is the healthy direction.
13→9 sqlx_postgres.message.sync uses sqlx_postgres.message✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.message.sync uses a type in sqlx_postgres.message.
- The types involved
sqlx_postgres.message.sync.Sync→sqlx_postgres.message.FrontendMessage
- Direction
- sqlx_postgres.message.sync uses sqlx_postgres.message, so a change to sqlx_postgres.message can break sqlx_postgres.message.sync, while a change to sqlx_postgres.message.sync can't break sqlx_postgres.message.
- Position
- Below the diagonal: sqlx_postgres.message.sync uses a module listed above it, which is the healthy direction.
14→1 sqlx_core.connection uses sqlx_core.config.common✕
- Connections
- 1 pair of types, where a type in sqlx_core.connection uses a type in sqlx_core.config.common.
- The types involved
sqlx_core.connection.ConnectOptions→sqlx_core.config.common.Config
- Direction
- sqlx_core.connection uses sqlx_core.config.common, so a change to sqlx_core.config.common can break sqlx_core.connection, while a change to sqlx_core.connection can't break sqlx_core.config.common.
- Position
- Below the diagonal: sqlx_core.connection uses a module listed above it, which is the healthy direction.
14→13 sqlx_core.connection uses sqlx_postgres.message.sync✕
- Connections
- 1 pair of types, where a type in sqlx_core.connection uses a type in sqlx_postgres.message.sync.
- The types involved
sqlx_core.connection.ConnectOptions→sqlx_postgres.message.sync.Sync
- Direction
- sqlx_core.connection uses sqlx_postgres.message.sync, so a change to sqlx_postgres.message.sync can break sqlx_core.connection, while a change to sqlx_core.connection can't break sqlx_postgres.message.sync.
- Position
- Below the diagonal: sqlx_core.connection uses a module listed above it, which is the healthy direction.
15→13 sqlx_core.type_info uses sqlx_postgres.message.sync✕
- Connections
- 1 pair of types, where a type in sqlx_core.type_info uses a type in sqlx_postgres.message.sync.
- The types involved
sqlx_core.type_info.TypeInfo→sqlx_postgres.message.sync.Sync
- Direction
- sqlx_core.type_info uses sqlx_postgres.message.sync, so a change to sqlx_postgres.message.sync can break sqlx_core.type_info, while a change to sqlx_core.type_info can't break sqlx_postgres.message.sync.
- Position
- Below the diagonal: sqlx_core.type_info uses a module listed above it, which is the healthy direction.
16→13 sqlx_core.column uses sqlx_postgres.message.sync✕
- Connections
- 1 pair of types, where a type in sqlx_core.column uses a type in sqlx_postgres.message.sync.
- The types involved
sqlx_core.column.Column→sqlx_postgres.message.sync.Sync
- Direction
- sqlx_core.column uses sqlx_postgres.message.sync, so a change to sqlx_postgres.message.sync can break sqlx_core.column, while a change to sqlx_core.column can't break sqlx_postgres.message.sync.
- Position
- Below the diagonal: sqlx_core.column uses a module listed above it, which is the healthy direction.
16→15 sqlx_core.column uses sqlx_core.type_info✕
- Connections
- 1 pair of types, where a type in sqlx_core.column uses a type in sqlx_core.type_info.
- The types involved
sqlx_core.column.Column→sqlx_core.type_info.TypeInfo
- Direction
- sqlx_core.column uses sqlx_core.type_info, so a change to sqlx_core.type_info can break sqlx_core.column, while a change to sqlx_core.column can't break sqlx_core.type_info.
- Position
- Below the diagonal: sqlx_core.column uses a module listed above it, which is the healthy direction.
17→15 sqlx_core.encode uses sqlx_core.type_info✕
- Connections
- 1 pair of types, where a type in sqlx_core.encode uses a type in sqlx_core.type_info.
- The types involved
sqlx_core.encode.Encode→sqlx_core.type_info.TypeInfo
- Direction
- sqlx_core.encode uses sqlx_core.type_info, so a change to sqlx_core.type_info can break sqlx_core.encode, while a change to sqlx_core.encode can't break sqlx_core.type_info.
- Position
- Below the diagonal: sqlx_core.encode uses a module listed above it, which is the healthy direction.
18→13 sqlx_core.error uses sqlx_postgres.message.sync✕
- Connections
- 1 pair of types, where a type in sqlx_core.error uses a type in sqlx_postgres.message.sync.
- The types involved
sqlx_core.error.DatabaseError→sqlx_postgres.message.sync.Sync
- Direction
- sqlx_core.error uses sqlx_postgres.message.sync, so a change to sqlx_postgres.message.sync can break sqlx_core.error, while a change to sqlx_core.error can't break sqlx_postgres.message.sync.
- Position
- Below the diagonal: sqlx_core.error uses a module listed above it, which is the healthy direction.
18→15 sqlx_core.error uses sqlx_core.type_info✕
- Connections
- 1 pair of types, where a type in sqlx_core.error uses a type in sqlx_core.type_info.
- The types involved
sqlx_core.error.error$module→sqlx_core.type_info.TypeInfo
- Direction
- sqlx_core.error uses sqlx_core.type_info, so a change to sqlx_core.type_info can break sqlx_core.error, while a change to sqlx_core.error can't break sqlx_core.type_info.
- Position
- Below the diagonal: sqlx_core.error uses a module listed above it, which is the healthy direction.
19→14 sqlx_core.pool.connection uses sqlx_core.connection✕
- Connections
- 3 pairs of types, where a type in sqlx_core.pool.connection uses a type in sqlx_core.connection.
- The types involved
sqlx_core.pool.connection.Floating→sqlx_core.connection.Connectionsqlx_core.pool.connection.Live→sqlx_core.connection.Connectionsqlx_core.pool.connection.PoolConnection→sqlx_core.connection.Connection
- Direction
- sqlx_core.pool.connection uses sqlx_core.connection, so a change to sqlx_core.connection can break sqlx_core.pool.connection, while a change to sqlx_core.pool.connection can't break sqlx_core.connection.
- Position
- Below the diagonal: sqlx_core.pool.connection uses a module listed above it, which is the healthy direction.
20→14 sqlx_core.testing uses sqlx_core.connection✕
- Connections
- 1 pair of types, where a type in sqlx_core.testing uses a type in sqlx_core.connection.
- The types involved
sqlx_core.testing.TestSupport→sqlx_core.connection.Connection
- Direction
- sqlx_core.testing uses sqlx_core.connection, so a change to sqlx_core.connection can break sqlx_core.testing, while a change to sqlx_core.testing can't break sqlx_core.connection.
- Position
- Below the diagonal: sqlx_core.testing uses a module listed above it, which is the healthy direction.
21→15 sqlx_core.types uses sqlx_core.type_info✕
- Connections
- 1 pair of types, where a type in sqlx_core.types uses a type in sqlx_core.type_info.
- The types involved
sqlx_core.types.Type→sqlx_core.type_info.TypeInfo
- Direction
- sqlx_core.types uses sqlx_core.type_info, so a change to sqlx_core.type_info can break sqlx_core.types, while a change to sqlx_core.types can't break sqlx_core.type_info.
- Position
- Below the diagonal: sqlx_core.types uses a module listed above it, which is the healthy direction.
22→14 sqlx_mysql.options uses sqlx_core.connection✕
- Connections
- 2 pairs of types, where a type in sqlx_mysql.options uses a type in sqlx_core.connection.
- The types involved
sqlx_mysql.options.MySqlConnectOptions→sqlx_core.connection.ConnectOptionssqlx_mysql.options.MySqlConnectOptions→sqlx_core.connection.LogSettings
- Direction
- sqlx_mysql.options uses sqlx_core.connection, so a change to sqlx_core.connection can break sqlx_mysql.options, while a change to sqlx_mysql.options can't break sqlx_core.connection.
- Position
- Below the diagonal: sqlx_mysql.options uses a module listed above it, which is the healthy direction.
23→1 sqlx_sqlite.options uses sqlx_core.config.common✕
- Connections
- 1 pair of types, where a type in sqlx_sqlite.options uses a type in sqlx_core.config.common.
- The types involved
sqlx_sqlite.options.SqliteConnectOptions→sqlx_core.config.common.Config
- Direction
- sqlx_sqlite.options uses sqlx_core.config.common, so a change to sqlx_core.config.common can break sqlx_sqlite.options, while a change to sqlx_sqlite.options can't break sqlx_core.config.common.
- Position
- Below the diagonal: sqlx_sqlite.options uses a module listed above it, which is the healthy direction.
23→14 sqlx_sqlite.options uses sqlx_core.connection✕
- Connections
- 2 pairs of types, where a type in sqlx_sqlite.options uses a type in sqlx_core.connection.
- The types involved
sqlx_sqlite.options.SqliteConnectOptions→sqlx_core.connection.ConnectOptionssqlx_sqlite.options.SqliteConnectOptions→sqlx_core.connection.LogSettings
- Direction
- sqlx_sqlite.options uses sqlx_core.connection, so a change to sqlx_core.connection can break sqlx_sqlite.options, while a change to sqlx_sqlite.options can't break sqlx_core.connection.
- Position
- Below the diagonal: sqlx_sqlite.options uses a module listed above it, which is the healthy direction.
24→4 sqlx_core.statement uses sqlx_core.sql_str✕
- Connections
- 1 pair of types, where a type in sqlx_core.statement uses a type in sqlx_core.sql_str.
- The types involved
sqlx_core.statement.Statement→sqlx_core.sql_str.SqlStr
- Direction
- sqlx_core.statement uses sqlx_core.sql_str, so a change to sqlx_core.sql_str can break sqlx_core.statement, while a change to sqlx_core.statement can't break sqlx_core.sql_str.
- Position
- Below the diagonal: sqlx_core.statement uses a module listed above it, which is the healthy direction.
24→13 sqlx_core.statement uses sqlx_postgres.message.sync✕
- Connections
- 1 pair of types, where a type in sqlx_core.statement uses a type in sqlx_postgres.message.sync.
- The types involved
sqlx_core.statement.Statement→sqlx_postgres.message.sync.Sync
- Direction
- sqlx_core.statement uses sqlx_postgres.message.sync, so a change to sqlx_postgres.message.sync can break sqlx_core.statement, while a change to sqlx_core.statement can't break sqlx_postgres.message.sync.
- Position
- Below the diagonal: sqlx_core.statement uses a module listed above it, which is the healthy direction.
24→16 sqlx_core.statement uses sqlx_core.column✕
- Connections
- 1 pair of types, where a type in sqlx_core.statement uses a type in sqlx_core.column.
- The types involved
sqlx_core.statement.Statement→sqlx_core.column.Column
- Direction
- sqlx_core.statement uses sqlx_core.column, so a change to sqlx_core.column can break sqlx_core.statement, while a change to sqlx_core.statement can't break sqlx_core.column.
- Position
- Below the diagonal: sqlx_core.statement uses a module listed above it, which is the healthy direction.
25→1 sqlx_macros_core.query.output uses sqlx_core.config.common✕
- Connections
- 1 pair of types, where a type in sqlx_macros_core.query.output uses a type in sqlx_core.config.common.
- The types involved
sqlx_macros_core.query.output.output$module→sqlx_core.config.common.Config
- Direction
- sqlx_macros_core.query.output uses sqlx_core.config.common, so a change to sqlx_core.config.common can break sqlx_macros_core.query.output, while a change to sqlx_macros_core.query.output can't break sqlx_core.config.common.
- Position
- Below the diagonal: sqlx_macros_core.query.output uses a module listed above it, which is the healthy direction.
25→16 sqlx_macros_core.query.output uses sqlx_core.column✕
- Connections
- 1 pair of types, where a type in sqlx_macros_core.query.output uses a type in sqlx_core.column.
- The types involved
sqlx_macros_core.query.output.output$module→sqlx_core.column.Column
- Direction
- sqlx_macros_core.query.output uses sqlx_core.column, so a change to sqlx_core.column can break sqlx_macros_core.query.output, while a change to sqlx_macros_core.query.output can't break sqlx_core.column.
- Position
- Below the diagonal: sqlx_macros_core.query.output uses a module listed above it, which is the healthy direction.
25→21 sqlx_macros_core.query.output uses sqlx_core.types✕
- Connections
- 1 pair of types, where a type in sqlx_macros_core.query.output uses a type in sqlx_core.types.
- The types involved
sqlx_macros_core.query.output.output$module→sqlx_core.types.Type
- Direction
- sqlx_macros_core.query.output uses sqlx_core.types, so a change to sqlx_core.types can break sqlx_macros_core.query.output, while a change to sqlx_macros_core.query.output can't break sqlx_core.types.
- Position
- Below the diagonal: sqlx_macros_core.query.output uses a module listed above it, which is the healthy direction.
26→6 sqlx_mysql.connection.stream uses sqlx_mysql.protocol.capabilities✕
- Connections
- 1 pair of types, where a type in sqlx_mysql.connection.stream uses a type in sqlx_mysql.protocol.capabilities.
- The types involved
sqlx_mysql.connection.stream.MySqlStream→sqlx_mysql.protocol.capabilities.Capabilities
- Direction
- sqlx_mysql.connection.stream uses sqlx_mysql.protocol.capabilities, so a change to sqlx_mysql.protocol.capabilities can break sqlx_mysql.connection.stream, while a change to sqlx_mysql.connection.stream can't break sqlx_mysql.protocol.capabilities.
- Position
- Below the diagonal: sqlx_mysql.connection.stream uses a module listed above it, which is the healthy direction.
26→22 sqlx_mysql.connection.stream uses sqlx_mysql.options✕
- Connections
- 1 pair of types, where a type in sqlx_mysql.connection.stream uses a type in sqlx_mysql.options.
- The types involved
sqlx_mysql.connection.stream.MySqlStream→sqlx_mysql.options.MySqlConnectOptions
- Direction
- sqlx_mysql.connection.stream uses sqlx_mysql.options, so a change to sqlx_mysql.options can break sqlx_mysql.connection.stream, while a change to sqlx_mysql.connection.stream can't break sqlx_mysql.options.
- Position
- Below the diagonal: sqlx_mysql.connection.stream uses a module listed above it, which is the healthy direction.
27→14 sqlx_postgres.options uses sqlx_core.connection✕
- Connections
- 2 pairs of types, where a type in sqlx_postgres.options uses a type in sqlx_core.connection.
- The types involved
sqlx_postgres.options.PgConnectOptions→sqlx_core.connection.ConnectOptionssqlx_postgres.options.PgConnectOptions→sqlx_core.connection.LogSettings
- Direction
- sqlx_postgres.options uses sqlx_core.connection, so a change to sqlx_core.connection can break sqlx_postgres.options, while a change to sqlx_postgres.options can't break sqlx_core.connection.
- Position
- Below the diagonal: sqlx_postgres.options uses a module listed above it, which is the healthy direction.
27→22 sqlx_postgres.options uses sqlx_mysql.options✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.options uses a type in sqlx_mysql.options.
- The types involved
sqlx_postgres.options.PgConnectOptions→sqlx_mysql.options.SslOptions
- Direction
- sqlx_postgres.options uses sqlx_mysql.options, so a change to sqlx_mysql.options can break sqlx_postgres.options, while a change to sqlx_postgres.options can't break sqlx_mysql.options.
- Position
- Below the diagonal: sqlx_postgres.options uses a module listed above it, which is the healthy direction.
28→7 sqlx_postgres.types.oid uses sqlx_core.decode✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.types.oid uses a type in sqlx_core.decode.
- The types involved
sqlx_postgres.types.oid.Oid→sqlx_core.decode.Decode
- Direction
- sqlx_postgres.types.oid uses sqlx_core.decode, so a change to sqlx_core.decode can break sqlx_postgres.types.oid, while a change to sqlx_postgres.types.oid can't break sqlx_core.decode.
- Position
- Below the diagonal: sqlx_postgres.types.oid uses a module listed above it, which is the healthy direction.
28→10 sqlx_postgres.types.oid uses sqlx_postgres.types.array✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.types.oid uses a type in sqlx_postgres.types.array.
- The types involved
sqlx_postgres.types.oid.Oid→sqlx_postgres.types.array.PgHasArrayType
- Direction
- sqlx_postgres.types.oid uses sqlx_postgres.types.array, so a change to sqlx_postgres.types.array can break sqlx_postgres.types.oid, while a change to sqlx_postgres.types.oid can't break sqlx_postgres.types.array.
- Position
- Below the diagonal: sqlx_postgres.types.oid uses a module listed above it, which is the healthy direction.
28→11 sqlx_postgres.types.oid uses sqlx_postgres.value✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.types.oid uses a type in sqlx_postgres.value.
- The types involved
sqlx_postgres.types.oid.Oid→sqlx_postgres.value.PgValueRef
- Direction
- sqlx_postgres.types.oid uses sqlx_postgres.value, so a change to sqlx_postgres.value can break sqlx_postgres.types.oid, while a change to sqlx_postgres.types.oid can't break sqlx_postgres.value.
- Position
- Below the diagonal: sqlx_postgres.types.oid uses a module listed above it, which is the healthy direction.
28→17 sqlx_postgres.types.oid uses sqlx_core.encode✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.types.oid uses a type in sqlx_core.encode.
- The types involved
sqlx_postgres.types.oid.Oid→sqlx_core.encode.Encode
- Direction
- sqlx_postgres.types.oid uses sqlx_core.encode, so a change to sqlx_core.encode can break sqlx_postgres.types.oid, while a change to sqlx_postgres.types.oid can't break sqlx_core.encode.
- Position
- Below the diagonal: sqlx_postgres.types.oid uses a module listed above it, which is the healthy direction.
28→21 sqlx_postgres.types.oid uses sqlx_core.types✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.types.oid uses a type in sqlx_core.types.
- The types involved
sqlx_postgres.types.oid.Oid→sqlx_core.types.Type
- Direction
- sqlx_postgres.types.oid uses sqlx_core.types, so a change to sqlx_core.types can break sqlx_postgres.types.oid, while a change to sqlx_postgres.types.oid can't break sqlx_core.types.
- Position
- Below the diagonal: sqlx_postgres.types.oid uses a module listed above it, which is the healthy direction.
28→31 sqlx_postgres.types.oid uses sqlx_postgres.type_info part of a loop✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.types.oid uses a type in sqlx_postgres.type_info.
- The types involved
sqlx_postgres.types.oid.Oid→sqlx_postgres.type_info.PgTypeInfo
- Direction
- sqlx_postgres.types.oid uses sqlx_postgres.type_info, so a change to sqlx_postgres.type_info can break sqlx_postgres.types.oid, while a change to sqlx_postgres.types.oid can't break sqlx_postgres.type_info.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
28→38 sqlx_postgres.types.oid uses sqlx_postgres.arguments part of a loop✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.types.oid uses a type in sqlx_postgres.arguments.
- The types involved
sqlx_postgres.types.oid.Oid→sqlx_postgres.arguments.PgArgumentBuffer
- Direction
- sqlx_postgres.types.oid uses sqlx_postgres.arguments, so a change to sqlx_postgres.arguments can break sqlx_postgres.types.oid, while a change to sqlx_postgres.types.oid can't break sqlx_postgres.arguments.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
29→4 sqlx_core.executor uses sqlx_core.sql_str✕
- Connections
- 2 pairs of types, where a type in sqlx_core.executor uses a type in sqlx_core.sql_str.
- The types involved
sqlx_core.executor.Execute→sqlx_core.sql_str.SqlStrsqlx_core.executor.Executor→sqlx_core.sql_str.SqlStr
- Direction
- sqlx_core.executor uses sqlx_core.sql_str, so a change to sqlx_core.sql_str can break sqlx_core.executor, while a change to sqlx_core.executor can't break sqlx_core.sql_str.
- Position
- Below the diagonal: sqlx_core.executor uses a module listed above it, which is the healthy direction.
29→24 sqlx_core.executor uses sqlx_core.statement✕
- Connections
- 1 pair of types, where a type in sqlx_core.executor uses a type in sqlx_core.statement.
- The types involved
sqlx_core.executor.Execute→sqlx_core.statement.Statement
- Direction
- sqlx_core.executor uses sqlx_core.statement, so a change to sqlx_core.statement can break sqlx_core.executor, while a change to sqlx_core.executor can't break sqlx_core.statement.
- Position
- Below the diagonal: sqlx_core.executor uses a module listed above it, which is the healthy direction.
30→15 sqlx_mysql.type_info uses sqlx_core.type_info✕
- Connections
- 1 pair of types, where a type in sqlx_mysql.type_info uses a type in sqlx_core.type_info.
- The types involved
sqlx_mysql.type_info.MySqlTypeInfo→sqlx_core.type_info.TypeInfo
- Direction
- sqlx_mysql.type_info uses sqlx_core.type_info, so a change to sqlx_core.type_info can break sqlx_mysql.type_info, while a change to sqlx_mysql.type_info can't break sqlx_core.type_info.
- Position
- Below the diagonal: sqlx_mysql.type_info uses a module listed above it, which is the healthy direction.
30→25 sqlx_mysql.type_info uses sqlx_macros_core.query.output✕
- Connections
- 1 pair of types, where a type in sqlx_mysql.type_info uses a type in sqlx_macros_core.query.output.
- The types involved
sqlx_mysql.type_info.MySqlTypeInfo→sqlx_macros_core.query.output.ColumnType
- Direction
- sqlx_mysql.type_info uses sqlx_macros_core.query.output, so a change to sqlx_macros_core.query.output can break sqlx_mysql.type_info, while a change to sqlx_mysql.type_info can't break sqlx_macros_core.query.output.
- Position
- Below the diagonal: sqlx_mysql.type_info uses a module listed above it, which is the healthy direction.
31→15 sqlx_postgres.type_info uses sqlx_core.type_info✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.type_info uses a type in sqlx_core.type_info.
- The types involved
sqlx_postgres.type_info.PgTypeInfo→sqlx_core.type_info.TypeInfo
- Direction
- sqlx_postgres.type_info uses sqlx_core.type_info, so a change to sqlx_core.type_info can break sqlx_postgres.type_info, while a change to sqlx_postgres.type_info can't break sqlx_core.type_info.
- Position
- Below the diagonal: sqlx_postgres.type_info uses a module listed above it, which is the healthy direction.
31→28 sqlx_postgres.type_info uses sqlx_postgres.types.oid✕
- Connections
- 3 pairs of types, where a type in sqlx_postgres.type_info uses a type in sqlx_postgres.types.oid.
- The types involved
sqlx_postgres.type_info.PgCustomType→sqlx_postgres.types.oid.Oidsqlx_postgres.type_info.PgType→sqlx_postgres.types.oid.Oidsqlx_postgres.type_info.PgTypeInfo→sqlx_postgres.types.oid.Oid
- Direction
- sqlx_postgres.type_info uses sqlx_postgres.types.oid, so a change to sqlx_postgres.types.oid can break sqlx_postgres.type_info, while a change to sqlx_postgres.type_info can't break sqlx_postgres.types.oid.
- Position
- Below the diagonal: sqlx_postgres.type_info uses a module listed above it, which is the healthy direction.
32→1 sqlx_core.any.connection uses sqlx_core.config.common✕
- Connections
- 1 pair of types, where a type in sqlx_core.any.connection uses a type in sqlx_core.config.common.
- The types involved
sqlx_core.any.connection.AnyConnection→sqlx_core.config.common.Config
- Direction
- sqlx_core.any.connection uses sqlx_core.config.common, so a change to sqlx_core.config.common can break sqlx_core.any.connection, while a change to sqlx_core.any.connection can't break sqlx_core.config.common.
- Position
- Below the diagonal: sqlx_core.any.connection uses a module listed above it, which is the healthy direction.
32→4 sqlx_core.any.connection uses sqlx_core.sql_str✕
- Connections
- 1 pair of types, where a type in sqlx_core.any.connection uses a type in sqlx_core.sql_str.
- The types involved
sqlx_core.any.connection.AnyConnection→sqlx_core.sql_str.SqlStr
- Direction
- sqlx_core.any.connection uses sqlx_core.sql_str, so a change to sqlx_core.sql_str can break sqlx_core.any.connection, while a change to sqlx_core.any.connection can't break sqlx_core.sql_str.
- Position
- Below the diagonal: sqlx_core.any.connection uses a module listed above it, which is the healthy direction.
32→8 sqlx_core.any.connection uses sqlx_core.migrate.migration✕
- Connections
- 1 pair of types, where a type in sqlx_core.any.connection uses a type in sqlx_core.migrate.migration.
- The types involved
sqlx_core.any.connection.AnyConnection→sqlx_core.migrate.migration.Migration
- Direction
- sqlx_core.any.connection uses sqlx_core.migrate.migration, so a change to sqlx_core.migrate.migration can break sqlx_core.any.connection, while a change to sqlx_core.any.connection can't break sqlx_core.migrate.migration.
- Position
- Below the diagonal: sqlx_core.any.connection uses a module listed above it, which is the healthy direction.
32→12 sqlx_core.any.connection uses sqlx_core.migrate.migrate✕
- Connections
- 1 pair of types, where a type in sqlx_core.any.connection uses a type in sqlx_core.migrate.migrate.
- The types involved
sqlx_core.any.connection.AnyConnection→sqlx_core.migrate.migrate.Migrate
- Direction
- sqlx_core.any.connection uses sqlx_core.migrate.migrate, so a change to sqlx_core.migrate.migrate can break sqlx_core.any.connection, while a change to sqlx_core.any.connection can't break sqlx_core.migrate.migrate.
- Position
- Below the diagonal: sqlx_core.any.connection uses a module listed above it, which is the healthy direction.
32→14 sqlx_core.any.connection uses sqlx_core.connection✕
- Connections
- 1 pair of types, where a type in sqlx_core.any.connection uses a type in sqlx_core.connection.
- The types involved
sqlx_core.any.connection.AnyConnection→sqlx_core.connection.Connection
- Direction
- sqlx_core.any.connection uses sqlx_core.connection, so a change to sqlx_core.connection can break sqlx_core.any.connection, while a change to sqlx_core.any.connection can't break sqlx_core.connection.
- Position
- Below the diagonal: sqlx_core.any.connection uses a module listed above it, which is the healthy direction.
32→29 sqlx_core.any.connection uses sqlx_core.executor✕
- Connections
- 1 pair of types, where a type in sqlx_core.any.connection uses a type in sqlx_core.executor.
- The types involved
sqlx_core.any.connection.AnyConnection→sqlx_core.executor.Executor
- Direction
- sqlx_core.any.connection uses sqlx_core.executor, so a change to sqlx_core.executor can break sqlx_core.any.connection, while a change to sqlx_core.any.connection can't break sqlx_core.executor.
- Position
- Below the diagonal: sqlx_core.any.connection uses a module listed above it, which is the healthy direction.
33→4 sqlx_core.pool uses sqlx_core.sql_str✕
- Connections
- 1 pair of types, where a type in sqlx_core.pool uses a type in sqlx_core.sql_str.
- The types involved
sqlx_core.pool.Pool→sqlx_core.sql_str.SqlStr
- Direction
- sqlx_core.pool uses sqlx_core.sql_str, so a change to sqlx_core.sql_str can break sqlx_core.pool, while a change to sqlx_core.pool can't break sqlx_core.sql_str.
- Position
- Below the diagonal: sqlx_core.pool uses a module listed above it, which is the healthy direction.
33→19 sqlx_core.pool uses sqlx_core.pool.connection✕
- Connections
- 1 pair of types, where a type in sqlx_core.pool uses a type in sqlx_core.pool.connection.
- The types involved
sqlx_core.pool.Pool→sqlx_core.pool.connection.PoolConnection
- Direction
- sqlx_core.pool uses sqlx_core.pool.connection, so a change to sqlx_core.pool.connection can break sqlx_core.pool, while a change to sqlx_core.pool can't break sqlx_core.pool.connection.
- Position
- Below the diagonal: sqlx_core.pool uses a module listed above it, which is the healthy direction.
33→29 sqlx_core.pool uses sqlx_core.executor✕
- Connections
- 1 pair of types, where a type in sqlx_core.pool uses a type in sqlx_core.executor.
- The types involved
sqlx_core.pool.Pool→sqlx_core.executor.Executor
- Direction
- sqlx_core.pool uses sqlx_core.executor, so a change to sqlx_core.executor can break sqlx_core.pool, while a change to sqlx_core.pool can't break sqlx_core.executor.
- Position
- Below the diagonal: sqlx_core.pool uses a module listed above it, which is the healthy direction.
34→4 sqlx_mysql.connection uses sqlx_core.sql_str✕
- Connections
- 1 pair of types, where a type in sqlx_mysql.connection uses a type in sqlx_core.sql_str.
- The types involved
sqlx_mysql.connection.MySqlConnection→sqlx_core.sql_str.SqlStr
- Direction
- sqlx_mysql.connection uses sqlx_core.sql_str, so a change to sqlx_core.sql_str can break sqlx_mysql.connection, while a change to sqlx_mysql.connection can't break sqlx_core.sql_str.
- Position
- Below the diagonal: sqlx_mysql.connection uses a module listed above it, which is the healthy direction.
34→8 sqlx_mysql.connection uses sqlx_core.migrate.migration✕
- Connections
- 1 pair of types, where a type in sqlx_mysql.connection uses a type in sqlx_core.migrate.migration.
- The types involved
sqlx_mysql.connection.MySqlConnection→sqlx_core.migrate.migration.Migration
- Direction
- sqlx_mysql.connection uses sqlx_core.migrate.migration, so a change to sqlx_core.migrate.migration can break sqlx_mysql.connection, while a change to sqlx_mysql.connection can't break sqlx_core.migrate.migration.
- Position
- Below the diagonal: sqlx_mysql.connection uses a module listed above it, which is the healthy direction.
34→12 sqlx_mysql.connection uses sqlx_core.migrate.migrate✕
- Connections
- 1 pair of types, where a type in sqlx_mysql.connection uses a type in sqlx_core.migrate.migrate.
- The types involved
sqlx_mysql.connection.MySqlConnection→sqlx_core.migrate.migrate.Migrate
- Direction
- sqlx_mysql.connection uses sqlx_core.migrate.migrate, so a change to sqlx_core.migrate.migrate can break sqlx_mysql.connection, while a change to sqlx_mysql.connection can't break sqlx_core.migrate.migrate.
- Position
- Below the diagonal: sqlx_mysql.connection uses a module listed above it, which is the healthy direction.
34→14 sqlx_mysql.connection uses sqlx_core.connection✕
- Connections
- 2 pairs of types, where a type in sqlx_mysql.connection uses a type in sqlx_core.connection.
- The types involved
sqlx_mysql.connection.MySqlConnection→sqlx_core.connection.Connectionsqlx_mysql.connection.MySqlConnectionInner→sqlx_core.connection.LogSettings
- Direction
- sqlx_mysql.connection uses sqlx_core.connection, so a change to sqlx_core.connection can break sqlx_mysql.connection, while a change to sqlx_mysql.connection can't break sqlx_core.connection.
- Position
- Below the diagonal: sqlx_mysql.connection uses a module listed above it, which is the healthy direction.
34→22 sqlx_mysql.connection uses sqlx_mysql.options✕
- Connections
- 1 pair of types, where a type in sqlx_mysql.connection uses a type in sqlx_mysql.options.
- The types involved
sqlx_mysql.connection.MySqlConnection→sqlx_mysql.options.MySqlConnectOptions
- Direction
- sqlx_mysql.connection uses sqlx_mysql.options, so a change to sqlx_mysql.options can break sqlx_mysql.connection, while a change to sqlx_mysql.connection can't break sqlx_mysql.options.
- Position
- Below the diagonal: sqlx_mysql.connection uses a module listed above it, which is the healthy direction.
34→26 sqlx_mysql.connection uses sqlx_mysql.connection.stream✕
- Connections
- 1 pair of types, where a type in sqlx_mysql.connection uses a type in sqlx_mysql.connection.stream.
- The types involved
sqlx_mysql.connection.MySqlConnectionInner→sqlx_mysql.connection.stream.MySqlStream
- Direction
- sqlx_mysql.connection uses sqlx_mysql.connection.stream, so a change to sqlx_mysql.connection.stream can break sqlx_mysql.connection, while a change to sqlx_mysql.connection can't break sqlx_mysql.connection.stream.
- Position
- Below the diagonal: sqlx_mysql.connection uses a module listed above it, which is the healthy direction.
34→29 sqlx_mysql.connection uses sqlx_core.executor✕
- Connections
- 1 pair of types, where a type in sqlx_mysql.connection uses a type in sqlx_core.executor.
- The types involved
sqlx_mysql.connection.MySqlConnection→sqlx_core.executor.Executor
- Direction
- sqlx_mysql.connection uses sqlx_core.executor, so a change to sqlx_core.executor can break sqlx_mysql.connection, while a change to sqlx_mysql.connection can't break sqlx_core.executor.
- Position
- Below the diagonal: sqlx_mysql.connection uses a module listed above it, which is the healthy direction.
35→7 sqlx_postgres.connection.resolve uses sqlx_core.decode✕
- Connections
- 2 pairs of types, where a type in sqlx_postgres.connection.resolve uses a type in sqlx_core.decode.
- The types involved
sqlx_postgres.connection.resolve.TypCategory→sqlx_core.decode.Decodesqlx_postgres.connection.resolve.TypType→sqlx_core.decode.Decode
- Direction
- sqlx_postgres.connection.resolve uses sqlx_core.decode, so a change to sqlx_core.decode can break sqlx_postgres.connection.resolve, while a change to sqlx_postgres.connection.resolve can't break sqlx_core.decode.
- Position
- Below the diagonal: sqlx_postgres.connection.resolve uses a module listed above it, which is the healthy direction.
35→11 sqlx_postgres.connection.resolve uses sqlx_postgres.value✕
- Connections
- 2 pairs of types, where a type in sqlx_postgres.connection.resolve uses a type in sqlx_postgres.value.
- The types involved
sqlx_postgres.connection.resolve.TypCategory→sqlx_postgres.value.PgValueRefsqlx_postgres.connection.resolve.TypType→sqlx_postgres.value.PgValueRef
- Direction
- sqlx_postgres.connection.resolve uses sqlx_postgres.value, so a change to sqlx_postgres.value can break sqlx_postgres.connection.resolve, while a change to sqlx_postgres.connection.resolve can't break sqlx_postgres.value.
- Position
- Below the diagonal: sqlx_postgres.connection.resolve uses a module listed above it, which is the healthy direction.
35→21 sqlx_postgres.connection.resolve uses sqlx_core.types✕
- Connections
- 2 pairs of types, where a type in sqlx_postgres.connection.resolve uses a type in sqlx_core.types.
- The types involved
sqlx_postgres.connection.resolve.TypCategory→sqlx_core.types.Typesqlx_postgres.connection.resolve.TypType→sqlx_core.types.Type
- Direction
- sqlx_postgres.connection.resolve uses sqlx_core.types, so a change to sqlx_core.types can break sqlx_postgres.connection.resolve, while a change to sqlx_postgres.connection.resolve can't break sqlx_core.types.
- Position
- Below the diagonal: sqlx_postgres.connection.resolve uses a module listed above it, which is the healthy direction.
35→28 sqlx_postgres.connection.resolve uses sqlx_postgres.types.oid✕
- Connections
- 3 pairs of types, where a type in sqlx_postgres.connection.resolve uses a type in sqlx_postgres.types.oid.
- The types involved
sqlx_postgres.connection.resolve.ColumnResolver→sqlx_postgres.types.oid.Oidsqlx_postgres.connection.resolve.ColumnResolverRow→sqlx_postgres.types.oid.Oidsqlx_postgres.connection.resolve.TypeResolverRow→sqlx_postgres.types.oid.Oid
- Direction
- sqlx_postgres.connection.resolve uses sqlx_postgres.types.oid, so a change to sqlx_postgres.types.oid can break sqlx_postgres.connection.resolve, while a change to sqlx_postgres.connection.resolve can't break sqlx_postgres.types.oid.
- Position
- Below the diagonal: sqlx_postgres.connection.resolve uses a module listed above it, which is the healthy direction.
35→31 sqlx_postgres.connection.resolve uses sqlx_postgres.type_info✕
- Connections
- 2 pairs of types, where a type in sqlx_postgres.connection.resolve uses a type in sqlx_postgres.type_info.
- The types involved
sqlx_postgres.connection.resolve.TypCategory→sqlx_postgres.type_info.PgTypeInfosqlx_postgres.connection.resolve.TypType→sqlx_postgres.type_info.PgTypeInfo
- Direction
- sqlx_postgres.connection.resolve uses sqlx_postgres.type_info, so a change to sqlx_postgres.type_info can break sqlx_postgres.connection.resolve, while a change to sqlx_postgres.connection.resolve can't break sqlx_postgres.type_info.
- Position
- Below the diagonal: sqlx_postgres.connection.resolve uses a module listed above it, which is the healthy direction.
35→37 sqlx_postgres.connection.resolve uses sqlx_postgres.connection part of a loop✕
- Connections
- 2 pairs of types, where a type in sqlx_postgres.connection.resolve uses a type in sqlx_postgres.connection.
- The types involved
sqlx_postgres.connection.resolve.ColumnResolver→sqlx_postgres.connection.PgConnectionsqlx_postgres.connection.resolve.TypeResolver→sqlx_postgres.connection.PgConnection
- Direction
- sqlx_postgres.connection.resolve uses sqlx_postgres.connection, so a change to sqlx_postgres.connection can break sqlx_postgres.connection.resolve, while a change to sqlx_postgres.connection.resolve can't break sqlx_postgres.connection.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
36→4 sqlx_sqlite.connection uses sqlx_core.sql_str✕
- Connections
- 1 pair of types, where a type in sqlx_sqlite.connection uses a type in sqlx_core.sql_str.
- The types involved
sqlx_sqlite.connection.SqliteConnection→sqlx_core.sql_str.SqlStr
- Direction
- sqlx_sqlite.connection uses sqlx_core.sql_str, so a change to sqlx_core.sql_str can break sqlx_sqlite.connection, while a change to sqlx_sqlite.connection can't break sqlx_core.sql_str.
- Position
- Below the diagonal: sqlx_sqlite.connection uses a module listed above it, which is the healthy direction.
36→8 sqlx_sqlite.connection uses sqlx_core.migrate.migration✕
- Connections
- 1 pair of types, where a type in sqlx_sqlite.connection uses a type in sqlx_core.migrate.migration.
- The types involved
sqlx_sqlite.connection.SqliteConnection→sqlx_core.migrate.migration.Migration
- Direction
- sqlx_sqlite.connection uses sqlx_core.migrate.migration, so a change to sqlx_core.migrate.migration can break sqlx_sqlite.connection, while a change to sqlx_sqlite.connection can't break sqlx_core.migrate.migration.
- Position
- Below the diagonal: sqlx_sqlite.connection uses a module listed above it, which is the healthy direction.
36→12 sqlx_sqlite.connection uses sqlx_core.migrate.migrate✕
- Connections
- 1 pair of types, where a type in sqlx_sqlite.connection uses a type in sqlx_core.migrate.migrate.
- The types involved
sqlx_sqlite.connection.SqliteConnection→sqlx_core.migrate.migrate.Migrate
- Direction
- sqlx_sqlite.connection uses sqlx_core.migrate.migrate, so a change to sqlx_core.migrate.migrate can break sqlx_sqlite.connection, while a change to sqlx_sqlite.connection can't break sqlx_core.migrate.migrate.
- Position
- Below the diagonal: sqlx_sqlite.connection uses a module listed above it, which is the healthy direction.
36→14 sqlx_sqlite.connection uses sqlx_core.connection✕
- Connections
- 2 pairs of types, where a type in sqlx_sqlite.connection uses a type in sqlx_core.connection.
- The types involved
sqlx_sqlite.connection.ConnectionState→sqlx_core.connection.LogSettingssqlx_sqlite.connection.SqliteConnection→sqlx_core.connection.Connection
- Direction
- sqlx_sqlite.connection uses sqlx_core.connection, so a change to sqlx_core.connection can break sqlx_sqlite.connection, while a change to sqlx_sqlite.connection can't break sqlx_core.connection.
- Position
- Below the diagonal: sqlx_sqlite.connection uses a module listed above it, which is the healthy direction.
36→23 sqlx_sqlite.connection uses sqlx_sqlite.options✕
- Connections
- 2 pairs of types, where a type in sqlx_sqlite.connection uses a type in sqlx_sqlite.options.
- The types involved
sqlx_sqlite.connection.SqliteConnection→sqlx_sqlite.options.OptimizeOnClosesqlx_sqlite.connection.SqliteConnection→sqlx_sqlite.options.SqliteConnectOptions
- Direction
- sqlx_sqlite.connection uses sqlx_sqlite.options, so a change to sqlx_sqlite.options can break sqlx_sqlite.connection, while a change to sqlx_sqlite.connection can't break sqlx_sqlite.options.
- Position
- Below the diagonal: sqlx_sqlite.connection uses a module listed above it, which is the healthy direction.
36→29 sqlx_sqlite.connection uses sqlx_core.executor✕
- Connections
- 1 pair of types, where a type in sqlx_sqlite.connection uses a type in sqlx_core.executor.
- The types involved
sqlx_sqlite.connection.SqliteConnection→sqlx_core.executor.Executor
- Direction
- sqlx_sqlite.connection uses sqlx_core.executor, so a change to sqlx_core.executor can break sqlx_sqlite.connection, while a change to sqlx_sqlite.connection can't break sqlx_core.executor.
- Position
- Below the diagonal: sqlx_sqlite.connection uses a module listed above it, which is the healthy direction.
37→4 sqlx_postgres.connection uses sqlx_core.sql_str✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.connection uses a type in sqlx_core.sql_str.
- The types involved
sqlx_postgres.connection.PgConnection→sqlx_core.sql_str.SqlStr
- Direction
- sqlx_postgres.connection uses sqlx_core.sql_str, so a change to sqlx_core.sql_str can break sqlx_postgres.connection, while a change to sqlx_postgres.connection can't break sqlx_core.sql_str.
- Position
- Below the diagonal: sqlx_postgres.connection uses a module listed above it, which is the healthy direction.
37→8 sqlx_postgres.connection uses sqlx_core.migrate.migration✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.connection uses a type in sqlx_core.migrate.migration.
- The types involved
sqlx_postgres.connection.PgConnection→sqlx_core.migrate.migration.Migration
- Direction
- sqlx_postgres.connection uses sqlx_core.migrate.migration, so a change to sqlx_core.migrate.migration can break sqlx_postgres.connection, while a change to sqlx_postgres.connection can't break sqlx_core.migrate.migration.
- Position
- Below the diagonal: sqlx_postgres.connection uses a module listed above it, which is the healthy direction.
37→9 sqlx_postgres.connection uses sqlx_postgres.message✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.connection uses a type in sqlx_postgres.message.
- The types involved
sqlx_postgres.connection.PgConnection→sqlx_postgres.message.ReceivedMessage
- Direction
- sqlx_postgres.connection uses sqlx_postgres.message, so a change to sqlx_postgres.message can break sqlx_postgres.connection, while a change to sqlx_postgres.connection can't break sqlx_postgres.message.
- Position
- Below the diagonal: sqlx_postgres.connection uses a module listed above it, which is the healthy direction.
37→12 sqlx_postgres.connection uses sqlx_core.migrate.migrate✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.connection uses a type in sqlx_core.migrate.migrate.
- The types involved
sqlx_postgres.connection.PgConnection→sqlx_core.migrate.migrate.Migrate
- Direction
- sqlx_postgres.connection uses sqlx_core.migrate.migrate, so a change to sqlx_core.migrate.migrate can break sqlx_postgres.connection, while a change to sqlx_postgres.connection can't break sqlx_core.migrate.migrate.
- Position
- Below the diagonal: sqlx_postgres.connection uses a module listed above it, which is the healthy direction.
37→14 sqlx_postgres.connection uses sqlx_core.connection✕
- Connections
- 2 pairs of types, where a type in sqlx_postgres.connection uses a type in sqlx_core.connection.
- The types involved
sqlx_postgres.connection.PgConnection→sqlx_core.connection.Connectionsqlx_postgres.connection.PgConnectionInner→sqlx_core.connection.LogSettings
- Direction
- sqlx_postgres.connection uses sqlx_core.connection, so a change to sqlx_core.connection can break sqlx_postgres.connection, while a change to sqlx_postgres.connection can't break sqlx_core.connection.
- Position
- Below the diagonal: sqlx_postgres.connection uses a module listed above it, which is the healthy direction.
37→16 sqlx_postgres.connection uses sqlx_core.column✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.connection uses a type in sqlx_core.column.
- The types involved
sqlx_postgres.connection.PgConnection→sqlx_core.column.TableColumn
- Direction
- sqlx_postgres.connection uses sqlx_core.column, so a change to sqlx_core.column can break sqlx_postgres.connection, while a change to sqlx_postgres.connection can't break sqlx_core.column.
- Position
- Below the diagonal: sqlx_postgres.connection uses a module listed above it, which is the healthy direction.
37→27 sqlx_postgres.connection uses sqlx_postgres.options✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.connection uses a type in sqlx_postgres.options.
- The types involved
sqlx_postgres.connection.PgConnection→sqlx_postgres.options.PgConnectOptions
- Direction
- sqlx_postgres.connection uses sqlx_postgres.options, so a change to sqlx_postgres.options can break sqlx_postgres.connection, while a change to sqlx_postgres.connection can't break sqlx_postgres.options.
- Position
- Below the diagonal: sqlx_postgres.connection uses a module listed above it, which is the healthy direction.
37→28 sqlx_postgres.connection uses sqlx_postgres.types.oid✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.connection uses a type in sqlx_postgres.types.oid.
- The types involved
sqlx_postgres.connection.PgConnection→sqlx_postgres.types.oid.Oid
- Direction
- sqlx_postgres.connection uses sqlx_postgres.types.oid, so a change to sqlx_postgres.types.oid can break sqlx_postgres.connection, while a change to sqlx_postgres.connection can't break sqlx_postgres.types.oid.
- Position
- Below the diagonal: sqlx_postgres.connection uses a module listed above it, which is the healthy direction.
37→29 sqlx_postgres.connection uses sqlx_core.executor✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.connection uses a type in sqlx_core.executor.
- The types involved
sqlx_postgres.connection.PgConnection→sqlx_core.executor.Executor
- Direction
- sqlx_postgres.connection uses sqlx_core.executor, so a change to sqlx_core.executor can break sqlx_postgres.connection, while a change to sqlx_postgres.connection can't break sqlx_core.executor.
- Position
- Below the diagonal: sqlx_postgres.connection uses a module listed above it, which is the healthy direction.
37→31 sqlx_postgres.connection uses sqlx_postgres.type_info✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.connection uses a type in sqlx_postgres.type_info.
- The types involved
sqlx_postgres.connection.PgConnection→sqlx_postgres.type_info.PgTypeInfo
- Direction
- sqlx_postgres.connection uses sqlx_postgres.type_info, so a change to sqlx_postgres.type_info can break sqlx_postgres.connection, while a change to sqlx_postgres.connection can't break sqlx_postgres.type_info.
- Position
- Below the diagonal: sqlx_postgres.connection uses a module listed above it, which is the healthy direction.
37→35 sqlx_postgres.connection uses sqlx_postgres.connection.resolve✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.connection uses a type in sqlx_postgres.connection.resolve.
- The types involved
sqlx_postgres.connection.PgConnection→sqlx_postgres.connection.resolve.TypeResolverRow
- Direction
- sqlx_postgres.connection uses sqlx_postgres.connection.resolve, so a change to sqlx_postgres.connection.resolve can break sqlx_postgres.connection, while a change to sqlx_postgres.connection can't break sqlx_postgres.connection.resolve.
- Position
- Below the diagonal: sqlx_postgres.connection uses a module listed above it, which is the healthy direction.
37→38 sqlx_postgres.connection uses sqlx_postgres.arguments part of a loop✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.connection uses a type in sqlx_postgres.arguments.
- The types involved
sqlx_postgres.connection.PgConnection→sqlx_postgres.arguments.PgArguments
- Direction
- sqlx_postgres.connection uses sqlx_postgres.arguments, so a change to sqlx_postgres.arguments can break sqlx_postgres.connection, while a change to sqlx_postgres.connection can't break sqlx_postgres.arguments.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
38→31 sqlx_postgres.arguments uses sqlx_postgres.type_info✕
- Connections
- 2 pairs of types, where a type in sqlx_postgres.arguments uses a type in sqlx_postgres.type_info.
- The types involved
sqlx_postgres.arguments.PgArgumentBuffer→sqlx_postgres.type_info.PgTypeInfosqlx_postgres.arguments.PgArguments→sqlx_postgres.type_info.PgTypeInfo
- Direction
- sqlx_postgres.arguments uses sqlx_postgres.type_info, so a change to sqlx_postgres.type_info can break sqlx_postgres.arguments, while a change to sqlx_postgres.arguments can't break sqlx_postgres.type_info.
- Position
- Below the diagonal: sqlx_postgres.arguments uses a module listed above it, which is the healthy direction.
38→37 sqlx_postgres.arguments uses sqlx_postgres.connection✕
- Connections
- 1 pair of types, where a type in sqlx_postgres.arguments uses a type in sqlx_postgres.connection.
- The types involved
sqlx_postgres.arguments.PgArguments→sqlx_postgres.connection.PgConnection
- Direction
- sqlx_postgres.arguments uses sqlx_postgres.connection, so a change to sqlx_postgres.connection can break sqlx_postgres.arguments, while a change to sqlx_postgres.arguments can't break sqlx_postgres.connection.
- Position
- Below the diagonal: sqlx_postgres.arguments uses a module listed above it, which is the healthy direction.
39→7 sqlx_core.types.json uses sqlx_core.decode✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.json uses a type in sqlx_core.decode.
- The types involved
sqlx_core.types.json.Json→sqlx_core.decode.Decode
- Direction
- sqlx_core.types.json uses sqlx_core.decode, so a change to sqlx_core.decode can break sqlx_core.types.json, while a change to sqlx_core.types.json can't break sqlx_core.decode.
- Position
- Below the diagonal: sqlx_core.types.json uses a module listed above it, which is the healthy direction.
39→10 sqlx_core.types.json uses sqlx_postgres.types.array✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.json uses a type in sqlx_postgres.types.array.
- The types involved
sqlx_core.types.json.Json→sqlx_postgres.types.array.PgHasArrayType
- Direction
- sqlx_core.types.json uses sqlx_postgres.types.array, so a change to sqlx_postgres.types.array can break sqlx_core.types.json, while a change to sqlx_core.types.json can't break sqlx_postgres.types.array.
- Position
- Below the diagonal: sqlx_core.types.json uses a module listed above it, which is the healthy direction.
39→11 sqlx_core.types.json uses sqlx_postgres.value✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.json uses a type in sqlx_postgres.value.
- The types involved
sqlx_core.types.json.Json→sqlx_postgres.value.PgValueRef
- Direction
- sqlx_core.types.json uses sqlx_postgres.value, so a change to sqlx_postgres.value can break sqlx_core.types.json, while a change to sqlx_core.types.json can't break sqlx_postgres.value.
- Position
- Below the diagonal: sqlx_core.types.json uses a module listed above it, which is the healthy direction.
39→17 sqlx_core.types.json uses sqlx_core.encode✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.json uses a type in sqlx_core.encode.
- The types involved
sqlx_core.types.json.Json→sqlx_core.encode.Encode
- Direction
- sqlx_core.types.json uses sqlx_core.encode, so a change to sqlx_core.encode can break sqlx_core.types.json, while a change to sqlx_core.types.json can't break sqlx_core.encode.
- Position
- Below the diagonal: sqlx_core.types.json uses a module listed above it, which is the healthy direction.
39→21 sqlx_core.types.json uses sqlx_core.types✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.json uses a type in sqlx_core.types.
- The types involved
sqlx_core.types.json.Json→sqlx_core.types.Type
- Direction
- sqlx_core.types.json uses sqlx_core.types, so a change to sqlx_core.types can break sqlx_core.types.json, while a change to sqlx_core.types.json can't break sqlx_core.types.
- Position
- Below the diagonal: sqlx_core.types.json uses a module listed above it, which is the healthy direction.
39→30 sqlx_core.types.json uses sqlx_mysql.type_info✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.json uses a type in sqlx_mysql.type_info.
- The types involved
sqlx_core.types.json.Json→sqlx_mysql.type_info.MySqlTypeInfo
- Direction
- sqlx_core.types.json uses sqlx_mysql.type_info, so a change to sqlx_mysql.type_info can break sqlx_core.types.json, while a change to sqlx_core.types.json can't break sqlx_mysql.type_info.
- Position
- Below the diagonal: sqlx_core.types.json uses a module listed above it, which is the healthy direction.
39→31 sqlx_core.types.json uses sqlx_postgres.type_info✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.json uses a type in sqlx_postgres.type_info.
- The types involved
sqlx_core.types.json.Json→sqlx_postgres.type_info.PgTypeInfo
- Direction
- sqlx_core.types.json uses sqlx_postgres.type_info, so a change to sqlx_postgres.type_info can break sqlx_core.types.json, while a change to sqlx_core.types.json can't break sqlx_postgres.type_info.
- Position
- Below the diagonal: sqlx_core.types.json uses a module listed above it, which is the healthy direction.
39→38 sqlx_core.types.json uses sqlx_postgres.arguments✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.json uses a type in sqlx_postgres.arguments.
- The types involved
sqlx_core.types.json.Json→sqlx_postgres.arguments.PgArgumentBuffer
- Direction
- sqlx_core.types.json uses sqlx_postgres.arguments, so a change to sqlx_postgres.arguments can break sqlx_core.types.json, while a change to sqlx_core.types.json can't break sqlx_postgres.arguments.
- Position
- Below the diagonal: sqlx_core.types.json uses a module listed above it, which is the healthy direction.
40→7 sqlx_core.types.text uses sqlx_core.decode✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.text uses a type in sqlx_core.decode.
- The types involved
sqlx_core.types.text.Text→sqlx_core.decode.Decode
- Direction
- sqlx_core.types.text uses sqlx_core.decode, so a change to sqlx_core.decode can break sqlx_core.types.text, while a change to sqlx_core.types.text can't break sqlx_core.decode.
- Position
- Below the diagonal: sqlx_core.types.text uses a module listed above it, which is the healthy direction.
40→10 sqlx_core.types.text uses sqlx_postgres.types.array✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.text uses a type in sqlx_postgres.types.array.
- The types involved
sqlx_core.types.text.Text→sqlx_postgres.types.array.PgHasArrayType
- Direction
- sqlx_core.types.text uses sqlx_postgres.types.array, so a change to sqlx_postgres.types.array can break sqlx_core.types.text, while a change to sqlx_core.types.text can't break sqlx_postgres.types.array.
- Position
- Below the diagonal: sqlx_core.types.text uses a module listed above it, which is the healthy direction.
40→11 sqlx_core.types.text uses sqlx_postgres.value✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.text uses a type in sqlx_postgres.value.
- The types involved
sqlx_core.types.text.Text→sqlx_postgres.value.PgValueRef
- Direction
- sqlx_core.types.text uses sqlx_postgres.value, so a change to sqlx_postgres.value can break sqlx_core.types.text, while a change to sqlx_core.types.text can't break sqlx_postgres.value.
- Position
- Below the diagonal: sqlx_core.types.text uses a module listed above it, which is the healthy direction.
40→17 sqlx_core.types.text uses sqlx_core.encode✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.text uses a type in sqlx_core.encode.
- The types involved
sqlx_core.types.text.Text→sqlx_core.encode.Encode
- Direction
- sqlx_core.types.text uses sqlx_core.encode, so a change to sqlx_core.encode can break sqlx_core.types.text, while a change to sqlx_core.types.text can't break sqlx_core.encode.
- Position
- Below the diagonal: sqlx_core.types.text uses a module listed above it, which is the healthy direction.
40→21 sqlx_core.types.text uses sqlx_core.types✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.text uses a type in sqlx_core.types.
- The types involved
sqlx_core.types.text.Text→sqlx_core.types.Type
- Direction
- sqlx_core.types.text uses sqlx_core.types, so a change to sqlx_core.types can break sqlx_core.types.text, while a change to sqlx_core.types.text can't break sqlx_core.types.
- Position
- Below the diagonal: sqlx_core.types.text uses a module listed above it, which is the healthy direction.
40→30 sqlx_core.types.text uses sqlx_mysql.type_info✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.text uses a type in sqlx_mysql.type_info.
- The types involved
sqlx_core.types.text.Text→sqlx_mysql.type_info.MySqlTypeInfo
- Direction
- sqlx_core.types.text uses sqlx_mysql.type_info, so a change to sqlx_mysql.type_info can break sqlx_core.types.text, while a change to sqlx_core.types.text can't break sqlx_mysql.type_info.
- Position
- Below the diagonal: sqlx_core.types.text uses a module listed above it, which is the healthy direction.
40→31 sqlx_core.types.text uses sqlx_postgres.type_info✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.text uses a type in sqlx_postgres.type_info.
- The types involved
sqlx_core.types.text.Text→sqlx_postgres.type_info.PgTypeInfo
- Direction
- sqlx_core.types.text uses sqlx_postgres.type_info, so a change to sqlx_postgres.type_info can break sqlx_core.types.text, while a change to sqlx_core.types.text can't break sqlx_postgres.type_info.
- Position
- Below the diagonal: sqlx_core.types.text uses a module listed above it, which is the healthy direction.
40→38 sqlx_core.types.text uses sqlx_postgres.arguments✕
- Connections
- 1 pair of types, where a type in sqlx_core.types.text uses a type in sqlx_postgres.arguments.
- The types involved
sqlx_core.types.text.Text→sqlx_postgres.arguments.PgArgumentBuffer
- Direction
- sqlx_core.types.text uses sqlx_postgres.arguments, so a change to sqlx_postgres.arguments can break sqlx_core.types.text, while a change to sqlx_core.types.text can't break sqlx_postgres.arguments.
- Position
- Below the diagonal: sqlx_core.types.text uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 51 | High / Critical |
Roadmap
Begin by establishing architectural governance by documenting significant design decisions in a dedicated ADR folder. Simultaneously, address knowledge freshness by removing orphaned files, prioritizing row.rs, int.rs, and value.rs, followed by explain.rs and type_info.rs. Finally, improve onboarding clarity by adding a Testing section to the README that explains how to run the test suite.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +8.3 pts | Low | ADR Quality |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +8.0 pts | Medium | Architecture documentation |
| Resolve the 2 Orphaned knowledge finding(s) in Knowledge Freshness — start with explain.rs, type_info.rs. | +3.1 pts | Low | Knowledge Freshness |
| Resolve the 76 Orphaned file finding(s) in Knowledge Freshness — start with row.rs (3), int.rs (3), value.rs (3). | +5.0 pts | Medium | Knowledge Freshness |
| Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite. | +2.4 pts | Medium | Documentation (README) |
| Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it. | +1.5 pts | Medium | Deployment & Rollback |
| Interpolated log message defeats structured logging | +1.4 pts | Medium | Structured logging |
| Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life — start with rust-toolchain.toml. | +0.6 pts | Low | Platform End-of-Life |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 0.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| sqlx-macros-core/src/derives/decode.rs | 5.1 | Mixed | Code Duplication: Duplicated block (17 lines × 2) |
| sqlx-sqlite/src/connection/worker.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| sqlx-cli/src/migrate.rs | 6.0 | Mixed | Explicit Debt: FixmeComment |
| sqlx-postgres/src/connection/stream.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| sqlx-mysql/src/testing/mod.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| sqlx-postgres/src/types/cube.rs | 6.0 | Mixed | Explicit Debt: FixmeComment |
| sqlx-postgres/src/types/lquery.rs | 6.0 | Mixed | Explicit Debt: TodoComment |
| sqlx-mysql/src/connection/stream.rs | 6.7 | Mixed | Explicit Debt: TodoComment |
| sqlx-sqlite/src/statement/handle.rs | 6.7 | Mixed | Explicit Debt: TodoComment |
| sqlx-mysql/src/options/mod.rs | 7.0 | Near-clean | God Classes: TooManyMethods: MySqlConnectOptions |
| sqlx-postgres/src/options/mod.rs | 7.0 | Near-clean | God Classes: TooManyMethods: PgConnectOptions |
| sqlx-sqlite/src/options/mod.rs | 7.0 | Near-clean | God Classes: TooManyMethods: SqliteConnectOptions |
| sqlx-sqlite/src/connection/mod.rs | 7.0 | Near-clean | Code Duplication: Duplicated block (5 lines × 2) |
| sqlx-sqlite/src/connection/explain.rs | 7.1 | Near-clean | Cyclomatic Complexity: sqlx_sqlite::connection::explain::explain (cyclomatic 154) |
| sqlx-mysql/src/migrate.rs | 7.1 | Near-clean | Code Duplication: Duplicated block (19 lines × 3) |
| sqlx-postgres/src/migrate.rs | 7.1 | Near-clean | Code Duplication: Duplicated block (18–19 lines × 2) |
| sqlx-postgres/src/connection/resolve.rs | 7.2 | Near-clean | Cyclomatic Complexity: PgConnection::try_cache_type (cyclomatic 19) |
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. 49 of 49 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); none rely on LLM judgement. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 49 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 301 of 312 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 | — | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.rs) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (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, 116 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.
- 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 its dependency graph was closed from the manifests over the crates.io index, and part of it could not be read: no published release of rsa satisfies `0.10.0-rc.18`. A licence verdict over part of a dependency graph is not a licence verdict. NOT a finding that this repository's licences are compliant: this dimension asserts nothing about its licensing in either direction.
- D19 Documentation Quality — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Each ecosystem's manifests (what makes a folder runnable or a published package) need their own proof before D19 judges its units. Until then those folders' READMEs are judged only as documents (boilerplate, structure), never counted as complete.
- D21 Naming Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D21's deterministic naming rules are gated on C# first (docs/plans/deterministic-engine.md, P5): each other language is switched on only after its own concept suite and A/B gate pass. Until then its declarations carry no naming verdict this run — this says nothing about whether its names are consistent.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22's deterministic call-shape rules are gated on C# first (docs/plans/deterministic-engine.md, P5): each other language is switched on only after its own concept suite and A/B gate pass. This says nothing about whether that surface is consistent.
- D24 Comment Value — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and no C#, F#, JavaScript/TypeScript, Dart, Ruby or Scala was found, and this repository's Rust is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, JavaScript/TypeScript, Java, Dart, Ruby and Scala source only, and no C#, JavaScript/TypeScript, Java, Dart, Ruby or Scala was found, and this repository's Rust is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- M4 Documentation accuracy — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. M4 checks only the claim kinds adjudicated at or above 95 % precision: links and versions (PREREGISTRATION version 9). Paths, command arguments, installs, environment variables, settings, projects, packages, routes, cd targets, infrastructure products and removed modules are read but not checked, and none of them is reported or counted.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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 reads C# syntax, and JavaScript/TypeScript, Java, PHP, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Java, PHP, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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 reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Dart, Ruby, Scala and PHP source only, and no C# was loaded and no JavaScript/TypeScript, Java, Kotlin, Dart, Ruby, Scala or PHP was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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 reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, Dart, Ruby, Scala and PHP source only, and no C# was loaded and no JavaScript/TypeScript, Java, Kotlin, Python, Dart, Ruby, Scala or PHP was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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 reads C# syntax, and Java, TypeScript/JavaScript, Python, Dart, Ruby, Scala, Kotlin and PHP source only, and no C# was loaded, and this repository's Rust is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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 reads C# syntax, and JavaScript/TypeScript, Java, F#, Python, Dart, Ruby, Scala, Kotlin and PHP source only, and no C# was loaded and no JavaScript/TypeScript, Java, F#, Python, Dart, Ruby, Scala, Kotlin or PHP was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Scala, Ruby and Python source only, and no C# was loaded and no JavaScript/TypeScript, Java, Scala, Ruby or Python was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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 reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Scala, PHP, Erlang, Python, Dart and Ruby source only, and no C# was loaded and no JavaScript/TypeScript, Java, Kotlin, Scala, PHP, Erlang, Python, Dart or Ruby was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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 reads C# syntax, and PHP, Java, Kotlin, Python, Ruby, Scala, Dart, Swift, Erlang, Go and JavaScript/TypeScript source only, and no C# was loaded and no PHP, Java, Kotlin, Python, Ruby, Scala, Dart, Swift, Erlang, Go, JavaScript or TypeScript was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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 reads C# syntax and MSBuild project configuration, TypeScript source and its tsconfig files, Java source and its package and module declarations, PHP source and its PHPStan and Psalm configuration, Dart source and its pubspec language version, Ruby source and its Sorbet and Steep configuration, Scala source and its build's explicit-nulls, WartRemover and Scalafix settings, and Kotlin source only, and no C# was loaded, no TypeScript was found, and this repository's Rust is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- 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 publishes two things only: a runnable or packaged unit with no example, and a multi-project root README that maps none of its parts. It does not judge clarity, and its other checks (overview, licence, boilerplate, structure, empty sections, XML-doc coverage) are withheld after adjudication: their candidates are counted in the card's gaps, not shown as rows. A false statement in a document is M4's; units are .NET projects only.
- 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.
- 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 Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- 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.
- 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".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
Dimensions
D1 · Cyclomatic Complexity
11 function(s) exceeded the cyclomatic complexity threshold of 15; the worst was sqlx_sqlite::connection::explain::explain at 154. A further 12 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 PgType::try_array_element at 102 — they are counted neither in the figure above nor in this dimension's score. 5 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: sqlx-postgres/src/type_info.rs (PgType::try_array_element at 102), sqlx-mysql/src/protocol/text/column.rs (ColumnType::name at 39), sqlx-postgres/src/message/mod.rs (BackendMessageFormat::try_from_u8 at 22), sqlx-core/src/any/arguments.rs (AnyArguments::convert_into at 19), sqlx-mysql/src/options/parse.rs (MySqlConnectOptions::parse_from_url at 16). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
What to do
- Bring the 1 body over 60 down to 60 or less in Cyclomatic Complexity — start with sqlx_sqlite::connection::explain::explain (cyclomatic 154). — Refactoring it lifts Cyclomatic Complexity from 6.7 to about 7.7/10.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
26 function(s) exceeded the cognitive complexity threshold of 15; the worst was sqlx_sqlite::connection::explain::explain at 374.
What to do
- Bring the 1 body over 120 down to 120 or less in Cognitive Complexity — start with sqlx_sqlite::connection::explain::explain (cognitive 374). — Refactoring it lifts Cognitive Complexity from 4.6 to about 5.8/10.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
14 god class(es) detected.
What to do
- Resolve the 4 MethodTooLong finding(s) in God Classes — start with type_info.rs (2), logger.rs, worker.rs. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 4 TooManyMethods finding(s) in God Classes — start with mod.rs (3), handle.rs. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 3 FunctionTooLong finding(s) in God Classes — start with explain.rs, row.rs, lib.rs. — One of this dimension's main actionable groups (3 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
46 duplicated block group(s) detected. One further row reports members as variants of one another; it aggregates block groups already counted above and is not itself counted.
What to do
- Resolve the 6 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with box.rs (2), circle.rs (2), path.rs. — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 3 Duplicated block (13 lines × 2) finding(s) in Code Duplication — start with migrate.rs (3). — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 3 Duplicated block (7 lines × 2) finding(s) in Code Duplication — start with decode.rs, value.rs, box.rs. — One of this dimension's main actionable groups (3 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
8 production modules (Cargo), 0 dependency cycle(s), 1 unstable depended-on module(s). Read from the build's own module declarations; 1 module(s) off the main sequence, with abstractness counted on 7 of the 8 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
What to do
- Resolve the 1 Unstable project sqlx finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
6 of 117 classes have LCOM4 above 3.
What to do
- Resolve the 6 Low cohesion finding(s) in Cohesion (LCOM4) — start with mod.rs (6). — One of this dimension's main actionable groups (6 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
697 test methods: 294 unit, 403 integration, 0 BDD, 0 e2e. The Rust suite contributes 697 `#[test]` function(s) across 116 file(s) declaring at least one; its unit/integration split is Cargo's own — 43 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.
D12 · Dependency Hygiene
0 outdated, 0 yanked direct Cargo dependencies. Only DIRECT edges are graded: a transitive crate cannot be moved past what its parent's requirement admits, so reporting one would be advice its owner cannot take. A newer release is reported only where this repository's OWN requirement already admits it, so the remedy is `cargo update` and never a manifest edit — which means a release outside the declared range is deliberately NOT charged, because a written-down constraint is a decision rather than a defect. Note that a bare requirement is a CARET, and for a 0.x crate its ceiling is the minor. Whether any crate is UNMAINTAINED is not graded — crates.io publishes no maintenance status, and release age does not stand in for one. Known CVEs in this dependency graph are D30's question, read from Cargo.lock there.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
6 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is sqlx-core/src/config/migrate.rs. Counted over 233 of the 369 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
47 deducted task-comment markers across 57245 LoC (0.1/KLoC) → score 9.8. 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 32 TodoComment finding(s) in Explicit Debt — start with macros.rs (3), mod.rs (3), describe.rs (2). — One of this dimension's main actionable groups (32 warning-level).
- Resolve the 15 FixmeComment finding(s) in Explicit Debt — start with cube.rs (6), migrate.rs (2), bigdecimal.rs. — One of this dimension's main actionable groups (15 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
1 of 1 documentation facets pass in full. 5 document(s) read across 1 unit(s).
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).
D26 · Project Cohesion
3 of 8 build units (Cargo) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
51 finding(s): 0 critical, 47 high, 4 medium, 0 low. 46 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 1 file(s) — `sqlx-postgres/src/types/int.rs` (line 21) — 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 2 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 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED (2). — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- No action in Static Analysis (SAST) — all 46 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (46 issue-level, 0 of them charged here).
D31 · IaC & Container Security
trivy and checkov found no infrastructure-as-code or container misconfigurations.
D34 · Knowledge Freshness
78 of 233 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is sqlx-sqlite/src/connection/explain.rs. Counted over 233 of the 369 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 76 Orphaned file finding(s) in Knowledge Freshness — start with row.rs (3), int.rs (3), value.rs (3). — One of this dimension's main actionable groups (76 recommendation-level).
- Resolve the 2 Orphaned knowledge finding(s) in Knowledge Freshness — start with explain.rs, type_info.rs. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 Further orphaned files (smaller) finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
Strongest change-coupling: decode.rs↔encode.rs 68%; lib.rs↔lib.rs 63%; lib.rs↔lib.rs 57%
What to do
- Resolve the 2 Change coupling finding(s) in Change Coupling — start with decode.rs (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Change coupling clique finding(s) in Change Coupling — start with lib.rs. — One of this dimension's main actionable groups (1 warning-level).
D44 · Platform End-of-Life
1 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.
What to do
- Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life — start with rust-toolchain.toml. — One of this dimension's main actionable groups (1 warning-level).
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX8 · Test isolation
AX9 · CQS / query purity
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 15 of 29 project(s) that lack one — worth up to 1 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
- Only 5/6 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `sqlx-cli`.
What to do
- Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
P3 · Security & performance tooling
What to do
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
P6 · Release Hygiene
P8 · Schema migrations
PF1 · Benchmark discipline
PF3 · Async & latency hygiene
- `establish` is async and calls block_on — a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs. — sqlx-sqlite/src/connection/worker.rs:105
What to do
- Rust: `.await` the future instead of `block_on` (on a Tokio runtime thread it panics outright) and use `tokio::time::sleep(..).await` instead of `std::thread::sleep`; where synchronous code must run, move it to `tokio::task::spawn_blocking` or `block_in_place`.
S1 · Web-Security Posture
- MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything — a signature, an integrity or tamper check, a credential, or any value an attacker can influence — that is a real weakness: use SHA-256+ (`sha2::Sha256::digest(…)`) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead — a non-cryptographic hash such as xxhash or murmurhash says it in code — since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call. (×2) — sqlx-mysql/src/connection/auth.rs:87, sqlx-postgres/src/message/password.rs:62
What to do
- Review each MD5/SHA1 use by what it protects: replace it with SHA-256+ (or a KDF for passwords) where the digest is security-relevant, and switch it to a non-cryptographic hash (xxhash, murmurhash) where it only derives an identifier such as a cache key. This repository constructs a collision-broken hash (MD5/SHA1) at 2 sites, not one: `sqlx-mysql/src/connection/auth.rs:87` (`Sha1::new`), `sqlx-postgres/src/message/password.rs:62` (`Md5::new`). Each is a separate decision — fixing only the line this row cites leaves the others in place.
X1 · Async correctness
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
- `len` is read from the bytes being parsed at line 224 (`get_i32`), then used to size a `Vec::with_capacity` at line 236 — and nowhere in its scope is `len` compared to anything, clamped, or bounded against the input that remains. Whoever wrote those bytes therefore chooses the allocation directly: it reserves the whole length before a single byte of the payload is known to exist, so a 32-bit length asks for up to 4 GiB, and an allocation the allocator refuses aborts the process with `memory allocation of … bytes failed` — an abort, not a panic, so no `catch_unwind` intercepts it and the whole process dies; a 64-bit length past `isize::MAX` panics with `capacity overflow` instead, out of a parser whose failure path was written for malformed input, not for hostile input. Bound `len` against the bytes actually remaining and a maximum the format allows before allocating. — sqlx-postgres/src/types/array.rs:236
What to do
- Each finding names the read that takes the length from the input and the site that spends it, and states that the value is never compared in between. Confirm from the two, then bound the length against the remaining stream before using it.
X21 · Side-effecting pattern guard
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X30 · Support guard that admits what it rejects
X4 · Structured logging
- `warn!` at line 169 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — sqlx-postgres/src/types/hstore.rs:169
- `warn!` at line 62 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — sqlx-postgres/src/options/pgpass.rs:62
- `warn!` at line 125 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — sqlx-postgres/src/options/pgpass.rs:125
- `debug!` at line 133 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `debug!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — sqlx-postgres/src/message/copy.rs:133
- `trace!` at line 437 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `trace!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — sqlx-postgres/src/connection/resolve.rs:437
- `warn!` at line 238 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `warn!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — sqlx-core/src/migrate/source.rs:238
- `debug!` at line 201 is handed a format string with `{…}` values in it, so tracing records one finished `message` field — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: `debug!(order_id = %order_id, status = ?status, "order status updated")` (`%` records a value by its `Display`, `?` by its `Debug`, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: `error = %err`. — sqlx-core/src/config/mod.rs:201
What to do
- Interpolated log message defeats structured logging
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 75% | Strong | Solid. |
| Architecture | 92% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 59% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 72% | Strong | Solid. |
| Security | 81% | Strong | Solid. |
| Performance | 85% | Exemplary | Strongest area. |
Unscored — 3 check(s) recorded observations but carry no score
- D36 Supply-chain Provenance & Signing — 3 observation(s) recorded · The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
- X10 Duplicated predicate — 2 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
- X9 Subsumed condition operand — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 1 control(s) we could not find positive evidence for
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 66 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — Not applicable: this repository's Python imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's; Rust with no dependency-injection crate has no container to hand one lifetime's instance to another — every value is owned by the code that builds it, and the borrow checker rejects a longer-lived value keeping a borrow of a shorter-lived one.
- AX2 Stateful singletons — No container singleton was found, so there is no shared instance for concurrent requests to race on. No function in this Python code is served by a threaded web framework (a Flask, Bottle or FastAPI route, a Django or Pyramid view), so no module is shared between request threads. Rust's compiler refuses unsynchronised shared mutation — a value shared across threads must be Sync — so the race this check looks for cannot be written.
- 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
- AXB1 Runtime evidence locked — no reproducible boot — This repository has nothing the runtime tiers could boot or serve — no markup, no UI framework or web-server dependency, no UI component source, no native UI project and no API definition — nothing here is a surface to boot — so runtime a11y/egress/header evidence has no subject here. Not applicable: this is neither a gap in the scan nor a finding about your code.
- C1 Data Protection — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential in a Diesel schema, a SeaORM entity, a Diesel or sqlx row struct, or a SQL CREATE TABLE or ALTER TABLE — and no database or data-store crate (sqlx, Diesel, SeaORM, rusqlite, tokio-postgres, MongoDB, …) in the source either, so this repository keeps no data at rest for these controls to protect.
- C2 Access Controls — No access-control surface detected in the analyzed source — this repository starts no server another machine can reach (no actix-web HttpServer, axum::serve, Rocket launch, warp::serve, poem or salvo Server, tonic Server::builder, hyper or tiny_http server outside examples and tests, none bound beyond loopback). Access control is therefore N/A here — a crate is authorized by the application that serves it, not by itself. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential in a Diesel schema, a SeaORM entity, a Diesel or sqlx row struct, or a SQL CREATE TABLE or ALTER TABLE — and no database or data-store crate (sqlx, Diesel, SeaORM, rusqlite, tokio-postgres, MongoDB, …) in the source either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a store configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential in a Diesel schema, a SeaORM entity, a Diesel or sqlx row struct, or a SQL CREATE TABLE or ALTER TABLE — and no database or data-store crate (sqlx, Diesel, SeaORM, rusqlite, tokio-postgres, MongoDB, …) in the source either, so this repository keeps no personal data whose lifetime a retention limit would bound.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, first_name, date_of_birth, phone, …) or stored credential in a Diesel schema, a SeaORM entity, a Diesel or sqlx row struct, or a SQL CREATE TABLE or ALTER TABLE — and no database or data-store crate (sqlx, Diesel, SeaORM, rusqlite, tokio-postgres, MongoDB, …) in the source either, so this repository keeps no personal data for a data subject to erase, export or consent over.
- D10 Test Quality — ~14669 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
- D14 License Compliance — Crate licences not graded — the lock-less Cargo graph could not be read in full
- 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.
- D21 Naming Consistency — Naming consistency is measured on C# only; Python, Rust not measured.
- D22 Internal API Consistency — API consistency is measured on C# only; the exposed Rust surface was not measured.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — D24 reads C# and Visual Basic comments only — this repository's production source is .py, .rs, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.rs), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D30 Dependency Vulnerabilities — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Cargo manifest — not scanned yet).
- 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.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Cargo manifest — not scanned yet).
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (54 value object(s))
- 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 — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- 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
- PF2 Allocation hygiene — Not applicable: Rust spells out every heap allocation and makes borrowed slices (&[T], &str) its ordinary parameter types, so the allocation-aware style this card rewards elsewhere is the language's baseline rather than a rung to climb.
- X12 Unreachable branch — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X13 Undrained process stream — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X16 Unfloored truncation loop — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X17 Uncapped recursion over a caller-supplied document — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X18 Disposal-pattern 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
- X19 Unrestored process-global state — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X2 Cancellation propagation — no C# was loaded; this repository's Rust was read, and no request in it can be cancelled by a caller — a Rust request takes no token: a future is cancelled by dropping it, from outside the call (select!, a timeout, an aborted task), and reqwest, hyper and tonic take none
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X22 Contradicted release guard — 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
- X23 Unguarded diagnostic materialisation — 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
- X24 Document value interpolated into markup unescaped — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X25 Inert configuration knob — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. Rust's compiler refuses the unsynchronised version: a collection shared between a callback's thread and the waiting body must be `Sync`, which a `Vec`, `VecDeque` or `HashMap` is only behind a `Mutex`/`RwLock`, so the race this check looks for cannot be written in safe Rust. Not a gap in the analyzer and 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
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- 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 — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 49 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Orphaned knowledge sqlx-sqlite/src/connection/explain.rs:1
- Orphaned knowledge sqlx-postgres/src/type_info.rs:1
- REDACTED
Serious — 168 finding(s)
- TodoComment tests/x.py:380
- TodoComment tests/sqlite/describe.rs:652
- TodoComment tests/sqlite/describe.rs:666
- TodoComment tests/postgres/macros.rs:298
- TodoComment sqlx-sqlite/src/statement/handle.rs:126
- TodoComment sqlx-sqlite/src/connection/worker.rs:27
- TodoComment sqlx-postgres/src/arguments.rs:13
- TodoComment sqlx-postgres/src/arguments.rs:14
- TodoComment sqlx-postgres/src/types/array.rs:266
- TodoComment sqlx-postgres/src/types/interval.rs:74
- TodoComment sqlx-postgres/src/types/lquery.rs:56
- TodoComment sqlx-postgres/src/types/lquery.rs:78
- TodoComment sqlx-postgres/src/types/ltree.rs:104
- TodoComment sqlx-postgres/src/testing/mod.rs:86
- TodoComment sqlx-mysql/src/testing/mod.rs:93
- TodoComment sqlx-postgres/src/message/bind.rs:105
- TodoComment sqlx-postgres/src/message/bind.rs:106
- TodoComment sqlx-postgres/src/message/row_description.rs:98
- TodoComment sqlx-postgres/src/message/row_description.rs:99
- TodoComment sqlx-postgres/src/connection/stream.rs:147
- TodoComment sqlx-mysql/src/types/str.rs:26
- TodoComment sqlx-mysql/src/connection/stream.rs:144
- TodoComment sqlx-core/src/error.rs:181
- TodoComment sqlx-core/src/query.rs:226
- TodoComment sqlx-core/src/transaction.rs:212
- FixmeComment sqlx-postgres/src/types/bigdecimal.rs:102
- FixmeComment sqlx-postgres/src/types/cube.rs:18
- FixmeComment sqlx-postgres/src/types/cube.rs:23
- FixmeComment sqlx-postgres/src/types/cube.rs:26
- FixmeComment sqlx-postgres/src/types/cube.rs:30
- FixmeComment sqlx-postgres/src/types/cube.rs:33
- FixmeComment sqlx-postgres/src/types/cube.rs:35
- FixmeComment sqlx-postgres/src/connection/tls.rs:26
- FixmeComment sqlx-mysql/src/connection/establish.rs:70
- FixmeComment sqlx-core/src/query.rs:381
- FixmeComment sqlx-core/src/query_as.rs:81
- FixmeComment sqlx-core/src/query_scalar.rs:78
- FixmeComment sqlx-core/src/migrate/source.rs:163
- FixmeComment sqlx-cli/src/migrate.rs:135
- FixmeComment sqlx-cli/src/migrate.rs:342
- Duplicated block (6 lines × 2) sqlx-postgres/src/types/geometry/box.rs:74
- Duplicated block (6 lines × 2) sqlx-postgres/src/types/geometry/path.rs:84
- Duplicated block (6 lines × 2) sqlx-mysql/src/value.rs:40
- Duplicated block (6 lines × 2) sqlx-postgres/src/types/geometry/circle.rs:75
- Duplicated block (6 lines × 2) sqlx-postgres/src/types/geometry/box.rs:92
- Duplicated block (6 lines × 2) sqlx-postgres/src/types/geometry/circle.rs:85
- Low cohesion: SqliteConnection (LCOM4 12) sqlx-sqlite/src/connection/mod.rs:63
- Low cohesion: SqliteConnectOptions (LCOM4 12) sqlx-sqlite/src/options/mod.rs:62
- Low cohesion: MySqlConnection (LCOM4 11) sqlx-mysql/src/connection/mod.rs:34
- Low cohesion: PgConnection (LCOM4 11) sqlx-postgres/src/connection/mod.rs:38
- Low cohesion: PgConnectOptions (LCOM4 5) sqlx-postgres/src/options/mod.rs:19
- Low cohesion: MySqlConnectOptions (LCOM4 4) sqlx-mysql/src/options/mod.rs:67
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- MethodTooLong: QueryPlanLogger.fmt sqlx-sqlite/src/logger.rs:63
- MethodTooLong: ConnectionWorker.establish sqlx-sqlite/src/connection/worker.rs:105
- MethodTooLong: PgType.try_array_element sqlx-postgres/src/type_info.rs:887
- MethodTooLong: PgType.kind sqlx-postgres/src/type_info.rs:773
- TooManyMethods: MySqlConnectOptions sqlx-mysql/src/options/mod.rs:67
- TooManyMethods: StatementHandle sqlx-sqlite/src/statement/handle.rs:28
- TooManyMethods: PgConnectOptions sqlx-postgres/src/options/mod.rs:19
- TooManyMethods: SqliteConnectOptions sqlx-sqlite/src/options/mod.rs:62
- sqlx_postgres::connection::stream::parse_server_version (cognitive 18) sqlx-postgres/src/connection/stream.rs:221
- sqlx_postgres::options::pgpass::find_next_field (cognitive 18) sqlx-postgres/src/options/pgpass.rs:195
- sqlx_postgres::connection::describe::visit_plan (cognitive 17) sqlx-postgres/src/connection/describe.rs:187
- FunctionTooLong: sqlx_sqlite::connection::explain::explain sqlx-sqlite/src/connection/explain.rs:568
- FunctionTooLong: sqlx_macros_core::derives::row::expand_derive_from_row_struct sqlx-macros-core/src/derives/row.rs:39
- FunctionTooLong: sqlx_cli::do_run sqlx-cli/src/lib.rs:79
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (13 lines × 2) sqlx-cli/src/migrate.rs:202
- Duplicated block (13 lines × 2) sqlx-postgres/src/migrate.rs:348
- Duplicated block (13 lines × 2) sqlx-cli/src/migrate.rs:297
- Duplicated block (7 lines × 2) sqlx-macros-core/src/derives/decode.rs:274
- Duplicated block (7 lines × 2) sqlx-mysql/src/value.rs:77
- Duplicated block (7 lines × 2) sqlx-postgres/src/types/geometry/box.rs:82
- Duplicated block (11 lines × 2) sqlx-mysql/src/migrate.rs:78
- Duplicated block (11 lines × 2) sqlx-postgres/src/advisory_lock.rs:269
- Duplicated block (11 lines × 2) sqlx-postgres/src/migrate.rs:44
- sqlx_cli::migrate::run (cyclomatic 17) sqlx-cli/src/migrate.rs:216
- sqlx_cli::migrate::revert (cyclomatic 17) sqlx-cli/src/migrate.rs:324
- sqlx_macros_core::derives::attributes::parse_container_attributes (cyclomatic 17) sqlx-macros-core/src/derives/attributes.rs:78
- sqlx_macros_core::derives::row::expand_derive_from_row_struct (cyclomatic 16) sqlx-macros-core/src/derives/row.rs:39
- sqlx_sqlite::connection::explain::explain (cognitive 374) sqlx-sqlite/src/connection/explain.rs:568
- sqlx_sqlite::connection::describe::describe (cognitive 25) sqlx-sqlite/src/connection/describe.rs:12
- sqlx_cli::migrate::run (cognitive 28) sqlx-cli/src/migrate.rs:216
- sqlx_cli::migrate::revert (cognitive 28) sqlx-cli/src/migrate.rs:324
- PgConnection::resolve_statement_metadata (cognitive 25) sqlx-postgres/src/connection/resolve.rs:30
- PgConnection::try_cache_type (cognitive 24) sqlx-postgres/src/connection/resolve.rs:225
- sqlx_core::net::tls::tls_rustls::connector (cognitive 23) sqlx-core/src/net/tls/tls_rustls.rs:95
- sqlx_core::pool::inner::spawn_maintenance_tasks (cognitive 23) sqlx-core/src/pool/inner.rs:520
- sqlx_macros_core::derives::attributes::parse_container_attributes (cognitive 19) sqlx-macros-core/src/derives/attributes.rs:78
- sqlx_macros_core::query::expand_with_data (cognitive 18) sqlx-macros-core/src/query/mod.rs:186
- FileTooLong: connection/explain.rs sqlx-sqlite/src/connection/explain.rs
- FileTooLong: src/type_info.rs sqlx-postgres/src/type_info.rs
- Change coupling: decode.rs ↔ encode.rs sqlx-macros-core/src/derives/decode.rs:1
- Change coupling: decode.rs ↔ type.rs sqlx-macros-core/src/derives/decode.rs:1
- Duplicated block (17 lines × 2) sqlx-macros-core/src/derives/decode.rs:31
- Duplicated block (17 lines × 2) sqlx-mysql/src/testing/mod.rs:166
- Duplicated block (14 lines × 3) sqlx-macros-core/src/derives/decode.rs:32
- Duplicated block (14 lines × 3) sqlx-mysql/src/migrate.rs:319
- Duplicated block (14 lines × 2) sqlx-postgres/src/types/geometry/path.rs:91
- Duplicated block (14 lines × 2) sqlx-postgres/src/migrate.rs:326
- Duplicated block (10 lines × 2) sqlx-postgres/src/types/geometry/path.rs:158
- Duplicated block (10 lines × 2) sqlx-postgres/src/types/lquery.rs:137
- Duplicated block (9 lines × 2) sqlx-mysql/src/testing/mod.rs:29
- Duplicated block (9 lines × 2) sqlx-postgres/src/types/hstore.rs:186
- Weak hash algorithm sqlx-mysql/src/connection/auth.rs:87
- Weak hash algorithm sqlx-postgres/src/message/password.rs:62
- sqlx_sqlite::connection::explain::explain (cyclomatic 154) sqlx-sqlite/src/connection/explain.rs:568
- ConnectionWorker::establish (cyclomatic 43) sqlx-sqlite/src/connection/worker.rs:105
- QueryPlanLogger::fmt (cyclomatic 35) sqlx-sqlite/src/logger.rs:63
- PgConnectOptions::parse_from_url (cyclomatic 25) sqlx-postgres/src/options/parse.rs:9
- PgRange::decode (cyclomatic 21) sqlx-postgres/src/types/range.rs:331
- PgConnection::try_cache_type (cyclomatic 19) sqlx-postgres/src/connection/resolve.rs:225
- SqliteConnectOptions::from_db_and_params (cyclomatic 16) sqlx-sqlite/src/options/parse.rs:17
- QueryPlanLogger::fmt (cognitive 108) sqlx-sqlite/src/logger.rs:63
- ConnectionWorker::establish (cognitive 92) sqlx-sqlite/src/connection/worker.rs:105
- PgRange::decode (cognitive 48) sqlx-postgres/src/types/range.rs:331
- MySqlConnection::run (cognitive 36) sqlx-mysql/src/connection/executor.rs:103
- MySqlStream::wait_until_ready (cognitive 25) sqlx-mysql/src/connection/stream.rs:72
- PgConnectOptions::parse_from_url (cognitive 21) sqlx-postgres/src/options/parse.rs:9
- PgRecordDecoder::try_decode (cognitive 21) sqlx-postgres/src/types/record.rs:92
- SqliteConnectOptions::from_db_and_params (cognitive 20) sqlx-sqlite/src/options/parse.rs:17
- Migrator::run_direct (cognitive 18) sqlx-core/src/migrate/migrator.rs:227
- TypeResolver::fill_cache (cognitive 18) sqlx-postgres/src/connection/resolve.rs:406
- QueryMacroInput::parse (cognitive 17) sqlx-macros-core/src/query/input.rs:37
- Handshake::decode_with (cognitive 16) sqlx-mysql/src/protocol/connect/handshake.rs:31
- PgStream::recv (cognitive 16) sqlx-postgres/src/connection/stream.rs:123
- ClassTooLong: PgType sqlx-postgres/src/type_info.rs:57
- Change coupling clique: lib.rs, lib.rs, lib.rs sqlx-mysql/src/lib.rs
- Near-duplicate member pair (19 shared lines) sqlx-postgres/src/types/geometry/box.rs:73
- Duplicated block (31 lines × 2) sqlx-postgres/src/types/range.rs:408
- Duplicated block (29–30 lines × 2) sqlx-cli/src/migrate.rs:229
- Duplicated block (30 lines × 2) sqlx-mysql/src/testing/mod.rs:104
- Duplicated block (28 lines × 2) sqlx-mysql/src/testing/mod.rs:45
- Duplicated block (27–28 lines × 2) sqlx-postgres/src/types/geometry/path.rs:123
- Duplicated block (25–26 lines × 2) sqlx-sqlite/src/connection/explain.rs:1236
- Duplicated block (23 lines × 2) sqlx-macros-core/src/derives/type.rs:200
- Duplicated block (20–22 lines × 2) sqlx-macros-core/src/derives/row.rs:43
- Duplicated block (19 lines × 3) sqlx-mysql/src/migrate.rs:134
- Duplicated block (18–19 lines × 2) sqlx-postgres/src/migrate.rs:272
- Duplicated block (14–17 lines × 2) sqlx-core/src/migrate/migrator.rs:247
- Duplicated block (12 lines × 2) sqlx-postgres/src/migrate.rs:227
- Duplicated block (11–12 lines × 2) sqlx-sqlite/src/connection/explain.rs:1276
- Duplicated block (11 lines × 3) sqlx-macros/src/lib.rs:13
- Duplicated block (5 lines × 2) sqlx-sqlite/src/connection/mod.rs:319
- Duplicated block (16 lines × 2) sqlx-core/src/any/query_result.rs:12
- Duplicated block (20 lines × 2) sqlx-mysql/src/migrate.rs:93
- Duplicated block (12 lines × 3) sqlx-mysql/src/migrate.rs:117
- Duplicated block (8 lines × 2) sqlx-mysql/src/testing/mod.rs:246
- Duplicated block (6 lines × 3) sqlx-postgres/src/types/cube.rs:66
- Duplicated block (16 lines × 3) sqlx-mysql/src/migrate.rs:248
- End-of-life runtime: Rust 1.94 rust-toolchain.toml:1
- Unstable project sqlx
- Off the main sequence: sqlx-core
- Sync-over-async blocking sqlx-sqlite/src/connection/worker.rs:105
- Length read from the parsed input is spent without ever being bounded sqlx-postgres/src/types/array.rs:236
Minor — 95 finding(s)
- Orphaned file sqlx-postgres/src/types/range.rs:1
- Orphaned file sqlx-postgres/src/types/mod.rs:1
- Orphaned file sqlx-core/src/from_row.rs:1
- Orphaned file sqlx-core/src/error.rs:1
- Orphaned file sqlx-postgres/src/types/geometry/polygon.rs:1
- Orphaned file sqlx-postgres/src/types/geometry/path.rs:1
- Orphaned file sqlx-postgres/src/types/money.rs:1
- Orphaned file sqlx-macros-core/src/derives/decode.rs:1
- Orphaned file sqlx-postgres/src/types/lquery.rs:1
- Orphaned file sqlx-sqlite/src/regexp.rs:1
- Orphaned file sqlx-postgres/src/types/array.rs:1
- Orphaned file sqlx-sqlite/src/connection/deserialize.rs:1
- Orphaned file sqlx-postgres/src/types/hstore.rs:1
- Orphaned file sqlx-postgres/src/types/geometry/box.rs:1
- Orphaned file sqlx-macros-core/src/derives/type.rs:1
- Orphaned file sqlx-core/src/executor.rs:1
- Orphaned file sqlx-core/src/types/mod.rs:1
- Orphaned file sqlx-core/src/transaction.rs:1
- Orphaned file sqlx-macros-core/src/derives/encode.rs:1
- Orphaned file sqlx-macros-core/src/derives/attributes.rs:1
- Orphaned file sqlx-test/src/lib.rs:1
- Orphaned file sqlx-postgres/src/types/geometry/line_segment.rs:1
- Orphaned file sqlx-postgres/src/message/response.rs:1
- Orphaned file sqlx-postgres/src/connection/sasl.rs:1
- Orphaned file sqlx-core/src/row.rs:1
- Interpolated log message defeats structured logging sqlx-postgres/src/types/hstore.rs:169
- Interpolated log message defeats structured logging sqlx-postgres/src/options/pgpass.rs:62
- Interpolated log message defeats structured logging sqlx-postgres/src/options/pgpass.rs:125
- Interpolated log message defeats structured logging sqlx-postgres/src/message/copy.rs:133
- Interpolated log message defeats structured logging sqlx-postgres/src/connection/resolve.rs:437
- Interpolated log message defeats structured logging sqlx-core/src/migrate/source.rs:238
- Interpolated log message defeats structured logging sqlx-core/src/config/mod.rs:201
- Duplicated predicate sqlx-macros-core/src/derives/decode.rs:19
- Duplicated predicate sqlx-mysql/src/connection/executor.rs:124
- Off-boarding risk: anonymized user #1
- Further sole-owners (lower concentration)
- No ADRs found
- Projects may be oversized for their cohesion
- Further orphaned files (smaller)
- REDACTED
- No ADRs
- No architecture diagram/doc
- Logging is not universal
- Subsumed condition operand tests/x.py:140
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-0d10dbbbf4d746e188448265db561c73/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-0d10dbbbf4d746e188448265db561c73/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off --exclude *.arrow --exclude *.avro --exclude *.csv --exclude *.dat --exclude *.db --exclude *.feather --exclude *.geojson --exclude *.h5 --exclude *.hdf5 --exclude *.jsonl --exclude *.log --exclude *.ndjson --exclude *.npy --exclude *.npz --exclude *.orc --exclude *.parquet --exclude *.pickle --exclude *.pkl --exclude *.psv --exclude *.sqlite --exclude *.sqlite3 --exclude *.tfrecord --exclude *.tsv --exclude *.txt . | 51 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | none (dependency manifest found, not scanned for vulnerabilities here) | — | none (dependency manifest found, not scanned for vulnerabilities here): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Cargo manifest — not scanned yet). | 0 | — |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 0 | 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 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | none (dependency manifest found, not scanned for vulnerabilities here) | — | none (dependency manifest found, not scanned for vulnerabilities here): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Cargo manifest — not scanned yet). | 0 | — |