On the Analysis of Co-Occurrence of Anti-Patterns and Clones

Fehmi Jaafar;Lozano, Angela;Guéhéneuc, Yann-Gaël;Mens, Kim
(2017) IEEE International Conference on Software Quality, Reliability and Security (QRS 2017) — Location: Prague (25.July.2017)

Files

QRS17bdoc.pdf
  • Open Access
  • Adobe PDF
  • 191.12 KB
08009932.pdf
  • Closed Access
  • Adobe PDF
  • 305.3 KB

Details

Authors
  • Fehmi JaafarComputer Research Institute of Montreal
    Author
  • Lozano, AngelaUCLouvain
    Author
  • Guéhéneuc, Yann-GaëlConcordia University
    Author
  • Mens, Kimorcid-logoUCLouvain
    Author
Abstract
In software engineering, a smell is a part of a software system's source code with a poor quality and that may indicate a deeper problem. Although many kinds of smells have been studied to analyze their causes, their behavior, and their impact on software quality, those smells typically are studied independently from each other. However, if two smells coincide inside a class, this could increases their negative effect (e.g., spaghetti code that is being cloned across the system). In this paper we report results from an empirical study conducted to examine the relationship between two specific kinds of smells: code clones and antipatterns. We conducted our study on three open-source software systems: Azureus, Eclipse, and JHotDraw. Results show that between 32% and 63% of classes in the analysed systems present co-occurrence of smells, and that such classes are more risky in term of fault-proneness.
Affiliations

Citations