Sonar - Code quality for all languages

  •        0

Sonar is an open platform to manage code quality. As such, it covers the 7 axes of code quality: Design, Code duplication, Unit test, Code complexity, Potential bugs, Coding rules, Comments. It has support for multiple languages like .NET, PHP, Java etc.

Sonar has more than 600 coding rules, provides standard metrics like Lines of Code, Cyclomatic Complexity, Duplicated code. It provides code coverage results for associated Unit test. It has hosted online metrics for open source projets



Related Projects

Panopticode - Gathers, Correlats, and displays code metrics

The Panopticode project provides a set of open source tools for gathering, correlating, and displaying code metrics. It evaluates software quality and ensures coding standards. It installs and configures set of tools like Emma or Cobertura for unit test code coverage, Checkstyle to validate the coding standards, JDepend to check the dependency, JavaNCSS for Cyclomatic Complexity metrics.

Cobertura - Code coverage tool

Cobertura is a Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. it instruments Java bytecode after it has been compiled. Reports are generated in HTML and XML. It shows cyclomatic code complexity of each class, and the average cyclomatic code complexity for each package and for the overall product.

JavaNCSS - A Source Measurement Suite for Java

JavaNCSS is a simple command line utility which measures two standard source code metrics for the Java programming language. The Cyclomatic Complexity metrics are collected globally, for each class or for each function. It is also integrated with Ant task. NCSS means Non Commenting Source Statements, Source code except comments will be used for metrics calculation.

.NET Code Metrics

This project is intended to provide a Visual Studio addin that provides complexity calculation for methods

EclEmma - Java Code Coverage for Eclipse

EclEmma is a free Java code coverage tool for Eclipse, available under the Eclipse Public License. It brings code coverage analysis directly into the Eclipse workbench. The EclEmma project is also the home of the JaCoCo code coverage library which is the technical back-end for EclEmma and also has integrations with many other build and software quality tools.

gradle-sonar-coverage - Functional version of gradle + sonar + code coverage with jacoco

Functional version of gradle + sonar + code coverage with jacoco

EMMA Java code coverage tool

EMMA is an open-source toolkit for measuring and reporting Java code coverage. EMMA can instrument classes for coverage either offline (before they are loaded) or on the fly (using an instrumenting application classloader). The coverage stats are aggregated at method, class, package, and "all classes" levels. EMMA can instrument individial class files or entire jars.

CC.NET-Code-Coverage-Extensions - Application and XSLT files for using code coverage metrics.

Application and XSLT files for using code coverage metrics.

Code Quality Plugin

Code Quality Plugin (CQP) is an Eclipse plug-in, built on top of existing tools such as Checkstyle, Findbugs, JDepend to help realize code quality standards. CQP gives a snapshot of the quality of code during development.

CodeNarc - Static Analysis for Groovy

CodeNarc analyzes Groovy code for defects, bad practices, inconsistencies, style issues, coding standards, best practices and more. CodeNarc triggers violations based on rules which are predefined or custom rules. The static analysis report is generated in XML or HTML format. It is well integrated with the Ant Task and plugins exist for Maven, Gradle, Grails, Griffon, Sonar and Hudson.

C and C++ Code Counter

CCCC is a tool which analyzes C++ and Java files and generates a report on various metrics of the code. Metrics supported include lines of code, McCabe's complexity and metrics proposed by Chidamberamp;Kemerer and Henryamp;Kafura.


C.R.A.P is a code metric aimed at indicating the confidence level a developer should have at its code. It considers the code complexity versus it test coverage. This project helps .NET developers to measure the C.R.A.P level of their code.

VSTS Code Coverage Runner - Get VS Code Coverage from NUnit or MbUnit

This project is an attempt to provide a wrapper around the VSTS instrumentation and code coverage tools. VSTS provides very powerful code coverage tools with Visual Studio, but as packaged, you need to be running MSTest unit tests to obtain this coverage data. There is a way ...

cccmt - Coverity Code Complexity Metrics Tool

Coverity Code Complexity Metrics Tool


Sonar plugin which generates quadrant based on code complexity and amount of changes in code, based on idea proposed by Michael Feathers in one of his blog posts

100Projects - 100 Projects to be completed, for me its in Python

**Mp3 Tagger** – Modify and add ID3v1 tags to MP3 files. See if you can also add in the album art into the MP3 file’s header as well as other ID3v2 tags.**Log File Maker** – Make an application which logs various statistics in response to given events. This can be something that logs what an application does, what the system is doing, when something like a file changes etc.**Excel Spreadsheet Exporter** – Create an online application which can read in a file and create an Excel Spreadshe

perl-Devel-Cover - Devel::Cover - Code coverage metrics for Perl

Devel::Cover - Code coverage metrics for Perl

perl-Devel-Cover - Code coverage metrics for Perl

Code coverage metrics for Perl

Devel--Cover - Code coverage metrics for Perl

Code coverage metrics for Perl

Checkstyle - Checks Java coding standard

Checkstyle is a tool to help programmers write Java code that adheres to a coding standard. Checkstyle is highly configurable and can be made to support almost any coding standard. Checkstyle provides checks that find class design problems, duplicate code, or bug patterns like double checked locking. This tool could be integrated as Ant task.