Comparison of source files
OwnerRalf Neumanninventor
Life of this patent
Estimating the term…
Abstract
A method of comparing two source files containing database queries is described in which the database queries are ascertained from the two source files and in which the ascertained database queries from a first source file are compared with the ascertained database queries of a second source file. A quick and efficient analysis of different program versions is achieved by ascertaining the syntax of each database query with the help of a syntax analysis, by comparing the syntax of the database queries of the source files with one another and by presenting the results of the comparison.
Claims20
A method of comparing a first source file with a second source file, said first and second source files each comprising one or several database queries, wherein said database queries are ascertained from said first and second source files and wherein the ascertained database queries of said first source file are compared with the ascertained database queries of said second source file, which method comprises:
- performing a syntax analysis to ascertain a syntax of each of said database queries;
- performing a comparison of said syntax of said database queries with one another;
- and
- presenting the results of said comparison.
A device for comparing two source files comprising database queries, which comprises:
- a reader for reading source files;
- an extractor for extracting database queries from source files;
- and
- an analyzer for analyzing the syntax of a database query and
- a comparator for comparing the syntactical elements of the database queries.
Dependencies are inferred from the claim text.