All Projects → SonarSource → Sonar Dotnet

SonarSource / Sonar Dotnet

Licence: other
Code analyzer for C# and VB.NET projects https://redirect.sonarsource.com/plugins/vbnet.html

Projects that are alternatives of or similar to Sonar Dotnet

Sonarjs
SonarSource Static Analyzer for JavaScript and TypeScript
Stars: ✭ 696 (+49.36%)
Mutual labels:  static-analysis, sonarqube, static-code-analysis, code-quality, static-analyzer
Sonar Java
☕️ SonarSource Static Analyzer for Java Code Quality and Security
Stars: ✭ 745 (+59.87%)
Mutual labels:  static-analysis, sonarqube, static-code-analysis, static-analyzer
Sonar Php
🐘 SonarPHP: PHP static analyzer for SonarQube & SonarLint
Stars: ✭ 288 (-38.2%)
Mutual labels:  static-analysis, sonarqube, static-code-analysis, code-quality
sonarlint4netbeans
SonarLint integration for Apache Netbeans
Stars: ✭ 23 (-95.06%)
Mutual labels:  static-code-analysis, static-analysis, sonarqube, static-analyzer
sonar-gherkin-plugin
SonarQube Cucumber Gherkin Analyzer
Stars: ✭ 33 (-92.92%)
Mutual labels:  static-analysis, sonarqube, code-quality, static-analyzer
Sonar Jproperties Plugin
SonarQube Java Properties Analyzer
Stars: ✭ 5 (-98.93%)
Mutual labels:  static-analysis, sonarqube, code-quality, static-analyzer
sonar-css-plugin
SonarQube CSS / SCSS / Less Analyzer
Stars: ✭ 46 (-90.13%)
Mutual labels:  static-analysis, sonarqube, code-quality, static-analyzer
eba
EBA is a static bug finder for C.
Stars: ✭ 14 (-97%)
Mutual labels:  static-code-analysis, static-analysis, static-analyzer
sonarqube-action
Integrate SonarQube scanner to GitHub Actions
Stars: ✭ 90 (-80.69%)
Mutual labels:  static-analysis, sonarqube, code-quality
Reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
Stars: ✭ 4,541 (+874.46%)
Mutual labels:  static-analysis, static-code-analysis, code-quality
sonar-esql-plugin
Sonar plugin to analyze ESQL-sourcecode of IBM Integration Bus projects
Stars: ✭ 26 (-94.42%)
Mutual labels:  static-code-analysis, sonarqube, code-quality
codeclimate-phpcodesniffer
Code Climate Engine for PHP Code Sniffer
Stars: ✭ 27 (-94.21%)
Mutual labels:  static-code-analysis, static-analysis, code-quality
Pmd
An extensible multilanguage static code analyzer.
Stars: ✭ 3,667 (+686.91%)
Mutual labels:  static-analysis, static-code-analysis, code-quality
nakedret
nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.
Stars: ✭ 82 (-82.4%)
Mutual labels:  static-code-analysis, static-analysis, static-analyzer
identypo
identypo is a Go static analysis tool to find typos in identifiers (functions, function calls, variables, constants, type declarations, packages, labels).
Stars: ✭ 26 (-94.42%)
Mutual labels:  static-code-analysis, static-analysis, static-analyzer
unimport
unimport is a Go static analysis tool to find unnecessary import aliases.
Stars: ✭ 64 (-86.27%)
Mutual labels:  static-code-analysis, static-analysis, static-analyzer
qodana-action
⚙️ Scan your Java, Kotlin, PHP, Python, JavaScript, TypeScript projects at GitHub with Qodana
Stars: ✭ 112 (-75.97%)
Mutual labels:  static-code-analysis, static-analysis, code-quality
static-code-analysis-plugin
A plugin to simplify Static Code Analysis on Gradle. Not restricted to, but specially useful, in Android projects, by making sure all analysis can access the SDK classes.
Stars: ✭ 36 (-92.27%)
Mutual labels:  static-code-analysis, static-analysis, code-quality
Prealloc
prealloc is a Go static analysis tool to find slice declarations that could potentially be preallocated.
Stars: ✭ 419 (-10.09%)
Mutual labels:  static-analysis, static-code-analysis, static-analyzer
codeclimate-duplication
Code Climate engine for code duplication analysis
Stars: ✭ 96 (-79.4%)
Mutual labels:  static-code-analysis, static-analysis, code-quality

Code Quality and Security for C# and VB.NET

Build Status

Product Quality Gate Coverage
Analyzer Quality Gate Coverage
Plugin Quality Gate Coverage

Static analysis of C# and VB.NET languages in SonarQube, SonarCloud and SonarLint code quality and security products. These Roslyn analyzers allow you to produce safe, reliable and maintainable code by helping you find and correct bugs, vulnerabilities and code smells in your codebase.

Features

  • 380+ C# rules and 130+ VB.​NET rules
  • Metrics (complexity, duplications, number of lines etc.)
  • Import of unit test results from VSTest, NUnit and xUnit
  • Import of test coverage reports from Visual Studio Code Coverage, dotCover, OpenCover, Coverlet and NCover 3.
  • Support for custom rules

Useful links

Nuget.org packages

Integration with SonarQube and SonarCloud

Do you have a question or feedback?

Get started

How to contribute

There are many ways you can contribute to the sonar-dotnet project. When contributing, please respect our Code of Conduct.

Join the discussions

One of the easiest ways to contribute is to share your feedback with us (see give feedback) and also answer questions from our community forum. You can also monitor the activity on this repository (opened issues, opened PRs) to get more acquainted with what we do.

Pull Request (PR)

If you want to fix an issue, please read the Get started pages first and make sure that you follow our coding style.

Before submitting the PR, make sure all tests are passing (all checks must be green).

  • We suggest you do not pick issues with the Area: CFG label (they are difficult, can have many side effects and are less likely to be accepted).
  • We suggest you do not implement new rules unless they are already specified for C# and/or VB.NET on our rules repository.

Note: Our CI does not get automatically triggered on the PRs from external contributors. A member of our team will review the code and trigger the CI on demand by adding a comment on the PR (see Azure Pipelines Comment triggers docs):

  • /azp run Sonar.Net.External - unit and integration tests for the analyzer (optional; can be done before the review)
  • /azp run Sonar.Net - full pipeline, including plugin tests and promotion (must be done before merging)

Join us

If you would like to work on this project full-time, we are hiring!

Custom Rules

To request new rules, Contact us on our Community Forum.

If you have an idea for a rule but you are not sure that everyone needs it, you can implement your own Roslyn analyzer.

License

Copyright 2014-2021 SonarSource.

Licensed under the GNU Lesser General Public License, Version 3.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].