On the new application of call patterns to CPM testing of prolog programs

  • Authors:
  • Lingzhong Zhao;Tianlong Gu;Junyan Qian;Guoyong Cai

  • Affiliations:
  • Department of Computer Science, Guilin University of Electronic Technology, Guilin, China;Department of Computer Science, Guilin University of Electronic Technology, Guilin, China;Department of Computer Science, Guilin University of Electronic Technology, Guilin, China;Department of Computer Science, Guilin University of Electronic Technology, Guilin, China

  • Venue:
  • AI'06 Proceedings of the 19th Australian joint conference on Artificial Intelligence: advances in Artificial Intelligence
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Information on call patterns is known to be useful for analysis and optimization of Prolog programs. Several call patterns semantics exists for Prolog or for the subset of Prolog. In this paper we propose a method to apply the call patterns semantics to CPM testing of Prolog programs. The method can be viewed as an attempt to improve the testing of Prolog programs by the result of program analysis. By analyzing the way in which procedures are used in a program, we can reduce the number of test frames and therefore the number of test cases generated in CPM testing of a procedure.