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 43 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

Grammar

Complexity

Dependencies

Unit tests execution

Unit tests coverage

Coding rules

Duplications

Bug detections

Sonar Plugin

.NET C#

 

Cecil

Cecil

NUnit

 

FxCop, StyleCop

 

Gendarme

Former ".Net plugin" documentation

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

http://phpcompiler.org/doc/latest/grammar.html

PHP_Depend

PHP_Depend

PHPUnit

PHPUnit

PHP_CodeSniffer

phpcpd

PHPMD

PHP Plugin

JavaScript

 

 

 

JsTestDriver

CodeCoverage plugin for JsTestDriver

JavaScript Lint, JsLint

 

 

JavaScript Plugin

Python

 

 

 

PyUnitnosetests

coverage.py

PEP8, Pylint

 

PyChecker

 

  • No labels