Code Smells Detection and Visualization of Software Systems.
Journal
Intelligent Systems and Applications - Proceedings of the International Computer Symposium (ICS) held at Taichung, Taiwan, December 12-14, 2014
Pages
1763-1771
Date Issued
2014
Author(s)
Abstract
Bad smells are symptoms in the source code that indicate possible deeper problems and may serve as drivers for code refactoring. Although efforts have been made on measuring code complexity in object-oriented systems, such as CK metrics, little emphasis has been put on analyzing code smells through a visualization manner. In this paper, we present a system for detecting and visualizing three kinds of code smells of software systems: Long Method, Large Class, and Long Parameter List. Thresholds for identifying the code smells are calculated based on statistics analysis on the source code of 50 open source projects. Code smells are visualized as graphs with colored nodes according to their different severity degrees.
Type
conference paper
