DECOR: A Method for the Specification and Detection of Code and Design Smells

IEEE Transactions on Software Engineering(2010)

引用 957|浏览7
暂无评分
摘要
Code and design smells are poor solutions to recurring implementation and design problems. They may hinder the evolution of a system by making it hard for software engineers to carry out changes. We propose three contributions to the research field related to code and design smells: 1) Decor, a method that embodies and defines all the steps necessary for the specification and detection of code and design smells, 2) Detex, a detection technique that instantiates this method, and 3) an empirical validation in terms of precision and recall of Detex. The originality of Detex stems from the ability for software engineers to specify smells at a high level of abstraction using a consistent vocabulary and domain-specific language for automatically generating detection algorithms. Using Detex, we specify four well-known design smells: the antipatterns Blob, Functional Decomposition, Spaghetti Code, and Swiss Army Knife, and their 15 underlying code smells, and we automatically generate their detection algorithms. We apply and validate the detection algorithms in terms of precision and recall on Xerces v2.7.0, and discuss the precision of these algorithms on 11 open-source systems.
更多
查看译文
关键词
design problem,spaghetti code,detection technique,xerces v2,detection algorithm,software engineer,design smells,swiss army knife,underlying code,well-known design,functional decomposition,domain specific language,specification,abstraction,code smells,evolution,java,software quality,algorithm design and analysis,antipatterns,design,conception,domain specific languages,phase detection,object oriented programming,formal specification,metamodeling
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要