Repository Analysis

cefsharp/CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework

12.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of cefsharp/CefSharp, a C# project with 10,246 GitHub stars. SynthScan v2.0 examined 97,649 lines of code across 839 source files, recording 1195 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 12.6 places this repository in the Low 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).

12.6
Adjusted Score
12.6
Raw Score
100%
Time Factor
2026-08-29
Last Push
10.2K
Stars
C#
Language
97.6K
Lines of Code
839
Files
1.2K
Pattern Hits
2026-08-29
Scan Date
0.01
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 3HIGH 8MEDIUM 2LOW 1182

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 1195 distinct pattern matches across 8 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.

Over-Commented Block1169 hits · 1107 pts
SeverityFileLineSnippetContext
LOWCefSharp.OffScreen.Example/crash_reporter.cfg1# Crash reporting is configured using an INI-style config file namedCOMMENT
LOWCefSharp/SslStatus.cs1// Copyright © 2016 The CefSharp Authors. All rights reserved.COMMENT
LOWCefSharp/SslStatus.cs21 /// If the certificate is valid then <see cref="CertStatus.None"/> is returned.COMMENT
LOWCefSharp/WaitForSelectorAsyncResponse.cs1// Copyright © 2022 The CefSharp Authors. All rights reserved.COMMENT
LOWCefSharp/IPopupFeatures.cs1// Copyright © 2016 The CefSharp Authors. All rights reserved.COMMENT
LOWCefSharp/IPopupFeatures.cs21 /// </summary>COMMENT
LOWCefSharp/DependencyChecker.cs21 /// </summary>COMMENT
LOWCefSharp/DependencyChecker.cs101 /// <summary>COMMENT
LOWCefSharp/IRequestContext.cs1// Copyright © 2015 The CefSharp Authors. All rights reserved.COMMENT
LOWCefSharp/IRequestContext.cs21 /// function or targeted links will share the same render process and the same request context asCOMMENT
LOWCefSharp/IRequestContext.cs41 /// <returns>Returns true if same storage</returns>COMMENT
LOWCefSharp/IRequestContext.cs61 /// Register a scheme handler factory for the specified schemeName and optional domainName.COMMENT
LOWCefSharp/IRequestContext.cs81COMMENT
LOWCefSharp/IRequestContext.cs101 /// <summary>COMMENT
LOWCefSharp/IRequestContext.cs121 /// preference values. This method must be called on the browser process UICOMMENT
LOWCefSharp/IRequestContext.cs141 /// application thread will be the CEF UI thread.</remarks>COMMENT
LOWCefSharp/IRequestContext.cs161COMMENT
LOWCefSharp/IRequestContext.cs181 /// <see cref="IRequestHandler.OnCertificateError"/>. If you call this it isCOMMENT
LOWCefSharp/IRequestContext.cs201 /// completion. This param is optional</param>COMMENT
LOWCefSharp/IRequestContext.cs221 /// Returns the current value for <paramref name="contentType"/> that applies for theCOMMENT
LOWCefSharp/IRequestContext.cs241 /// issues in Chromium. Make sure that you first understand the potentialCOMMENT
LOWCefSharp/IRequestContext.cs261 /// <param name="topLevelUrl">Top level url</param>COMMENT
LOWCefSharp/IRequestContext.cs281 /// <param name="requestingUrl">Requesting url</param>COMMENT
LOWCefSharp/WebBrowserExtensions.cs21 /// </summary>COMMENT
LOWCefSharp/WebBrowserExtensions.cs41 {COMMENT
LOWCefSharp/WebBrowserExtensions.cs481COMMENT
LOWCefSharp/WebBrowserExtensions.cs501 /// or when <see cref="IChromiumWebBrowserBase.LoadError"/> is called to signify a load failure.COMMENT
LOWCefSharp/WebBrowserExtensions.cs581 throw;COMMENT
LOWCefSharp/WebBrowserExtensions.cs601 /// await Task.WhenAll(COMMENT
LOWCefSharp/WebBrowserExtensions.cs781 /// </summary>COMMENT
LOWCefSharp/WebBrowserExtensions.cs881 request.Headers = headers;COMMENT
LOWCefSharp/WebBrowserExtensions.cs941 /// <remarks>COMMENT
LOWCefSharp/WebBrowserExtensions.cs1101 }COMMENT
LOWCefSharp/WebBrowserExtensions.cs1241 /// </summary>COMMENT
LOWCefSharp/WebBrowserExtensions.cs1341COMMENT
LOWCefSharp/WebBrowserExtensions.cs1361 host.PrintToPdf(path, settings, callback);COMMENT
LOWCefSharp/WebBrowserExtensions.cs1401 /// <summary>COMMENT
LOWCefSharp/WebBrowserExtensions.cs1481COMMENT
LOWCefSharp/WebBrowserExtensions.cs1521 }COMMENT
LOWCefSharp/WebBrowserExtensions.cs1541 /// <param name="deltaX">The delta x coordinate.</param>COMMENT
LOWCefSharp/WebBrowserExtensions.cs1601 }COMMENT
LOWCefSharp/WebBrowserExtensions.cs1621 /// in javascript is Promise.resolve so even no promise values will be treated as a promise. Your javascript shoCOMMENT
LOWCefSharp/WebBrowserExtensions.cs1641 }COMMENT
LOWCefSharp/WebBrowserExtensions.cs1661 return browser.EvaluateScriptAsync(promiseHandlerScript, timeout: timeout, useImmediatelyInvokedFuncExpressiCOMMENT
LOWCefSharp/WebBrowserExtensions.cs1741 }COMMENT
LOWCefSharp/WebBrowserExtensions.cs1781 /// <param name="methodName">The javascript method name to execute.</param>COMMENT
LOWCefSharp/WebBrowserExtensions.cs1861 /// choose.COMMENT
LOWCefSharp/IUrlRequestClient.cs1// Copyright © 2019 The CefSharp Authors. All rights reserved.COMMENT
LOWCefSharp/IUrlRequestClient.cs21 /// <param name="port">the port number.</param>COMMENT
LOWCefSharp/IUrlRequestClient.cs41 /// Notifies the client of download progress.COMMENT
LOWCefSharp/WaitForNavigationAsyncResponse.cs1// Copyright © 2022 The CefSharp Authors. All rights reserved.COMMENT
LOWCefSharp/WaitForNavigationAsyncResponse.cs21 /// </summary>COMMENT
LOWCefSharp/ResourceRequestHandlerFactoryItem.cs1// Copyright © 2017 The CefSharp Authors. All rights reserved.COMMENT
LOWCefSharp/IRequest.cs1// Copyright © 2014 The CefSharp Authors. All rights reserved.COMMENT
LOWCefSharp/IRequest.cs21 /// <summary>COMMENT
LOWCefSharp/IRequest.cs41 string Method { get; set; }COMMENT
LOWCefSharp/IRequest.cs61COMMENT
LOWCefSharp/IRequest.cs81 /// request.Headers = headers;COMMENT
LOWCefSharp/IRequest.cs101COMMENT
LOWCefSharp/IRequest.cs121COMMENT
1109 more matches not shown…
Synthetic Comment Markers7 hits · 68 pts
SeverityFileLineSnippetContext
HIGHCefSharp/Enums/CefErrorCode.cs503 /// Failed to set the socket's receive buffer size as requested.COMMENT
HIGHCefSharp/Enums/CefErrorCode.cs508 /// Failed to set the socket's send buffer size as requested.COMMENT
HIGHCefSharp/Enums/CefErrorCode.cs513 /// Failed to set the socket's receive buffer size as requested, despite successCOMMENT
HIGHCefSharp/Enums/CefErrorCode.cs519 /// Failed to set the socket's send buffer size as requested, despite successCOMMENT
HIGH…e.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs3// This code was generated by a tool.COMMENT
HIGHCefSharp.Example/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…harp.WinForms.Example/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICALCefSharp.Core/BrowserSubprocess/SelfHost.cs79 var browserSubprocessDll = System.Runtime.Loader.AssemblyLoadContext.Default.LoadFromAssemblyPath(browserSubCODE
CRITICALCefSharp.Wpf.Example/Views/BrowserTabView.xaml.cs225 CefSharp.Example.Properties.Resources.beach.Save(beachImageStream, System.Drawing.Imaging.ImageFormat.Jpeg);CODE
CRITICALCefSharp.Example/Resources/assets/js/jquery.js5return new Za.prototype.init(a,b,c,d,e)}m.Tween=Za,Za.prototype={constructor:Za,init:function(a,b,c,d,e,f){this.elem=a,tCODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHCefSharp.Test/WebBrowserTestExtensions.cs73 //end up with CefErrorCode.Aborted, I've created the following PRCOMMENT
Hyper-Verbose Identifiers7 hits · 7 pts
SeverityFileLineSnippetContext
LOWCefSharp/Handler/ResourceRequestHandler.cs15 public class ResourceRequestHandler : IResourceRequestHandlerCODE
LOWCefSharp/Handler/RequestHandler.cs14 public class RequestHandler : IRequestHandlerCODE
LOWCefSharp/Internals/InMemoryResourceRequestHandler.cs12 public sealed class InMemoryResourceRequestHandler : IResourceRequestHandlerCODE
LOWCefSharp.Example/Resources/ExceptionTest.html62 function errorCallbackResultLogger(s)CODE
LOW…harp.Example/Handlers/ExampleResourceRequestHandler.cs21 public class ExampleResourceRequestHandler : ResourceRequestHandlerCODE
LOWCefSharp.Example/Handlers/ExampleRequestHandler.cs17 public class ExampleRequestHandler : RequestHandlerCODE
LOW…rp.WinForms.Example/Handlers/WinFormsRequestHandler.cs12 public class WinFormsRequestHandler : ExampleRequestHandlerCODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMCefSharp/Enums/CookieSameSite.cs21 /// None used to be the default value, but recent browser versions made Lax the default value to have reasonablyCOMMENT
MEDIUMCefSharp/Enums/CefErrorCode.cs883 /// numbers that correspond to services, which are not robust to spurious inputCOMMENT
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOWCefSharp.Wpf/ChromiumWebBrowser.cs947 // TODO: The following code block *should* handle images, but GetFileContents isCOMMENT
LOWCefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs113 //once we're on the UI thread we need to check if it's still validCOMMENT
LOWCefSharp.Wpf/Rendering/InteropBitmapRenderHandler.cs57 //Take a reference to the backBufferHandle, once we're on the UI thread we need to check if it's still vCOMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWCefSharp.Test/CookieManager/CookieManagerTests.cs102 Assert.Equal("John Doe", cookie.Value);CODE
LOWCefSharp.Example/Resources/BindingTestSync.js122 assert.equal("John Doe", employees[0].firstName + " " + employees[0].lastName, "Employee : " + employees[0].firsCODE
LOWCefSharp.Example/Resources/LegacyBindingTest.html91 assert.equal("John Doe", employees[0].firstName + " " + employees[0].lastName, "Employee : " + employeesCODE