CFP last date
20 December 2024
Reseach Article

A Study on the Nature of Code Clone Occurrence Predominantly in Feature Oriented Programming and the Prospects of Refactoring

by U. Devi, A. Sharma, N. Kesswani
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 141 - Number 8
Year of Publication: 2016
Authors: U. Devi, A. Sharma, N. Kesswani
10.5120/ijca2016909724

U. Devi, A. Sharma, N. Kesswani . A Study on the Nature of Code Clone Occurrence Predominantly in Feature Oriented Programming and the Prospects of Refactoring. International Journal of Computer Applications. 141, 8 ( May 2016), 39-44. DOI=10.5120/ijca2016909724

@article{ 10.5120/ijca2016909724,
author = { U. Devi, A. Sharma, N. Kesswani },
title = { A Study on the Nature of Code Clone Occurrence Predominantly in Feature Oriented Programming and the Prospects of Refactoring },
journal = { International Journal of Computer Applications },
issue_date = { May 2016 },
volume = { 141 },
number = { 8 },
month = { May },
year = { 2016 },
issn = { 0975-8887 },
pages = { 39-44 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume141/number8/24808-2016909724/ },
doi = { 10.5120/ijca2016909724 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-06T23:43:00.821522+05:30
%A U. Devi
%A A. Sharma
%A N. Kesswani
%T A Study on the Nature of Code Clone Occurrence Predominantly in Feature Oriented Programming and the Prospects of Refactoring
%J International Journal of Computer Applications
%@ 0975-8887
%V 141
%N 8
%P 39-44
%D 2016
%I Foundation of Computer Science (FCS), NY, USA
Abstract

In this position paper, it is tried to analyze the diverse type of code clones which is present and can easily be perpetuated in feature oriented programming. Along with that, a brief summary of the type of code clones and the use of Refactoring methodologies and tools which is effectively known to remove the problem of code clones is also discussed. The main observation that is made in this paper is the various type of code clones which are present in FOP. Through this discussion, it is intended to draw the attention to the various ways in which code clones could propagate and how important it is to curb it at the initial stages to reduce the complexities.

References
  1. S. Schulze.”Analysis and Removal of Code Clones in Software Product Lines”. Dissertation. University of Magdeburg, 2012.
  2. S. Schulze, O. Richers, and I. Schaefer. “Refactoring delta-oriented software product lines”. In AOSD. pp. 73-84. ACM, 2013.
  3. S. Schulze, S. Apel and C. Kästner. “Code Clones in Feature-Oriented Software Product Lines”. In Proceedings of the 9th International Conference on Generative Programming and Component Engineering (GPCE) (Eindhoven, The Netherlands), New York, NY, USA. pp. 103-112. ACM Press, October 2010.
  4. Balwinder Kumar, Dr. Satwinder Singh, “Code clone detection and Analysis using Software Metrics and Neural Network- A Literature Review”, In IJCST, Volume 3, issue 2, March-April 2015.
  5. M. Fowler. “Refactoring: Improving the Design of Existing Code”. Addison-Wesley, 1st Edition. USA, 2000.
  6. C. K. Roy, J. R. Cordy, and R. Koschke, “Comparison and evaluation of code clone detection techniques and tools: a qualitative approach,” In Science of Computer Programming. Volume. 74, no. 7. pp. 470–495. 2009. Special Issue on Program Comprehension (ICPC 2008).
  7. C.K. Roy and J.R. Cordy, “A survey on software clone detection research,” Queen’s Technical Report: 541. , page 115. 2007.
  8. http://www.ccfinder.net/ccfinderx.html
  9. E. Murphy-Hill and A. P. Black, “Refactoring Tools: Fitness for Purpose,” In IEEE Softw.. Volume. 25, no. 5. pp. 38–44. 2008
  10. S. Schulze, T. Thum, M. Kuhlemann, and G. Saake. “Variant-preserving refactoring in feature-oriented software product lines”. In VaMoS. pp 73-81. ACM, 2012.
  11. William F. Opdyke, “Refactoring Object-Oriented Frameworks,” PhD thesis, University of Illinois, Urbana-Champaign. 1992. Tech. Report UIUCDCS-R-92-1759
  12. N. Kumari and A. Saha, “Effect of Refactoring on Software Quality,” InFourth International Conference on Advances in Computing and Information Technology ( ACITY 2014 ). Delhi ,India. May 2014.
  13. Bart Du Bois, P. V. Gorp, A. Amsel, N. V. Eetvelde, H. Stenten, S. Demeyer, and T. Mens, “ A discussion of refactoring in research and practice,” Technical report. University of Antwerp. January 2004.
  14. Y. Higo, T. Kamiya, S. Kusumoto, and K. Inoue, “Refactoring support based on code clone analysis,” In Proc. of the Product Focused Software Process Improvement Int’l Conference. pp. 220–233. 2004.
  15. E. Kodhai and S. Kanmani, “Method-Level Code Clone Modification using Refactoring Techniques for Clone Maintenance,”In Advanced Computing: An International Journal ( ACIJ ). Vol.4, no.2. March 2013.
  16. D. G. Devi and Dr.M.Punithavalli, “Comparison and evaluation on metrices based approach for detecting code clone,” In Indian Journal of Computer Science and Engineering (IJCSE).
  17. G Singh and N. Kohli ,”Evaluating the effect of code clones on software maintenance cost,” In Apeejay Journal of Computer Science and Applications. 2014.
  18. http://dpt.kupin.de/
  19. http://jrefactory.sourceforge.net/
  20. http://www.eclipse.org/
  21. http://www.semdesigns.com/Products/Clone/.
  22. http://www.intellij.com/idea/
  23. http://www.instantiations.com/jfactor/
  24. http://www.refactorit.com/
  25. http://www.xref-tech.com/xrefactory/
Index Terms

Computer Science
Information Sciences

Keywords

Code clones Refactoring Code Clone metrics Code clones in FOP and OOP