NASAC201500021-面向软件错误修复的相似代码可复用性度量方法.pdfVIP

  • 4
  • 0
  • 约2.72万字
  • 约 9页
  • 2017-07-03 发布于浙江
  • 举报

NASAC201500021-面向软件错误修复的相似代码可复用性度量方法.pdf

NASAC201500021-面向软件错误修复的相似代码可复用性度量方法

飥 闈㈠悜杞欢閿欒淇鐨勭浉浼间唬鐮佸彲澶嶇敤鎬у害閲忔柟娉曪€ 1 1+ 1 1 绾 娑 , 闄堢珛鍓 , 姣涙檽鍏 , 鏄 鏄 1( 鍥介槻绉戝鎶€鏈ぇ瀛﹁绠楁満瀛﹂櫌,闀挎矙410073) Reusability Metrics of Similar Codes for Program Repair* 1 1+ 1 1 JI Tao , CHEN Li-qian , MAO Xiao-guang , Y I Xin 1(School of Computer Science, National University of Defense Technology, Changsha 410073 , China) + Corresponding author: CHEN Li-qian, E-mail: lqchen@ Abstract : With the growing of software size, the costs of software maintenance have raised a lot. The advanced techniques of software testing and debugging can reduce the effort of maintenance, but the bugs hidden in the software still are the burdens. With little or none assistance from developers, the techniques of program repair can fix the bugs by reusing existing code, program synthesis and other methods. Recently, much attention has been paid on reusing code and reusing fix operations from other software. Compared to the technique of reusing the fix operations, reusing code can fix the bug without any fix operations from historical versions of software. The similar code can be used to fix the bug . However, this technique is limited by the huge searching space of fix ingredients from the similar code . Finding out those similar codes w hich contain proper fix ingredients quickly and efficiently will improve a lot the efficiency of repair. This paper proposes reusability metrics of similar codes for program repair, which combine the similarity and difference from program syntax tree to pick out the most suitable repair candidate. Key words: program repair; similar code; similarity metrics 鎽 瑕? 闅忕潃杞欢瑙勬ā鏃ョ泭搴炲ぇ,缁存姢鎴愭湰涔熼殢涔嬫彁楂?鍏堣繘鐨勮蒋浠舵祴璇曘€佽皟璇曟妧鏈兘澶熸湁鏁堥檷浣庣淮鎶ゆ垚鏈?浣嗕唬鐮 涓殣钘忕殑bug 浠嶇

文档评论(0)

1亿VIP精品文档

相关文档