期刊名称:International Journal of Innovative Research in Computer and Communication Engineering
印刷版ISSN:2320-9798
电子版ISSN:2320-9801
出版年度:2015
卷号:3
期号:9
DOI:10.15680/IJIRCCE.2015. 0309154 8794
出版社:S&S Publications
摘要:Software Systems are evolving by adding new functions and modifying existing functions over time. Through the evolution process, copy paste programming and other processes leads to duplication of data resulting in model clones or code clones. Since clones are believed to reduce the maintainability of software. Several code clone detection techniques and tools have been proposed. The process is automated by developing a tool that requires no parsing yet is able to detect a significant amo unt of code duplication. The existence of code clone will make system difficult to debug. In result will increase the cost of the product development and debug. We propose the use of roles to remove such clones since roles provide a finer degree of composition. We sketch four role refactoring to remove code clones and apply them in a case study using the outdraw framework. Results show that roles have a positive impact in clone reduction as they were able to remove almost all clones traditional refactoring could not.