Department of Computer Science, Graduate School of Information Science & Technology, Osaka University 1
Similar code fragment
A code fragment that has similar part to it in source
code
introduced in source code because of various reasons.
e.g. “copy-and-paste”
makes software maintenance difficult.
Similar code fragment CF1 If CF1 is defective… It is necessary to check a2. It is necessary to check CF2 and CF3 CF2 CF3 Source file Source file