Detecting Design Patterns in Object-Oriented Design Models by Using a Graph Mining Approach


Oruc M., AKAL F., SEVER H.

4th International Conference in Software Engineering Research and Innovation (CONISOFT), Puebla, Meksika, 27 - 29 Nisan 2016, ss.115-121 identifier identifier

  • Yayın Türü: Bildiri / Tam Metin Bildiri
  • Cilt numarası:
  • Doi Numarası: 10.1109/conisoft.2016.26
  • Basıldığı Şehir: Puebla
  • Basıldığı Ülke: Meksika
  • Sayfa Sayıları: ss.115-121
  • Hacettepe Üniversitesi Adresli: Evet

Özet

Object-oriented design patterns are frequently used in real-world applications. Detection of design patterns is essential for comprehension of the intent and design of a software project. This paper presents a graph-mining approach for detecting design patterns. Our approach is based on searching input design patterns in the space of model graph of the source code by isomorphic sub-graph search method. We developed a tool called DesPaD to apply our pattern detection approach in an automated-way. We successfully detected 23 GoF design patterns in the demo source code of the Applied Java Patterns book and also obtained encouraging results out of our experiments that we conducted on JUnit 3.8, JUnit 4.1 and Java AWT open source projects.