Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Visualizing Code Bad Smells

Author 1: Maen Hammad Author 2: Sabah Alsofriya
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 10, No. 5 · Published 2019

DOI: https://doi.org/10.14569/IJACSA.2019.0100536

Abstract

Software visualization is an effective way to support human comprehension to large software systems. In software maintenance, most of the time is spent on understanding code in order to change it. This paper presents a visualization approach to help maintainers to locate and understand code bad smells. Software maintainers need to locate and understand these bad smells in order to remove them via code refactoring. Object oriented code elements are visualized as well as their bad smells if they exist. The proposed visualization shows classes as building and bad smell as letter avatars based on the initials of the names of bad smells. These avatars are shown as warning signs on the buildings. A framework is proposed to automatically analyze code to identify bad smells and to generate the proposed visualizations. The evaluation of the proposed visualizations showed they reduce the comprehension time needed to understand bad smells.

Keywords

How to Cite this Article

Hammad, M., & Alsofriya, S. (2019). Visualizing Code Bad Smells. International Journal of Advanced Computer Science and Applications, 10(5). https://doi.org/10.14569/IJACSA.2019.0100536

Hammad, Maen, and Sabah Alsofriya. "Visualizing Code Bad Smells." International Journal of Advanced Computer Science and Applications, vol. 10, no. 5, 2019, https://doi.org/10.14569/IJACSA.2019.0100536.

@article{Hammad2019,
  title     = {Visualizing Code Bad Smells},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {10},
  number    = {5},
  year      = {2019},
  publisher = {The Science and Information Organization},
  author    = {Maen Hammad and Sabah Alsofriya},
  doi       = {10.14569/IJACSA.2019.0100536},
  url       = {https://doi.org/10.14569/IJACSA.2019.0100536}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.