Skip to article frontmatterSkip to article content

Code review can help increase the accuracy of results, improve usability and maintainability of code, and is a great opportunity to learn. For a more detailed overview of motivations for Code Review, please see the Code Reviewing Process.

The most important questions during code review are:

Code does not have to be perfect - it has to work, be accompanied with sufficient documentation and be maintainable if this is needed.

The online sustainability evaluation provided by the Software Sustainability Institute can help address issues that affect the sustainability of the software.

Code review in ReproHack style

This is more applicable when you’re reviewing the code underlying a research article.

1. Access

2. Installation

3. Documentation Does the documentation contain information on:

4. Reproduction

If you are not able to reproduce the article:

5. User perspective

6. Acknowledge the effort from authors and give them feedback in good faith. Also tell them what they did well!

CODECHECK

CODECHECK provides a workflow, guidelines and tools to evaluate computer programs underlying scientific papers. If you want to get involved as a codechecker in the community, or if you want to apply the CODECHECK principles in your journal or conference, please take a look at the Get Involved page.

Code Review of research software

Please see the Code Reviewing Process chapter for more details when reviewing software as a primary research output, which includes a checklist for code review process

Resources

Journal, conference and archive guidelines

Teaching Code Review

Sharing Code Review Experiences

References
  1. Belliard, F., Rusne Sileryte, Graser, A., Broman, K., Teperek, M., Granell, C., Hofer, B., Ostermann, F., Wang, Y., Nüst, D., Hettne, K., & Clare, C. (2019). AGILE Reproducible Paper Guidelines. 10.17605/OSF.IO/CB7Z8