代码重复
Sign in to saveAlso known as duplicated code, code duplication
piece of source code that occurs more than once in the same environment
Wikidata facts
- Instance of
- code smell
- Subclass of
- source code
- Part of
- source code
Show 4 more facts
- Stack Exchange tag
- stackoverflow.com/tags/code-duplication
- different from
- redundant code
- has cause
- copy-and-paste programming
- has characteristic
- duplicate
Sources (1)
via Wikidata · CC0
Article · 中文
代码重复(英文:duplicate code,也叫代码克隆)在程序设计中表示一段源代码在一个程序,或者一个团体所维护的不同程序中重复出现,是不希望出现的现象。为避免巧合,只有一定数量的代码完全相同才能判定为代码重复。重複代碼的段落有時被稱為代碼克隆,自动检测代码重复的过程叫做克隆检测。
Abstract from DBpedia / Wikipedia · CC BY-SA