PROBLEM TO BE SOLVED: To provide a method of performing a method-level clone analysis using a code clone detection tool applied at a file level.;SOLUTION: A method-level clone analysis method includes the steps of: allocating an ID for uniquely identifying a method to each method defined in each of all source files within an analysis target folder to generate a method list while making the ID, a file path of each source file including the method, and positional information on the method in association with each other; dividing each of the source files into methods, and generating a method unit file on the basis of the method list, the method unit file being constituted by one method and having the ID as a file name, the method unit file being generated at a position of the same file path as that of the source file including the one method; and performing a clone analysis by applying a code clone detection tool applied at a file level to the generated method unit file, the steps being executed by a data processing apparatus.;COPYRIGHT: (C)2015,JPO&INPIT
展开▼