随笔分类 - SonarQube
摘要:https://rules.sonarsource.com/csharp/RSPEC-3925 The ISerializable interface is the mechanism to control the type serialization process. If not impleme
阅读全文
摘要:CA1005: Avoid excessive parameters on generic types https://docs.microsoft.com/en-us/visualstudio/code-quality/install-roslyn-analyzers?view=vs-2019 需
阅读全文
摘要:Utility classes should not have public constructors Utility classes, which are collections of static members, are not meant to be instantiated. C# add
阅读全文
摘要:Why are C# 4 optional parameters defined on interface not enforced on implementing class? UPDATE: This question was the subject of my blog on May 12th
阅读全文
摘要:Method overrides should not change parameter defaults using System; namespace ConsoleApp1 { public class Base { public virtual void Write(int i = 42)
阅读全文
摘要:C# Method Call Depth Performance Compare the performance of method call depths. Reducing call depth can improve speed. Method calls can be nested. Thi
阅读全文
摘要:Cognitive Complexity, Because Testability != Understandability Cyclomatic Complexity Cognitive Complexity With those rules in mind, let's take another
阅读全文
摘要:https://community.sonarsource.com/t/how-can-i-change-my-avatar/11457/2 Hi, User icons are provided by the Gravitar service configured by your instance
阅读全文
摘要:https://docs.sonarqube.org/latest/user-guide/issues/#header-4 Understanding which Issues are "New" To determine the creation date of an issue, an algo
阅读全文
摘要:https://medium.com/ltunes/custom-quality-profiles-in-sonarqube-part-1-8754348b9369 Creating Custom Quality Profile in SonarQube Firstly, you may ask w
阅读全文
摘要:Analyzing with SonarQube Scanner for MSBuild Global Configuration This step is mandatory if you want to trigger any of your analyses with the SonarQub
阅读全文
摘要:https://community.sonarsource.com/t/sonarqube-closed-issue-and-reopen-it-next-time-automatically/8408 Server Logs & System Info The System Info page i
阅读全文
摘要:sonarqube的扫描结果提示 https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/exceptions/creating-and-throwing-exceptions https://stackoverflow.co
阅读全文
摘要:https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+MSBuild Features The SonarScanner for MSBuild is the recommended way to l
阅读全文
摘要:概念 https://blog.ndepend.com/guide-code-coverage-tools/ Code Coverage Results Import (C#, VB.NET) Unit Test Execution Results Import (C#, VB.NET) Prere
阅读全文