A Multiple Level Detection Approach for design patterns recovery from object- oriented programs
- Mohammad Al-Obeidallah(Author)
Student thesis:
Student thesis
Doctoral Thesis
About the thesis
Design patterns have a key role in software development process.<br/>They describe both structure and the behavior of classes and their<br/>relationships. Maintainers can benefit from knowing the design<br/>choices made during the implementation.<br/>This thesis presents a Multiple Level Detection Approach (MLDA)<br/>to recover design pattern instances from the Java source code.<br/>MLDA is able to recover design pattern instances based on a<br/>generated class-level representation of an investigated system.<br/>Specifically, MLDA presents what is the so-called Structural<br/>Search Model (SSM) which incrementally builds the structure of<br/>each design pattern based on the generated source code model.<br/>Moreover, MLDA uses a rule-based approach to match the<br/>method signatures of the candidate design instances to that of the<br/>subject system. As the experiment results illustrate, MLDA is able<br/>to recover 23 design patterns with a reasonable detection<br/>accuracy. Furthermore, this thesis presents a metrics-based<br/>approach to address the impact of design pattern instances on<br/>software understandability and maintainability. This approach<br/>classifies system classes into two groups: pattern classes and<br/>non-pattern classes. The experimental results show that pattern<br/>classes have better inheritance and size metrics than do nonpattern<br/>classes. Unfortunately, no safe conclusion can be drawn<br/>regarding the impact of design patterns on software<br/>understandability and maintainability, since non-pattern classes<br/>have better coupling and cohesion metrics than do pattern<br/>classes.
Thesis information
Thesis Award Date
01/2018Qualification Level
Doctoral ThesisOriginal Language
EnglishThesis Managed By
Supervisors
Stylianos Kapetanakis (Supervisor)
