期刊文献+

基于代码修改的多目标有监督缺陷预测建模方法 被引量:1

Multi-objective Supervised Defect Prediction Modeling Method Based on Code Changes
下载PDF
导出
摘要 基于代码修改的缺陷预测,具有代码审查量少、缺陷定位和修复快的优点。文中首次将该问题建模为多目标优化问题,其中一个优化目标是最大化识别出的缺陷代码修改数,另一个优化目标是最小化需要审查的代码量。这两个优化目标之间存在一定的冲突,因此提出了MULTI方法,该方法可以生成一组具有非支配关系的预测模型。在实证研究中,考虑了6个大规模开源项目(累计227417个代码修改),以ACC和POPT作为评测预测性能的指标。实验结果表明,MULTI方法的预测性能均显著优于经典的有监督建模方法(EALR和Logistic)和无监督建模方法(LT和AGE)。 Defect prediction based on code changes has the advantage of smaller code inspection cost,easy fault localization and rapid fixing.This paper firstly formalized this problem as a multi-objective optimization problem.One objective is to maximize the number of identified buggy changes,and the other objective is to minimize the cost of code inspection.There exist an obvious conflict between two objectives,so this paper proposed a novel method MULTI.This method can generate a set of non-dominated prediction models.In the empirical studies,this paper chose six large-scale open source projects(with 227417 code changes in total)and considerd ACC and POPT as evaluation indicators of performance.Final results show that the proposed method can perform significantly better than the state-of-the-art supervised methods(i.e.,EALR and Logistic)and unsupervised methods(i.e.,LT and AGE).
作者 陈翔 王秋萍 CHEN Xiang;WANG Qiu-ping(School of Computer Science and Technology,Nantong Universit;State Key Laboratory for Novel Software Technology at Nanjing Universit;Guangxi Key Laboratory of Trusted Software,Guilin University of Electronic Technolog)
出处 《计算机科学》 CSCD 北大核心 2018年第6期161-165,共5页 Computer Science
基金 国家自然科学基金(61202006 61602267) 南京大学计算机软件新技术国家重点实验室开放课题(KFKT2016B18) 广西可信软件重点实验室研究课题(kx201610) 江苏省高校自然科学研究项目(15KJB520030 16KJB520038) 南通市科技平台项目(CP120130001)资助
关键词 软件缺陷预测 多目标优化 代码修改 实证研究 Software defect prediction Multi-objective optimization Code changes Empirical studie
  • 相关文献

参考文献3

二级参考文献181

  • 1王青,伍书剑,李明树.软件缺陷预测技术.软件学报,2008,19(7):1565—1580.http://www.jos.org.cn/1000—9825/19/1565.htm.
  • 2Hall T, Beecham S, Bowes D, Gray D, Counsell S. A systematic literature review on fault prediction performance in software engineering. IEEE Trans. on Software Engineering, 2012,38(6): 1276-1304. [doi: 10.1109/TSE.2011.103 ].
  • 3Radjenovic D, Hericko M, Torkar R, Zivkovic A. Software fault prediction metrics: A systematic literature review. Information and Software Technology, 2013,55(8): 1397-1418. [doi: 10.1016/j.infsof.2013.02.009].
  • 4Akiyama E. An example of software system debugging. In: Proc. of the Int'1 Federation of Information Proc. Societies Congress. New York: Springer Science and Business Media, 1971. 353-359.
  • 5Halstead MH. Elements of Software Science (Operating and Programming Systems Series). New York: Elsevier Science Inc., 1977.
  • 6McCabe TJ. A complexity measure. IEEE Trans. on Software Engineering, 1976,2(4):308-320. [doi: 10.1109/TSE.1976.233837].
  • 7Chidamber SR, Kemerer CF. A metrics suite for object oriented design. IEEE Trans. on Software Engineering, 1994,20(6): 476-493. [doi: 10.1109/32.295895].
  • 8Basili VR, Briand LC, Melo WL. A validation of object-oriented design metrics as quality indicators. IEEE Trans. on Software Engineering, 1996,22(10):751-761. [doi: 10.1109/32.544352].
  • 9Subramanyam R, Krishnan MS. Empirical analysis of CK metrics for object-oriented design complexity: Implications for software defects. IEEE Trans. on Software Engineering, 2003,29(4):297-310. [doi: 10.1109/TS E.2003.1191795].
  • 10Zhou YM, Xu BW, Leung H. On the ability of complexity metrics to predict fault-prone classes in object-oriented systems. Journal of Systems and Software, 2010,83(4):660-674. [doi: 10.1016/j.jss.2009.11.704].

共引文献144

同被引文献12

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部