Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5226638
  • 博文数量: 1696
  • 博客积分: 10870
  • 博客等级: 上将
  • 技术积分: 18357
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-30 15:16
文章分类
文章存档

2017年(1)

2016年(1)

2015年(1)

2013年(1)

2012年(43)

2011年(17)

2010年(828)

2009年(568)

2008年(185)

2007年(51)

分类: 项目管理

2010-09-09 10:58:05

ccm

ccm is a tool that analyzes c/c++ and c# code and reports back on Cyclomatic Complexity, a metric introduced by Thomas McCabe back in the mid 70's.

This metric states the number of independent linear paths through a unit of code and is useful to determine how complex the unit of code is (for this particular tool, a unit is a function or a method).

Complex code is often hard to maintain and extend, so keeping an eye on cyclomatic complexity can pay off.

Highlights

  • Analyzes both c, c++ and c# code
  • Works on both managed and unmanaged code
  • Command line version can output into xml, allowing easy integration with your build pipelines and Continuous Integration software
  • Visual Studio 2008/2010 integration
  • Command line version runs under mono on both Linux and Mac OS X

Visual Studio Integration

ccm integrates with Vistual Studio 2008 and 2010. A new tool window, Cyclomatic Complexity, can be opened from the Tools menu.

Download

Download version 1.0.1 for Windows XP and later:

License

Provided free of charge, no licenses required or needed.

阅读(3650) | 评论(0) | 转发(0) |
0

上一篇:Java之classpath

下一篇:Finding duplicate code

给主人留下些什么吧!~~