Code quality metrics (resource standard management)

Source: Internet
Author: User

RSM is a good staticCodeQuality Check tool, provide code line statistics, complexity statistics and other functions, see: http://msquaredtechnologies.com/m2rsm/docs/index.htm

RSM supports the language
Syntax of ansi c, ansi c ++, C # and Java.

RSM creates HTML reports
For visual metrics that interacts with source code hyperlinks and CSV or comma
Separated value format for direct input to MS Excel or other spreadsheets.

Feature:

    • Number of public, private, protected data attributes
    • Number of public, private, protected Methods
    • Template type
    • Inheritance
    • Depth of inheritance tree example
    • Number of derived child classes per base class
    • Loc lines of code
    • Eloc (objective LOC)
    • Lloc (logical statements LOC)
    • Comments lines
    • Blank lines
    • Physical lines
    • Number of input parameters
    • Number of return points
    • Interface complexity (parameters + returns)
    • Cyclomatic complexity logical branching
    • Class complexity (interface + cyclomatic)
    • Class Quality Analysis RSM Quality Analysis

Source monitor has similar functions. The advantage is that it is free, and the disadvantage is that it only supports windows.

Sonar is also a good tool for measuring code quality, but the current support for C ++ is not good enough.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.