Read our paper "Identification and Assessment of Software Design Pattern Violations" for more detials. https://fcihib.journals.ekb.eg/article_107517_62d89752f7d871844b0e5dd1601da4f5.pdf
This automated tool is free and available to download it from URL: https://drive.google.com/uc?id=1dGamIVv7nBXLJ-v39U3LE0vdPXmia-sX&export=download , then unzip the downloaded file.
There will be two folders named "pattern" and "Repository", as well executable Jar file named "dpvia", then follow the following instructions:
-
The DPVIA is able to detect pattern violations successfully of 7 design patterns (e.g. Simple Factory, Factory Method, Adapter, Decorator, Observer, State and Strategy), it offers the ability to define custom patterns by the developer. Any design pattern characteristics could be defined and added to folder that named "pattern".
-
The developer is able to set any Java project source code files on the folder called "Repository". As well, many projects can be examined at one time.
- Open the command line,
- Execute using command: java -jar dpvia.jar
Don't hesitate to contact me, if you have any question,
Email address: tamer@comp.nus.edu.sg
Tamer AbdElaziz Yassen.