Topic
2 replies Latest Post - ‏2009-03-10T11:42:57Z by pskali
SystemAdmin
SystemAdmin
22 Posts
ACCEPTED ANSWER

Pinned topic Software Metrics

‏2008-06-09T22:33:27Z |
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.).

Thanks.
Updated on 2009-03-10T11:42:57Z at 2009-03-10T11:42:57Z by pskali
  • SystemAdmin
    SystemAdmin
    22 Posts
    ACCEPTED ANSWER

    Re: Software Metrics

    ‏2008-06-11T10:30:22Z  in response to SystemAdmin
    There 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.

    Steve
  • pskali
    pskali
    1 Post
    ACCEPTED ANSWER

    Re: Software Metrics

    ‏2009-03-10T11:42:57Z  in response to SystemAdmin
    Since 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++)...