International Conference Peer-reviewed
Context-Based Code Smells Prioritization for Prefactoring
In Proceedings of the 24th International Conference on Program Comprehension (ICPC 2016), pp. 1–10, Austin, Texas, USA, May 2016.
Abstract
To find opportunities for applying prefactoring, several techniques for detecting bad smells in source code have been proposed. Existing smell detectors are often unsuitable for developers who have a specific context because these detectors do not consider their current context and output the results that are mixed with both smells that are and are not related to such context. Consequently, the developers must spend a considerable amount of time identifying relevant smells. As described in this paper, we propose a technique to prioritize bad code smells using developers' context. The explicit data of the context are obtained using a list of issues extracted from an issue tracking system. We applied impact analysis to the list of issues and used the results to specify which smells are associated with the context. Consequently, our approach can provide developers with a list of prioritized bad code smells related to their current context. Several evaluations using open source projects demonstrate the effectiveness of our technique.
BibTeX
@inproceedings{natthawute-icpc2016,
author = {Natthawute Sae-Lim and Shinpei Hayashi and Motoshi Saeki},
title = {Context-Based Code Smells Prioritization for Prefactoring},
booktitle = {Proceedings of the 24th International Conference on Program Comprehension},
pages = {1--10},
doi = {10.1109/ICPC.2016.7503705},
year = 2016,
}
- Type
- International Conference
- Conference
- ICPC 2016
- Location
- Austin, Texas, USA
- Presented
- May 16, 2016
- Volume / Pages
- pp. 1–10
- Acceptance rate
- 20/67 (30%)
- DOI
- 10.1109/ICPC.2016.7503705