×

Code-Clone Detection and Analysis

  • US 20110246968A1
  • Filed: 04/01/2010
  • Published: 10/06/2011
  • Est. Priority Date: 04/01/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method implemented by one or more computing devices configured to detect and analyze code clone in one or more source code bases, the method comprising:

  • receiving a selection of a subject code snippet based at least in part upon user input;

    at least partly in response to the receiving of the selection, obtaining the subject code snippet;

    identifying a group of clone code snippets in the one or more source code bases, each of the identified clone code snippets of the group including a true clone and a near clone of the subject code snippet;

    estimating code-improvement-potential properties of one or more of the clone code snippets of the group of found clone code snippets;

    ranking at least some of the clone code snippets of the group based at least in part upon one or more of the estimated code-improvement-potential properties; and

    causing presentation of the ranked clone code snippets of the group.

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