Skip to main content
. Author manuscript; available in PMC: 2019 Aug 22.
Published in final edited form as: Ann Intern Med. 2018 Feb 6;168(11):832–833. doi: 10.7326/M17-2863

Table 1.

Assessment of code of 16 published articles.

Domain Score N
Are codes well annotated? Extensive annotation such that one could substantially recreate the code using the annotations. 0
Moderate annotation such that one could recreate of at least some code on the basis of the annotations. 2
Little or no annotation. 14
Does the code avoid repetition? Good use of loops and macros such that there is little or only trivial repeated code. 0
Moderate amount of repeated code (about 10 lines or fewer). 0
No use of loops or macros and extensive repetition of code (10 lines or more). 15
Not applicable; no opportunity for repeated code. 1
Does the code include formatting for presentation? Markup language or other techniques used to generate formatted output provided for all or almost all of a paper’s results. 3
Markup language or other techniques used to generate formatted output need non-trivial amendment or many results not formatted. 5
No formatted output. 8