Repository Analysis

linq2db/linq2db

Linq to database provider.

23.8 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of linq2db/linq2db, a C# project with 3,323 GitHub stars. SynthScan v2.0 examined 913,604 lines of code across 5555 source files, recording 4711 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 23.8 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

23.8
Adjusted Score
23.8
Raw Score
100%
Time Factor
2026-08-29
Last Push
3.3K
Stars
C#
Language
913.6K
Lines of Code
5.6K
Files
4.7K
Pattern Hits
2026-08-29
Scan Date
0.46
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 288HIGH 2256MEDIUM 24LOW 2143

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 4711 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Synthetic Comment Markers2253 hits · 16888 pts
SeverityFileLineSnippetContext
HIGH…qToDB/Internal/Linq/Builder/ExpressionTestGenerator.cs26 // This code was generated by LinqToDB.STRING
HIGH…mmandLine/Commands/Scaffold/ScaffoldCommand.Options.cs275 /// Auto-generated code marker option.COMMENT
HIGH…ce/LinqToDB.Scaffold/ModelGeneration/ModelGenerator.cs91 WriteComment(" This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).");CODE
HIGH…inqToDB.Scaffold/Scaffold/DataModel/DataModelLoader.cs82 model.AutoGeneratedHeader = _options.CodeGeneration.AutoGeneratedHeader ?? @"This code was generated by LinqToDB scaCODE
HIGHTests/Tests.T4.Nugets/Templates/SqlServer.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4.Nugets/Templates/Sybase.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGH…sts.T4.Nugets/Templates/ClickHouse.Driver.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4.Nugets/Templates/MariaDB.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4.Nugets/Templates/Firebird.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4.Nugets/Templates/DB2.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4.Nugets/Templates/Oracle.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4.Nugets/Templates/PostgreSQL.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGH…ts/Tests.T4.Nugets/Templates/Access.OleDb.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4.Nugets/Templates/Informix.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4.Nugets/Templates/SQLCE.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4.Nugets/Templates/SQLite.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGH…ests.T4.Nugets/Templates/ClickHouse.MySql.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4.Nugets/Templates/Hana.ODBC.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGH…sts/Tests.T4.Nugets/Templates/Access.ODBC.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGH…sts/Tests.T4.Nugets/Templates/Hana.Native.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/SqlServer.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/ClickHouse.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/PostgreSQL.9.5.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/SqlServerAzureMI.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/Access.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/MySqlConnector.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/Sybase.DataAction.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/Sybase.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/MariaDB.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/SqlServer.2025.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGH…bases/SqlServer.2017.ProceduresFromSchema.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/Model.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/SapHana.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/PostgreSQL.11.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/ModelInterface.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/PostgreSQL.16.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/MySql.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/Firebird.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/SqlServerAzure.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/Firebird3.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/Firebird4.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/DB2.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/Oracle.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/PostgreSQL.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/Informix.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/SqlServer.2017.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/SqlCe.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/SqlServer.MS.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/SQLite.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/SqlServerNE.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Databases/AccessODBC.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Default/SqlServer.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Default/ClickHouse.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Default/AccessOleDb.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Default/Sybase.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Default/SqlServer.Northwind.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Default/ClickHouse.Driver.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Default/MariaDB.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Default/SapHana.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
HIGHTests/Tests.T4/Default/MySql.generated.cs3// This code was generated by T4Model template for T4 (https://github.com/linq2db/linq2db).COMMENT
2193 more matches not shown…
Hallucination Indicators288 hits · 2860 pts
SeverityFileLineSnippetContext
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1365 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.GetAncestor(System.Int32)">CODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1372 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.GetDescendant(System.Nullable{Microsoft.SqlSeCODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1401 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.IsDescendantOf(Microsoft.SqlServer.Types.SqlHCODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1408 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.GetReparentedValue(Microsoft.SqlServer.Types.CODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1416 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.Parse(System.String)">CODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1423 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.Compare(Microsoft.SqlServer.Types.SqlHierarchCODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1436 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.op_LessThan(Microsoft.SqlServer.Types.SqlHierCODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1446 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.op_GreaterThan(Microsoft.SqlServer.Types.SqlHCODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1456 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.op_LessThanOrEqual(Microsoft.SqlServer.Types.CODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1466 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.op_GreaterThanOrEqual(Microsoft.SqlServer.TypCODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1476 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.op_Equality(Microsoft.SqlServer.Types.SqlHierCODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1484 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.op_Inequality(Microsoft.SqlServer.Types.SqlHiCODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1492 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.Equals(Microsoft.SqlServer.Types.SqlHierarchyCODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1505 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.Equals(System.Object)">CODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1518 <member name="M:Microsoft.SqlServer.Types.SqlHierarchy.HierarchyId.CompareTo(System.Object)">CODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1531 <member name="M:Microsoft.SqlServer.Types.Wkt.WktWriter.Write(Microsoft.SqlServer.Types.ShapeData,Microsoft.SqlSCODE
CRITICAL…icrosoft.SqlServer.Types/Microsoft.SqlServer.Types.xml1539 <member name="M:Microsoft.SqlServer.Types.Wkt.WktWriter.Write(Microsoft.SqlServer.Types.ShapeData,System.BooleanCODE
CRITICALRedist/SapHana/v4.5/Sap.Data.Hana.v4.5.xml4532 <member name="M:Sap.Data.Hana.DmlSqlGenerator.ExpressionTranslator.RegisterMemberValue(System.Data.Entity.Core.CCODE
CRITICAL…inqToDB.Remote.HttpClient.Client/PublicAPI.Shipped.txt4LinqToDB.Remote.HttpClient.Client.HttpClientDataContext.HttpClientDataContext(LinqToDB.Remote.HttpClient.Client.HttpClieCODE
CRITICAL…inqToDB.Remote.HttpClient.Client/PublicAPI.Shipped.txt5LinqToDB.Remote.HttpClient.Client.HttpClientDataContext.HttpClientDataContext(System.Net.Http.HttpClient! httpClient, stCODE
CRITICAL…inqToDB.Remote.HttpClient.Client/PublicAPI.Shipped.txt6LinqToDB.Remote.HttpClient.Client.HttpClientDataContext.HttpClientDataContext(System.Uri! baseAddress, string! requestUrCODE
CRITICAL…inqToDB.Remote.HttpClient.Client/PublicAPI.Shipped.txt9LinqToDB.Remote.HttpClient.Client.HttpClientLinqServiceClient.HttpClientLinqServiceClient(System.Net.Http.HttpClient! htCODE
CRITICAL…inqToDB.Remote.HttpClient.Client/PublicAPI.Shipped.txt12override LinqToDB.Remote.HttpClient.Client.HttpClientDataContext.GetClient() -> LinqToDB.Remote.ILinqService!CODE
CRITICAL…inqToDB.Remote.HttpClient.Client/PublicAPI.Shipped.txt15static LinqToDB.Remote.HttpClient.Client.ServiceConfigurationExtensions.InitHttpClientAsync(this LinqToDB.IDataContext! CODE
CRITICALSource/LinqToDB.Remote.Grpc/PublicAPI.Shipped.txt5LinqToDB.Remote.Grpc.Dto.GrpcConfiguration.GrpcConfiguration() -> voidCODE
CRITICALSource/LinqToDB.Remote.Grpc/PublicAPI.Shipped.txt9LinqToDB.Remote.Grpc.Dto.GrpcConfigurationQuery.GrpcConfigurationQuery() -> voidCODE
CRITICALSource/LinqToDB.Remote.Grpc/PublicAPI.Shipped.txt13LinqToDB.Remote.Grpc.Dto.GrpcInt.GrpcInt() -> voidCODE
CRITICALSource/LinqToDB.Remote.Grpc/PublicAPI.Shipped.txt17LinqToDB.Remote.Grpc.Dto.GrpcString.GrpcString() -> voidCODE
CRITICAL…inqToDB.Remote.HttpClient.Server/PublicAPI.Shipped.txt3LinqToDB.Remote.HttpClient.Server.LinqToDBController.LinqToDBController() -> voidCODE
CRITICAL…inqToDB.Remote.HttpClient.Server/PublicAPI.Shipped.txt8static LinqToDB.Remote.HttpClient.Server.ServiceConfigurationExtensions.AddLinqToDBController(this Microsoft.Extensions.CODE
CRITICAL…inqToDB.Remote.HttpClient.Server/PublicAPI.Shipped.txt10virtual LinqToDB.Remote.HttpClient.Server.LinqToDBController.CreateLinqService() -> LinqToDB.Remote.ILinqService!CODE
CRITICAL…inqToDB.Remote.HttpClient.Server/PublicAPI.Shipped.txt11virtual LinqToDB.Remote.HttpClient.Server.LinqToDBController.ExecuteBatchAsync(string? configuration, string! queryData,CODE
CRITICAL…inqToDB.Remote.HttpClient.Server/PublicAPI.Shipped.txt12virtual LinqToDB.Remote.HttpClient.Server.LinqToDBController.ExecuteNonQueryAsync(string? configuration, string! queryDaCODE
CRITICAL…inqToDB.Remote.HttpClient.Server/PublicAPI.Shipped.txt13virtual LinqToDB.Remote.HttpClient.Server.LinqToDBController.ExecuteReaderAsync(string? configuration, string! queryDataCODE
CRITICAL…inqToDB.Remote.HttpClient.Server/PublicAPI.Shipped.txt14virtual LinqToDB.Remote.HttpClient.Server.LinqToDBController.ExecuteScalarAsync(string? configuration, string! queryDataCODE
CRITICAL…inqToDB.Remote.HttpClient.Server/PublicAPI.Shipped.txt15virtual LinqToDB.Remote.HttpClient.Server.LinqToDBController.GetInfoAsync(string? configuration, System.Threading.CancelCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml453 <Target>M:LinqToDB.Internal.DataProvider.SqlCe.Translation.SqlCeMemberTranslator.DateFunctionsTranslator.DatePartToSCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml460 <Target>M:LinqToDB.Internal.DataProvider.SqlServer.Translation.SqlServerMemberTranslator.SqlServerDateFunctionsTransCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml467 <Target>M:LinqToDB.Internal.DataProvider.Sybase.Translation.SybaseMemberTranslator.DateFunctionsTranslator.DatePartTCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml474 <Target>M:LinqToDB.Internal.DataProvider.Translation.CombinedMemberConverter.Convert(System.Linq.Expressions.ExpressCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml481 <Target>M:LinqToDB.Internal.DataProvider.Translation.DateFunctionsTranslatorBase.TranslateSqlCurrentTimestamp(LinqToCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml488 <Target>M:LinqToDB.Internal.DataProvider.Translation.DateFunctionsTranslatorBase.TranslateSqlCurrentTimestampUtc(LinCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml495 <Target>M:LinqToDB.Internal.DataProvider.Translation.DateFunctionsTranslatorBase.TranslateSqlCurrentTimestampUtc(LinCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml502 <Target>M:LinqToDB.Internal.DataProvider.Translation.DateFunctionsTranslatorBase.TranslateSqlGetDate(LinqToDB.Linq.TCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml509 <Target>M:LinqToDB.Internal.DataProvider.Translation.IMemberConverter.Convert(System.Linq.Expressions.Expression,SysCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml516 <Target>M:LinqToDB.Internal.DataProvider.Translation.LegacyMemberConverterBase.Convert(System.Linq.Expressions.ExpreCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml523 <Target>M:LinqToDB.Internal.DataProvider.Translation.ProviderMemberTranslatorDefault.ConvertToString(LinqToDB.Linq.TCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml530 <Target>M:LinqToDB.Internal.DataProvider.Translation.ProviderMemberTranslatorDefault.ProcessConvertToBoolean(LinqToDCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml537 <Target>M:LinqToDB.Internal.DataProvider.Translation.ProviderMemberTranslatorDefault.ProcessSqlConvert(LinqToDB.LinqCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml544 <Target>M:LinqToDB.Internal.DataProvider.Translation.ProviderMemberTranslatorDefault.ProcessToString(LinqToDB.Linq.TCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml551 <Target>M:LinqToDB.Internal.DataProvider.Translation.ProviderMemberTranslatorDefault.TranslateConvertToBoolean(LinqTCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml558 <Target>M:LinqToDB.Internal.DataProvider.Translation.ProviderMemberTranslatorDefault.TranslateNoRequiredObjectExpresCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml565 <Target>M:LinqToDB.Internal.DataProvider.Translation.SqlExpressionFactoryExtensions.Concat(LinqToDB.Linq.TranslationCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml572 <Target>M:LinqToDB.Internal.DataProvider.Translation.SqlExpressionFactoryExtensions.Concat(LinqToDB.Linq.TranslationCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml579 <Target>M:LinqToDB.Internal.DataProvider.Translation.SqlExpressionFactoryExtensions.Function(LinqToDB.Linq.TranslatiCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml586 <Target>M:LinqToDB.Internal.DataProvider.Translation.StringMemberTranslatorBase.ConfigureConcatWs(LinqToDB.Linq.TranCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml593 <Target>M:LinqToDB.Internal.DataProvider.Translation.StringMemberTranslatorBase.ConfigureConcatWsEmulation(LinqToDB.CODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml600 <Target>M:LinqToDB.Internal.DataProvider.Translation.StringMemberTranslatorBase.TranslateStringJoin(LinqToDB.Linq.TrCODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml607 <Target>M:LinqToDB.Internal.DataProvider.Ydb.Translation.YdbMemberTranslator.StringMemberTranslator.ConfigureConcat(CODE
CRITICALSource/LinqToDB/CompatibilitySuppressions.xml1034 <Target>M:LinqToDB.Internal.SqlQuery.Visitors.QueryElementVisitor.CreateInvalidVisitModeException(System.String)</TaCODE
228 more matches not shown…
Over-Commented Block2097 hits · 1855 pts
SeverityFileLineSnippetContext
LOWDataProviders.json1//COMMENT
LOWCONTRIBUTING.md181 // default provider, used as a source of reference dataCOMMENT
LOW.githooks/_refresh-corpus.sh1#!/bin/shCOMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs21 /// For more information on setting up dependency injection, see http://go.microsoft.com/fwlink/?LinkId=526890.COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs41 /// </param>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs61 return AddLinqToDBContext<IDataContext,DataConnection>(serviceCollection, configure, lifetime);COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs81 /// <para>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs101 /// </returns>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs121 ///COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs141 /// </para>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs161 /// </summary>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs181 /// </para>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs201 this IServiceCollection serviceCollection,COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs221 /// services.AddLinqToDBContext&lt;MyContext&gt;(options => options.UseSqlServer(connectionString));COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs261 }COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs281 /// and expose a constructor that takes <see cref="DataContextOptions" /> (where T is <typeparamref name="TContext"/>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs321 /// </summary>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs341 /// </typeparam>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs381 /// </summary>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs401 /// <param name="serviceCollection"> The <see cref="IServiceCollection" /> to add services to. </param>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs441 /// <example>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs461 /// <param name="configure">COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs561 /// </summary>COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs581 /// <param name="lifetime">COMMENT
LOW…/LinqToDB.Extensions/ServiceConfigurationExtensions.cs621 /// <code>COMMENT
LOW…te.HttpClient.Client/ServiceConfigurationExtensions.cs21 /// public void ConfigureServices(IServiceCollection services)COMMENT
LOW…te.HttpClient.Client/ServiceConfigurationExtensions.cs81 /// <example>COMMENT
LOW…e/LinqToDB.LINQPad/Configuration/ConnectionSettings.cs361 /// Database provider assembly path.COMMENT
LOW…e/LinqToDB.LINQPad/Configuration/ConnectionSettings.cs381 /// Secondary schema connection string.COMMENT
LOW…e/LinqToDB.LINQPad/Configuration/ConnectionSettings.cs401 /// Stored in <see cref="IConnectionInfo.Persist"/>.COMMENT
LOW…e/LinqToDB.LINQPad/Configuration/ConnectionSettings.cs421 /// <returns></returns>COMMENT
LOW…e/LinqToDB.LINQPad/Configuration/ConnectionSettings.cs461 {COMMENT
LOW…e/LinqToDB.LINQPad/Configuration/ConnectionSettings.cs481COMMENT
LOW…e/LinqToDB.LINQPad/Configuration/ConnectionSettings.cs521 /// Enables pluralization context table property name and collection-type association property name.COMMENT
LOW…e/LinqToDB.LINQPad/Configuration/ConnectionSettings.cs541 public sealed class LinqToDbOptionsCOMMENT
LOW…e/LinqToDB.LINQPad/Configuration/ConnectionSettings.cs561 [JsonIgnore] // strored in linqpad storageCOMMENT
LOW…e/LinqToDB.LINQPad/Configuration/ConnectionSettings.cs581 /// Full path to custom context assembly.COMMENT
LOWSource/LinqToDB.LINQPad/Compat/IReadOnlySet.cs1#if NETFRAMEWORKCOMMENT
LOWSource/LinqToDB.LINQPad/Compat/IReadOnlySet.cs21 /// </summary>COMMENT
LOWSource/LinqToDB.LINQPad/Compat/IReadOnlySet.cs41 /// Determine whether the current set is a super set of a specified collection.COMMENT
LOW…urce/LinqToDB.LINQPad/Drivers/StaticSchemaGenerator.cs41 /// </summary>COMMENT
LOW…urce/LinqToDB.LINQPad/Drivers/DynamicLinqToDBDriver.cs21#endifCOMMENT
LOW…rce/LinqToDB.LINQPad/DatabaseProviders/ProviderInfo.cs1namespace LinqToDB.LINQPad;COMMENT
LOW…inqToDB.LINQPad/DatabaseProviders/IDatabaseProvider.cs21 /// Gets database provider name for UI.COMMENT
LOW…inqToDB.LINQPad/DatabaseProviders/IDatabaseProvider.cs41 /// </summary>COMMENT
LOW…inqToDB.LINQPad/DatabaseProviders/IDatabaseProvider.cs61 /// List of supported provider names for provider.COMMENT
LOW…inqToDB.LINQPad/DatabaseProviders/IDatabaseProvider.cs81 /// </summary>COMMENT
LOW…inqToDB.LINQPad/DatabaseProviders/IDatabaseProvider.cs101 string? TryGetDefaultPath(string providerName);COMMENT
LOWSource/LinqToDB.Templates/README.md101// Enables generation of provider-specific type for column or parameter mappingCOMMENT
LOWSource/LinqToDB.Templates/README.md121COMMENT
LOWSource/LinqToDB.Templates/README.md141// Can be used to exclude schema load for functions, that generate error during schema loadCOMMENT
LOWSource/LinqToDB.Templates/README.md181// you must provide your own resolver for unresolved typesCOMMENT
LOWSource/Shared/JetBrains.Annotations.cs1using System;COMMENT
LOWSource/Shared/JetBrains.Annotations.cs161 /// If the parameter is an enumerable, indicates that it is enumerated while the method is executed.COMMENT
LOWSource/Shared/JetBrains.Annotations.cs181 /// Multiply(123, 42); // Waring: Return value of pure method is not usedCOMMENT
LOWSource/Shared/Extensions.cs21 /// </summary>COMMENT
LOWSource/Shared/Extensions.cs41 /// <summary>COMMENT
LOWSource/Shared/Extensions.cs61 /// </summary>COMMENT
LOWSource/CodeGenerators/SqlBuilderAliasAnalyzer.cs1using System.Collections.Generic;COMMENT
LOWSource/CodeGenerators/SqlBuilderAliasAnalyzer.cs21 /// Reading the node's own property bypasses the context and renders a stale/raw name.COMMENT
2037 more matches not shown…
Modern AI Meta-Vocabulary21 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUM…qToDB.Analyzers.CodeFixes/LegacyWindowChainRewriter.cs362 // --- Emit: build the scaffold with placeholder args, format it, then splice the originals back in. ---COMMENT
MEDIUM…B.LINQPad/Drivers/Scaffold/ModelProviderInterceptor.cs572 // we use this method as we don't have type-only generation logic in scaffold frameworkCOMMENT
MEDIUM…inqToDB.LINQPad/Drivers/Scaffold/DataModelAugmentor.cs8/// AST modification visitor used to add custom scaffold code:COMMENT
MEDIUM…mmandLine/Commands/Scaffold/ScaffoldCommand.Options.cs26 /// Provides access to general scaffold options definitions.COMMENT
MEDIUM…mmandLine/Commands/Scaffold/ScaffoldCommand.Options.cs211 /// Provides access to code-generation scaffold options definitions.COMMENT
MEDIUM…mmandLine/Commands/Scaffold/ScaffoldCommand.Options.cs364 /// Provides access to data model scaffold options definitions.COMMENT
MEDIUM…mmandLine/Commands/Scaffold/ScaffoldCommand.Options.cs1207 /// Provides access to database schema scaffold options definitions.COMMENT
MEDIUM…mmandLine/Commands/Scaffold/ScaffoldCommand.Execute.cs37 // scaffold settings object initializationCOMMENT
MEDIUM…ine/Commands/Scaffold/ScaffoldCommand.Configuration.cs32 // process scaffold optionsCOMMENT
MEDIUMSource/LinqToDB.Scaffold/readme.md7- scaffolding framework, used by [linq2db.cli](https://www.nuget.org/packages/linq2db.cli) scaffold tool and [LINQPad drCODE
MEDIUMSource/LinqToDB.Scaffold/Schema/ISchemaProvider.cs85 /// Database-specific options, useful for scaffold process.COMMENT
MEDIUM…e/LinqToDB.Scaffold/Schema/SqlServerDatabaseOptions.cs4 /// SQL Server database-specific scaffold options.COMMENT
MEDIUMSource/LinqToDB.Scaffold/Schema/DatabaseOptions.cs4 /// Database-specific scaffold options. Defines default values.COMMENT
MEDIUM…LinqToDB.Scaffold/Scaffold/SqlServerDecimalOverflow.cs5 /// used by both the scaffold data-model loader and the T4 model generator so the boundary stays defined in one place.COMMENT
MEDIUMSource/LinqToDB.Scaffold/Scaffold/Scaffolder.cs29 /// <param name="interceptors">Optional custom scaffold interceptors.</param>COMMENT
MEDIUM…/LinqToDB.Scaffold/Scaffold/Options/ScaffoldOptions.cs19 /// Gets default scaffold options.COMMENT
MEDIUM…caffold/Scaffold/Customization/ScaffoldInterceptors.cs15 /// Base class for scaffold customizations.COMMENT
MEDIUM…ffold/DataModel/Context/IDataModelGenerationContext.cs22 /// Gets data model scaffold options.COMMENT
MEDIUM…ffold/DataModel/Context/IDataModelGenerationContext.cs60 /// Returns <see langword="true" /> if current scaffold generated context mapping schema.COMMENT
MEDIUM…rce/LinqToDB.Scaffold/DataModel/Model/DatabaseModel.cs36 // options below are marked internal, as they are inherited from scaffold options, set by userCOMMENT
MEDIUMTests/Linq/DataProvider/PostgreSQLTests.cs3004 // ensure we load schema correctly and issue is in scaffold codeCOMMENT
Slop Phrases24 hits · 34 pts
SeverityFileLineSnippetContext
LOWSource/LinqToDB/LinqOptions.cs225 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/DataContextOptions.cs29 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/Mapping/InheritanceMappingAttribute.cs10 /// Don't forget to define discriminator value storage column using <see cref="ColumnAttribute.IsDiscriminator"/>.COMMENT
LOW…ternal/DataProvider/PostgreSQL/PostgreSQLSqlBuilder.cs201 // don't forget to duplicate quotesCOMMENT
LOWSource/LinqToDB/DataProvider/Sybase/SybaseOptions.cs21 // If you add another parameter here, don't forget to updateCOMMENT
LOW…/LinqToDB/DataProvider/ClickHouse/ClickHouseOptions.cs22 // If you add another parameter here, don't forget to updateCOMMENT
LOW…/LinqToDB/DataProvider/PostgreSQL/PostgreSQLOptions.cs37 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/DataProvider/Access/AccessOptions.cs19 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/DataProvider/Oracle/OracleOptions.cs53 // If you add another parameter here, don't forget to updateCOMMENT
LOW…urce/LinqToDB/DataProvider/Informix/InformixOptions.cs24 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/DataProvider/SQLite/SQLiteOptions.cs26 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/DataProvider/MySql/MySqlOptions.cs19 // If you add another parameter here, don't forget to updateCOMMENT
LOW…ce/LinqToDB/DataProvider/SqlServer/SqlServerOptions.cs24 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/DataProvider/SqlCe/SqlCeOptions.cs24 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/DataProvider/DB2/DB2Options.cs24 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/DataProvider/SapHana/SapHanaOptions.cs19 // If you add another parameter here, don't forget to updateCOMMENT
LOW…urce/LinqToDB/DataProvider/Firebird/FirebirdOptions.cs30 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/Data/BulkCopyOptions.cs158 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/Data/ConnectionOptions.cs69 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/Data/QueryTraceOptions.cs28 // If you add another parameter here, don't forget to updateCOMMENT
LOWSource/LinqToDB/Data/RetryPolicy/RetryPolicyOptions.cs40 // If you add another parameter here, don't forget to updateCOMMENT
LOW…ld/Azure/pipelines/templates/test-workflow-windows.yml373 $note = "Test baselines changed by this PR. Don't forget to merge/close baselines PR after this pr merged/closed."CODE
LOWBuild/Azure/pipelines/templates/test-workflow-macos.yml244 $note = "Test baselines changed by this PR. Don't forget to merge/close baselines PR after this pr merged/closed."CODE
LOWBuild/Azure/pipelines/templates/test-workflow-linux.yml277 $note = "Test baselines changed by this PR. Don't forget to merge/close baselines PR after this pr merged/closed."CODE
Fake / Example Data16 hits · 16 pts
SeverityFileLineSnippetContext
LOWTests/EntityFrameworkCore/Tests/ForMappingTests.cs79 new() {Id = TestData.Guid1, Name = "John Doe"},CODE
LOWTests/EntityFrameworkCore/Tests/ForMappingTests.cs80 new() {Id = TestData.Guid2, Name = "Jane Doe"}CODE
LOWTests/EntityFrameworkCore/Tests/ForMappingTests.cs98 new() {Id = TestData.Guid1, Name = "John Doe"},CODE
LOWTests/EntityFrameworkCore/Tests/ForMappingTests.cs99 new() {Id = TestData.Guid2, Name = "Jane Doe"}CODE
LOWTests/EntityFrameworkCore/Tests/ForMappingTests.cs117 new() {Id = TestData.Guid1, Name = "John Doe"},CODE
LOWTests/EntityFrameworkCore/Tests/ForMappingTests.cs118 new() {Id = TestData.Guid2, Name = "Jane Doe"}CODE
LOWTests/EntityFrameworkCore/Tests/ForMappingTests.cs137 new() {Id = 1, Name = "John Doe"},CODE
LOWTests/EntityFrameworkCore/Tests/ForMappingTests.cs138 new() {Id = 2, Name = "Jane Doe"}CODE
LOWTests/Linq/Update/InsertWithOutputTests.cs1169 Assert.That(targetData[0].ValueStr, Is.EqualTo("Jane Doe"));CODE
LOWTests/Linq/Update/InsertWithOutputTests.cs1178 Assert.That(outputData[0].ValueStr, Is.EqualTo("Jane Doe"));CODE
LOWTests/Linq/Update/InsertWithOutputTests.cs1214 Assert.That(targetData[0].ValueStr, Is.EqualTo("Jane Doe"));CODE
LOWTests/Linq/Update/InsertWithOutputTests.cs1223 Assert.That(outputData[0].ValueStr, Is.EqualTo("Jane Doe"));CODE
LOWTests/Linq/Update/InsertWithOutputTests.cs1312 var row = new Issue3581Table {Id = 1, Name = "John Doe", ExternalId = new ExternalId() { Id = "1", Source = "unknown"CODE
LOWTests/Linq/UserTests/Issue5052Tests.cs81 new() { Id = 1, Name = "John Doe" },CODE
LOWTests/Linq/Linq/InheritanceTests.cs1079 Assert.That(((CalcSubtypeChild)res).FullName, Is.EqualTo("John Doe"));CODE
LOWExamples/Compat/ConfigurationManager/Program.cs40 db.Insert(new Person { Id = 1, Name = "John Doe" });CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHTests/LinqToDB.CLI/McpInfoToolTests.cs0{ "default": { "provider": "sqlite", "connectionstring": "data source=:memory:" } }STRING
HIGHTests/LinqToDB.CLI/McpQueryExecutionToolTests.cs0{ "default": { "provider": "sqlite", "connectionstring": "data source=:memory:" } }STRING
HIGHTests/LinqToDB.CLI/QueryCommandTests.cs0{ "default": { "provider": "sqlite", "connectionstring": "data source=:memory:" } }STRING
TODO Padding6 hits · 9 pts
SeverityFileLineSnippetContext
LOW…ternal/DataProvider/PostgreSQL/PostgreSQLSqlBuilder.cs165 // TODO: implement better quotation logicCOMMENT
LOW…taProvider/Access/AccessSqlExpressionConvertVisitor.cs262 // TODO: implement for ACE engine, as it has REPLACECOMMENT
LOW…Internal/DataProvider/Firebird/FirebirdSqlOptimizer.cs8 // TODO: implement recursive CTE outer joins optimization for firebird to generate "T1, T2 WHERE condition" to workarouCOMMENT
LOWSource/LinqToDB/Sql/Sql.ExtensionAttribute.cs767 // TODO: implement contextCOMMENT
LOW…fold/CodeModel/Languages/CSharp/CSharpCodeGenerator.cs308 // TODO: implement (not implemented as it is not used right now)COMMENT
LOWTests/Linq/Linq/MathFunctionTests.cs342 // TODO: implement other MidpointRounding values (and remove NUnit4001 suppress)COMMENT
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…urce/LinqToDB/Internal/Common/EmptyIAsyncDisposable.cs7 /// Helps leverage of pain to work with <c>await using nullable_value</c> code.COMMENT
MEDIUMSource/LinqToDB.Scaffold/Schema/LegacySchemaProvider.cs13 // Because linq2db schema API is quite an abomination, created to leverage T4 functionality and includes notCOMMENT
MEDIUM…d/DataModel/DataModelGenerator.Functions.Procedures.cs332 // TODO: switch to ColumnReader.GetValue in future to utilize more precise mappingCOMMENT