Welcome to Devintelligence.com Sign in | Join | Help

.Net Adventures

In .Net we trust
Your Cheap Web Hosting Solution


Measure and record C# code metrics.

SourceMonitor measures and records source code metrics. SourceMonitor parses ASCII source code looking for countable metrics items. As these items are identified, their counts are accumulated for each source code file, and within each function or method. These metrics are then accumulated into summary metrics for all files in each checkpoint.If you develop software with Visual Studio, you can add items to your tools menu in Visual Studio that invoke SourceMonitor. You can also operate SourceMonitor from a batch file using commands stored in a text file. SourceMonitor measures metrics for source code written in C++, C, C#, VB.NET, Java, Delphi, Visual Basic (VB6) or HTML.Exports metrics to XML or CSV for further processing with other tools.

C# Metrics

  1. Statements
  2. Percent Comment Lines
  3. Percent Documentation Lines
  4. Classes, Interfaces, Structs
  5. Methods per Class
  6. Statements per Method
  7. Calls per Method
  8. Maximum Method Complexity
  9. Maximum Block Depth
  10. Average Block Depth
  11. Average Complexity

Download SourceMonitor

 

Technorati Tags: ,,
Posted: Friday, March 07, 2008 11:08 PM by admin
Filed under: , ,

Comments

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# March 7, 2008 3:12 PM

Sam said:

Static analysis? FxCop analyzes the IL... this might be useful.

# March 7, 2008 6:53 PM
New Comments to this post are disabled