Does anyone know what the list of software metrics that Rational Software Analyzer provides? I'm trying to find out if there is a Rational Suite product that will count lines of code for various languages (C, C++, Java, etc.).
This topic has been locked.
2 replies Latest Post - 2009-03-10T11:42:57Z by pskali
Pinned topic Software Metrics
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2009-03-10T11:42:57Z at 2009-03-10T11:42:57Z by pskali
SystemAdmin 110000D4XK22 PostsACCEPTED ANSWER
Re: Software Metrics2008-06-11T10:30:22Z in response to SystemAdminThere isn't a list of these currently avaialable though you can easily view the rules if you install the trial download. Regardless the tool currently provides software metrics for Java and will measure both total lines and lines of code for that language. C/C++ metrics support is coming.
pskali 270001MXPA1 PostACCEPTED ANSWER
Re: Software Metrics2009-03-10T11:42:57Z in response to SystemAdminSince november 2008 Telelogic Logiscope is now part of Rational suite tool. It is available for C, C++, Java and Ada. The QualityChecker module integrates numerous source code metrics including standarized line counting at various scopes: functions, files, packages, application (sum for all files). Among the metrics available:
ap_sline: Total number of lines
ap_sloc: Number of lines of code (i.e. Physical LoC)
ap_sblank: Number of empty lines
ap_scomm: Total number of lines of comments
ap_scpp: Number of preprocessor statements (C and C++)
ap_ssbra: Number of lines with lone braces (C, C++, Java)
Number of lines with lone Begin/End (Ada)
ap_eloc: Number of effective lines of code
In addition to line counting you will find also usual metrics : Halstead, McCabe, Mohanty, MOOD (C++)...