Repository Analysis

dotnet/winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.

5.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of dotnet/winforms, a C# project with 4,830 GitHub stars. SynthScan v2.0 examined 1,129,274 lines of code across 4789 source files, recording 2236 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 5.1 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).

5.1
Adjusted Score
5.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
4.8K
Stars
C#
Language
1.1M
Lines of Code
4.8K
Files
2.2K
Pattern Hits
2026-07-14
Scan Date
0.10
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 463HIGH 5MEDIUM 23LOW 1745

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 2236 distinct pattern matches across 17 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.

Hallucination Indicators463 hits · 3932 pts
SeverityFileLineSnippetContext
CRITICAL…egration/WinformsControlsTest/ChartControl.Designer.cs85 this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();CODE
CRITICAL…egration/WinformsControlsTest/ChartControl.Designer.cs86 this.chart2 = new System.Windows.Forms.DataVisualization.Charting.Chart();CODE
CRITICAL…egration/WinformsControlsTest/ChartControl.Designer.cs87 this.chart3 = new System.Windows.Forms.DataVisualization.Charting.Chart();CODE
CRITICAL…egration/WinformsControlsTest/ChartControl.Designer.cs88 this.chart4 = new System.Windows.Forms.DataVisualization.Charting.Chart();CODE
CRITICAL…tem.Windows.Forms.Primitives/src/PublicAPI.Shipped.txt139System.Windows.Forms.VisualStyles.TextMetrics.TextMetrics() -> voidCODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs28[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs29[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs30[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs31[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs32[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs35[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs36[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs37[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs41[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs44[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs48[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs51[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs52[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs53[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs54[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs55[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs56[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs65[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs66[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs67[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs68[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs69[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs71[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs72[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs73[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs74[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs84[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs236[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs237[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs240[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs241[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs243[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs246[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs248[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs249[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs250[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs252[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs99[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICALsrc/System.Windows.Forms/GlobalSuppressions.cs106[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt2~override System.Windows.Forms.Design.ComponentTray.GetService(System.Type serviceType) -> objectCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt3~override System.Windows.Forms.Design.ComponentTray.OnDragDrop(System.Windows.Forms.DragEventArgs de) -> voidCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt4~override System.Windows.Forms.Design.ComponentTray.OnDragEnter(System.Windows.Forms.DragEventArgs de) -> voidCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt5~override System.Windows.Forms.Design.ComponentTray.OnDragLeave(System.EventArgs e) -> voidCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt6~override System.Windows.Forms.Design.ComponentTray.OnDragOver(System.Windows.Forms.DragEventArgs de) -> voidCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt7~override System.Windows.Forms.Design.ComponentTray.OnGiveFeedback(System.Windows.Forms.GiveFeedbackEventArgs gfevent) -CODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt8~override System.Windows.Forms.Design.ComponentTray.OnLayout(System.Windows.Forms.LayoutEventArgs levent) -> voidCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt9~override System.Windows.Forms.Design.ComponentTray.OnMouseDoubleClick(System.Windows.Forms.MouseEventArgs e) -> voidCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt10~override System.Windows.Forms.Design.ComponentTray.OnMouseDown(System.Windows.Forms.MouseEventArgs e) -> voidCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt11~override System.Windows.Forms.Design.ComponentTray.OnMouseMove(System.Windows.Forms.MouseEventArgs e) -> voidCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt12~override System.Windows.Forms.Design.ComponentTray.OnMouseUp(System.Windows.Forms.MouseEventArgs e) -> voidCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt13~override System.Windows.Forms.Design.ComponentTray.OnPaint(System.Windows.Forms.PaintEventArgs pe) -> voidCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt14~override System.Windows.Forms.Design.DocumentDesigner.GetGlyphs(System.Windows.Forms.Design.Behavior.GlyphSelectionTypeCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt15~override System.Windows.Forms.Design.DocumentDesigner.Initialize(System.ComponentModel.IComponent component) -> voidCODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt16~override System.Windows.Forms.Design.DocumentDesigner.PreFilterProperties(System.Collections.IDictionary properties) ->CODE
CRITICAL…/System.Windows.Forms.Design/src/PublicAPI.Shipped.txt17~override System.Windows.Forms.Design.ParentControlDesigner.GetControlGlyph(System.Windows.Forms.Design.Behavior.GlyphSeCODE
403 more matches not shown…
Over-Commented Block1687 hits · 1636 pts
SeverityFileLineSnippetContext
LOW.CodeQL.yml1# This file configures CodeQL runs and TSA bug autofiling. For more information, see:COMMENT
LOWeng/common/SetupNugetSources.sh1#!/usr/bin/env bashCOMMENT
LOWeng/common/vmr-sync.sh1#!/bin/bashCOMMENT
LOWeng/common/vmr-sync.sh21###COMMENT
LOWeng/common/native/init-distro-rid.sh1#!/bin/shCOMMENT
LOWeng/common/native/init-distro-rid.sh61COMMENT
LOW…common/templates-official/variables/pool-providers.yml1# Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc poolCOMMENT
LOWeng/common/templates/vmr-build-pr.yml1# This pipeline is used for running the VMR verification of the PR changes in repo-level PRs.COMMENT
LOWeng/common/templates/variables/pool-providers.yml1# Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc poolCOMMENT
LOWeng/common/core-templates/stages/renovate.yml1# --------------------------------------------------------------------------------------COMMENT
LOWeng/common/core-templates/steps/install-microbuild.yml1parameters:COMMENT
LOWeng/common/core-templates/job/renovate.yml1# --------------------------------------------------------------------------------------COMMENT
LOWeng/common/core-templates/job/source-build.yml1parameters:COMMENT
LOWeng/common/core-templates/job/source-build.yml21 # published by source-build.COMMENT
LOWeng/common/core-templates/job/helix-job-monitor.yml61# are treated as failed: they count toward the monitor's exit code and are resubmitted by aCOMMENT
LOW.github/workflows/labeler-predict-pulls.yml1# Workflow template imported and updated from:COMMENT
LOW.github/skills/new-control-api/SKILL.md421COMMENT
LOW.github/skills/new-control-api/SKILL.md441/// </para>COMMENT
LOW.github/skills/coding-standards/SKILL.md361* Indent XML structure with **1 space** per nesting level:COMMENT
LOW.github/skills/code-modernization/SKILL.md421COMMENT
LOW…ws.Forms/System/Windows/Forms/DataGridViewCellTests.cs541 using SubDataGridViewCell cellTemplate = new();COMMENT
LOW…ws.Forms/System/Windows/Forms/DataGridViewCellTests.cs581 //COMMENT
LOW…ystem/Windows/Forms/Mocks/DataBinding/ViewModelBase.cs21COMMENT
LOW…accessibility/TestPassApp/PrintingControls.Designer.cs41 this.button1 = new System.Windows.Forms.Button();COMMENT
LOW…cessibility/TestPassApp/ToolStripContainer.Designer.cs461 this.editToolStripMenuItem.ToolTipText = "Edit";COMMENT
LOW…cessibility/TestPassApp/ToolStripContainer.Designer.cs561 // COMMENT
LOW…ibility/TestPassApp/Menu_Toolbars_controls.Designer.cs441 // toolStripSeparator9COMMENT
LOW…ssibility/TestPassApp/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOW…rmsControlsTest/MenuStripAndCheckedListBox.Designer.cs161 this.saveToolStripMenuItem.Text = "Save";COMMENT
LOW…/integration/WinformsControlsTest/TaskDialogSamples.cs341 };COMMENT
LOW…egration/WinformsControlsTest/ToolTipTests.Designer.cs141 // automaticDelayToolTipCOMMENT
LOW…ion/DesignSurface/DemoConsole/DesignSurfaceExtended.cs161 if (newComp is null)COMMENT
LOW…ion/DesignSurface/DemoConsole/DesignSurfaceExtended.cs281 public DesignSurfaceExtended()COMMENT
LOW…ation/DesignSurface/DemoConsole/NameCreationService.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…gnSurface/DemoConsole/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOW….IntegrationTests/WinformsMauiPropertyGridViewTests.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…ntegrationTests/WinformsMauiPrintPreviewDialogTests.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW….Forms.Maui.IntegrationTests/WinformsMauiLabelTests.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…ndows.Forms.Maui.IntegrationTests/MauiDataAttribute.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…ndows.Forms.Maui.IntegrationTests/MauiDataAttribute.cs41 }COMMENT
LOW…ms.Maui.IntegrationTests/WinformsMauiImageListTests.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…ms.Maui.IntegrationTests/WinformsMauiToolStripTests.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…ws.Forms.Maui.IntegrationTests/WinformsMauiMDITests.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…ms.Maui.IntegrationTests/WinformsMauiScrollBarTests.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…rms.Maui.IntegrationTests/WinformsMauiListViewTests.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…rms.Maui.IntegrationTests/WinformsMauiComboBoxTests.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…Maui.IntegrationTests/WinformsMauiDataGridViewTests.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…m.Windows.Forms.IntegrationTests.Common/TestHelpers.cs161 return dotNetPath;COMMENT
LOW…m.Windows.Forms.IntegrationTests.Common/TestHelpers.cs261 /// Presses Enter on the given process if it can be made the foreground processCOMMENT
LOW…m.Windows.Forms.IntegrationTests.Common/TestHelpers.cs281COMMENT
LOW…m.Windows.Forms.IntegrationTests.Common/TestHelpers.cs301 return SendKeysToProcess(process, "{RIGHT}", switchToMainWindow);COMMENT
LOW…m.Windows.Forms.IntegrationTests.Common/TestHelpers.cs401 Thread.CurrentThread.CurrentUICulture = cultureInfo;COMMENT
LOW…tion/UIIntegrationTests/Infra/DataCollectionService.cs41 }COMMENT
LOW…tion/UIIntegrationTests/Infra/DataCollectionService.cs61 /// <description><strong>Purpose</strong></description>COMMENT
LOW…ration/UIIntegrationTests/Infra/ScreenRecordService.cs81COMMENT
LOW…ration/UIIntegrationTests/Infra/ScreenRecordService.cs101 }COMMENT
LOW…t/integration/UIIntegrationTests/Input/InputBuilder.cs161 dy = y,COMMENT
LOW…Core/tests/BinaryFormatTests/TestResources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOW…/System/Private/Windows/Nrbf/BinaryFormatterHelpers.cs81 /// Converts the specified object to a Base64 string using <see cref="BinaryFormatter"/>.COMMENT
LOW…/System/Private/Windows/Nrbf/BinaryFormatterHelpers.cs141#pragma warning restore IL2026 // Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otheCOMMENT
1627 more matches not shown…
AI Slop Vocabulary14 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUMeng/common/cross/install-debs.py126 # keyboxd, which makes it robust on hosts running GnuPG 2.4+ (e.g. AzureCOMMENT
LOW…ommon/core-templates/steps/enable-internal-sources.yml34 # If running on dnceng (internal project), just use the default behavior for NuGetAuthenticate.COMMENT
MEDIUM…re/src/Windows/Win32/System/Com/WinFormsComStrategy.cs11/// Deriving from <see cref="StrategyBasedComWrappers"/> allows us to leverage the functionality the runtimeCOMMENT
MEDIUM…c/System.Windows.Forms/System/Windows/Forms/Control.cs5219 /// robust that fromHandle because it will correctly return controlsCOMMENT
MEDIUM…c/System.Windows.Forms/System/Windows/Forms/Control.cs8464 // (Essentially the same as suspending layout while we layout, but we clear differently below.)COMMENT
MEDIUM…rms/System/Windows/Forms/Controls/TreeView/TreeView.cs1921 // Essentially we are setting the width to be infinite so that theCOMMENT
MEDIUM…Windows/Forms/Controls/ToolStrips/ToolStripDropDown.cs813 // it's not robust enough for our needsCOMMENT
MEDIUM…/Controls/ComboBox/ComboBox.ComboBoxUiaTextProvider.cs344 // (Essentially ScreenToClient but MapWindowPoints accounts for window mirroring using WS_EX_LAYOUTRTL.)COMMENT
MEDIUM…rms/System/Windows/Forms/Controls/ListView/ListView.cs202 // We need to make our ListView wrapper more robust in face of this limitation inside ComCtl ListView.COMMENT
MEDIUM…rms/System/Windows/Forms/Controls/ListView/ListView.cs4928 // However, for the sake of being more robust, reset the TECTBKCOLOR to CLR_NONE when the system palette chaCOMMENT
MEDIUM…rols/TextBox/TextBoxBase.TextBoxBaseUiaTextProvider.cs109 // (Essentially ScreenToClient but MapWindowPoints accounts for window mirroring using WS_EX_LAYOUTRTL.)COMMENT
MEDIUM…rms/System/Windows/Forms/Rendering/DrawingEventArgs.cs15/// That would make things a little more robust, but would require API review as the class itself would have toCOMMENT
MEDIUM…indows/Forms/Accessibility/LabelEditUiaTextProvider.cs271 // (Essentially ScreenToClient but MapWindowPoints accounts for window mirroring using WS_EX_LAYOUTRTL.)COMMENT
MEDIUM…c/System/Windows/Forms/Design/ParentControlDesigner.cs94 /// unfortunately IsDropOK is not robust enough and does not allow for specific error messages.COMMENT
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGH…ssibility/TestPassApp/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…gnSurface/DemoConsole/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…Core/tests/BinaryFormatTests/TestResources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…ms.Design/src/Resources/MaskDesignerDialog.Designer.cs3// This code was generated by a tool.COMMENT
Decorative Section Separators6 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMeng/common/core-templates/stages/renovate.yml1# --------------------------------------------------------------------------------------COMMENT
MEDIUMeng/common/core-templates/stages/renovate.yml3# --------------------------------------------------------------------------------------COMMENT
MEDIUMeng/common/core-templates/stages/renovate.yml9# --------------------------------------------------------------------------------------COMMENT
MEDIUMeng/common/core-templates/job/renovate.yml1# --------------------------------------------------------------------------------------COMMENT
MEDIUMeng/common/core-templates/job/renovate.yml3# --------------------------------------------------------------------------------------COMMENT
MEDIUMeng/common/core-templates/job/renovate.yml17# --------------------------------------------------------------------------------------COMMENT
Structural Annotation Overuse12 hits · 18 pts
SeverityFileLineSnippetContext
LOW…c/test/integration/UIIntegrationTests/ListViewTests.cs10// NOTE: This class contains many tests which don't require user input. Although they arguably belong to the unitCOMMENT
LOW…orms/System/Windows/Forms/Control.ControlCollection.cs239 // Step 0 - Arg validationCOMMENT
LOW…ndows.Forms/System/Windows/Forms/Layout/TableLayout.cs751 // Step 1: iterate through the rows or columns,COMMENT
LOW…ndows.Forms/System/Windows/Forms/Layout/TableLayout.cs1019 // Step 1: iterate through the rows or columns,COMMENT
LOW…ndows.Forms/System/Windows/Forms/Layout/TableLayout.cs1145 // Step 3: add remaining space to autosize columnsCOMMENT
LOW…/Windows/Forms/Controls/TreeView/TreeNodeCollection.cs401 // Step 0 - Arg validationCOMMENT
LOW…s/Forms/Controls/ToolStrips/ToolStripItemCollection.cs344 // Step 0 - Arg validationCOMMENT
LOW…dows/Forms/Controls/Labels/LinkLabel.LinkCollection.cs259 // Step 0 - Arg validationCOMMENT
LOW…s/Controls/ListView/ListView.ColumnHeaderCollection.cs132 // Step 0 - Arg validationCOMMENT
LOW…ols/ListView/ListView.CheckedListViewItemCollection.cs235 // Step 0 - Arg validationCOMMENT
LOW…s/Controls/ListView/ListView.ListViewItemCollection.cs337 // Step 0 - Arg validationCOMMENT
LOW…ls/ListView/ListView.SelectedListViewItemCollection.cs395 // Step 0 - Arg validationCOMMENT
Redundant / Tautological Comments9 hits · 14 pts
SeverityFileLineSnippetContext
LOWeng/common/tools.sh304 # Check if the script is older than 30 days using timestamp fileCOMMENT
LOWeng/common/tools.sh413 # Check if the toolset has already been extractedCOMMENT
LOWeng/common/SetupNugetSources.sh64 # Check if disabledPackageSources section existsCOMMENT
LOWeng/common/SetupNugetSources.sh70 # Check if this source name is disabledCOMMENT
LOWeng/common/SetupNugetSources.sh90 # Check if source already existsCOMMENT
LOWeng/common/SetupNugetSources.sh120 # Check if disabledPackageSources section existsCOMMENT
LOWeng/common/SetupNugetSources.sh190 # Check if there is no existing credential for this FeedNameCOMMENT
LOWeng/common/core-templates/steps/source-build.yml31 # Check if AzDO substitutes in a build config from a variable, and use it if so.COMMENT
LOWeng/common/core-templates/steps/install-microbuild.yml64 # Check if ESRP is disabled while SignType is realCOMMENT
Verbosity Indicators8 hits · 12 pts
SeverityFileLineSnippetContext
LOW…ccessibleObjects/ErrorProviderAccessibleObjectTests.cs152 // So we need to check if these properties are not equal.COMMENT
LOW…ndows.Forms/System/Windows/Forms/Layout/TableLayout.cs751 // Step 1: iterate through the rows or columns,COMMENT
LOW…ndows.Forms/System/Windows/Forms/Layout/TableLayout.cs1019 // Step 1: iterate through the rows or columns,COMMENT
LOW…ndows.Forms/System/Windows/Forms/Layout/TableLayout.cs1062 // Step 2: (ONLY if we have % style column)COMMENT
LOW…ndows.Forms/System/Windows/Forms/Layout/TableLayout.cs1145 // Step 3: add remaining space to autosize columnsCOMMENT
LOW…s/Forms/Controls/ToolStrips/ToolStripSystemRenderer.cs221 // we need to check if the renderer override is set, test for particular renderer typesCOMMENT
LOW…c/System/Windows/Forms/Design/ParentControlDesigner.cs571 // At this point bounds are in client rectangle coordinates, so we need to check if we need to adjust thCOMMENT
LOW…em/Windows/Forms/Design/Behavior/DropSourceBehavior.cs270 // so we need to check if we need to adjust the coordinates.COMMENT
Fake / Example Data8 hits · 11 pts
SeverityFileLineSnippetContext
LOW…m.Windows.Forms/System/Windows/Forms/ClipboardTests.cs1365 SerializablePerson person = new() { Name = "John Doe", Age = 30 };CODE
LOW…/integration/WinformsControlsTest/CollectionEditors.cs17 private readonly string[] _stringArray = ["Lorem ipsum dolor sit amet", "id quo accusamus definitionem", "graeco salCODE
LOW…/integration/WinformsControlsTest/CollectionEditors.cs17 private readonly string[] _stringArray = ["Lorem ipsum dolor sit amet", "id quo accusamus definitionem", "graeco salCODE
LOW…/integration/WinformsControlsTest/CollectionEditors.cs18 private readonly List<string> _stringList = ["Lorem ipsum dolor sit amet", "id quo accusamus definitionem", "graeco CODE
LOW…/integration/WinformsControlsTest/CollectionEditors.cs18 private readonly List<string> _stringList = ["Lorem ipsum dolor sit amet", "id quo accusamus definitionem", "graeco CODE
LOW…/integration/WinformsControlsTest/CollectionEditors.cs19 private readonly Collection<string> _stringCollection = ["Lorem ipsum dolor sit amet", "id quo accusamus definitioneCODE
LOW…/integration/WinformsControlsTest/CollectionEditors.cs19 private readonly Collection<string> _stringCollection = ["Lorem ipsum dolor sit amet", "id quo accusamus definitioneCODE
LOW…Tests/System/Private/Windows/Ole/ClipboardCoreTests.cs190 SerializablePerson person = new() { Name = "John Doe", Age = 30 };CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/System.Windows.Forms/System/Windows/Forms/Form.cs4823 // I've added a special case for UserControls because they shouldn't cycle back to theCOMMENT
Slop Phrases5 hits · 8 pts
SeverityFileLineSnippetContext
LOW…indows.Forms/System/Windows/Forms/SendKeys/SendKeys.cs519 // don't forget to position ourselves at the end of the {...} groupCOMMENT
LOW…rms/System/Windows/Forms/Controls/ComboBox/ComboBox.cs2547 /// Don't forget to call base.OnSelectionChangeCommitted() to ensureCOMMENT
LOW…rms/System/Windows/Forms/Controls/ComboBox/ComboBox.cs2565 /// Don't forget to call base.onSelectedIndexChanged() to ensureCOMMENT
LOW…rms/System/Windows/Forms/Controls/ComboBox/ComboBox.cs2633 /// Don't forget to call base.onSelectedItemChanged() to ensureCOMMENT
LOW…rms/System/Windows/Forms/Controls/ListBoxes/ListBox.cs1258 /// way of doing this. Don't forget to call EndUpdate when you're done,COMMENT
Example Usage Blocks4 hits · 7 pts
SeverityFileLineSnippetContext
LOWeng/common/native/install-dependencies.sh7# Usage:COMMENT
LOW…common/templates-official/variables/pool-providers.yml12# How to use:COMMENT
LOWeng/common/templates/variables/pool-providers.yml12# How to use:COMMENT
LOWeng/common/core-templates/job/renovate.yml11# Usage:COMMENT
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOWeng/common/cross/install-debs.py20CODE
LOWeng/common/cross/install-debs.py196CODE
LOWeng/common/cross/install-debs.py221CODE
LOWeng/common/cross/install-debs.py259CODE
LOWeng/common/cross/install-debs.py293CODE
LOWeng/common/cross/install-debs.py348CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMeng/common/cross/build-rootfs.sh674 # Create the symlink in the same directoryCOMMENT
MEDIUMeng/common/core-templates/job/helix-job-monitor.yml148 # Create a minimal NuGet.config that only references the local nupkg directory.COMMENT
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippetContext
LOWeng/common/cross/install-debs.py49async def download_deb_files_parallel(mirror, packages, tmp_dir):CODE
LOWeng/common/cross/install-debs.py65async def download_package_index_parallel(mirror, arch, suites, check_sig, keyring):CODE
LOWeng/common/cross/install-debs.py337def _rootfs_extraction_filter(member, dest_path):CODE
LOW…System/Windows/Forms/Accessibility/AccessibleObject.cs2517 /// necessary because the OS function WindowFromAccessibleObject() walks up the parent chainCOMMENT
Excessive Try-Catch Wrapping2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMeng/common/cross/install-debs.py42 print(f"Error downloading {url}: {type(e).__name__} - {e}. Retrying...")CODE
MEDIUMeng/common/cross/install-debs.py206 print(f"Error: Package '{current}' was not found in the available packages.")CODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWeng/common/cross/install-debs.py18CODE