×

AUTOMATICALLY EXPIRING OUT SOURCE CODE COMMENTS

  • US 20170168816A1
  • Filed: 06/09/2016
  • Published: 06/15/2017
  • Est. Priority Date: 12/14/2015
  • Status: Active Grant
First Claim
Patent Images

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

  • determining, by an automated version control system, that a code build process that includes an edited source code has completed without errors;

    performing, by a processor, based on determining that the code build process that includes the edited source code has completed without errors;

    parsing the edited 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 edited source code at the time that the comment was added;

    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 edited source code prior to a particular version number should be deleted; and

    deleting the comment from the edited 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
    ×
    ×