×

Detecting and preventing noncompliant use of source code

  • US 8,819,856 B1
  • Filed: 08/06/2012
  • Issued: 08/26/2014
  • Est. Priority Date: 08/06/2012
  • Status: Active Grant
First Claim
Patent Images

1. A system comprising:

  • one or more processors; and

    a memory storing instructions that, when executed by the one or more processors, perform operations comprising;

    receiving a location for a first source code file,determining that the received location is a restricted location,creating, in response to the determining, a temporary index of normalized statements for the first source code file,comparing the temporary index of normalized statements for the first source code file having the restricted location and a pre-calculated index of normalized statements for second source code files stored in a protected code location to identify a number of code clones in the first source code file,determining whether the number of identified code clones in the first source code file meets a threshold, andgenerating data used to alert a user that the restricted location contains code clones when it is determined that the number of identified code clones meets the threshold.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×