Search-Based Design Defects Detection by Example

  • Marouane Kessentini
  • Houari Sahraoui
  • Mounir Boukadoum
  • Manuel Wimmer
Conference paper

DOI: 10.1007/978-3-642-19811-3_28

Part of the Lecture Notes in Computer Science book series (LNCS, volume 6603)
Cite this paper as:
Kessentini M., Sahraoui H., Boukadoum M., Wimmer M. (2011) Search-Based Design Defects Detection by Example. In: Giannakopoulou D., Orejas F. (eds) Fundamental Approaches to Software Engineering. FASE 2011. Lecture Notes in Computer Science, vol 6603. Springer, Berlin, Heidelberg

Abstract

We propose an automated approach to detect various types of design defects in source code. Our approach allows to automatically find detection rules, thus relieving the designer from doing so manually. Rules are defined as combinations of metrics/thresholds that better conform to known instances of design defects (defect examples). In our setting, we use and compare between different heuristic search algorithms for rule extraction: Harmony Search, Particle Swarm Optimization, and Simulated Annealing. We evaluate our approach by finding potential defects in two open-source systems. For all these systems, we found, in average, more than 75% of known defects, a better result when compared to a state-of-the-art approach, where the detection rules are manually or semi-automatically specified.

Keywords

Design defects software quality metrics search-based software engineering by example 
Download to read the full conference paper text

Copyright information

© Springer-Verlag Berlin Heidelberg 2011

Authors and Affiliations

  • Marouane Kessentini
    • 1
  • Houari Sahraoui
    • 1
  • Mounir Boukadoum
    • 2
  • Manuel Wimmer
    • 3
  1. 1.DIROUniversité de MontréalCanada
  2. 2.DIUniversité du Québec à MontréalCanada
  3. 3.Vienna University of TechnologyAustria

Personalised recommendations