Patent ID: 8171496

Claim:
A computer readable recording medium storing a program evaluation program for making a computer evaluate an evaluation target program according to operations comprising: extracting an external variable used by a target module of the evaluation target program; calculating a first parameter indicating an impact of the target module of the evaluation target program has on outside of the target module, based on an execution log of the evaluation target program; calculating a second parameter regarding a power consumption by executing the target module based on the execution log; evaluating the evaluation target module based on the first and the second parameters; and outputting an evaluation result, wherein the execution log is generated by: acquiring a target address per instruction by executing the evaluation target program before the calculation of the first parameter, detecting an instruction of writing or reading the external variable based on the instruction and a condition of the external variable set as the target address of the instruction, and generating the execution log including the detection of the writing or reading to the external variable, and the calculating of the first parameter accumulates a given additional value per a write or read instruction of the external variable and sets an accumulation result as the first parameter of the target module.