Repository Analysis

DapperLib/Dapper

Dapper - a simple object mapper for .Net

4.2 Likely human-written View on GitHub
4.2
Adjusted Score
4.2
Raw Score
100%
Time Factor
2026-05-16
Last Push
18,311
Stars
C#
Language
28,592
Lines of Code
192
Files
130
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 0LOW 129

Pattern Findings

130 matches across 3 categories. Click a row to expand file-level details.

Over-Commented Block127 hits · 112 pts
SeverityFileLineSnippet
LOWbenchmarks/Dapper.Tests.Performance/LegacyTests.cs421 // {
LOWDapper.ProviderTools/BulkCopy.cs81
LOWDapper.ProviderTools/BulkCopy.cs101 [System.Diagnostics.CodeAnalysis.SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with
LOWDapper.ProviderTools/BulkCopy.cs121 /// <summary>
LOW.github/workflows/cla.yml21 uses: contributor-assistant/github-action@v2.3.0
LOW.github/workflows/cla.yml41 #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assista
LOWDapper.Rainbow/Database.cs361 /// <param name="sql">The SQL to execute.</param>
LOWDapper.Rainbow/Database.cs381 /// </summary>
LOWDapper.Rainbow/Database.cs401 /// <typeparam name="TSecond">The second type in the recordset.</typeparam>
LOWDapper.Rainbow/Database.cs421 /// <typeparam name="TThird">The third type in the recordset.</typeparam>
LOWDapper.Rainbow/Database.cs441 /// <typeparam name="TThird">The third type in the recordset.</typeparam>
LOWDapper.Rainbow/Database.cs461 /// <param name="buffered">Whether the results should be buffered in memory.</param>
LOWDapper.Rainbow/Database.Async.cs61 /// <summary>
LOWDapper.Rainbow/Database.Async.cs81 database.QueryAsync<T>("select * from " + TableName);
LOWDapper.Rainbow/Database.Async.cs101 _connection.QueryAsync<T>(sql, param as object, Transaction, _commandTimeout);
LOWDapper.Rainbow/Database.Async.cs121 /// <param name="map">The function to map row types to the return type.</param>
LOWDapper.Rainbow/Database.Async.cs141 /// <param name="param">The parameters to use for this query.</param>
LOWDapper.Rainbow/Database.Async.cs161 /// <param name="param">The parameters to use for this query.</param>
LOWDapper.Rainbow/Database.Async.cs181 /// <param name="map">The function to map row types to the return type.</param>
LOWDapper.Rainbow/Database.Async.cs201 /// Execute a command that returns multiple result sets, and access each in turn.
LOWDapper/SqlMapper.Identity.cs141 }
LOWDapper/SqlMapper.Identity.cs161#pragma warning restore CS0618 // Type or member is obsolete
LOWDapper/SqlMapper.Identity.cs181 [Obsolete("Please use " + nameof(GetHashCode) + ". This API may be removed at a later date.")]
LOWDapper/SqlMapper.Identity.cs221 /// </summary>
LOWDapper/SqlMapper.Identity.cs241 /// <summary>
LOWDapper/DynamicParameters.cs321
LOWDapper/SqlMapper.cs341 /// Configure the specified type to be processed by a custom handler.
LOWDapper/SqlMapper.cs561 }
LOWDapper/SqlMapper.cs581 public static object? ExecuteScalar(this IDbConnection cnn, string sql, object? param = null, IDbTransaction? tr
LOWDapper/SqlMapper.cs601 return ExecuteScalarImpl<T>(cnn, ref command);
LOWDapper/SqlMapper.cs701 /// <returns>An <see cref="IDataReader"/> that can be used to iterate over the results of the SQL query.</return
LOWDapper/SqlMapper.cs721 return DbWrappedReader.Create(dbcmd, reader);
LOWDapper/SqlMapper.cs741 /// Execute parameterized SQL and return an <see cref="IDataReader"/>.
LOWDapper/SqlMapper.cs761 /// <param name="sql">The SQL to execute for the query.</param>
LOWDapper/SqlMapper.cs781 /// <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</
LOWDapper/SqlMapper.cs801 /// Return a dynamic object with properties matching the columns.
LOWDapper/SqlMapper.cs821 /// <param name="commandTimeout">The command timeout (in seconds).</param>
LOWDapper/SqlMapper.cs841 /// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
LOWDapper/SqlMapper.cs861 /// <returns>
LOWDapper/SqlMapper.cs881 /// <param name="commandType">The type of command to execute.</param>
LOWDapper/SqlMapper.cs901 /// <param name="commandTimeout">The command timeout (in seconds).</param>
LOWDapper/SqlMapper.cs921 /// <param name="transaction">The transaction to use, if any.</param>
LOWDapper/SqlMapper.cs941 /// <param name="param">The parameters to pass, if any.</param>
LOWDapper/SqlMapper.cs961 /// Executes a single-row query, returning the data typed as <paramref name="type"/>.
LOWDapper/SqlMapper.cs981 }
LOWDapper/SqlMapper.cs1001 if (type is null) throw new ArgumentNullException(nameof(type));
LOWDapper/SqlMapper.cs1021 [System.Diagnostics.CodeAnalysis.SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with
LOWDapper/SqlMapper.cs1041 /// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from th
LOWDapper/SqlMapper.cs1061 /// </returns>
LOWDapper/SqlMapper.cs1081 /// <summary>
LOWDapper/SqlMapper.cs1101 /// A single instance of the supplied type; if a basic type (int, string, etc) is queried then the data from the
LOWDapper/SqlMapper.cs1121 /// Execute a command that returns multiple result sets, and access each in turn.
LOWDapper/SqlMapper.cs1401 catch (Exception ex)
LOWDapper/SqlMapper.cs1421 /// <param name="param">The parameters to use for this query.</param>
LOWDapper/SqlMapper.cs1441 /// <param name="sql">The SQL to execute for this query.</param>
LOWDapper/SqlMapper.cs1461 /// <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
LOWDapper/SqlMapper.cs1481 /// <typeparam name="TFirst">The first type in the recordset.</typeparam>
LOWDapper/SqlMapper.cs1501 /// <summary>
LOWDapper/SqlMapper.cs1521 /// <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
LOWDapper/SqlMapper.cs1541 /// <param name="param">The parameters to use for this query.</param>
67 more matches not shown…
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippet
HIGH…per.Tests.Performance/Linq2Sql/DataClasses.designer.cs5// This code was generated by a tool.
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippet
LOWDapper.Rainbow/readme.md69var newUser = new User { Name = "John Doe", Email = "john.doe@example.com" };
LOWDapper.Rainbow/readme.md112var newUser = new User { Name = "Jane Doe", Email = "jane.doe@example.com" };