Replication Package for the Paper: "An Empirical Analysis of the Manual Detection of Code Smells via Code Review"
收藏NIAID Data Ecosystem2026-03-12 收录
下载链接:
https://zenodo.org/record/4146930
下载链接
链接失效反馈官方服务:
资源简介:
This repository contains the data and results from the paper "An Empirical Analysis of the Manual Detection of Code Smells via Code Review" submitted to SANER 2021.
1. "data.zip" file contains the following three folders:
1). data folder
The data folder contains the retrieved 1,174 reviews that discuss code smells. Each review includes four parts: Code Change URL, Code Smell, Code Smell Discussion, and Source Code URL.
2). scripts folder
The scripts folder contains the Python script that was used to search for code smell terms and the list of code smell terms.
keywords.txt contains the keywords keywords asociated with code smells, such as "smell, duplication, and dead".
get_changes.py is used for getting code changes from OpenStack.
get_comments.py is used for getting review comments for each code change.
keywords_search.py is used for searching review comments that contain at least one keyword.
keywords_improve.py is used for improving the keyword-based mining approach.
tools.py is used for supporting the process of keywords improving.
3). project folder
The project folder contains the MAXQDA project files. The files can be opened by MAXQDA 12 or higher versions, which are available at https://www.maxqda.com/ for download. You may also use the free 14-day trial version of MAXQDA 2018, which is available at https://www.maxqda.com/trial for download.
Data Labeling & Encoding for RQ2.mx12 is the results of data labeling and encoding for RQ2, which were analyzed by the MAXQDA tool.
Data Labeling & Encoding for RQ3.mx12 is the results of data labeling and encoding for RQ3, which were analyzed by the MAXQDA tool.
2. Keywords associated with code smells.pdf
This file contains the final set of keywords asociated with code smells that we identified by following the systematic approach proposed by Bosu and his colleagues in their paper: Identifying the Characteristics of Vulnerable Code Changes: An Empirical Study, FSE 2014.
创建时间:
2020-10-29



