Visualizing Code Bad Smells

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.

Authors and Affiliations

Maen Hammad, Sabah Alsofriya

Keywords

Related Articles

A Watermarking System Architecture using the Cellular Automata Transform for 2D Vector Map

Technological advancement, paired with the emergence of increasingly open and sophisticated communication systems, has contributed to the growing complexity of copyright protection and ownership identification for digita...

Voice Pathology Recognition and Classification using Noise Related Features

Nowadays, the diseases of the voice increase because of bad social habits and the misuse of voice. These pathologies should be treated from the beginning. Indeed, it is no longer necessary that the diseases of the voice...

FPGA Implementation of Adaptive Neuro-Fuzzy Inference Systems Controller for Greenhouse Climate

This paper describes a Field-programmable Gate Array (FPGA) implementation of Adaptive Neuro-fuzzy Inferences Systems (ANFIS) using Very High-Speed Integrated Circuit Hardware-Description Language (VHDL) for controlling...

Line of Sight Estimation Accuracy Improvement using Depth Image and Ellipsoidal Model of Cornea Curvature

Line of sight estimation accuracy improvement is attempted using depth image (distance between user and display) and ellipsoidal model (shape of user’s eye) of cornea curvature. It is strongly required to improve line of...

Indoor Positioning System using Regression-based Fingerprint Method

Indoor Positioning System has opportunity to be used in different business platform. Based on past research, optimized localization method for Bluetooth Low Energy (BLE) to predict position of person or object with high...

Download PDF file
  • EP ID EP578389
  • DOI 10.14569/IJACSA.2019.0100536
  • Views 94
  • Downloads 0

How To Cite

Maen Hammad, Sabah Alsofriya (2019). Visualizing Code Bad Smells. International Journal of Advanced Computer Science & Applications, 10(5), 281-286. https://europub.co.uk/articles/-A-578389