Identifying and correlating semantic bias for code evaluation
AssigneeCA, Inc.
InventorEladio Beguico Caritos, II
Life of this patent
Estimating the term…
Loading patent…
AssigneeCA, Inc.
InventorEladio Beguico Caritos, II
Estimating the term…
System and techniques are disclosed for associating annotation semantic bias with program code. A pre-processor partitions an annotation from program statements contained within one or more source files. A lexical parser generates program statement tokens corresponding to the program statements, wherein each of the program statement tokens associates program statement text with a programming language lexeme category. The lexical parser generates one or more annotation tokens that each correspond to the annotation, wherein each of the annotation tokens associates annotation text with a natural language lexeme category. A syntactic analyzer compares the program statement tokens with the annotation tokens. A semantic analyzer determines a semantic correlation between the annotation and one or more of the program statements based, at least in part, on the results of the syntactic analyzer's comparing. A bias analyzer determines a semantic bias associated with at least one of the annotation tokens and a result processor associates at least one of the one or more program statements with the determined semantic bias based, at least in part, on the determined semantic correlation.
A method for associating annotation semantic bias with program code, said method comprising:
One or non-transitory more machine-readable storage media having program code for associating annotation semantic bias with program statements stored therein, the program code to:
An apparatus comprising:
Dependencies are inferred from the claim text.