Characterizing the Evolution of Size and Inheritance in Object-Oriented Software

  • Bruno Luan de Sousa UFMG
  • Mariza Andrade da Silva Bigonha UFMG
  • Kecia Aline Marques Ferreira CEFET-MG
  • Glaura da Conceição Franco UFMG


Software evolution consists of adapting, correcting, and updating a system. It is widely known that the systems became increasingly complex and challenging to be maintained over their evolution. However, the way the systems’ internal structure evolves is not known in detail. Understanding how the internal software structure evolves is essential to help developers better plan, manage, and perform software maintenance tasks. In this work, we present an empirical analysis to investigate how the internal structure of object-oriented systems evolves from the perspective of inheritance hierarchy and size. Besides, we analyzed the set of classes within the systems that affect these dimensions’ evolution and how such classes evolve. We used a methodology based on time series, linear regression techniques, and trend tests to analyze the evolution of object-oriented systems. Using this methodology, we identified the function that better explains how the size and the inheritance tree evolve. This study revealed eight software evolution properties, among them: inheritance hierarchy tends to increase in depth and decrease in breadth; inheritance hierarchy depth and the size of classes grow according to a linear model. The empirical evidence found in this work provides a fine-grained knowledge of how object-oriented software systems’ internal structure evolves from internal dimensions.
Palavras-chave: Software Evolution, Software Metrics, Inheritance, Size, Time Series
DE SOUSA, Bruno Luan; BIGONHA, Mariza Andrade da Silva; FERREIRA, Kecia Aline Marques; FRANCO, Glaura da Conceição. Characterizing the Evolution of Size and Inheritance in Object-Oriented Software. In: SIMPÓSIO BRASILEIRO DE QUALIDADE DE SOFTWARE (SBQS), 20. , 2021, Evento Online. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2021 . p. 31-40.