"Static source code analysis solution for Java, C/C++, C#, Python and RPG"

open page menu close page menu

Features

These are the programming languages supported by SourceMeter.

JAVA

SourceMeter for Java is a source code analysis tool able to perform the deep static source code analysis of complex Java systems. SourceMeter can analyze source code conforming to Java 1.8. Two types of analysis process are supported in the current version - for smaller systems, it is sufficient to set the project source directory, the classpath and java compiler settings, if required. For more complex systems it is advisable to analyze the system using its Ant or Maven build process. In this case, the analysis runs parallel with the compilation process by wrapping the Ant or Maven program.

Metrics Clones (code duplication) PMD + Findbugs MetricsHunter FaultHunter VulnerabilityHunter AndroidHunter Support

C/C++

SourceMeter for C/C++ is a source code analysis tool able to perform the deep static source code analysis of complex C/C++ systems. SourceMeter supports C++ language defined by the ISO/IEC 14882:2011 international standard extended with several new features from ISO/IEC 14882:2014, along with C language defined by the ANSI/ISO 9899:1990, ISO/IEC 9899:1999 and ISO/IEC 9899:2011 standards. Besides standard features, several GCC and Microsoft specific extensions are supported as well. SourceMeter uses a so-called compiler wrapping technique during source code analysis, in which the analysis is performed parallel with the build process transparently, by wrapping the calls to the compiler - without the need to modify the source code or the build system. The analysis results reflect the actual build configuration of the analyzed system.
Metrics Clones (code duplication) CppCheck MetricsHunter FaultHunter Support

C#

SourceMeter for C# is a source code analysis tool able to perform the deep static source code analysis of complex C# systems. SourceMeter can analyze source code conforming to C# 6.0 and earlier versions. The following can be analyzed: a solution (.sln), a project (.csproj) or a single source file (.cs). In case of a project or a solution, it is recommended to build it with pdb generation enabled before analysing, therefore FxCop can be run on the binaries in parallel.

Metrics Clones (code duplication) FxCop MetricsHunter Support

Python

SourceMeter for Python is a source code analysis tool able to perform the deep static source code analysis of complex Python systems. SourceMeter can analyze source code conforming to Python 2.7.8 and earlier versions. It is sufficient to set the source directory of the project to start a global analysis.
Metrics Clones (code duplication) Pylint MetricsHunter FaultHunter Support

RPG

SourceMeter for RPG is a source code analysis tool able to perform the deep static source code analysis of complex RPG systems. SourceMeter can analyze source code conforming to RPG III and RPG IV versions (including free-form). Two methods of input are supported: either raw source code or compiler listing. In case of using raw source code as input, the analyzer might not be able to calculate some of the code metrics or detect specific rule violations because the raw source contains less information than the compiler listing. For instance, cross references are detected with the help of compiler listing entries - this is why it is highly recommended to use compiler listings as input to get most complete analysis results. For constructing RPG compiler listing files, use RPG compiler version V6R1M0.
Metrics Clones (code duplication) MetricsHunter FaultHunter Support

Try QualityGate online!

Measure the quality of the development your operation relies on!

Read more