Author's Last Name, First Name Initial. Second Initial if given. (Year of Publication). Title of program: Subtitle, if given (Version) [Source code]. Publisher. URL, if online
In-text: (Author's Last Name, Year)
Smith, J. (2011). GraphicsDrawer source code (Version 2.0) [Source code]. http://www.graphics drawer.com
In-text: (Smith, 2011)
Comprehensive Meta-Analysis (Version 2) [Computer software]. (n.d.). Biostat.
In-text: (Comprehensive Meta-Analysis, n.d.)
When reusing code from an existing open source project, follow the terms of any open source license that applies to the code. Keep in mind:
To clearly identify the code copied or adapted from another project in your source code, insert the citation information above the reused code. For example:
**/
* Title: GraphicsDrawer source code
* Author: Smith, J
* Date: 2011
* Code version: 2.0
* Availability: http://www.graphicsdrawer.com
*
**/
Additional guidance for programmers when citing source code include: