×

Method and apparatus for debugging, verifying and validating computer software

  • US 6,173,440 B1
  • Filed: 05/27/1998
  • Issued: 01/09/2001
  • Est. Priority Date: 05/27/1998
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of locating a source failure test point among a plurality of test points in a computer program, the source failure test point having a greatest probability of being an originating source of failure among the plurality of test points, the method comprising the following steps:

  • ranking the plurality of test points in the computer program in accordance with an order of execution and a data dependency of each of the plurality of test points, to thereby define a ranked group of test points, the step of ranking comprising;

    grouping lines of code of the computer program into functional blocks;

    identifying inputs and outputs for each functional block;

    creating a block diagram showing the interconnectivity of the functional blocks;

    identifying dependency sets in the block diagram, each dependency set (fault dependency set) defining a fault propagation path, which indicates a flow of data or program operation through a number of the functional blocks;

    defining a run time test point data file, the run time test point data file storing output values of test points during execution of the computer program; and

    defining a dependency set matrix, the dependency set matrix defining at least one dependency set;

    generating expected values for the plurality of test points for an expected, proper-operation execution of the computer program;

    executing the computer program on a computer to thereby generate actual values for the plurality of test points;

    comparing the expected values for the plurality of test points with the actual values for the plurality of test points;

    identifying a plurality of failed test points, each failed test point having an actual value which does not correspond with an expected value for the test point;

    locating at least one source failure test point in the plurality of failed test points, using the ranked group of test points, the at least one source failure test point being an earliest failed test point, in the order of execution and data dependency, among the ranked group of test points.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×