Determining path feasibility for commercial programs

  • Authors:
  • P. David Coward

  • Affiliations:
  • Bristol Polytechnic, Bristol, UK

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1988

Quantified Score

Hi-index 0.00

Visualization

Abstract

Paths are often used as a basis for the testing of programs. The identification of feasible and infeasible paths is central to a path-based approach to testing. Linear optimizers have been used for determining path feasibility by using the path predicates as constraints of an optimization problem. Commercial programs have been identified as amenable to the linear optimizer approach but the occurrence of alphanumeric literals poses a problem as they cannot be submitted to a numerical optimizer. It is suggested that this problem can be surmounted easily. Two approaches are briefly described. The first substitutes numeric tokens for alphanumeric literals. The second segregates the alphanumeric predicates from the numeric predicates and deals with them independently. The first approach appears to be a practical solution while the second appears to be less useful.