摘要 |
PROBLEM TO BE SOLVED: To efficiently and correctly evaluate and analyze clone codes by selecting clone codes to be evaluated, while preventing excessive detection. SOLUTION: A detection table creation unit 102 registers in a detection table pieces of interval information for predetermined unit data in a file from which clone codes are to be detected, and registers in the detection table pieces of interval information for the predetermined unit data in a file to be compared with the file from which the clone codes are to be detected. If the pieces of interval information between the predetermined unit data in the detection table meet predetermined requirements, a simple clone coupling unit 103 couples together the corresponding pieces of interval information in the detection table for each file. A clone coupling unit 104 extracts the pieces of interval information in the detection table and registers them in a clone code table. A clone code analysis unit 208 evaluates the degree of effect on the quality of files based on the pieces of interval information registered in the clone code table. COPYRIGHT: (C)2011,JPO&INPIT |