Skip to main content
Erschienen in: Innovations in Systems and Software Engineering 1/2015

01.03.2015 | Original Paper

Using metric-based filtering to improve design pattern detection approaches

verfasst von: Imène Issaoui, Nadia Bouassida, Hanêne Ben-Abdallah

Erschienen in: Innovations in Systems and Software Engineering | Ausgabe 1/2015

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Design patterns represent high-level recurring abstractions that reflect the know-how of experts. Their detection is a key task in the context of software engineering; it is very useful in program comprehension, design recovery and also for re-documenting object-oriented systems. Despite their usefulness, current design pattern detection approaches have a high time complexity that hinders their application. This complexity is further aggravated with the absence of guiding principles in determining which pattern to look for first among the various patterns. To overcome this practical limit, we propose to optimize any pattern detection approach by foregoing it by a filtering phase that detects possible existence of patterns and that orders the candidate patterns in terms of their degree of resemblance to the analyzed design fragments. The herein proposed filtering approach exploits semantic and structural design metrics to look for the semantic and structural symptoms of design pattern instances. Its performance is experimentally demonstrated through our design pattern detection method MAPeD (Multi-phase Approach for Pattern Discovery) applied on the open source system JUnit.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Gamma E, Helm R, Johnson R, Vlissides J (1995) Design patterns: elements of reusable object oriented software. Addisson-Wesley, Reading Gamma E, Helm R, Johnson R, Vlissides J (1995) Design patterns: elements of reusable object oriented software. Addisson-Wesley, Reading
2.
Zurück zum Zitat Tsantalis N, Chatzigeorgiou A, Stephanides G, Halkidis ST (2006) Design pattern detection using similarity scoring. IEEE Transactions on Software Engineering, vol 32, p 11 Tsantalis N, Chatzigeorgiou A, Stephanides G, Halkidis ST (2006) Design pattern detection using similarity scoring. IEEE Transactions on Software Engineering, vol 32, p 11
3.
Zurück zum Zitat Gueheneuc Y, Antoniol G (2008) DeMIMA: a multilayered approach for design pattern identification. IEEE Transactions on Software Engineering Gueheneuc Y, Antoniol G (2008) DeMIMA: a multilayered approach for design pattern identification. IEEE Transactions on Software Engineering
4.
Zurück zum Zitat Belderrar A, Kpodjedo S, Guéhéneuc Y, Antoniol G, Galinier P (2011) Sub-graph mining: identifying micro-architectures in evolving object-oriented software. 15th European Conference on Software Maintenance and Reengineering (CSMR’11), pp 171–180 Belderrar A, Kpodjedo S, Guéhéneuc Y, Antoniol G, Galinier P (2011) Sub-graph mining: identifying micro-architectures in evolving object-oriented software. 15th European Conference on Software Maintenance and Reengineering (CSMR’11), pp 171–180
5.
Zurück zum Zitat De Lucia A, Deufemia V, Gravino C, Risi M (2010) Improving behavioral design pattern detection through model checking. 14th European conference on software maintenance and reengineering (CSMR’10), pp 176–185 De Lucia A, Deufemia V, Gravino C, Risi M (2010) Improving behavioral design pattern detection through model checking. 14th European conference on software maintenance and reengineering (CSMR’10), pp 176–185
6.
Zurück zum Zitat Bouassida N, Ben-Abdallah H (2009) Structural and behavioral detection of design patterns. (ASEA). International conference on advanced software engineering and its applications, CCIS proceedings. Springer, Berlin Bouassida N, Ben-Abdallah H (2009) Structural and behavioral detection of design patterns. (ASEA). International conference on advanced software engineering and its applications, CCIS proceedings. Springer, Berlin
7.
Zurück zum Zitat Masuda G, Sakamoto N, K Ushijima (1999) Evaluation and analysis of applying design patterns. In: Proceedings of the international workshop on principles of software evolution Masuda G, Sakamoto N, K Ushijima (1999) Evaluation and analysis of applying design patterns. In: Proceedings of the international workshop on principles of software evolution
8.
Zurück zum Zitat Huston B (2001) The effects of design pattern application on metric scores, pp 261–269 Huston B (2001) The effects of design pattern application on metric scores, pp 261–269
9.
Zurück zum Zitat Chidamber S, Kemerer C (1994) A metrics suite for object oriented design. IEEE Transactions on Software Engineering, pp 476–493 Chidamber S, Kemerer C (1994) A metrics suite for object oriented design. IEEE Transactions on Software Engineering, pp 476–493
12.
Zurück zum Zitat Bouassida N, Ben-Abdallah H, Issaoui I (2013) Evaluation of an automated multi-phase approach for patterns discovery. Int J Softw Eng Knowl Eng Bouassida N, Ben-Abdallah H, Issaoui I (2013) Evaluation of an automated multi-phase approach for patterns discovery. Int J Softw Eng Knowl Eng
13.
Zurück zum Zitat Arcelli F, Maggioni S (2009) Metrics-based detection of micro patterns to improve the assessment of software quality. 1st Symposium on emerging trends in software metrics Arcelli F, Maggioni S (2009) Metrics-based detection of micro patterns to improve the assessment of software quality. 1st Symposium on emerging trends in software metrics
14.
Zurück zum Zitat Lee H, Youn H, Lee E (2008) A design pattern detection technique that aids reverse engineering. Int J Secur Appl 2(1) Lee H, Youn H, Lee E (2008) A design pattern detection technique that aids reverse engineering. Int J Secur Appl 2(1)
15.
Zurück zum Zitat Blondel VD, Gajardo A, Heymans M, Senellart P, Van Dooren P (2004) A measure of similarity between graph vertices. SIAM, Applications to synonym extraction and web searching Blondel VD, Gajardo A, Heymans M, Senellart P, Van Dooren P (2004) A measure of similarity between graph vertices. SIAM, Applications to synonym extraction and web searching
16.
Zurück zum Zitat Arcelli F, Perin F, Raibulet C, Ravani S (2009) JADEPT: dynamic analysis for behavioral design pattern detection. 4th International conference on evaluation of novel approaches to software engineering (ENASE’09), Milan, pp 95–106 Arcelli F, Perin F, Raibulet C, Ravani S (2009) JADEPT: dynamic analysis for behavioral design pattern detection. 4th International conference on evaluation of novel approaches to software engineering (ENASE’09), Milan, pp 95–106
17.
Zurück zum Zitat Aydinoz B (2006) The effect of design patterns on object oriented metrics and software error-proneness. MS Thesis, The Graduate School of Natural and Applied Sciences of Middle East Technical University Aydinoz B (2006) The effect of design patterns on object oriented metrics and software error-proneness. MS Thesis, The Graduate School of Natural and Applied Sciences of Middle East Technical University
18.
Zurück zum Zitat Hernandez J, Kubo A, Washizaki H (2011) Selection of metrics for predicting the appropriate application of design patterns. AsianPLoP 2011: 2nd Asian conference on pattern languages of programs, Tokyo Hernandez J, Kubo A, Washizaki H (2011) Selection of metrics for predicting the appropriate application of design patterns. AsianPLoP 2011: 2nd Asian conference on pattern languages of programs, Tokyo
19.
Zurück zum Zitat Abul Khaer M, Hashem M, Raihan Masud M (2008) On use of design patterns in empirical assessment of software design quality. In: Proceedings of the international conference on computer and communication engineering Abul Khaer M, Hashem M, Raihan Masud M (2008) On use of design patterns in empirical assessment of software design quality. In: Proceedings of the international conference on computer and communication engineering
20.
Zurück zum Zitat Hsueh N, Chu P, Chu W (2008) A quantitative approach for evaluating the quality of design patterns, pp 1430–1439 Hsueh N, Chu P, Chu W (2008) A quantitative approach for evaluating the quality of design patterns, pp 1430–1439
21.
Zurück zum Zitat Maggioni S, Arcelli F (2009) Metrics-based detection of micro patterns. Emerging Trends in Software Metrics Maggioni S, Arcelli F (2009) Metrics-based detection of micro patterns. Emerging Trends in Software Metrics
22.
Zurück zum Zitat Reißing R (2001) The impact of pattern use on design quality. OOPSLA 2001 workshop “Beyond Design: Patterns (mis)used” Reißing R (2001) The impact of pattern use on design quality. OOPSLA 2001 workshop “Beyond Design: Patterns (mis)used”
23.
Zurück zum Zitat Ampatzoglou A, Charalampidou S, Stamelos I (2013) Research state of the art on GoF design patterns: a mapping study. J Syst Softw, pp 1945–1964 Ampatzoglou A, Charalampidou S, Stamelos I (2013) Research state of the art on GoF design patterns: a mapping study. J Syst Softw, pp 1945–1964
24.
Zurück zum Zitat Antoniol G, Fiutem R, Cristoforetti L (1998) Using metrics to identify design patterns in object-oriented software. In: IEEE proceedings of the 5th international symposium on software metrics (METRICS 1998). IEEE Computer Society, Maryland, pp 23–34 Antoniol G, Fiutem R, Cristoforetti L (1998) Using metrics to identify design patterns in object-oriented software. In: IEEE proceedings of the 5th international symposium on software metrics (METRICS 1998). IEEE Computer Society, Maryland, pp 23–34
25.
Zurück zum Zitat Ampatzoglou A, Frantzeskou G, Stamelos I (2012) A methodology to assess the impact of design patterns on software quality. J Inf Softw Technol, 331–346 Ampatzoglou A, Frantzeskou G, Stamelos I (2012) A methodology to assess the impact of design patterns on software quality. J Inf Softw Technol, 331–346
26.
Zurück zum Zitat Larman C (2004) Applying UML and patterns: an introduction to object-oriented analysis and design and iterative development, 3rd edn. Addison Wesley Larman C (2004) Applying UML and patterns: an introduction to object-oriented analysis and design and iterative development, 3rd edn. Addison Wesley
27.
Zurück zum Zitat Ayata M (2010) Effect of some software design patterns on real time software performance. A Master’s Thesis, the Graduate School of Imfomatics of Middle East Technical University Ayata M (2010) Effect of some software design patterns on real time software performance. A Master’s Thesis, the Graduate School of Imfomatics of Middle East Technical University
28.
Zurück zum Zitat Vernazza T, Granatella G, Succi G, Benedicenti L, Mintchev M (2000) Defining metrics for software components. In: Proceedings of the world multiconference on systemics, cybernetics and informatics Vernazza T, Granatella G, Succi G, Benedicenti L, Mintchev M (2000) Defining metrics for software components. In: Proceedings of the world multiconference on systemics, cybernetics and informatics
29.
Zurück zum Zitat Guéhéneuc Y-G, Sahraoui H, Zaidi F (2004) Fingerprinting design patterns. In: Proceedings of the 11th working conference on reverse engineering. IEEE Computer Society Press, pp 172–181 Guéhéneuc Y-G, Sahraoui H, Zaidi F (2004) Fingerprinting design patterns. In: Proceedings of the 11th working conference on reverse engineering. IEEE Computer Society Press, pp 172–181
30.
Zurück zum Zitat Bieman J, Straw G, Wang H, Munger PW, Alexander RT (2003) Design patterns and change proneness: an examination of five evolving systems. In: Berry M, Harrison W (eds) Proceedings of the 9th international software metrics symposium. IEEE Computer Society Press, pp 40–49 Bieman J, Straw G, Wang H, Munger PW, Alexander RT (2003) Design patterns and change proneness: an examination of five evolving systems. In: Berry M, Harrison W (eds) Proceedings of the 9th international software metrics symposium. IEEE Computer Society Press, pp 40–49
31.
Zurück zum Zitat Issaoui I, Bouassida N, Ben-Abdallah H (2012) A design pattern detection approach based on semantics. In: Proceedings of the the 10th international conference on software engineering research, management and applications (SERA2012) selected papers to appear in Studies in Computational Intelligence. Springer, Berlin Issaoui I, Bouassida N, Ben-Abdallah H (2012) A design pattern detection approach based on semantics. In: Proceedings of the the 10th international conference on software engineering research, management and applications (SERA2012) selected papers to appear in Studies in Computational Intelligence. Springer, Berlin
Metadaten
Titel
Using metric-based filtering to improve design pattern detection approaches
verfasst von
Imène Issaoui
Nadia Bouassida
Hanêne Ben-Abdallah
Publikationsdatum
01.03.2015
Verlag
Springer London
Erschienen in
Innovations in Systems and Software Engineering / Ausgabe 1/2015
Print ISSN: 1614-5046
Elektronische ISSN: 1614-5054
DOI
https://doi.org/10.1007/s11334-014-0241-3

Weitere Artikel der Ausgabe 1/2015

Innovations in Systems and Software Engineering 1/2015 Zur Ausgabe

SI:Theories & Tool Support for Software

Modeling and analysis of interactive telemedicine systems

Premium Partner