Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 39 Next »

Here is a simple matrix to sum up which technical libraries could be used to cover a new language with Sonar. For all languages, the following features are natively provided by Sonar without a big effort :

  • Duplications detection
  • Commented-out code detection
  • '//NOSONAR' tag detection
  • Calculation of basic metrics : 'lines of code', 'physical lines', 'blank lines' and 'comment lines'.

Language

Complexity

Dependencies

Unit tests execution

Unit tests coverage

Coding rules

Duplications

Bug detections

Sonar Plugin

.NET C#

Cecil

Cecil

NUnit

 

FxCop, StyleCop

 

Gendarme

.Net plugin

C++

Dependometer

Dependometer

CppUnit

gcov (gcc)

vera++

CPD

cppcheck, Flawfinder

rats, antic

 

Groovy

Groovy API

 

JUnit

Cobertura

codenarc

 

 

Groovy Plugin

Ruby

JRuby API, Flog

 

 

rcov

roodi

Flay

 

 

Database

SchemaSpy

SchemaSpy

 

 

SchemaSpy

 

 

Sonar PL/SQL Plugin

PHP

PHP_Depend

PHP_Depend

PHPUnit

PHPUnit

PHP_CodeSniffer

phpcpd

PHPMD

PHP Plugin

JavaScript

 

 

JsTestDriver

CodeCoverage plugin for JsTestDriver

JavaScript Lint, JsLint

 

 

JavaScript Plugin

Python

 

 

 

 

PEP8, Pylint

 

PyChecker

 

  • No labels