five

A Textual-based Technique for Code and Test Smell Detection

收藏
DataCite Commons2020-09-04 更新2024-07-25 收录
下载链接:
https://figshare.com/articles/dataset/One_Technique_to_Smell_Them_All_A_Textual_based_Technique_for_Code_and_Test_Smell_Detection/1590962/3
下载链接
链接失效反馈
官方服务:
资源简介:
Bad smells are symptoms of poor design or imple- mentation choices that may affect both production and test code. Previous studies demonstrated the huge impact of these smells on change- and fault-proneness, comprehensibility and, more in general, on maintainability. For these reasons researchers have spent a lot of effort on the definition of methods and tools aimed at detecting smells in production and test code. Existing detection techniques are largely based on using structural information extracted from source code without considering the textual content of the code, which can be a useful source of information to detect design flaws. In this paper, we present TACO (Textual Analysis for Code Smell Detection), a technique that exploits textual analysis to detect smells in both production code and test code. We run TACO on 20 open source projects, comparing its performance with existing state-of-the-art smell detectors purely based on structural analysis. Our findings indicate that TACO’s precision ranges between 57% and 75%, while its recall ranges between 68% and 85%. Moreover, we observed that TACO often outperforms alternative structural approaches confirming, once again, the usefulness of information that can be derived from the textual part of source code components.
提供机构:
figshare
创建时间:
2016-01-20
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作