Author: Norbert Vígh
This project is a partial fulfillemnt of the Software Architecture 2022/23 course completion conditions at the Faculty of Informatics and Information Technologies of Slovak University of Technology in Bratislava, .
This is a simple code analyser for PHP.
It can be used to generate UML class diagrams in UXF format directly from the source code.
After the analysis, it is also possible to list all identified Design Patterns. For now, only Singleton and Composite are supported.
- Download the code analyser
- Run the code analyser by executing:
python3 main.py
- Select the PHP project directory
- Use one of the following commands:
diagram
: Generate the UML class diagram. After generating, open the generated UXF file in Umletinopatterns
: Identify the Design Patterns used in the PHP project. The result will be printed in the console.exit
: Exit the application.