-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
오원석
authored and
오원석
committed
Sep 10, 2024
1 parent
037f40a
commit 2f55b9b
Showing
6 changed files
with
114 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
### Structure | ||
|
||
```bash | ||
Pyinder | ||
├── client | ||
│ ├── pyre.py # Command line interface for Pyinder | ||
│ ├── ... | ||
├── source | ||
│ ├── analysis # Analysis module for Pyinder | ||
│ │ ├── ... | ||
│ ├── ... | ||
│ ├── command | ||
│ │ ├── mineCommand.ml # Start point of Pyinder | ||
│ │ ├── ... | ||
│ └── ... | ||
├── ... | ||
``` | ||
|
||
We provide a brief description of the core parts of Pyinder. | ||
`pyre.py` is the command line interface for Pyinder. | ||
`mineCommand.ml` is the start point of Pyinder to run the analysis. | ||
`analysis` contains the analysis module for Pyinder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
### Structure | ||
|
||
```bash | ||
configuration | ||
├── bugsinpy_repo.json # GitHub repositories and their commit id for bugsinpy | ||
├── config # Configuration files for all benchmark projects | ||
│ ├── bugsinpy # Configuration files for bugsinpy | ||
│ │ ├── ansible-1 | ||
│ │ │ ├── .pyre_configuration # Configuration file for Pyinder and pyre | ||
│ │ │ ├── mypy.ini # Configuration file for mypy | ||
│ │ │ ├── pyrightconfig.json # Configuration file for pyright | ||
│ │ │ └── pytype.cfg # Configuration file for pytype | ||
│ │ ├── ansible-2 | ||
│ │ │ ├── ... | ||
│ │ ├── ... | ||
| ├── excepy # Configuration files for excepy | ||
│ │ ├── ... | ||
│ ├── pyinder # Configuration files for Pyinder | ||
│ │ ├── ... | ||
├── download_repo.py # The script to download repositories | ||
├── excepy_repo.json # GitHub repositories and their commit id for excepy | ||
├── setting_config.py # The script to set the configuration for evaluation | ||
└── typebugs_repo.json # GitHub repositories and their commit id for typebugs | ||
``` | ||
|
||
### Options | ||
|
||
`download_repo.py` and `setting_config.py` have the option **`--project`**. | ||
The option **`--project`** denotes the project name to analyze. | ||
| Option | Description | | ||
|:------:|:------------| | ||
| `--project` | Set the project name to analyze. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
### Structure | ||
|
||
```bash | ||
eval | ||
├── check_alarm.py # show the number of alarms by each tool | ||
├── check_correct.py # show the number of detecting type errors by each tool | ||
├── check_time.py # show the time taken by each tool | ||
├── cloc.py # run cloc to check the per kloc results | ||
└── draw_venn.py # draw the venn diagram of the results | ||
``` | ||
|
||
### Options | ||
|
||
`check_alarm.py`, `check_correct.py`, and `check_time.py` have the option **`-p`** or **`--project`**. | ||
The option **`-p`** or **`--project`** denotes the project name to analyze. | ||
| Option | Description | | ||
|:------:|:------------| | ||
| `-p` or `--project` | Set the project name to analyze. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
### Structure | ||
|
||
```bash | ||
run | ||
├── change_core_async.py # change the async keyword for old version of core project | ||
├── filter_error.py # extract only the type errors from the results | ||
├── mypy_change_json.py # change the result log file to json file for mypy | ||
├── mypy_run.py # run mypy with the project | ||
├── pyinder_change_json.py # change the result log file to json file for Pyinder | ||
├── pyinder_run.py # run Pyinder with the project | ||
├── pyre_change_json.py # change the result log file to json file for pyre | ||
├── pyre_run.py # run pyre with the project | ||
├── pyright_run.py # run pyright with the project | ||
├── pytype_change_json.py # change the result log file to json file for pytype | ||
├── pytype_run.py # run pytype with the project | ||
├── run.sh # script to run Pyinder (please use `pyinder_run.py` instead) | ||
├── run_mypy.sh # script to run mypy (please use `mypy_run.py` instead) | ||
├── run_pyre.sh # script to run pyre (please use `pyre_run.py` instead) | ||
├── run_pyright.sh # script to run pyright (please use `pyright_run.py` instead) | ||
└── run_pytype.sh # script to run pytype (please use `pytype_run.py` instead) | ||
``` | ||
|
||
### Options | ||
|
||
`mypy_run.py`, `pyinder_run.py`, `pyre_run.py`, and `pytype_run.py` have the option **`-p`** or **`--project`**. | ||
The option **`-p`** or **`--project`** denotes the project name to analyze. | ||
| Option | Description | | ||
|:------:|:------------| | ||
| `-p` or `--project` | Set the project name to analyze. | |