Code smells detection and visualization of software systems

Shin-Jie Lee, Xavier Lin, Li Hsiang Lo, Yu Cheng Chen, Jonathan Lee

Research output: Chapter in Book/Report/Conference proceedingConference contribution

1 Citation (Scopus)

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.

Original languageEnglish
Title of host publicationIntelligent Systems and Applications - Proceedings of the International Computer Symposium, ICS 2014
EditorsWilliam Cheng-Chung Chu, Stephen Jenn-Hwa Yang, Han-Chieh Chao
PublisherIOS Press
Pages1763-1771
Number of pages9
ISBN (Electronic)9781614994831
DOIs
Publication statusPublished - 2015 Jan 1
EventInternational Computer Symposium, ICS 2014 - Taichung, Taiwan
Duration: 2014 Dec 122014 Dec 14

Publication series

NameFrontiers in Artificial Intelligence and Applications
Volume274
ISSN (Print)0922-6389

Other

OtherInternational Computer Symposium, ICS 2014
CountryTaiwan
CityTaichung
Period14-12-1214-12-14

Fingerprint

Visualization
Statistics

All Science Journal Classification (ASJC) codes

  • Artificial Intelligence

Cite this

Lee, S-J., Lin, X., Lo, L. H., Chen, Y. C., & Lee, J. (2015). Code smells detection and visualization of software systems. In W. C-C. Chu, S. J-H. Yang, & H-C. Chao (Eds.), Intelligent Systems and Applications - Proceedings of the International Computer Symposium, ICS 2014 (pp. 1763-1771). (Frontiers in Artificial Intelligence and Applications; Vol. 274). IOS Press. https://doi.org/10.3233/978-1-61499-484-8-1763
Lee, Shin-Jie ; Lin, Xavier ; Lo, Li Hsiang ; Chen, Yu Cheng ; Lee, Jonathan. / Code smells detection and visualization of software systems. Intelligent Systems and Applications - Proceedings of the International Computer Symposium, ICS 2014. editor / William Cheng-Chung Chu ; Stephen Jenn-Hwa Yang ; Han-Chieh Chao. IOS Press, 2015. pp. 1763-1771 (Frontiers in Artificial Intelligence and Applications).
@inproceedings{ffdbdec66069415193f8b90e192023c7,
title = "Code smells detection and visualization of software systems",
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.",
author = "Shin-Jie Lee and Xavier Lin and Lo, {Li Hsiang} and Chen, {Yu Cheng} and Jonathan Lee",
year = "2015",
month = "1",
day = "1",
doi = "10.3233/978-1-61499-484-8-1763",
language = "English",
series = "Frontiers in Artificial Intelligence and Applications",
publisher = "IOS Press",
pages = "1763--1771",
editor = "Chu, {William Cheng-Chung} and Yang, {Stephen Jenn-Hwa} and Han-Chieh Chao",
booktitle = "Intelligent Systems and Applications - Proceedings of the International Computer Symposium, ICS 2014",
address = "Netherlands",

}

Lee, S-J, Lin, X, Lo, LH, Chen, YC & Lee, J 2015, Code smells detection and visualization of software systems. in WC-C Chu, SJ-H Yang & H-C Chao (eds), Intelligent Systems and Applications - Proceedings of the International Computer Symposium, ICS 2014. Frontiers in Artificial Intelligence and Applications, vol. 274, IOS Press, pp. 1763-1771, International Computer Symposium, ICS 2014, Taichung, Taiwan, 14-12-12. https://doi.org/10.3233/978-1-61499-484-8-1763

Code smells detection and visualization of software systems. / Lee, Shin-Jie; Lin, Xavier; Lo, Li Hsiang; Chen, Yu Cheng; Lee, Jonathan.

Intelligent Systems and Applications - Proceedings of the International Computer Symposium, ICS 2014. ed. / William Cheng-Chung Chu; Stephen Jenn-Hwa Yang; Han-Chieh Chao. IOS Press, 2015. p. 1763-1771 (Frontiers in Artificial Intelligence and Applications; Vol. 274).

Research output: Chapter in Book/Report/Conference proceedingConference contribution

TY - GEN

T1 - Code smells detection and visualization of software systems

AU - Lee, Shin-Jie

AU - Lin, Xavier

AU - Lo, Li Hsiang

AU - Chen, Yu Cheng

AU - Lee, Jonathan

PY - 2015/1/1

Y1 - 2015/1/1

N2 - 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.

AB - 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.

UR - http://www.scopus.com/inward/record.url?scp=84926431830&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=84926431830&partnerID=8YFLogxK

U2 - 10.3233/978-1-61499-484-8-1763

DO - 10.3233/978-1-61499-484-8-1763

M3 - Conference contribution

T3 - Frontiers in Artificial Intelligence and Applications

SP - 1763

EP - 1771

BT - Intelligent Systems and Applications - Proceedings of the International Computer Symposium, ICS 2014

A2 - Chu, William Cheng-Chung

A2 - Yang, Stephen Jenn-Hwa

A2 - Chao, Han-Chieh

PB - IOS Press

ER -

Lee S-J, Lin X, Lo LH, Chen YC, Lee J. Code smells detection and visualization of software systems. In Chu WC-C, Yang SJ-H, Chao H-C, editors, Intelligent Systems and Applications - Proceedings of the International Computer Symposium, ICS 2014. IOS Press. 2015. p. 1763-1771. (Frontiers in Artificial Intelligence and Applications). https://doi.org/10.3233/978-1-61499-484-8-1763