摘要 |
PROBLEM TO BE SOLVED: To provide an apparatus and method for testing code clones that efficiently tests code-cloned source codes. SOLUTION: A server 100 has a source code file 2, a code clone output file 3, a test result file 4 and a code clone merging file 7, and includes a data setting part 8, a code clone detection/merge processing part 9 and a test result setting part 10 as function blocks implemented by hardware resources in the server 100. The code clone detection/merge processing part 9 detects and merges code clone sets in software source programs stored in the source code file 2. The test result setting part 10 tests one code clone in the detected code clone set, and sets test case numbers to the tested source code lines to indicate that the entire code clone set has been tested. COPYRIGHT: (C)2009,JPO&INPIT
|