×

System and method for measuring syntax coverage percentage

  • US 20040015910A1
  • Filed: 06/22/2001
  • Published: 01/22/2004
  • Est. Priority Date: 06/23/2000
  • Status: Active Grant
First Claim
Patent Images

1. A syntax coverage percentage measuring system comprising:

  • a BNF (Backus Normal (Naur) Form) rule check table which has BNF data respectively corresponding to BNF syntax rules;

    a first file reading section which reads each of test input files and (carries out lexical analysis to data of each of the read test input files to classify into tokens;

    a first syntax analyzing section which carries out syntax analysis to each of said tokens, and marks one of said BNF data of said BNF rule check table corresponding to said token;

    a coverage percentage output section which acquires a total number of said BNF data and a number of said marked BNF data from said BNF rule check table, and calculates a coverage percentage based on the total number of said BNF data and the number of said marked BNF data; and

    an output section which outputs said coverage percentage calculated by said coverage percentage output section.

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