Detecting design patterns in Java bytecode

OData support
Dr. Kővári Bence András
Department of Automation and Applied Informatics

Nowadays the emphasis on information technologies and specifically on software engineering is increasing. Program codes are becoming longer and more difficult, which means that maintenance as well as development are going to be bigger tasks in the future. This is not a negligible factor to the developers.

Luckily the software development tools and methodologies are follow this trend, so program making and development aren’t become an unimaginable challenge in the future. Design patterns are one of these tools.

Today in the world of programming we can differentiate a lot of design patterns. Every single pattern offers general solution to a specific problem. Adaptation of these patterns makes the code simpler, in this way it helps the process of development and the completed program maintenance.

The target of my task was a writing of a software that can distinguish a chosen design pattern or a little part of it and can also marks the conformances and the differences in the results.

I made this program with the Eclipse developer environment in Java code. I edited the design patterns with the Papyrus UML editor which generates XML files that my program reads as the search pattern. For the Java source-code I used the pervading JUnit test framework. Finally to verify my work, I compared my results with other sources in the literature.


Please sign in to download the files of this thesis.