Patent ID: 8516434
Filing Date: 2013-08-20
Classification: G06F

Abstract:
1. A method to categorize occurrences of a pattern in computer program code comprising: using a checker program to identify a first individual pattern within a first function within the computer program code and to identify a portion of the program that is associated with the first such individual pattern; wherein the checker program has a checker name; wherein the first function is associated with a first function name; defining a first discriminator associated with the identified first individual pattern of the computer program code; producing a first indication of the occurrence of the first instance of the pattern that includes the checker name, the first function name and the first discriminator; and associating the first indication with the identified portion of the computer program code; using the checker program to identify a second individual pattern within the first function within the computer program code and to identify a portion of the computer program code that is associated with the second individual pattern; defining a second discriminator associated with the identified pattern of the computer program code; producing a second indication of the occurrence of the second individual pattern that includes the checker program name, the first function name and the second discriminator; determining whether the first and second indications of occurrences match; and storing the first and second indications of occurrences in a database; wherein said act of storing includes merging the first and second indications of occurrence in response to a determination that they match.