SourceMeter

SourceMeter
Developer(s) FrontEndART Ltd.
Stable release 8.0 / February 1, 2016 (2016-02-01)
Written in C, C++
Operating system Cross-platform
License EULA
Website www.sourcemeter.com

SourceMeter is a source code analyzer tool, which can perform deep static program analysis of the source code of complex programs in C, C++, Java, Python, C#, and RPG (AS/400).[1] FrontEndART has developed SourceMeter based on the Columbus technology[2] researched and developed at the Department of Software Engineering of the University of Szeged.[3][4]

The source code of a program is usually its only up-to-date documentation. At the same time, the source code is the exquisite bearer of knowledge, business processes and methodology, accumulated over a long period of time. Source code quality decrease, which happens due to many quick fixes and time pressure, results in the increase of development and testing costs, and operational risks. Despite this, the source code usually receives hostile treatment and is considered as a mere tool.[5][6]

Background

During the static analysis, an abstract semantic graph (ASG) is constructed from the language elements of the source code. This ASG is then processed by the different tools in the package to calculate product metrics[7] like LLOC,[8] NLE or NOA, identify duplicate code (copy-pasted code; clones), coding rule violations, etc.

SourceMeter can analyze source code conforming to Java 8 and earlier versions, C/C++, RPG III and RPG IV versions (including free-form), C# 6.0 and earlier versions and Python 2.7.8 and earlier versions. In the case of C/C++, SourceMeter supports the ISO/IEC 14882:2011 international standard[9] extended with several new features from ISO/IEC 14882:2014, and C language defined by the ANSI/ISO 9899:1990, ISO/IEC 9899:1999 and ISO/IEC 9899:2011 standards. Besides the standard features, several GCC and Microsoft specific extensions are also supported.

Features

SonarQube plug-in

SourceMeter plug-in for SONARQUBETM platform* is an extension of the open-source SonarQubeTM platform for managing code quality. The plug-in executes SourceMeter from the SONARQUBETM platform and uploads the source code analysis results of SourceMeter into the SONARQUBETM database. The plug-in is open-source, and provides all the usual SONARQUBETM code analysis results, extended with many additional metrics and issue detectors provided by the SourceMeter tool. The plug-in supports the C/C++, Java, C#, Python and RPG languages.[10]

SONARQUBETM is a trademark of SonarSource SA, Switzerland.

Supported platforms

References

  1. Gábor Szőke, Csaba Nagy, Rudolf Ferenc, Tibor Gyimóthy: "A Case Study of Refactoring Large-Scale Industrial Systems to Efficiently Improve Source Code Quality" In Proceedings of the 14th International Conference on Computational Science and Its Applications (ICCSA 2014), Guimaraes, Portugal, June 30 - July 3, 2014. Published in Lecture Notes in Computer Science (LNCS), Springer-Verlag, volume 8584, pages 524-540, 2014.
  2. Árpád Beszédes, Rudolf Ferenc, Tibor Gyimóthy: "Columbus: A reverse engineering approach"
  3. Department of Software Engineering
  4. University of Szeged
  5. SourceMeter on QA Testing Tools
  6. SourceMeter on Testtool Review
  7. Source code metrics reference
  8. István Siket, Árpád Beszédes, John Taylor: "Differences in the Definition and Calculation of the LOC Metric in Free Tools"
  9. SourceMeter at ISO C++ standard
  10. Ferenc R., Langó L., Siket I., Gyimóthy T.: "Source Meter Sonar Qube Plug-in" In Proceedings of the 14th IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM 2014). Victoria, British Columbia, Canada, pages 77-82. September 28–29, 2014]

External links

This article is issued from Wikipedia - version of the Thursday, February 04, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.