AI Slop Code RIsk Monitor

dotnet/winforms

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

5.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for dotnet/winforms, a C# project with 4,864 GitHub stars. SynthScan examined 1,170,568 lines of code across 4910 source files, recording 2339 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 5.0 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

5.0
Adjusted Signal
5.0
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
4.9K
Stars
C#
Language
1.2M
Lines of Code
4.9K
Files
2.3K
Pattern Hits
2026-10-12
Scan Date
0.10
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 7.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1859 finding(s).

Hallucinated Dependency & Supply Chain Risk 15.5/100 · LOW

Are imports declared and package/API names verified? 472 finding(s).

Agent Over-Engineering Ratio 0.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 12 finding(s).

PR Review Velocity Impact 24.5/100 · LOW

Which changes need focused human review? 2339 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 463HIGH 5MEDIUM 28LOW 1843

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2339 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

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
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs28[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs29[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs30[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs31[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs32[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs35[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs36[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs37[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs41[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs44[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs48[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs51[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs52[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs53[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs54[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs55[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs56[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs65[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs66[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs67[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs68[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs69[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs71[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs72[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs73[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs74[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs84[assembly: SuppressMessage("Naming", "CA1725:Parameter names should match base declaration", Justification = "Public APICODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs236[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs237[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs240[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs241[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs243[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs246[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs248[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs249[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICAL⚡src/System.Windows.Forms/GlobalSuppressions.cs250[assembly: SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Justification = "Compat", Scope = "mCODE
CRITICAL⚡src/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 Block1785 hits · 1732 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
LOW…g/common/core-templates/steps/get-github-app-token.yml1# Mints a short-lived GitHub App installation access token by signing a JWTCOMMENT
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
LOW.github/workflows/labeler-predict-pulls.yml1# Workflow template imported and updated from:COMMENT
LOW.github/skills/new-control-api/SKILL.md461/// </summary>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…Forms/System/Windows/Forms/AxHost.VisualBasic6Tests.cs41 // DeskDestroyParkingHwnd. Destroying the parking window sent WM_DESTROY to the surviving control;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…/System.Windows.Forms/WinFormsAppContextSwitchNames.cs41 /// The switch that controls whether certificates are checked against the certificate authority revocation list.COMMENT
LOW…ntegration/WinformsControlsTest/VisualStylesButtons.cs1// Licensed to the .NET Foundation under one or more agreements.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
1725 more matches not shown…
AI Slop Vocabulary15 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMeng/common/cross/install-debs.py128 # 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…tem/Windows/Forms/Animation/HighPrecisionTimerTests.cs84 // Relaxed bounds to remain robust on loaded CI machines: the median must be in aCOMMENT
MEDIUM…c/System.Windows.Forms/System/Windows/Forms/Control.cs5451 /// robust than fromHandle because it will correctly return controlsCOMMENT
MEDIUM…c/System.Windows.Forms/System/Windows/Forms/Control.cs9251 // (Essentially the same as suspending layout while we layout, but we clear differently below.)COMMENT
MEDIUM…rms/System/Windows/Forms/Controls/TreeView/TreeView.cs1938 // 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.cs4945 // 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
MEDIUM⚡eng/common/core-templates/stages/renovate.yml1# --------------------------------------------------------------------------------------COMMENT
MEDIUM⚡eng/common/core-templates/stages/renovate.yml3# --------------------------------------------------------------------------------------COMMENT
MEDIUM⚡eng/common/core-templates/stages/renovate.yml9# --------------------------------------------------------------------------------------COMMENT
MEDIUM⚡eng/common/core-templates/job/renovate.yml1# --------------------------------------------------------------------------------------COMMENT
MEDIUM⚡eng/common/core-templates/job/renovate.yml3# --------------------------------------------------------------------------------------COMMENT
MEDIUM⚡eng/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.sh333 # Check if the script is older than 30 days using timestamp fileCOMMENT
LOWeng/common/tools.sh442 # Check if the toolset has already been extractedCOMMENT
LOWeng/common/SetupNugetSources.sh66 # Check if disabledPackageSources section existsCOMMENT
LOWeng/common/SetupNugetSources.sh72 # Check if this source name is disabledCOMMENT
LOWeng/common/SetupNugetSources.sh92 # Check if source already existsCOMMENT
LOWeng/common/SetupNugetSources.sh122 # Check if disabledPackageSources section existsCOMMENT
LOWeng/common/SetupNugetSources.sh192 # 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
Modern AI Meta-Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMdocs/analyzers/WinFormsCSharpAnalyzers.Help.md62## WinForms Designer guardrailsCOMMENT
MEDIUMdocs/analyzers/WinFormsVisualBasicAnalyzers.Help.md62## WinForms Designer guardrailsCOMMENT
MEDIUM…/UnitTests/Analyzers/Designer/DesignerAnalyzerTests.cs10/// Tests the C# WinForms Designer guardrails.COMMENT
MEDIUM…/UnitTests/Analyzers/Designer/DesignerAnalyzerTests.cs10/// Tests the C# WinForms Designer guardrails.COMMENT
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.cs1452 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.cs4870 // 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.cs2670 /// Don't forget to call base.OnSelectionChangeCommitted() to ensureCOMMENT
LOW…rms/System/Windows/Forms/Controls/ComboBox/ComboBox.cs2688 /// Don't forget to call base.onSelectedIndexChanged() to ensureCOMMENT
LOW…rms/System/Windows/Forms/Controls/ComboBox/ComboBox.cs2756 /// 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
LOW⚡eng/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.py198CODE
LOWeng/common/cross/install-debs.py223CODE
LOWeng/common/cross/install-debs.py261CODE
LOWeng/common/cross/install-debs.py295CODE
LOWeng/common/cross/install-debs.py350CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMeng/common/cross/build-rootfs.sh693 # Create the symlink in the same directoryCOMMENT
MEDIUMeng/common/core-templates/job/helix-job-monitor.yml214 # 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.py51async def download_deb_files_parallel(mirror, packages, tmp_dir):CODE
LOWeng/common/cross/install-debs.py67async def download_package_index_parallel(mirror, arch, suites, check_sig, keyring):CODE
LOWeng/common/cross/install-debs.py339def _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.py44 print(f"Error downloading {url}: {type(e).__name__} - {e}. Retrying...")CODE
MEDIUMeng/common/cross/install-debs.py208 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