作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2005, Vol. 31 ›› Issue (03): 112-.

• 论文 • 上一篇    下一篇

编码过程的相关度量及其工具实现

莫杰众,杨宗源   

  1. 华东师范大学计算机系,华东师范大学计算机系 上海 200062
  • 发布日期:2005-02-15

Definition of Coding Metric and Tool Implementation

MO Jiezhong, YANG Zongyuan   

  1. (Computer Science Dept., East China Normal University, Shanghai 200062)
  • Published:2005-02-15

摘要: 基于对编码过程的分析,该文定义了编码时间及模块修改率这两个描述代码生成过程的度量元。并简要描述了在Eclipse平台上实现的一个自动记录编码过程、度量相应模块稳定性的工具。最后通过对一组试验数据的分析,验证了编码时间与开发时间的相关性以及修改次数与错误数之间的相关性。

关键词: 软件度量, 模块修改率, 编码时间

Abstract: This paper defines two new source code metrics: module modified ratio and typing time. Author beliefs that the typing time is correlated with developing time, and module modified ratio is correlated with bug density. With that definition, author also implements a tool which automatically records and calculates the metric. The tool is presented itself as Eclipse plugin. Finally, an experiment is used to verify the hypothesis.

中图分类号: