five

One Technique to Smell Them All: 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/1
下载链接
链接失效反馈
官方服务:
资源简介:
Bad smells are symptoms of poor design or implementation choises that may affect both production and test code. Several previous studies demonstrated the huge impact of these smells on change- and fault-proneness, comprehensibility and, more in general, on maintainability. These are the reasons why researchers spent a lot of effort on the definition of metrics-based techniques able to detect them by exploiting structural properties of the source code. However, code and test smell detection have always been treated as separate problems, since for detecting different smells, different tools relying on a different ah-hoc set of metrics are required. To overcome such limitations, we propose a textual-based smell detector able to detect both code and test smells through IR methods measuring the probability that a code component is affected by a given smell. We run the proposed approach, named TACO (Textual Analysis for Code Smell Detection), on 20 open source projects, comparing its performances 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 the proposed detector often outperforms competitive structural approaches, being able to identify smell instances that can not be detected by solely using structural analysis.
提供机构:
figshare
创建时间:
2016-01-20
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

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

二维码
科研交流群

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

数据驱动未来

携手共赢发展

商业合作