×

Automatic comment editing for a smart integrated development environment

  • US 9,733,933 B1
  • Filed: 09/19/2016
  • Issued: 08/15/2017
  • Est. Priority Date: 09/19/2016
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method of automatically identifying a comment change deficiency by a code editing component executed by a processor, the method comprising:

  • determining, automatically by the processor, whether one or more character changes exist between a first code version and a second code version,wherein the one or more character changes comprise when a character count at a first location of the first code version is different than a character count at a second location of the second code version by a threshold difference, the first and second locations being within the first and second code versions,wherein the first location of the first code version indicates a same line or block of code corresponding to the second location of the second code version and the first and second locations are not the first or last line or block of code in the first or second code versions;

    determining, automatically by the processor, whether one or more logical changes exist between the first code version and the second code version;

    identifying, automatically by the processor, whether the comment change deficiency exists by locating and comparing a first character count of a first code comment and a second character count of a second code comment,wherein the first and second code comments relate to the characters or logical changes within the respective first and second code versions;

    generating, automatically by the processor, one or more notifications identifying the comment change deficiency when the difference of the first character count and the second character count is less than a second threshold,wherein the code editing component comprises a plug-in of an integrated development environment managing the first code version and the second code version,wherein the one or more logical changes comprise;

    a change in code context from the first code version to the second code version, wherein

         1) the change in code context is based on the one or more character changes existing and

         2) the one or more character changes (i) take into account special characters and spaces and (ii) cause a change to code grammar;

    generating, automatically by the processor, one or more suggestions regarding the comment change deficiency; and

    transmitting, automatically by the processor, the generated one or more notifications and suggestions to the integrated development environment.

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