copy-pasted code
nounUK /ˈkɒpi ˌpeɪstɪd kəʊd/
US /ˈkɑːpi ˌpeɪstɪd koʊd/
Code that someone copied from somewhere else and put into their own program.
The teacher spotted copy-pasted code in his project because the variable names didn't match the rest of his work.
RELATED WORDS
OTHER MEANINGS
2. Reused code taken from a tutorial or forum without fully understanding it.
Half the script was copy-pasted code from a blog post, so it broke when the library updated.
3. Identical blocks of code repeated in several places instead of being shared.
The reviewer asked her to refactor the copy-pasted code into a single function.
4. Code lifted from another project, sometimes raising licensing concerns.
The audit flagged copy-pasted code that came from a project with a different license.