clonedcode
nounUK /kləʊnd kəʊd/
US /kloʊnd koʊd/
Code that is copied from somewhere else instead of being written fresh.
The teacher spotted clonedcode in two students' projects because the comments were identical.
RELATED WORDS
OTHER MEANINGS
2. A second copy of a program made by cloning a repository.
She pushed the clonedcode to her own branch before making changes.
3. Identical blocks of code repeated in many places, often a sign of poor design.
The reviewer flagged the clonedcode and asked for a shared helper function.
4. Code produced by an automated tool that copies an existing program's behavior.
The migration tool generated clonedcode that still called the old API.