• Cite Icon9
  • https://doi.org/10.1007/s10664-016-9448-2Copy DOI Icon

Fragile base-class problem, problem?

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The fragile base-class problem (FBCP) has been described in the literature as a consequence of “misusing” inheritance and composition in object-oriented programming when (re)using frameworks. Many research works have focused on preventing the FBCP by proposing alternative mechanisms for reuse, but, to the best of our knowledge, there is no previous research work studying the prevalence and impact of the FBCP in real-world software systems. The goal of our work is thus twofold: (1) assess, in different systems, the prevalence of micro-architectures, called FBCS, that could lead to two aspects of the FBCP, (2) investigate the relation between the detected occurrences and the quality of the systems in terms of change and fault proneness, and (3) assess whether there exist bugs in these systems that are related to the FBCP. We therefore perform a quantitative and a qualitative study. Quantitatively, we analyse multiple versions of seven different open-source systems that use 58 different frameworks, resulting in 301 configurations. We detect in these systems 112,263 FBCS occurrences and we analyse whether classes playing the role of sub-classes in FBCS occurrences are more change and–or fault prone than other classes. Results show that classes participating in the analysed FBCS are neither more likely to change nor more likely to have faults. Qualitatively, we conduct a survey to confirm/infirm that some bugs are related to the FBCP. The survey involves 41 participants that analyse a total of 104 bugs of three open-source systems. Results indicate that none of the analysed bugs is related to the FBCP. Thus, despite large, rigorous quantitative and qualitative studies, we must conclude that the two aspects of the FBCP that we analyse may not be as problematic in terms of change and fault-proneness as previously thought in the literature. We propose reasons why the FBCP may not be so prevalent in the analysed systems and in other systems in general.

Similar Papers
  • Book Chapter
  • Citations1

Zones of Pain: Visualising the Relationship Between Software Architecture and Defects

  • Jan 01, 2020
  • Jean Petrić +2
  • Conference Article
  • Citations3

Should We Beware the Inheritance? - An Empirical Study on the Evolution of Seven Open Source Systems

  • Jan 01, 2014
  • Cristina Marinescu +1
  • Conference Article
  • Citations16

An Empirical Study of the Impact of Bad Designs on Defect Proneness

  • Nov 01, 2017
  • Xiaofang Zhang +2
  • Book Chapter
  • Citations2

Effect of Coupling on Defect Proneness in Evolutionary Open-Source Software Development

  • Jun 19, 2015
  • A Günes Koru +2
  • Research Article
  • Citations129

Clones: what is that smell?

  • Dec 24, 2011
  • Empirical Software Engineering
  • Foyzur Rahman +2
  • Research Article
  • Citations13

Application of support vector machine to predict fault prone classes

  • Jan 31, 2009
  • ACM SIGSOFT Software Engineering Notes
  • Yogesh Singh +2
  • Conference Article
  • Citations89

Clones: What is that smell?

  • May 01, 2010
  • Foyzur Rahman +2
  • Conference Article
  • Citations12

Got Issues? Do New Features and Code Improvements Affect Defects?

  • Oct 01, 2011
  • Daryl Posnett +2
  • Conference Article
  • Citations28

A model for early prediction of faults in software systems

  • Feb 01, 2010
  • Parvinder S Sandhu +4
  • Research Article

Machine Learning Based Approach for Predicting Fault in Software Engineering by GMFPA: A Survey

  • Dec 27, 2016
  • International Journal of Business Intelligents
  • P.Patchaiammal Ms +1
  • Conference Article
  • Citations13

A Controlled Experiment to Assess the Effectiveness of Eight Use Case Templates

  • Dec 01, 2013
  • Saurabh Tiwari +1
  • Research Article
  • Citations76

Theory of relative defect proneness

  • Sep 05, 2008
  • Empirical Software Engineering
  • A Güneş Koru +4
  • Conference Article
  • Citations1

Understanding the Impact of Mutable Global State on the Defect Proneness of Object-Oriented Systems

  • May 01, 2020
  • Cosmin Marsavina
  • Research Article
  • Citations626

A systematic review of machine learning techniques for software fault prediction

  • Nov 29, 2014
  • Applied Soft Computing
  • Ruchika Malhotra
  • Dissertation

Semi-supervised and Active Learning Models for Software Fault Prediction

  • Jan 01, 2015
  • Huihua Lu
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.