System to visualize additional information on source code
US-9274756-B1 · Mar 1, 2016 · US
US9733933B1 · US · B1
| Field | Value |
|---|---|
| Publication number | US-9733933-B1 |
| Application number | US-201615269105-A |
| Country | US |
| Kind code | B1 |
| Filing date | Sep 19, 2016 |
| Priority date | Sep 19, 2016 |
| Publication date | Aug 15, 2017 |
| Grant date | Aug 15, 2017 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Disclosed herein are methods, systems, and computer program products for automatically identifying a comment change deficiency by a code editing component executed by a processor. The automatic identification of the comment changes includes determining whether one or more character changes exist between a first code version and a second code version and determining whether one or more logical changes exist between the first code version and the second code version. Note that the first code comment relates to the character or the logical changes within the first code version. Further, the automatic identification of the comment changes includes identifying the at least one comment related to the character or the logical changes and generating a notification including the at least one comment.
Opening claim text (preview).
What is claimed is: 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. 2. The method of claim 1 , wherein the determining of whether the one or more character changes exist comprises: repeatedly analyzing the first code version and the second code version at increasing levels of granularity for the one or more character changes. 3. The method of claim 2 , wherein a first level of the levels of granularity is a code block, and wherein a second level of the levels of granularity is a code line. 4. The method of claim 1 , wherein the threshold difference is a set at a 10%. 5. A computer program product, the computer program product comprising a non-transitory computer readable storage medium having program instructions for automatically identifying a comment change deficiency embodied therewith, the program instructions executable as a code editing component and by a processor to cause the processor to perform: determining, automatically, 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, whether one or more logical changes exist between the first code version and the second code version; identifying, automatically, 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, 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. 6. The computer program product of claim 5 , wherein the determining of whether the one or more character changes exist comprises: repeatedly analyzing the first code version and the second code version at increasing levels of granularity for the one or more character changes. 7. The computer program product of claim 6 , wherein a first level of the levels of granularity is a code block, and wherein a second level of the levels of granularity is a code line. 8. A system, comprising a processor and a memory storing program instructions for automatically identifying a comment change deficiency thereon, the program instructions executable as a code editing component by a processor to cause the system to perform: determining, automatically, 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, whether one or more logical changes exist between the first code version and the second code version; identifying, automatically, 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, 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
Calculation of difference between files · CPC title
Intelligent editors · CPC title
Program documentation · CPC title
Version control (security arrangements therefor G06F21/57); Configuration management · CPC title
Physics · mapped topic
Related publications grouped by family.
Answers are generated from the same data shown on this page.