Repository Analysis

PowerShell/PowerShell

PowerShell for every system!

8.9 Low AI signal View on GitHub
8.9
Adjusted Score
8.9
Raw Score
100%
Time Factor
2026-05-28
Last Push
53,687
Stars
C#
Language
837,328
Lines of Code
1653
Files
5659
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 189HIGH 24MEDIUM 50LOW 5396

Pattern Findings

5659 matches across 10 categories. Click a row to expand file-level details.

Over-Commented Block5367 hits · 4694 pts
SeverityFileLineSnippet
LOW.pipelines/templates/release-validate-packagenames.yml121
LOW.pipelines/templates/release-validate-packagenames.yml141# Get-ChildItem ENV: | Out-String -width 9999 -Stream | write-Verbose -Verbose
LOW.pipelines/templates/release-validate-packagenames.yml161# path: $(System.ArtifactsDirectory)
LOW.pipelines/templates/release-validate-packagenames.yml181# {
LOWtools/install-powershell.sh1#!/bin/bash
LOWtools/installpsh-debian.sh1#!/bin/bash
LOWtools/installpsh-osx.sh1#!/bin/bash
LOWtools/installpsh-gentoo.sh1#!/bin/bash
LOWtools/installpsh-suse.sh1#!/bin/bash
LOWtools/installpsh-suse.sh161fi
LOWtools/installpsh-amazonlinux.sh1#!/bin/bash
LOWtools/installpsh-mariner.sh1#!/bin/bash
LOWtools/installpsh-redhat.sh1#!/bin/bash
LOW…ls/NamedPipeConnection/src/code/NamedPipeConnection.cs41 /// <summary>
LOW…ls/NamedPipeConnection/src/code/NamedPipeConnection.cs101 /// <summary>
LOW…es/Microsoft.PowerShell.Utility/assets/pesteralias.txt1# Alias File
LOW.github/workflows/linux-ci.yml221 ## Temporarily disable the CodeQL analysis on Linux as it doesn't work for .NET SDK 10-rc.2.
LOW.github/workflows/scorecards.yml41 with:
LOW.github/policies/labelAdded.approvedLowRisk.yml21 permission: Admin
LOWsrc/Microsoft.WSMan.Runtime/WSManSessionOption.cs21
LOWsrc/Microsoft.WSMan.Runtime/WSManSessionOption.cs41
LOWsrc/Microsoft.WSMan.Runtime/WSManSessionOption.cs61 public NetworkCredential ProxyCredential { get; set; }
LOWsrc/Microsoft.WSMan.Runtime/WSManSessionOption.cs81 ProxyWinHttpConfig = 1,
LOWsrc/Microsoft.WSMan.Runtime/WSManSessionOption.cs101 /// </summary>
LOW…nagement.Infrastructure.CimCmdlets/CimWriteProgress.cs21 /// Initializes a new instance of the <see cref="CimWriteProgress"/> class.
LOW…nagement.Infrastructure.CimCmdlets/CimWriteProgress.cs101
LOW…gement.Infrastructure.CimCmdlets/CimInvokeCimMethod.cs321 /// Create <see cref="CimMethodParametersCollection"/> with given key properties.
LOW…gement.Infrastructure.CimCmdlets/CimInvokeCimMethod.cs441 #region const strings
LOW….Infrastructure.CimCmdlets/CimRegisterCimIndication.cs41 /// </para>
LOW….Infrastructure.CimCmdlets/CimRegisterCimIndication.cs61 }
LOW….Infrastructure.CimCmdlets/CimRegisterCimIndication.cs101 /// </summary>
LOW…ent.Infrastructure.CimCmdlets/NewCimInstanceCommand.cs1// Copyright (c) Microsoft Corporation.
LOW…ent.Infrastructure.CimCmdlets/NewCimInstanceCommand.cs381 }
LOW….Infrastructure.CimCmdlets/CimGetAssociatedInstance.cs1// Copyright (c) Microsoft Corporation.
LOW…gement.Infrastructure.CimCmdlets/GetCimClassCommand.cs41
LOW…gement.Infrastructure.CimCmdlets/GetCimClassCommand.cs61 Position = 0,
LOW…gement.Infrastructure.CimCmdlets/GetCimClassCommand.cs141
LOW…gement.Infrastructure.CimCmdlets/GetCimClassCommand.cs161 [Parameter(ValueFromPipelineByPropertyName = true)]
LOW…ment.Infrastructure.CimCmdlets/CimIndicationWatcher.cs101 /// Initializes a new instance of the <see cref="CimIndicationEventInstanceEventArgs"/> class.
LOW…ment.Infrastructure.CimCmdlets/CimIndicationWatcher.cs121 /// and listen to the incoming indications, event <see cref="CimIndicationArrived"/>
LOW…ment.Infrastructure.CimCmdlets/CimIndicationWatcher.cs341 /// <para>
LOW…ment.Infrastructure.CimCmdlets/CimIndicationWatcher.cs361
LOW….Infrastructure.CimCmdlets/RemoveCimInstanceCommand.cs281
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs81 /// Initializes a new instance of the <see cref="InvocationContext"/> class.
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs101 /// <para>
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs121 /// Performs pre processing of given result object.
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs181 internal class CimSessionProxy : IDisposable
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs201 /// Due to some cmdlet, such as <see cref="Remove-CimInstance"/>
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs281
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs301 /// </summary>
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs341 /// Then create wrapper object.
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs441
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1241 /// Enumerate referencing instance associated with
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1441 /// <summary>
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1461 /// Called after new action event.
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1481 #endregion
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1501 /// The current CimInstance object, against which issued
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1541
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1601 internal XOperationContextBase ContextObject { get; set; }
LOW…anagement.Infrastructure.CimCmdlets/CimSessionProxy.cs1621 #endregion
5307 more matches not shown…
Hallucination Indicators189 hits · 2472 pts
SeverityFileLineSnippet
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs417 var exchangeResult = System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.ExchangeCrede
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs444 var exchangeResult = System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.ExchangeCrede
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs472 var exchangeResult = System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.ExchangeCrede
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs506 var ex = Record.Exception(() => System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.Ex
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs544 var ex = Record.Exception(() => System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.Ex
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs587 System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.PerformTransportVersionAndTokenExc
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs629 result = System.Management.Automation.Remoting.RemoteSessionHyperVSocketClient.IsRequirePsDirectAuthenti
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs664 System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client, expectedToke
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs702 () => System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs711 System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client, expected
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs758 System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client, expectedToke
CRITICALtest/xUnit/csharp/test_RemoteHyperV.cs798 () => System.Management.Automation.Remoting.RemoteSessionHyperVSocketServer.ValidateToken(client, ex
CRITICALtest/hosting/test_HostingBasic.cs193 var iss = System.Management.Automation.Runspaces.InitialSessionState.CreateDefault2();
CRITICALtest/hosting/test_HostingBasic.cs202 var iss = System.Management.Automation.Runspaces.InitialSessionState.CreateDefault2();
CRITICALtest/hosting/test_HostingBasic.cs208 using var runspace = System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspace(iss);
CRITICAL…/commands/utility/EnableDisableRunspaceDebugCommand.cs290 System.Management.Automation.Runspaces.LocalRunspace.SetDebugPreference(processName.ToLowerInvariant(),
CRITICAL…s.Utility/commands/utility/ImplicitRemotingCommands.cs1698 System.Management.Automation.Runspaces.Internal.ClientRemotePowerShell.ExitHandler(sender, eventArgs);
CRITICAL…mands.Utility/commands/utility/GetRandomCommandBase.cs240 baseObject = System.Management.Automation.Language.Parser.ScanNumber((string)baseObject, typeof(int));
CRITICAL….Commands.Utility/commands/utility/Set-PSBreakpoint.cs108 (System.Management.Automation.Security.SystemPolicy.GetSystemLockdownPolicy() !=
CRITICAL…ommands.Utility/commands/utility/ImportAliasCommand.cs249 foreach (CommandInfo commandInfo in System.Management.Automation.Internal.ModuleUtils.GetMatchingCom
CRITICAL…gement.UI.Internal/commandHelpers/ShowCommandHelper.cs670 return "\'" + System.Management.Automation.Language.CodeGeneration.EscapeSingleQuotedStringContent(str) + "\
CRITICAL…t.PowerShell.Commands.Diagnostics/GetCounterCommand.cs194 _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager();
CRITICAL…owerShell.Commands.Diagnostics/ExportCounterCommand.cs184 _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager();
CRITICAL…oft.PowerShell.Commands.Diagnostics/GetEventCommand.cs331 _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager();
CRITICAL…osoft.PowerShell.Commands.Diagnostics/CounterSample.cs73 _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager();
CRITICAL…owerShell.Commands.Diagnostics/ImportCounterCommand.cs210 _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities.GetResourceManager();
CRITICAL….PowerShell.Commands.Diagnostics/NewWinEventCommand.cs30 private readonly ResourceManager _resourceMgr = Microsoft.PowerShell.Commands.Diagnostics.Common.CommonUtilities
CRITICAL…ft.PowerShell.Security/security/CertificateProvider.cs1598 [SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "System.Management.Automation
CRITICAL…ft.PowerShell.Security/security/CertificateProvider.cs1599 [SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "System.Management.Automation
CRITICAL…m.Management.Automation/utils/StructuredTraceSource.cs1285 lineBuilder.Append(System.Management.Automation.Internal.StringUtil.Padding(indentSize * threadIndentLevel))
CRITICALsrc/System.Management.Automation/utils/PsUtils.cs252 if (provider == null || !Microsoft.PowerShell.Commands.FileSystemProvider.ProviderName.Equals(provider.N
CRITICAL…agement.Automation/namespaces/TransactedRegistryKey.cs430 Microsoft.PowerShell.Commands.Internal.Buffer.memcpy(sd, 0, pSecDescriptor, 0, sd.Length);
CRITICAL…tem.Management.Automation/namespaces/IContentWriter.cs52 /// number of blocks from the specified <paramref name="origin"/>. See <see cref="System.Management.Automation.P
CRITICAL….Management.Automation/namespaces/DriveProviderBase.cs148 /// Any failures should be sent to the <see cref="System.Management.Automation.Provider.CmdletProvider.WriteErro
CRITICAL…/common/DisplayDatabase/displayResourceManagerCache.cs189 ExecutionContext context = System.Management.Automation.Runspaces.LocalPipeline.GetExecutionContextFromT
CRITICAL…Management.Automation/engine/NativeCommandProcessor.cs1119 Host.BufferCell[,] bufferContents = this.Command.Context.EngineHostInterface.UI.RawUI.GetBufferC
CRITICAL…Management.Automation/engine/NativeCommandProcessor.cs1141 this.Command.Context.InternalHost.UI.TranscribeResult(bufferText.ToString());
CRITICAL…Management.Automation/engine/NativeCommandProcessor.cs1881 Host.BufferCell[,] bufferContents = this.Command.Context.EngineHostInterface.UI.RawUI.GetBufferC
CRITICAL…System.Management.Automation/engine/CommandMetadata.cs1323 /// <seealso cref="System.Management.Automation.Runspaces.InitialSessionState.CreateRestricted(SessionCapabiliti
CRITICALsrc/System.Management.Automation/engine/regex.cs468 string likeOperand = Microsoft.PowerShell.Cmdletization.Cim.WildcardPatternToCimQueryParser.Parse(this, out
CRITICAL…nagement.Automation/engine/DataStoreAdapterProvider.cs291 /// during calls to their <see cref="System.Management.Automation.Provider.CmdletProvider.Start(ProviderInfo)"/>
CRITICAL…em.Management.Automation/engine/InitialSessionState.cs2684 initializedRunspace.ExecutionContext.EngineSessionState.GlobalScope.FunctionTable.Add(newCommandName
CRITICAL…em.Management.Automation/engine/InitialSessionState.cs2685 initializedRunspace.ExecutionContext.EngineSessionState.GlobalScope.FunctionTable.Remove(commandName
CRITICAL…em.Management.Automation/engine/InitialSessionState.cs2725 initializedRunspace.ExecutionContext.EngineSessionState.GlobalScope.FunctionTable.Add(
CRITICALsrc/System.Management.Automation/engine/pipeline.cs1111 Microsoft.PowerShell.Telemetry.Internal.TelemetryAPI.TraceExecutedCommand(commandProcessor.Command.Comma
CRITICAL….Management.Automation/engine/hostifaces/PowerShell.cs5739 System.Management.Automation.Runspaces.Command.FromPSObjectForRemoting(extraCommand);
CRITICAL….Management.Automation/engine/hostifaces/PowerShell.cs5759 System.Management.Automation.Runspaces.Command.FromPSObjectForRemoting(commandAsPSObject);
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1213 /// <see cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Rectangle, BufferCell)
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1214 /// <see cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Coordinates, BufferCel
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1220 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Rectangle, BufferC
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1221 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(Coordinates, Buffe
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1379 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.ReadKey()"/>
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1380 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.ReadKey(System.Management.Automation
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1390 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.ReadKey()"/>
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1391 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.ReadKey(System.Management.Automation
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1435 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(int, int, BufferC
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1436 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(Size, BufferCell)
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1437 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(string[], Console
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1438 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.LengthInBufferCells(char)"/>
CRITICAL…utomation/engine/hostifaces/MshHostRawUserInterface.cs1439 /// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.LengthInBufferCells(string)"/>
129 more matches not shown…
AI Slop Vocabulary35 hits · 104 pts
SeverityFileLineSnippet
MEDIUM…Shell.Commands.Utility/commands/utility/MatchString.cs811 // Essentially, the buffer is separated into regions:
MEDIUM…Management.Automation/namespaces/FileSystemProvider.cs8334 // the code above seems cleaner and more robust than the IAttachmentExecute approach
MEDIUMsrc/System.Management.Automation/engine/CommandBase.cs323 /// <summary>Detailed will leverage Get-Error to get much more detailed information for the error.</summary>
MEDIUM…System.Management.Automation/engine/PSConfiguration.cs78 /// A more robust solution is needed to enable ReaderWriterLockSlim behavior between processes.
MEDIUM….Management.Automation/engine/hostifaces/PowerShell.cs4340 // and robust connections is retrying a failed network connection.
MEDIUM…anagement.Automation/engine/hostifaces/InternalHost.cs21 /// implementation, and also to provide a leverage point at which the monad engine can hook the interaction between
MEDIUM…anagement.Automation/engine/hostifaces/InternalHost.cs24 /// That leverage may be necessary to manage concurrent access between multiple pipelines sharing the same instance
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs1517 // Get robust connections maximum retries time.
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs1863 // This callback is also used for robust connection notifications. Check for and
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2182 // Raise transport event notifying start of robust connections.
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2193 // Send robust notification to client.
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2196 // Raise transport event notifying completion of robust connections.
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2238 // This callback is also used for robust connection notifications. Check for and
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2594 // used for periodic robust connection retry/auto-disconnect
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2928 // Suspend queue on robust connections initiated event.
MEDIUM…omation/engine/remoting/fanin/WSManTransportManager.cs2931 // Resume queue on robust connections completed event.
MEDIUM…tomation/engine/remoting/fanin/BaseTransportManager.cs640 /// Queue the robust connection notification event.
MEDIUM…tomation/engine/remoting/fanin/BaseTransportManager.cs673 // Queue worker item to raise the event so that all robust connection
MEDIUM…m.Management.Automation/engine/remoting/common/misc.cs211 /// A disconnect operation initiated by the WinRM robust connection
MEDIUM…ation/engine/remoting/commands/InvokeCommandCommand.cs1443 // Add robust connection retry notification handler.
LOW…mation/engine/remoting/commands/CustomShellCommands.cs150 # if AccessMode is Disabled OR the winrm configsddl failed, we just return
MEDIUM…n/engine/remoting/client/RemoteRunspacePoolInternal.cs233 /// Returns robust connection maximum retry time in milliseconds.
MEDIUM…n/engine/remoting/client/RemoteRunspacePoolInternal.cs1783 /// A session disconnect has been initiated by the WinRM robust connection layer. Set
MEDIUM…Automation/engine/remoting/client/RemotingProtocol2.cs402 /// Indicates that a disconnect has been initiated by the WinRM robust connections layer.
MEDIUM…Automation/engine/remoting/client/RemotingProtocol2.cs833 /// Forwards robust connection notifications to associated PowerShell clients.
MEDIUM…Automation/engine/remoting/client/RemotingProtocol2.cs917 /// Returns robust connection maximum retry time in milliseconds, if supported
MEDIUM…Automation/engine/remoting/client/RemotingProtocol2.cs1460 /// Called from session DSHandler. Notify client of robust connection
MEDIUM…ement.Automation/engine/remoting/client/RunspaceRef.cs231 // Add robust connection callback if this is a pushed runspace.
MEDIUM…ement.Automation/engine/remoting/client/RunspaceRef.cs241 // Add callback to write robust connection errors from stream.
MEDIUM…ation/engine/remoting/client/ClientRemotePowerShell.cs180 // If we are in robust connection retry mode then auto-disconnect this command
MEDIUM…ation/engine/remoting/client/ClientRemotePowerShell.cs187 // While in robust connection retry mode, this call forces robust connections
MEDIUM…ation/engine/remoting/client/ClientRemotePowerShell.cs333 /// This event is fired when this PowerShell object receives a robust connection
MEDIUM…ation/engine/remoting/client/ClientRemotePowerShell.cs764 /// Handles a robust connection layer notification from the transport
MEDIUM…ation/engine/remoting/client/ClientRemotePowerShell.cs773 // Create event arguments and warnings/errors for this robust connection notification.
MEDIUM…ment.Automation/engine/Modules/SwitchProcessCommand.cs128 // leverage .NET runtime's native library which abstracts the need to handle different OS and architectures for
Cross-File Repetition15 hits · 75 pts
SeverityFileLineSnippet
HIGH…ormatAndOutput/DefaultFormatters/Help_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@
HIGH…ormatAndOutput/DefaultFormatters/Help_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@
HIGH…matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@
HIGH…matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@
HIGH…matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@
HIGH…matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@
HIGH…matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@
HIGH…matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.fullhelpinfo) .addtext(@
HIGH…ormatAndOutput/DefaultFormatters/Help_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@
HIGH…matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@
HIGH…matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@
HIGH…matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@
HIGH…matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@
HIGH…matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@
HIGH…matAndOutput/DefaultFormatters/HelpV3_format_ps1xml.cs0") .addnewline() .addtext(helpdisplaystrings.verbosehelpinfo) .addtext(@
Synthetic Comment Markers9 hits · 65 pts
SeverityFileLineSnippet
HIGHsrc/ResGen/Program.cs105// This code was generated by a dotnet run from src\ResGen folder.
HIGH…l/ManagementList/Common/ListOrganizerItem.Generated.cs5// This code was generated by a tool. DO NOT EDIT
HIGH…ernal/ManagementList/Common/ListOrganizer.Generated.cs5// This code was generated by a tool. DO NOT EDIT
HIGH….UI.Internal/HelpWindow/HelpWindowSettings.Designer.cs5// This code was generated by a tool.
HIGH…I.Internal/ShowCommand/ShowCommandSettings.Designer.cs5// This code was generated by a tool.
HIGH…stem.Management.Automation/utils/tracing/TracingGen.cs975// This code was generated on 02/01/2012 19:52:32
HIGH…/System.Management.Automation/CoreCLR/EventResource.cs6 This code was generated by the tools\ResxGen\ResxGen.ps1 run against PowerShell.Core.Instrumentation.man.
HIGH…zation/xml/cmdlets-over-objects.objectModel.autogen.cs14// This code was generated by a tool.
HIGH…ml/CoreCLR/cmdlets-over-objects.objectModel.autogen.cs9// This code was generated by a tool.
Self-Referential Comments16 hits · 48 pts
SeverityFileLineSnippet
MEDIUM.pipelines/MSIXBundle-vPack-Official.yml311 ## Create an output variable for the enabled channels so that downstream stages can use it.
MEDIUM.pipelines/templates/uploadToAzure.yml279 # Create the blob container if it doesn't exist
MEDIUM.pipelines/templates/uploadToAzure.yml290 # Create the blob container if it doesn't exist
MEDIUM.pipelines/templates/uploadToAzure.yml326 # Create the blob container if it doesn't exist
MEDIUM.pipelines/templates/uploadToAzure.yml376 # Create the blob container if it doesn't exist
MEDIUMtools/installpsh-suse.sh190## Create the target folder where powershell will be placed
MEDIUMtools/installpsh-suse.sh197## Create the symbolic link that points to powershell
MEDIUMtools/installpsh-amazonlinux.sh165## Create the target folder where powershell will be placed
MEDIUMtools/installpsh-amazonlinux.sh172## Create the symbolic link that points to powershell
MEDIUMtools/installpsh-mariner.sh177## Create the target folder where powershell will be placed
MEDIUMtools/installpsh-mariner.sh184## Create the symbolic link that points to powershell
MEDIUMdocker/InstallTarballPackage.sh29# Create the target folder where powershell will be placed
MEDIUMdocker/InstallTarballPackage.sh34# Create the symbolic link that points to powershell
MEDIUM…Management.Automation/namespaces/FileSystemProvider.cs8529 # Create the new file.
MEDIUM…Management.Automation/namespaces/FileSystemProvider.cs8984 # Create a new array to hold the file content
MEDIUM…mation/engine/remoting/commands/CustomShellCommands.cs4808 # Create the default PSSession configuration, not tied to specific PowerShell version
Redundant / Tautological Comments23 hits · 28 pts
SeverityFileLineSnippet
LOW.pipelines/MSIXBundle-vPack-Official.yml136 # Check if release tag matches the expected format v#.#.#
LOW.pipelines/MSIXBundle-vPack-Official.yml157 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW.pipelines/MSIXBundle-vPack-Official.yml211 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW.pipelines/MSIXBundle-vPack-Official.yml216 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW.pipelines/templates/rebuild-branch-check.yml5 # Check if this is a rebuild branch (e.g., rebuild/v7.4.13-rebuild.5)
LOW.pipelines/templates/linux.yml57 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW.pipelines/templates/linux.yml111 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW.pipelines/templates/linux.yml116 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW.pipelines/templates/windows-hosted-build.yml58 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW.pipelines/templates/windows-hosted-build.yml127 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW.pipelines/templates/windows-hosted-build.yml186 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW.pipelines/templates/windows-hosted-build.yml191 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW.pipelines/templates/stages/PowerShell-vPack-Stages.yml133 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW.pipelines/templates/stages/PowerShell-vPack-Stages.yml196 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW.pipelines/templates/stages/PowerShell-vPack-Stages.yml200 ob_restore_phase: true # Set ob_restore_phase to run this step before '🔒 Setup Signing' step.
LOW…ystem.Management.Automation/DscSupport/CimDSCParser.cs3837# Check if PsDscRunCredential is being specified as Arguments to Configuration
LOW…ystem.Management.Automation/DscSupport/CimDSCParser.cs3840# Check if resource is also trying to set the value for RunAsCred
LOW…Management.Automation/namespaces/FileSystemProvider.cs8546 # Check if drive specifies max size and if max size is exceeded
LOW…Management.Automation/namespaces/FileSystemProvider.cs8600 # Check if drive specifies max size and if max size is exceeded
LOW…Management.Automation/namespaces/FileSystemProvider.cs8637 # Check if the target drive is NTFS
LOW…Management.Automation/namespaces/FileSystemProvider.cs9131 # Check if the source supports 'Get-Content -Stream'. This functionality was introduced in version 3.0.
LOW…Management.Automation/namespaces/FileSystemProvider.cs9140 # Check if the file has any alternate data streams.
LOW…Management.Automation/namespaces/FileSystemProvider.cs9471 # Check if the given path exists.
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippet
LOW…Management.Automation/engine/NativeCommandProcessor.cs1677 // We need to check if we're using legacy argument passing or it's a special case.
LOW…m.Management.Automation/engine/remoting/client/Job2.cs1844 // in which case we need to check if the parent
LOW…ement.Automation/engine/runtime/CompiledScriptBlock.cs280 // now we need to check if the HashtableAst is safe.
Fake / Example Data1 hit · 2 pts
SeverityFileLineSnippet
LOWsrc/System.Management.Automation/engine/ErrorPackage.cs295 /// non-empty value, for example "John Doe".
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOW…t.Automation/engine/scriptparameterbindercontroller.cs157 // Example usage: