Research Article

Classifying Obstructive and Nonobstructive Code Clones of Type I Using Simplified Classification Scheme: A Case Study

Table 1

Code clone classification attributes.

AttributeValuesMapping to classification by Kapser and Godfrey [19]

SeverityObstructive/
not obstructive
N/A

Location/type of codeProduct/
Test/
Target environment/
Simulation environment/
Platform specific code
Customization

Hardware variations (type of forking)
Experimental variations (type of forking)
Platform variations (type of forking)

SourceCoding guidelines/
Templates/
Unknown
General language or algorithmic idioms (templating)

Target actionRemove/
Leave as-is/
Refactor1
N/A

The target action “Refactor” was recognized after the study was completed and therefore it is not part of the results presented in the paper.