NOTE: This page reflects the latest version of the APA Publication Manual (7th ed), which released in October 2019. If you require the previous version, please see APA Style (6th ed)
Browse APA Style & Grammar and APA Academic Writer
The Publication Manual of the American Psychological Association (6th ed.) does not contain examples of how to cite copied source code.
Useful websites for citing copied source code include:
When using code from an open source project, provide attribution for the source and follow the terms of any open source license that applies to the code. Keep in mind:
Computer Software, online |
Smith, J. (2011). GraphicsDrawer source code (Version 2.0) [Source code]. http://www.graphics drawer.com |
---|---|
Computer Software, hardcopy |
Comprehensive Meta-Analysis (Version 2) [Computer software]. Biostat. |
Citing Code in the Source Code Insert as a comment above the reused source code
|
**/ |
Find more examples from APA Academic Writer. (Click on +More Like This for a list of similar examples)
See chapter 10 of the Publication Manual.
Your professor may have different citing expectations than library staff. Always check at the beginning of term and before starting assignments that the citing rules you are using are appropriate for your class.