Application modification portion searching device and application modification portion searching method
AssigneeNEC Corporation
InventorKenji Soejima
Life of this patent
Estimating the term…
Abstract
There are provided: a test executing section which generates a plurality of logs when executing a coverage test for an application based on an inputted parameter; and a result processing section which generates a point candidate report based on the plurality of logs. The plurality of logs respectively indicate a call stack of a method designating the parameter as an argument among a plurality of methods called during execution of the coverage test. The call stack indicates a location on the application, in which a call of the method is defined. The point candidate report indicates a candidate for a point in the application, for which a modification is necessary when a dispatch of process is executed based on the parameter.
Claims7
An application modification portion searching device comprising:
- a test executing section which generates a plurality of logs when executing a coverage test for an application based on an inputted parameter;
- and
- a result processing section which is executed by a processor and which generates a point candidate report based on said plurality of logs,
- wherein said plurality of logs respectively indicate a call stack of a method designating said parameter as an argument among a plurality of methods called during execution of said coverage test,
- said call stack indicates a location in said application, at which a call of said method is located, and
- said point candidate report indicates a candidate for a point in said application, for which a modification is necessary when a dispatch of process is executed based on said parameter,
- wherein said test executing section includes:
- an aspect processing section which generates a program logic based on said parameter;
- an execution engine section which applies said program logic to said application;
- an input-output verifying section which evaluate based on said program logic whether
- said parameter appears as an argument of each method of said application when said each method is called;
- and
- a log extracting section which generates said log based on a call stack of said each method when said parameter appears as an argument of said each method, and
- wherein said result processing section includes:
- a process stack analyzing section which extracts a plurality of extraction logs from said plurality of logs;
- and
- a report generating section which generates said point candidate report based on said plurality of extraction logs,
- wherein a plurality of candidates indicated by said point candidate report correspond to said plurality of extraction logs;
- and
- a candidate corresponding to a single log among said plurality of candidates indicates a deepest call among call stacks indicated by said single log.
An application modification portion searching method comprising:
- generating a plurality of logs when executing a coverage test for an application based on an inputted parameter;
- generating a point candidate report based on said plurality of logs;
- and customizing said application based on said point candidate report,
- wherein said plurality of logs respectively indicate a call stack of a method designating said parameter as an argument among a plurality of methods called during execution of said coverage test,
- said call stack indicates a location in said application, at which a call of said method is located,
- said point candidate report indicates a candidate for a point in said application, for which a modification is necessary when a dispatch of process is executed based on said parameter,
- generating a program logic based on said parameter;
- applying said program logic to said application;
- evaluating based on said program logic whether said parameter appears as an argument of each method of said application when said each method is called;
- generating said log based on a call stack of said each method when said parameter appears as an argument of said each method,
- extracting a plurality of extraction logs from said plurality of logs;
- and
- generating said point candidate report based on said plurality of extraction logs, wherein a plurality of candidates indicated by said point candidate report correspond to said plurality of extraction logs;
- and
- a candidate corresponding to a single log among said plurality of candidates indicates a deepest call among call stacks indicated by said single log.
A computer-readable non-transitory recording medium in which a computer-executable program code is recorded for realizing an application modification portion searching method, the method comprising:
- generating a plurality of logs when executing a coverage test for an application based on an inputted parameter;
- generating a point candidate report based on said plurality of logs;
- and
- customizing said application based on said point candidate report,
- wherein said plurality of logs respectively indicate a call stack of a method designating said parameter as an argument among a plurality of methods called during execution of said coverage test,
- said call stack indicates a location in said application, at which a call of said method is located,
- said point candidate report indicates a candidate for a point in said application, for which a modification is necessary when a dispatch of process is executed based on said parameter,
- generating a program logic based on said parameter;
- applying said program logic to said application;
- evaluating based on said program logic whether said parameter appears as an argument of each method of said application when said each method is called;
- generating said log based on a call stack of said each method when said parameter appears as an argument of said each method,
- extracting a plurality of extraction logs from said plurality of logs;
- and
- generating said point candidate report based on said plurality of extraction logs, wherein a plurality of candidates indicated by said point candidate report correspond to said plurality of extraction logs;
- and
- a candidate corresponding to a single log among said plurality of candidates indicates a deepest call among call stacks indicated by said single log.
Dependencies are inferred from the claim text.