🐚 A powerful relational ORM for Rust
This report summarizes scanner evidence for SeaQL/sea-orm, a Rust project with 9,946 GitHub stars. SynthScan examined 225,692 lines of code across 1503 source files, recording 803 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 3.4 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 776 finding(s).
Are imports declared and package/API names verified? 26 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 803 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 803 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sea-orm-macros/src/lib.rs | 21 | } | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 41 | /// # pub id: i32, | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 61 | /// # } | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 81 | /// # } | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 101 | /// use sea_orm::entity::prelude::*; | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 121 | /// # } | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 221 | COMMENT | |
| LOW | sea-orm-macros/src/lib.rs | 241 | /// # fn table_name(&self) -> &'static str { | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 261 | /// # impl ColumnTrait for Column { | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 281 | /// # fn def(&self) -> RelationDef { | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 301 | /// The EnumIter is also derived, allowing iteration over all enum variants. | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 321 | Err(e) => e.to_compile_error().into(), | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 341 | /// # pub struct Entity; | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 361 | /// # type ValueType = i32; | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 381 | /// # | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 401 | COMMENT | |
| LOW | sea-orm-macros/src/lib.rs | 421 | /// # "cake" | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 441 | /// # } | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 481 | /// # Container attributes | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 501 | /// # #[sea_orm(primary_key)] | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 521 | /// | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 541 | COMMENT | |
| LOW | sea-orm-macros/src/lib.rs | 561 | /// # fn table_name(&self) -> &'static str { | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 581 | /// # true | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 601 | /// # panic!("No Relation"); | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 621 | /// | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 641 | /// - `string_value` or `num_value`: | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 661 | #[cfg(feature = "derive")] | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 681 | /// | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 701 | /// #[sea_orm(alias = "bakery_name")] | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 721 | #[cfg(feature = "derive")] | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 741 | /// pub enum Relation { | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 761 | .unwrap_or_else(Error::into_compile_error) | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 781 | /// Payment, | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 801 | /// The DeriveMigrationName derive macro will implement `sea_orm_migration::MigrationName` for a migration. | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 841 | /// Since 2.0, this macro cannot be used with the `FromQueryResult` macro. | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 861 | /// # pub enum Relation {} | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 881 | /// }; | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 901 | /// # pub struct Model { | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 921 | /// # pub enum Relation {} | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 941 | /// title: String, | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 961 | /// } | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 981 | /// FROM "cake" | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 1001 | /// # #[derive(Copy, Clone, Debug, DeriveRelation, EnumIter)] | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 1021 | /// #[sea_orm(entity = "worker::Entity")] | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 1041 | /// .join_as(JoinType::LeftJoin, bakery::Relation::Manager.def(), "manager") | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 1061 | /// | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 1141 | COMMENT | |
| LOW | sea-orm-macros/src/lib.rs | 1161 | /// use sea_orm::DeriveValueType; | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 1181 | /// Hard, | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 1201 | /// fn from_str(s: &str) -> Result<Self, Self::Err> { | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 1221 | /// to_str = "Tag::to_str" | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 1261 | Err(e) => e.to_compile_error().into(), | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 1281 | /// #[derive(DeriveIden)] | COMMENT |
| LOW | sea-orm-macros/src/lib.rs | 1301 | /// The DeriveArrowSchema derive macro generates an `arrow_schema()` method | COMMENT |
| LOW | sea-orm-macros/src/derives/util.rs | 321 | } else if RUST_SPECIAL_KEYWORDS.iter().any(|s| s.eq(&string)) { | COMMENT |
| LOW | sea-orm-macros/src/derives/util.rs | 341 | /// and cause the above panic; | COMMENT |
| LOW | sea-orm-macros/src/derives/attributes.rs | 81 | } | COMMENT |
| LOW | sea-orm-macros/src/derives/attributes.rs | 101 | /// Allows to specify RelationDef | COMMENT |
| LOW | sea-orm-sync/tests/active_enum_tests.rs | 261 | COMMENT | |
| 681 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sea-orm-sync/tests/query_tests.rs | 267 | "phone": "555-1234", | CODE |
| LOW | sea-orm-sync/tests/query_tests.rs | 286 | "phone": "555-1234", | CODE |
| LOW | sea-orm-sync/tests/query_tests.rs | 322 | "phone": "555-1234", | CODE |
| LOW | sea-orm-sync/examples/quickstart/src/main.rs | 230 | .set_title("Lorem ipsum dolor sit amet, consectetur adipiscing elit"), | CODE |
| LOW | sea-orm-sync/examples/quickstart/src/main.rs | 230 | .set_title("Lorem ipsum dolor sit amet, consectetur adipiscing elit"), | CODE |
| LOW | sea-orm-sync/examples/quickstart/src/main.rs | 248 | assert!(bob.posts[0].title.starts_with("Lorem ipsum")); | CODE |
| LOW | sea-orm-sync/examples/quickstart/src/main.rs | 289 | assert!(posts[0].title.starts_with("Lorem ipsum")); | CODE |
| LOW | sea-orm-sync/examples/quickstart/src/main.rs | 304 | post.title = Set("Lorem ipsum dolor sit amet".into()); // shorten it | CODE |
| LOW | sea-orm-sync/examples/quickstart/src/main.rs | 304 | post.title = Set("Lorem ipsum dolor sit amet".into()); // shorten it | CODE |
| LOW | sea-orm-sync/examples/quickstart/src/main.rs | 315 | assert_eq!(post.title, "Lorem ipsum dolor sit amet"); | CODE |
| LOW | sea-orm-sync/examples/quickstart/src/main.rs | 315 | assert_eq!(post.title, "Lorem ipsum dolor sit amet"); | CODE |
| LOW | sea-orm-sync/src/value.rs | 105 | match V::try_from(V::null().dummy_value()) { | CODE |
| LOW | tests/query_tests.rs | 285 | "phone": "555-1234", | CODE |
| LOW | tests/query_tests.rs | 306 | "phone": "555-1234", | CODE |
| LOW | tests/query_tests.rs | 344 | "phone": "555-1234", | CODE |
| LOW | examples/quickstart/src/main.rs | 237 | .set_title("Lorem ipsum dolor sit amet, consectetur adipiscing elit"), | CODE |
| LOW | examples/quickstart/src/main.rs | 237 | .set_title("Lorem ipsum dolor sit amet, consectetur adipiscing elit"), | CODE |
| LOW | examples/quickstart/src/main.rs | 256 | assert!(bob.posts[0].title.starts_with("Lorem ipsum")); | CODE |
| LOW | examples/quickstart/src/main.rs | 299 | assert!(posts[0].title.starts_with("Lorem ipsum")); | CODE |
| LOW | examples/quickstart/src/main.rs | 314 | post.title = Set("Lorem ipsum dolor sit amet".into()); // shorten it | CODE |
| LOW | examples/quickstart/src/main.rs | 314 | post.title = Set("Lorem ipsum dolor sit amet".into()); // shorten it | CODE |
| LOW | examples/quickstart/src/main.rs | 326 | assert_eq!(post.title, "Lorem ipsum dolor sit amet"); | CODE |
| LOW | examples/quickstart/src/main.rs | 326 | assert_eq!(post.title, "Lorem ipsum dolor sit amet"); | CODE |
| LOW | examples/react_admin/frontend/src/users.json | 7 | "fullName": "Jane Doe", | CODE |
| LOW | examples/react_admin/frontend/src/users.json | 14 | "fullName": "John Doe", | CODE |
| LOW | src/value.rs | 105 | match V::try_from(V::null().dummy_value()) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sea-orm-sync/src/entity/mod.rs | 24 | //! # Defining an Entity (2.0 dense format) | COMMENT |
| MEDIUM | sea-orm-sync/src/entity/mod.rs | 66 | //! # Defining an Entity (1.0 compact format) | COMMENT |
| MEDIUM | examples/loco_seaography/config/development.yaml | 11 | # Define the logging format. options: compact, pretty or Json | COMMENT |
| MEDIUM | examples/loco_starter/config/development.yaml | 11 | # Define the logging format. options: compact, pretty or Json | COMMENT |
| MEDIUM | examples/loco_example/config/development.yaml | 9 | # Define the logging format. options: compact, pretty or Json | COMMENT |
| MEDIUM | examples/react_admin/backend/config/development.yaml | 11 | # Define the logging format. options: compact, pretty or Json | COMMENT |
| MEDIUM | src/entity/mod.rs | 24 | //! # Defining an Entity (2.0 dense format) | COMMENT |
| MEDIUM | src/entity/mod.rs | 66 | //! # Defining an Entity (1.0 compact format) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sea-orm-sync/examples/pi_spigot/README.md | 24 | ### Step 1: Define your state as a SeaORM entity | COMMENT |
| LOW | sea-orm-sync/examples/pi_spigot/README.md | 52 | ### Step 2: Write `to_state` / `from_state` | COMMENT |
| LOW | sea-orm-sync/examples/pi_spigot/README.md | 77 | ### Step 3: Checkpoint with transactions | COMMENT |
| LOW | sea-orm-sync/examples/pi_spigot/README.md | 91 | ### Step 4: Resume on startup | COMMENT |
| LOW | sea-orm-sync/examples/parquet_example/src/main.rs | 34 | // Step 1: Generate 100 random rows | COMMENT |
| LOW | sea-orm-sync/examples/parquet_example/src/main.rs | 63 | // Step 2: Convert to Arrow RecordBatch and write to Parquet | COMMENT |
| LOW | sea-orm-sync/examples/parquet_example/src/main.rs | 83 | // Step 3: Read the Parquet file back into a RecordBatch | COMMENT |
| LOW | sea-orm-sync/examples/parquet_example/src/main.rs | 105 | // Step 4: Dump into SQLite | COMMENT |
| LOW | examples/parquet_example/src/main.rs | 35 | // Step 1: Generate 100 random rows | COMMENT |
| LOW | examples/parquet_example/src/main.rs | 64 | // Step 2: Convert to Arrow RecordBatch and write to Parquet | COMMENT |
| LOW | examples/parquet_example/src/main.rs | 84 | // Step 3: Read the Parquet file back into a RecordBatch | COMMENT |
| LOW | examples/parquet_example/src/main.rs | 106 | // Step 4: Dump into SQLite | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | examples/rocket_okapi_example/Rocket.toml | 6 | # make sure to enable "sqlx-mysql" feature in Cargo.toml, i.e default = ["sqlx-mysql"] | COMMENT |
| LOW⚡ | examples/rocket_okapi_example/Rocket.toml | 10 | # make sure to enable "sqlx-postgres" feature in Cargo.toml, i.e default = ["sqlx-postgres"] | COMMENT |
| LOW⚡ | examples/rocket_okapi_example/Rocket.toml | 14 | # make sure to enable "sqlx-sqlite" feature in Cargo.toml, i.e default = ["sqlx-sqlite"] | COMMENT |
| LOW⚡ | examples/rocket_example/Rocket.toml | 6 | # make sure to enable "sqlx-mysql" feature in Cargo.toml, i.e default = ["sqlx-mysql"] | COMMENT |
| LOW⚡ | examples/rocket_example/Rocket.toml | 10 | # make sure to enable "sqlx-postgres" feature in Cargo.toml, i.e default = ["sqlx-postgres"] | COMMENT |
| LOW⚡ | examples/rocket_example/Rocket.toml | 14 | # make sure to enable "sqlx-sqlite" feature in Cargo.toml, i.e default = ["sqlx-sqlite"] | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sea-orm-sync/examples/parquet_example/src/main.rs | 34 | // Step 1: Generate 100 random rows | COMMENT |
| LOW | sea-orm-sync/examples/parquet_example/src/main.rs | 63 | // Step 2: Convert to Arrow RecordBatch and write to Parquet | COMMENT |
| LOW | sea-orm-sync/examples/parquet_example/src/main.rs | 83 | // Step 3: Read the Parquet file back into a RecordBatch | COMMENT |
| LOW | sea-orm-sync/examples/parquet_example/src/main.rs | 105 | // Step 4: Dump into SQLite | COMMENT |
| LOW | examples/parquet_example/src/main.rs | 35 | // Step 1: Generate 100 random rows | COMMENT |
| LOW | examples/parquet_example/src/main.rs | 64 | // Step 2: Convert to Arrow RecordBatch and write to Parquet | COMMENT |
| LOW | examples/parquet_example/src/main.rs | 84 | // Step 3: Read the Parquet file back into a RecordBatch | COMMENT |
| LOW | examples/parquet_example/src/main.rs | 106 | // Step 4: Dump into SQLite | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sea-orm-macros/src/derives/attributes.rs | 106 | /// will utilize `impl Related` trait | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/rust.yml | 3 | # -------------------------------------------------------------------------------- | COMMENT |