期刊名称:International Journal of Innovative Research in Computer and Communication Engineering
印刷版ISSN:2320-9798
电子版ISSN:2320-9801
出版年度:2016
卷号:4
期号:2
页码:2131
DOI:10.15680/IJIRCCE.2016.0402068
出版社:S&S Publications
摘要:A research [1] says "as a program evolves, it becomes more complex, and extra resources are needed to preserve and simplify its structure". Basically, the main reason for the occurrence of clones is copy-paste practice since it is easier to write an already developed code and make some changes in it rather than writing it from scratch, if the implementation is almost similar. Software maintenance is the longest and crucial stage of the software lifecycle, since in order to fulfilthe requirements of the user, the systemneeds to be updated andbugs should be fixed timely. [2] So software evolution is the critical phase of the software maintenance. [3,4] found that due to maintenance more than half time is consumed almost 40% of effort is done on enhancements and extensions in the evolution phase. So, if the cloned codes can be identified correctly than the cost and effort of software development can be reduced to a much lower extent.This paper extends the clone chunk extraction algorithm given in [9] by using the ANTLR grammar thereby giving the view in chain view. Along with this the algorithm provides various statistics so that the programmer can decide whether he want to check the code for cloning or not
关键词:Software maintenance; Clone chunk; ANTLR; open sourcesystem