The evolution and impact of code smells: A case study of two open source systems

  • Authors:
  • Steffen Olbrich;Daniela S. Cruzes;Victor Basili;Nico Zazworka

  • Affiliations:
  • Dept. of Computer Sciences, University of Applied Sciences, Mannheim, Germany;IDI, Norwegian University of Science and Technology (NTNU), Trondheim, Norway;University of Maryland and Fraunhofer Center Maryland, College Park, USA;Dept. of Computer Science, University of Maryland, College Park, USA

  • Venue:
  • ESEM '09 Proceedings of the 2009 3rd International Symposium on Empirical Software Engineering and Measurement
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Code smells are design flaws in object-oriented designs that may lead to maintainability issues in the further evolution of the software system. This study focuses on the evolution of code smells within a system and their impact on the change behavior (change frequency and size). The study investigates two code smells, God Class and Shotgun Surgery, by analyzing the historical data over several years of development of two large scale open source systems. The detection of code smells in the evolution of those systems was performed by the application of an automated approach using detection strategies. The results show that we can identify different phases in the evolution of code smells during the system development and that code smell infected components exhibit a different change behavior. This information is useful for the identification of risk areas within a software system that need refactoring to assure a future positive evolution.