×

Automatically expiring out source code comments

  • US 9,753,722 B2
  • Filed: 12/14/2015
  • Issued: 09/05/2017
  • Est. Priority Date: 12/14/2015
  • Status: Active Grant
First Claim
Patent Images

1. A system for expiring out source code comments, the system comprising:

  • a memory having computer readable instructions; and

    one or more processors for executing the computer readable instructions, the computer readable instructions comprising;

    parsing source code to locate one or more comments;

    performing, for each of the one or more comments;

    determining whether the comment specifies expiration criteria, wherein the expiration criteria specifies a version number of the source code at the time that the comment was added to the edited source code and an integrated development environment (IDE) phase in process at the time that the comment was added to the edited source code;

    based on the comment specifying expiration criteria;

    determining whether the expiration criteria meets an expiration threshold, wherein the expiration threshold specifies that any comments added to the source code prior to a particular version number should be deleted and that any comments added to the edited source code prior to a particular IDE phase should be deleted; and

    deleting the comment from the source code based on determining that the expiration criteria meets the expiration threshold, the deleting resulting in updated source code; and

    storing the updated source code.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×