You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the GitHub project's test suites without DyLin to get test suite coverage (used in RQ4):
58
+
Run DyLin on a Kaggle competition:
56
59
```bash
57
-
bash build_testcov.sh
58
-
bash run_all_testcov.sh
60
+
bash build_kaggle.sh<kaggle competition id: e.g. titanic>
61
+
bash run_kaggle.sh
59
62
```
60
-
Results will be in `project_testcovs`.
61
-
For each repository a directory is created with a json file containing the detailed test coverage data.
63
+
Results will be in `kaggle_results`.
64
+
For each competition a directory is created with 3 subdirectories:
65
+
-`coverage`, which contains analysis coverage information in a json file.
66
+
-`submissions`, which contains the submissions analyzed by DyLin.
67
+
-`table`, which contains the findings in a json file.
62
68
63
-
To calculate the ratio of analysis coverage to test coverage you can run
64
-
```bash
65
-
python scripts/coverage_report.py coverage_comparison --analysis_dir <path to the subdirectory in project_results> --test_dir <path to the subdirectory in project_testcovs>
66
-
```
67
-
This generates a csv file with a summary of analysis and test coverage similar to `Supplementary_Material_FSE2025/DyLin - FSE 2025 Artifact.pdf` page 1.
69
+
### RQ2: Severity of Detected Issues
70
+
The submitted pull requests and issues are available in `Supplementary_Material_FSE2025/DyLin Issues - *.pdf`
68
71
69
-
Run static linters on GitHub projects (RQ3):
72
+
### RQ3: Comparison with Existing Tools
73
+
Run static linters on GitHub projects:
70
74
```bash
71
75
bash build_lint.sh
72
76
bash run_all_linters.sh
@@ -79,13 +83,22 @@ python scripts/compare_static_dynamic_linters.py --static_dir <path to the direc
79
83
```
80
84
This will output all lines that both approaches have warned about.
81
85
82
-
Run DyLin on a Kaggle competition (RQ1):
86
+
### RQ4: Analysis Coverage
87
+
Run DyLin with analysis coverage on:
83
88
```bash
84
-
bash build_kaggle.sh <kaggle competition id: e.g. titanic>
85
-
bash run_kaggle.sh
89
+
bash build_projects.sh
90
+
bash run_all_with_cov.sh
86
91
```
87
-
Results will be in `kaggle_results`.
88
-
For each competition a directory is created with 3 subdirectories:
89
-
- `coverage`, which contains analysis coverage information in a json file.
90
-
- `submissions`, which contains the submissions analyzed by DyLin.
91
-
- `table`, which contains the findings in a json file.
92
+
Run the GitHub project's test suites without DyLin to get test suite coverage:
93
+
```bash
94
+
bash build_testcov.sh
95
+
bash run_all_testcov.sh
96
+
```
97
+
Results will be in`project_testcovs`.
98
+
For each repository a directory is created with a json file containing the detailed test coverage data.
99
+
100
+
To calculate the ratio of analysis coverage to test coverage you can run
101
+
```bash
102
+
python scripts/coverage_report.py coverage_comparison --analysis_dir <path to the subdirectory in project_results> --test_dir <path to the subdirectory in project_testcovs>
103
+
```
104
+
This generates a csv file with a summary of analysis and test coverage similar to `Supplementary_Material_FSE2025/DyLin - FSE 2025 Artifact.pdf` page 1.
0 commit comments