Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/)