Jan Schreuder on .Net

.Net code samples, experiences, observations

View my professional profile on LinkedIn

Recent Posts

Tags

News

  • Inappropriate comments will be deleted at my discretion.

    The information and code samples in this weblog is provided "AS IS" without warranty of any kind, either expressed or implied, including but not limited to the merchantability and/or fitness for a particular purpose.

Community

Email Notifications

Tool suppliers

Tools

General

Microsoft

Favorite blogs

Archives

June 2004 - Posts

C# software metrics

One of the things I like in Numega Devpartner is the ability to perform metrics on your source code. At Powertoys weblog I found this little item. Here they mention a freeware add-on for Visuall Studio .Net 2003, which does the same thing! So you don't need Numega  ;-) or that. You can download the add-on here.

From that page I got the following info which explains a little what kind of metrics the tool delivers:

  • Projects – Total count.
  • Files – Number of files in each project and total.
  • Classes – Total classes in each project and overall.
  • Lines of code (LOC) - total lines in project and overall.
  • Comment lines – Comments for each project, overall and for each member.
  • Comment density – For each project, member and overall as well as average and maximum for projects.
  • Statements - total statements in a project, overall and for each member. Provides average and maximum for projects as well.
  • Member functions – Total count for project and overall, average and maximum for projects.
  • Cyclomatic code complexity – Average and maximum for project and detailed measures for each member.
  • Statements per member – Average and maximum values for projects and overall.
  • Members per class – Average and maximum values for projects and overall
  • Retro stuff at ThinkGeek

    Still have loads of cassette tapes? ThinkGeek has the answer! The latest in Retro add-ons for your PC!!

    Posted: Jun 02 2004, 02:14 PM by Jan Schreuder | with 2 comment(s)
    Filed under: