摘要
代码坏味(code smells)是低质量的急需重构的代码片段.代码坏味是软件工程领域的一个研究热点,并且相关研究方向众多、时间跨度大、研究成果丰富.为梳理相关研究思路和研究成果、分析研究热点并预判未来研究方向,对1990年至2020年6月间发表的代码坏味相关的339篇论文进行了系统地分析和归类,对代码坏味的发展趋势进行了分析与统计,量化揭示了相关研究的主流与热点.揭示了学术界关注的关键代码坏味,并研究了工业界与学术界的关注点的差异及其影响.
Code smells are low-quality code snippets that are in urgent need of refactoring.Code smell is a research hotspot in software engineering,with many related research topics,large time span,and rich research results.To sort out the relevant research approach and results,analyze the research hotspots,and predict the future research directions,this study systematically analyzes and classifies 339 papers related to code smell published from 1990 to June 2020.The development trend of code smells is analyzed and counted,the mainstream and hot spots of related research are quantitatively revealed,the key code smells concerned by the academia are identified,and also the differences of concerns between industry and academia are studied.
作者
田迎晨
李柯君
王太明
焦青青
李光杰
张宇霞
刘辉
TIAN Ying-Chen;LI Ke-Jun;WANG Tai-Ming;JIAO Qing-Qing;LI Guang-Jie;ZHANG Yu-Xia;LIU Hui(School of Computer Science and Technology,Beijing Institute of Technology,Beijing 100081,China;Management Department of Collaborative Innovation,National Innovation Institute of Defense Technology,Academy of Military Sciences,Beijing 100097,China)
出处
《软件学报》
EI
CSCD
北大核心
2023年第1期150-170,共21页
Journal of Software
基金
国家自然科学基金重大项目(61690205)
国家自然科学基金面上项目(61772071)。
关键词
代码坏味
软件重构
软件质量
度量
缺陷
code smells
software refactoring
software quality
metric
defect