Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

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.

Notifications You must be signed in to change notification settings

VighNorbert/php-codeanalyser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeanalyser for PHP

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, .

Description

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.

Installation and running

  1. Download the code analyser
  2. Run the code analyser by executing: python3 main.py
  3. Select the PHP project directory
  4. Use one of the following commands:
    1. diagram: Generate the UML class diagram. After generating, open the generated UXF file in Umletino
    2. patterns: Identify the Design Patterns used in the PHP project. The result will be printed in the console.
    3. exit: Exit the application.

About

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.

Topics

Resources

Stars

Watchers

Forks

Languages