C# Source Code Metrics

The C# Metrics tool computes a number of useful metrics for C# program source code suites. It is a member of SD's family of Source Code Metrics tools. An example of the C# Metrics tool results can be seen here.

C# Metrics Features

  • Repeatable operation across specified set of files
  • Metrics computed at module level:
    • Source Lines of Code (SLOC)
    • Noncommented Source Lines of Code
    • Comment Lines
    • Number of Methods
    • Decision Density
    • Cyclomatic Complexity
    • Maximum loop nesting
    • Maximum conditional nesting
    • Halstead measures (volume, difficulty, effort, operators and operands)
    • Software Engineering Institute (SEI) Maintainability Index
    • Class and File counts
  • Worst-case nesting metrics pinpointed to specific file/line
  • Summaries per class/file
  • Text report
  • XML report, reformattable in any way desired

Download an evaluation copy

For more information: Info@semanticdesigns.com    Follow us at Twitter: @SemanticDesigns

C# Source
Code Metrics