Dapper - a simple object mapper for .Net
This report summarizes scanner evidence for DapperLib/Dapper, a C# project with 18,396 GitHub stars. SynthScan examined 28,980 lines of code across 193 source files, recording 130 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 4.2 (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.
Can maintainers explain intent, assumptions, and trade-offs? 128 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 130 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 130 distinct pattern matches across 3 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 | benchmarks/Dapper.Tests.Performance/LegacyTests.cs | 421 | // { | COMMENT |
| LOW | Dapper.ProviderTools/BulkCopy.cs | 81 | COMMENT | |
| LOW | Dapper.ProviderTools/BulkCopy.cs | 101 | [System.Diagnostics.CodeAnalysis.SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with | COMMENT |
| LOW | Dapper.ProviderTools/BulkCopy.cs | 121 | /// <summary> | COMMENT |
| LOW | .github/workflows/release.yml | 1 | # Publishes the Dapper packages to nuget.org when a GitHub Release is published. | COMMENT |
| LOW | .github/workflows/cla.yml | 21 | uses: contributor-assistant/github-action@v2.3.0 | COMMENT |
| LOW | .github/workflows/cla.yml | 41 | #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assista | COMMENT |
| LOW | Dapper.Rainbow/Database.cs | 361 | /// <param name="sql">The SQL to execute.</param> | COMMENT |
| LOW | Dapper.Rainbow/Database.cs | 381 | /// </summary> | COMMENT |
| LOW | Dapper.Rainbow/Database.cs | 401 | /// <typeparam name="TSecond">The second type in the recordset.</typeparam> | COMMENT |
| LOW | Dapper.Rainbow/Database.cs | 421 | /// <typeparam name="TThird">The third type in the recordset.</typeparam> | COMMENT |
| LOW | Dapper.Rainbow/Database.cs | 441 | /// <typeparam name="TThird">The third type in the recordset.</typeparam> | COMMENT |
| LOW | Dapper.Rainbow/Database.cs | 461 | /// <param name="buffered">Whether the results should be buffered in memory.</param> | COMMENT |
| LOW | Dapper.Rainbow/Database.Async.cs | 61 | /// <summary> | COMMENT |
| LOW | Dapper.Rainbow/Database.Async.cs | 81 | database.QueryAsync<T>("select * from " + TableName); | COMMENT |
| LOW | Dapper.Rainbow/Database.Async.cs | 101 | _connection.QueryAsync<T>(sql, param as object, Transaction, _commandTimeout); | COMMENT |
| LOW | Dapper.Rainbow/Database.Async.cs | 121 | /// <param name="map">The function to map row types to the return type.</param> | COMMENT |
| LOW | Dapper.Rainbow/Database.Async.cs | 141 | /// <param name="param">The parameters to use for this query.</param> | COMMENT |
| LOW | Dapper.Rainbow/Database.Async.cs | 161 | /// <param name="param">The parameters to use for this query.</param> | COMMENT |
| LOW | Dapper.Rainbow/Database.Async.cs | 181 | /// <param name="map">The function to map row types to the return type.</param> | COMMENT |
| LOW | Dapper.Rainbow/Database.Async.cs | 201 | /// Execute a command that returns multiple result sets, and access each in turn. | COMMENT |
| LOW | Dapper/SqlMapper.Identity.cs | 141 | } | COMMENT |
| LOW | Dapper/SqlMapper.Identity.cs | 161 | #pragma warning restore CS0618 // Type or member is obsolete | COMMENT |
| LOW | Dapper/SqlMapper.Identity.cs | 181 | [Obsolete("Please use " + nameof(GetHashCode) + ". This API may be removed at a later date.")] | COMMENT |
| LOW | Dapper/SqlMapper.Identity.cs | 221 | /// </summary> | COMMENT |
| LOW | Dapper/SqlMapper.Identity.cs | 241 | /// <summary> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 341 | /// Configure the specified type to be processed by a custom handler. | COMMENT |
| LOW | Dapper/SqlMapper.cs | 541 | /// <param name="source">The enumerable to return as a list.</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 561 | var command = new CommandDefinition(sql, param, transaction, commandTimeout, commandType, CommandFlags.Buffe | COMMENT |
| LOW | Dapper/SqlMapper.cs | 581 | /// <param name="commandType">Is it a stored proc or a batch?</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 601 | { | COMMENT |
| LOW | Dapper/SqlMapper.cs | 701 | /// <param name="commandTimeout">Number of seconds before command execution timeout.</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 741 | COMMENT | |
| LOW | Dapper/SqlMapper.cs | 761 | /// </summary> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 781 | /// <param name="commandTimeout">The command timeout (in seconds).</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 801 | COMMENT | |
| LOW | Dapper/SqlMapper.cs | 821 | /// <param name="param">The parameters to pass, if any.</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 841 | /// <returns> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 861 | /// <param name="commandTimeout">The command timeout (in seconds).</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 881 | /// <param name="transaction">The transaction to use, if any.</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 901 | /// <param name="param">The parameters to pass, if any.</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 921 | /// <param name="sql">The SQL to execute for the query.</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 941 | /// <param name="type">The type to return.</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 961 | COMMENT | |
| LOW | Dapper/SqlMapper.cs | 981 | var command = new CommandDefinition(sql, param, transaction, commandTimeout, commandType, CommandFlags.None) | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1001 | public static object? QueryFirstOrDefault(this IDbConnection cnn, Type type, string sql, object? param = null, I | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1021 | /// created per row, and a direct column-name===member-name mapping is assumed (case insensitive). | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1041 | /// <exception cref="ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1061 | /// A sequence of data of <typeparamref name="T"/>; if a basic type (int, string, etc) is queried then the data | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1081 | QueryRowImpl<T>(cnn, Row.First, ref command, typeof(T)); | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1101 | /// <param name="command">The command used to query on this connection.</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1121 | COMMENT | |
| LOW | Dapper/SqlMapper.cs | 1421 | /// <param name="cnn">The connection to query on.</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1441 | /// <typeparam name="TThird">The third type in the recordset.</typeparam> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1461 | /// <typeparam name="TFirst">The first type in the recordset.</typeparam> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1481 | /// Perform a multi-mapping query with 5 input types. | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1501 | public static IEnumerable<TReturn> Query<TFirst, TSecond, TThird, TFourth, TFifth, TReturn>(this IDbConnection c | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1521 | /// <param name="splitOn">The field we should split and read the second object from (default: "Id").</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 1541 | /// <param name="cnn">The connection to query on.</param> | COMMENT |
| LOW | Dapper/SqlMapper.cs | 3321 | } | COMMENT |
| 67 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …per.Tests.Performance/Linq2Sql/DataClasses.designer.cs | 5 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Dapper.Rainbow/readme.md | 69 | var newUser = new User { Name = "John Doe", Email = "john.doe@example.com" }; | CODE |
| LOW | Dapper.Rainbow/readme.md | 112 | var newUser = new User { Name = "Jane Doe", Email = "jane.doe@example.com" }; | CODE |