Generic code Cloning method for detection of Clone code in software Development

The major part of risk the development of software or programs is existence of duplicate code that can affect the software maintainability. The main aim of Clone identification technique is to search and detect the parts of the software code which is identical. In the passed there are various techniques that are used to identify and reflect the code identity and code fragments. Code cloning reduces the time and effort of the software developer but it also decreases the quality of the software like readability, changeability and increases maintainability. So, code clone has to be detected to reduce the cost of maintenance to some extent. In this paper, a new Generic technique is purposed to detect code clone from various input source codes (from web, disk and etc.,) by segmenting the code into number of sub-programs or modules or functions. I propose a technique that can detect 1-type, 2-type, 3-type and 4-type clones efficiently.