Cyclomatic complexity
2015-10-22 10:01
417 查看
Cyclomatic Code Complexity was first introduced by Thomas McCabe in 1976. In 1976, Thomas McCabe published a paper arguing that code complexity is defined by its control flow. Since that time, others have identified different ways of measuring complexity (e.g. data complexity, module complexity, algorithmic complexity, call-to, call-by, etc.). Although these other methods are effective in the right context, it seems to be generally accepted that control flow is one of the most useful measurements of complexity, and high complexity scores have been shown to be a strong indicator of low reliability and frequent errors.
Some reference links:
Cyclomatic Code Complexity Analysis for Microsoft .NET Applications
http://www.codeproject.com/Articles/11719/Cyclomatic-Code-Complexity-Analysis-for-Microsoft
Some reference links:
Cyclomatic Code Complexity Analysis for Microsoft .NET Applications
http://www.codeproject.com/Articles/11719/Cyclomatic-Code-Complexity-Analysis-for-Microsoft
相关文章推荐
- 《人生》感悟
- Android客户端与PC服务端之间的SOCKET实现登陆功能(服务器)
- 各种BUG管理工具BUG的状态。
- 使用 https 安全协议方法
- log4j在项目中的使用
- 【SSH项目实战】国税协同平台-4.用户管理需求分析&CRUD方法1
- codevs1566 染色 省队选拔赛山东 SDOI2011DAY1[五星]
- 关于安卓图片变形图片小计
- 《线性表的基础操作(实现了可以选择在创建初始链表时,是用头插法,还是用尾插法)》
- 深入浅出: Java回调机制(异步)
- log4j在项目中的使用
- Nginx基础入门之nginx部署前准备工作
- 后台管理引入jQuery,使用ajax是提示"$.ajax无效..."
- 深入浅出: Java回调机制(异步)
- JS+CSS实现大气清新的滑动菜单效果代码
- 1038. Recover the Smallest Number (30)
- tar命令
- Kernel list_head demo实现
- php 按照图片名下载图片到对应文件夹
- casperJs input 赋值 点击 提交