Open Access   Article Go Back

Various Methods for Measuring Similarity and Code Clone Detection

Gagandeep Kaur1 , Bikrampal Kaur2

Section:Review Paper, Product Type: Journal Paper
Volume-4 , Issue-8 , Page no. 81-84, Aug-2016

Online published on Aug 31, 2016

Copyright © Gagandeep Kaur , Bikrampal Kaur . This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

View this paper at   Google Scholar | DPI Digital Library

How to Cite this Paper

  • IEEE Citation
  • MLA Citation
  • APA Citation
  • BibTex Citation
  • RIS Citation

IEEE Style Citation: Gagandeep Kaur , Bikrampal Kaur, “Various Methods for Measuring Similarity and Code Clone Detection,” International Journal of Computer Sciences and Engineering, Vol.4, Issue.8, pp.81-84, 2016.

MLA Style Citation: Gagandeep Kaur , Bikrampal Kaur "Various Methods for Measuring Similarity and Code Clone Detection." International Journal of Computer Sciences and Engineering 4.8 (2016): 81-84.

APA Style Citation: Gagandeep Kaur , Bikrampal Kaur, (2016). Various Methods for Measuring Similarity and Code Clone Detection. International Journal of Computer Sciences and Engineering, 4(8), 81-84.

BibTex Style Citation:
@article{Kaur_2016,
author = { Gagandeep Kaur , Bikrampal Kaur},
title = {Various Methods for Measuring Similarity and Code Clone Detection},
journal = {International Journal of Computer Sciences and Engineering},
issue_date = {8 2016},
volume = {4},
Issue = {8},
month = {8},
year = {2016},
issn = {2347-2693},
pages = {81-84},
url = {https://www.ijcseonline.org/full_paper_view.php?paper_id=1037},
publisher = {IJCSE, Indore, INDIA},
}

RIS Style Citation:
TY - JOUR
UR - https://www.ijcseonline.org/full_paper_view.php?paper_id=1037
TI - Various Methods for Measuring Similarity and Code Clone Detection
T2 - International Journal of Computer Sciences and Engineering
AU - Gagandeep Kaur , Bikrampal Kaur
PY - 2016
DA - 2016/08/31
PB - IJCSE, Indore, INDIA
SP - 81-84
IS - 8
VL - 4
SN - 2347-2693
ER -

VIEWS PDF XML
1472 1368 downloads 1326 downloads
  
  
           

Abstract

Code clones means duplicate fragments of source code, have been identified as “a major source of faults, which means that duplicating can be a considerable problem during development and maintenance”. As a consequence, a large body of planned has been industrialized on how to prevent, or spot and remove code clones. The problem with code clones is that they are related only by their resemblance, i.e., implicitly rather than explicitly which makes it difficult to notice them. Therefore, changes like promotions or patches that are often meant to affect all clones in a similar way are frequently not applied to all of them uniformly. Code clone helps the developers from probable mistakes, to save time and exertion in planning the logic, to help in decoupling of classes or components and more important it reduces development cost. But identical code is generally considered as unwanted for number of reasons. Introduction of bad design and lack of good legacy structure or concept may be caused due to code clones. Probably the biggest problem in model clone detection is defining exactly what a model clone is just as for code clones a small part of a domain model of the “Library Management System”.

Key-Words / Index Term

Code Clone, Source Code, Duplicate Fragments, Problems And Domain Model

References

[1] Störrle, Harald. "Effective and Efficient Model Clone Detection." Software, Services, and Systems. Springer International Publishing, 2015. 440-457.
[2] Chen, Jian, et al. "Detecting Android Malware Using Clone Detection."Journal of Computer Science and Technology 30.5 (2015): 942-956.
[3] Wyss-Coray, Anton, et al. "Biomarkers of aging for detection and treatment of disorders." U.S. Patent Application No. 13/575,437.
[4] Ritu garg, et al. "Code Clone v/s Model Clones: Pros and Cons." International Journal of Computer Applications (0975 – 8887) Volume 89 – No 15, March 2014.
[5] Patil, Ritesh V., et al. "Software code cloning detection and future scope development-Latest short review." Recent Advances and Innovations in Engineering (ICRAIE), 2014. IEEE, 2014.
[6] B. Baker. “Finding Clones with Dup: Analysis of an Experiment." IEEE Transactions on Software Engineering. vol. 33. no. 9. pp. 608-621. 2007.
[7] B. Baker. "On Finding Duplication and Near-Duplication in Large Software Systems", in Proceedings of the Second U’orking Conference on Reverse Engineering (WCRE 195). pp. 86-95. Toronto. Ontario. Canada. July 1995.
[8] C .K. Roy. J.R. Cordy and R. Koschke, “Comparison and Evaluation of Code Clone Detection Techniques and Tools: A Qualitative Approach." Science of Computer Programming, vol.74. no. 7. pp. 470-495. May 2009.
[9] Chao Liu. Chen ChenJiawei Han and Philip S. Yu.,"GPLAG: Detection of Software Plagiarism by Program Dependence Graph Analysis", In the Proceedings of the 13”’ ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. pp. 872-881. Philadelphia. USA. August 2006.
[10] EttoreMerlol. "Detection of Plagiarism in University Projects Using Metrics- based Spectral Similarity." In the Dagsmhl Seminar: Duplication, Redundancy, and Similaritv in Software. 2007.