Add pipeline cmdlets #232
Add pipeline cmdlets #232
Quality Gate failed
Failed conditions
1 Security Hotspot
6.4% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check failure on line 140 in CSharp/TfsCmdlets/Cmdlets/Pipeline/Run/GetPipelineRun.cs
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=igoravl_TfsCmdlets&issues=AZ0xDRJymIEHLU8AvWF9&open=AZ0xDRJymIEHLU8AvWF9&pullRequest=232
Check failure on line 228 in CSharp/TfsCmdlets/Cmdlets/Pipeline/Run/GetPipelineRun.cs
sonarqubecloud / SonarCloud Code Analysis
Remove this bitwise operation; the enum 'BuildStatus' is not marked with 'Flags' attribute.
See more on https://sonarcloud.io/project/issues?id=igoravl_TfsCmdlets&issues=AZ0xDRJymIEHLU8AvWGA&open=AZ0xDRJymIEHLU8AvWGA&pullRequest=232
Check warning on line 100 in CSharp/TfsCmdlets/Cmdlets/Pipeline/Run/GetPipelineRun.cs
sonarqubecloud / SonarCloud Code Analysis
Split this method into two, one handling parameters check and the other handling the iterator.
See more on https://sonarcloud.io/project/issues?id=igoravl_TfsCmdlets&issues=AZ0xDRJymIEHLU8AvWF-&open=AZ0xDRJymIEHLU8AvWF-&pullRequest=232
Check warning on line 64 in CSharp/TfsCmdlets/Cmdlets/Pipeline/Folder/RemovePipelineFolder.cs
sonarqubecloud / SonarCloud Code Analysis
'System.Exception' should not be thrown by user code.
See more on https://sonarcloud.io/project/issues?id=igoravl_TfsCmdlets&issues=AZ0xDRGymIEHLU8AvWF4&open=AZ0xDRGymIEHLU8AvWF4&pullRequest=232
Check warning on line 32 in CSharp/TfsCmdlets/Cmdlets/Pipeline/Folder/GetPipelineFolder.cs
sonarqubecloud / SonarCloud Code Analysis
Split this method into two, one handling parameters check and the other handling the iterator.
See more on https://sonarcloud.io/project/issues?id=igoravl_TfsCmdlets&issues=AZ0xDRJZmIEHLU8AvWF6&open=AZ0xDRJZmIEHLU8AvWF6&pullRequest=232
Check warning on line 10 in CSharp/TfsCmdlets/Cmdlets/AutoParameterAttribute.cs
sonarqubecloud / SonarCloud Code Analysis
Specify AttributeUsage on 'AutoParameterAttribute'.
See more on https://sonarcloud.io/project/issues?id=igoravl_TfsCmdlets&issues=AZ0xDRKimIEHLU8AvWGC&open=AZ0xDRKimIEHLU8AvWGC&pullRequest=232
Check warning on line 86 in CSharp/TfsCmdlets/Cmdlets/Pipeline/Folder/RemovePipelineFolder.cs
sonarqubecloud / SonarCloud Code Analysis
Return an empty collection instead of null.
See more on https://sonarcloud.io/project/issues?id=igoravl_TfsCmdlets&issues=AZ0xDRGymIEHLU8AvWF3&open=AZ0xDRGymIEHLU8AvWF3&pullRequest=232
Check warning on line 99 in CSharp/TfsCmdlets/Cmdlets/Credential/NewCredential.cs
sonarqubecloud / SonarCloud Code Analysis
Change this condition so that it does not always evaluate to 'True'. Some code paths are unreachable.
See more on https://sonarcloud.io/project/issues?id=igoravl_TfsCmdlets&issues=AZ0xDRKXmIEHLU8AvWGB&open=AZ0xDRKXmIEHLU8AvWGB&pullRequest=232
Check warning on line 35 in CSharp/TfsCmdlets/Cmdlets/Pipeline/Folder/NewPipelineFolder.cs
sonarqubecloud / SonarCloud Code Analysis
Split this method into two, one handling parameters check and the other handling the iterator.
See more on https://sonarcloud.io/project/issues?id=igoravl_TfsCmdlets&issues=AZ0xDRJhmIEHLU8AvWF7&open=AZ0xDRJhmIEHLU8AvWF7&pullRequest=232
Check warning on line 140 in CSharp/TfsCmdlets/Cmdlets/Pipeline/Run/GetPipelineRun.cs
sonarqubecloud / SonarCloud Code Analysis
Make 'SearchRuns' a static method.
See more on https://sonarcloud.io/project/issues?id=igoravl_TfsCmdlets&issues=AZ0xDRJymIEHLU8AvWF_&open=AZ0xDRJymIEHLU8AvWF_&pullRequest=232
Check warning on line 27 in CSharp/TfsCmdlets/Cmdlets/Pipeline/Run/StopPipelineRun.cs
sonarqubecloud / SonarCloud Code Analysis
Extract this nested code block into a separate method.
See more on https://sonarcloud.io/project/issues?id=igoravl_TfsCmdlets&issues=AZ0xDRJpmIEHLU8AvWF8&open=AZ0xDRJpmIEHLU8AvWF8&pullRequest=232
Check warning on line 79 in CSharp/TfsCmdlets/Cmdlets/Pipeline/Folder/RemovePipelineFolder.cs
sonarqubecloud / SonarCloud Code Analysis
'System.Exception' should not be thrown by user code.
See more on https://sonarcloud.io/project/issues?id=igoravl_TfsCmdlets&issues=AZ0xDRGymIEHLU8AvWF5&open=AZ0xDRGymIEHLU8AvWF5&pullRequest=232