Code Smell Detection Based on Multi-dimensional Software Data and Complex Networks

2Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Code smell is the product of improper design and operation, which may be introduced in many situations. It will cause serious problems for further software development and maintenance. Currently, most code smell detection methods detect through a single type of software data. There are restrictions on detecting code smells with complex definitions and characteristics. In this paper, an approach of applying multi-dimensional software data is proposed. A complex network was built through structural data and historical version data, and code smell instances were determined by searching the network. We designed two smells detection strategies were designed and evaluated them in four open source projects. The results demonstrate that the proposed method has 23% and 15% higher F-measures on Shotgun Surgery and Parallel Inheritance Hierarchy than the existing mainstream detection ways. The code smell detection based on multi-dimensional software data and complex network is effective, and this method of processing multidimensional software data is also applicable for data-driven software research.

Cite

CITATION STYLE

APA

Tong, H., Zhang, C., & Wang, F. (2020). Code Smell Detection Based on Multi-dimensional Software Data and Complex Networks. In Communications in Computer and Information Science (Vol. 1258 CCIS, pp. 490–505). Springer. https://doi.org/10.1007/978-981-15-7984-4_37

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free