Code clones are similar programs structure recurring in variant forms in software. It is one of the factors that degrades the design and structure of software. It is considered as bad practice that complicates the maintenance and evolution of software. A code detector is trying to detect parts of code which have high similarities in the system source text. The tools supports which may be needed to identify the actual clone and detector will compare every possible clone. Detection of clones helps in design of the system for better maintenance.