JavaNCSS - A Source Measurement Suite for Java

  •        3652

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.



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.

Sonar - Code quality for all languages

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.

.NET Code Metrics

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

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.

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.

cccmt - Coverity Code Complexity Metrics Tool

Coverity Code Complexity Metrics Tool

rmetric - ruby code quality metrics radiator

ruby code quality metrics radiator

chuck - apex code quality metrics

apex code quality metrics

JMet - Computes Code Quality Metrics for JVM based projects

Computes Code Quality Metrics for JVM based projects

Code Quality Monitoring

A system for monitoring the code quality of projects, based on TFS Build activities and a web based portal, using metrics and code analysis.

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


BogoSec is a utility that calculates source code security quality metrics. A flexible framework interprets the results of existing scanners to compute these metrics. BogoSec is useful to track security quality across releases and competing packages.


The data complexity library, DCoL, is a machine learning software that implements all metrics to characterize the apparent complexity of classification problems. The code is implemented in C++ and can be run on multiple platforms.

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.

JSLint - The JavaScript Code Quality Tool

JSLint is a JavaScript program that looks for problems in JavaScript programs. It is a code quality tool. JSLint takes a JavaScript source and scans it. If it finds a problem, it returns a message describing the problem and an approximate location within the source. The problem is not necessarily a syntax error, although it often is. JSLint looks at some style conventions as well as structural problems. It does not prove that your program is correct.

control-repo - A control repository template

Initially, the control-repo project began as a 'starter' template for anyone who wanted to get started with r10k. As time passed, and Code Manager was integrated into Puppet Enterprise, the scope of this project grew to include opinionated Puppet profiles to set up many Puppet Enterprise components. As the code increased, so did the complexity of the control-repo project. To reduce that complexity, as well as continuing to meet the needs of individuals who would like a more minimal template, this repository was stripped of anything other than the bare minimum files necessary to get started with a functioning control-repo.All of the code that was previously in this repository still exists in separate repositories under the Puppet Ramp Up Program namespace within Github and can be re-connected to an existing control-repo if that is required by adding the modules to the Puppetfile. Alternatively, if that previously opinionated control-repo is desired, it still exists on Github under the Puppet Ramp Up Program namespace. This control-repo project will remain a template for anyone who would like a minimal 'starter' template.


Pythius is a set of tools to assess and improve the quality of Python code. This is commonly done by applying different code metrics. It also contains an Aspect Oriented Programming module based on ideas from AspectJ.