Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nirbelelti/program_analysis_final_project
https://github.com/nirbelelti/program_analysis_final_project
Last synced: about 23 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/nirbelelti/program_analysis_final_project
- Owner: nirbelelti
- Created: 2023-11-03T06:59:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-23T17:56:46.000Z (12 months ago)
- Last Synced: 2024-03-24T11:42:19.064Z (8 months ago)
- Language: JavaScript
- Size: 243 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Program Analysis Sequence Diagram
## use of the program
### Static Analysis
#### 1. Run the program
```bash
$ cd src
$ python3 static_sequence_diagram.py
```### Dynamic Analysis
#### 1. Run the program
```bash
$ cd src
$ python3 dynamic_sequens_diagram.py
```
#### 2. Run the test
```bash
$ cd tests
$ python3 test_call_method.py
$ python3 test_has_return_type.py```
## Use of plantuml
when you run the program, the program will generate a file called "sequence_diagram.puml" in the Diagrams folder.
You can use the plantuml site to generate the sequence diagram by uploading the file content or install plantuml addon on your idea.
you can find the plantuml site here: http://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000## Output files
### Static Analysis and Dynamic Analysis
the output files are located in the Diagrams folder,
the file name is MySequenceDiagram.puml for static analysis and MyDynamicSequenceDiagram.puml for dynamic analysis.## Chenge the input file
you can change the input file by changing the path in the main function in the static_sequence_diagram.py file and the dynamic_sequens_diagram.py file.