摘要 |
<P>PROBLEM TO BE SOLVED: To shorten a coverage measuring time. <P>SOLUTION: A coverage measuring apparatus comprises a compiler section, an execution environment section and a coverage calculation section. The compiler section generates a first object code from a program subjected to measuring coverage and inserts, into the first object code, an instruction of shift to code rewriting processing for rewriting a present instruction into a non-arithmetic instruction when the present instruction is executed. The execution environment section executes the first object code and generates a second object code. The coverage calculation section calculates the coverage of the program subjected to measuring the coverage on the basis of the first object code and the second object code. <P>COPYRIGHT: (C)2013,JPO&INPIT |