期刊文献+

一种新的重构语义分析方法及其应用 被引量:1

Novel Refactoring Semantic Analysis Model and its Application
在线阅读 下载PDF
导出
摘要 提出一种新的重构语义分析方法,引入了后置条件作为重构后程序语义的分析条件,然后基于该方法提出一种重构异常行为检测方法,利用不同重构之间的关系及其关联语义特征,发现重构实施时的错误.分析表明,该方法可以有效发现E-clipse中存在的若干缺陷,并且可以检测出使用Eclipse实施相应重构时产生的程序异常行为. This paper presented a novel refactoring semantic analysis model with post-conditions.Based on this model,we propose a method to detect behavior violations with these tools themselves.We note that many refactorings are coupled and invertible.If we apply a pair of such invertible refactorings,the resulting program should remain the same as the original program.Therefore,some behavior violations of a refactoring can be detected by applying its inverse refactoring with the buggy tools.
出处 《小型微型计算机系统》 CSCD 北大核心 2012年第11期2372-2374,共3页 Journal of Chinese Computer Systems
基金 国家自然科学基金项目(90818027,61170071,61003020)资助 江苏省自然科学基金项目(BK2011190)资助
关键词 软件再工程 代码重构 可逆重构 保行为 software reengineering code refactoring inverse refactoring behavior preserving
作者简介 E-mail : hmlu@ seu. edu. cn卢红敏,女,1975年生,博士研究生,研究方向为软件分析与度量; 郭晶,女,1985年生,硕士主要研究方向为网络与信息安全; 陈林。男,1979年生,博士,讲师,主要研究方向为软件重构、程序分析与测试; 许蕾,女,1978年生,博士,副教授,主要研究方向为Web分析测试; 徐宝文,男,1961年生,博士,教授,主要研究方向为程序设计语言、程序分析与测试等
  • 相关文献

参考文献9

  • 1Opdyke W F. Refactoring object-oriented frameworks[D].University of Illinois at Urbana-Champaign,1992.
  • 2Fowler M. Refactoring:improving the design of existing code[M].Addison-Weskey,1999.
  • 3Sch(a)fer M,Ekman T,O de Moor. Sound and extensible renaming for Java[A].2008.277-294.
  • 4Mens T,Demeyer S,Janssens D. Formalising behavior preserving program transformations[J].Graph Transformation,2002,(2002):286-301.
  • 5Roberts D. Practical analysis for refactoring[D].Univ.of Illinois at Urbana-Champaign,1999.
  • 6Tip F,Kiezun A,B(a)umer D. Refactoring for generalization using type constraints[A].2003.13-26.
  • 7Daniel B,Dig D,Garcia K. Automated testing of refactoring engines[A].2007.185-194.
  • 8Soares G,Gheyi R,Serey D. Making program refactoring safer[J].IEEE Software,2010,(04):52-57.
  • 9Gustavo Soares,Melina Mongiovi,Rohit Gheyi. Identifying overly strong conditions in refactoring implementations[A].2011.173-182.

同被引文献5

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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