Open Access Open Access  Restricted Access Subscription Access

Detection of Gapped Code Clones Using Solid SDD Tool


Affiliations
1 GZS, Punjab technical University, Bathinda, Punjab, India
2 YCOE, Punjabi University campus Talwandi sabo, Punjab, India
 

Code duplication or copying a code fragment and then reuse by pasting with or without any modifications is a well known code smell in software maintenance. Several studies show that about 5% to 20% of a software systems can contain duplicated code, which is basically the results of copying existing code fragments and using then by pasting with or without minor modifications.. Since developers usually modify the copied-and-pasted code portions, there are some gaps between the original code portion and it. Here, we call such code portions include some gaps Gapped code clone. Up to the present, several code clone detection methods, which give consideration to such gap, have been proposed. However, it needs a lot of cost to detect all the gapped code clones. This paper proposes a new method to visualize the gapped code clones just as if they were actually detected, based on the detection results of conventional code clone using Solid SX and Solid SDD tool.

Keywords

Software Maintenance, Gapped Code Clone, Solid SX, solid SDD Tool.
User
Notifications
Font Size

Abstract Views: 149

PDF Views: 0




  • Detection of Gapped Code Clones Using Solid SDD Tool

Abstract Views: 149  |  PDF Views: 0

Authors

Prabhjot Kaur
GZS, Punjab technical University, Bathinda, Punjab, India
Rupinder kaur
YCOE, Punjabi University campus Talwandi sabo, Punjab, India

Abstract


Code duplication or copying a code fragment and then reuse by pasting with or without any modifications is a well known code smell in software maintenance. Several studies show that about 5% to 20% of a software systems can contain duplicated code, which is basically the results of copying existing code fragments and using then by pasting with or without minor modifications.. Since developers usually modify the copied-and-pasted code portions, there are some gaps between the original code portion and it. Here, we call such code portions include some gaps Gapped code clone. Up to the present, several code clone detection methods, which give consideration to such gap, have been proposed. However, it needs a lot of cost to detect all the gapped code clones. This paper proposes a new method to visualize the gapped code clones just as if they were actually detected, based on the detection results of conventional code clone using Solid SX and Solid SDD tool.

Keywords


Software Maintenance, Gapped Code Clone, Solid SX, solid SDD Tool.