Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soodoku/not_to_code
Static Code Analysis of Replication Files
https://github.com/soodoku/not_to_code
Last synced: 13 days ago
JSON representation
Static Code Analysis of Replication Files
- Host: GitHub
- URL: https://github.com/soodoku/not_to_code
- Owner: soodoku
- Created: 2023-07-22T20:01:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-23T21:07:32.000Z (over 1 year ago)
- Last Synced: 2024-10-11T12:17:03.773Z (27 days ago)
- Language: R
- Size: 15.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Not to Code: Evidence From Static Code Analysis of Replication Scripts
Using replication files I downloaded [here](https://github.com/recite/softverse), I run some static code analysis using [lintr](https://lintr.r-lib.org/).
For R files in the replication archives of AJPS articles posted to Harvard Datavaerse, the statistics are somewhat grim.
```
> median(lint_results$style, na.rm = T)
[1] 156> mean(lint_results$warning, na.rm = T)
[1] 5.866562> mean(lint_results$error, na.rm = T)
[1] 0.005756149
```## Scripts
* [Scripts](scripts/)