IP Library Granted Patent US 8,607,193
Granted Patent B2
US 8,607,193 · App. 13/350,828 · Granted Dec 10, 2013

Tracking stale comments in source code listings

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,607,193
App. No.
13/350,828
Granted
Dec 10, 2013
Kind
B2
Abstract

Managing comments within computer software source code by detecting a change in a portion of computer software source code, identifying a comment that is associated with the portion, and providing an indication that the comment was not changed subsequent to the portion being changed.

Claims (53)

1. A method for managing comments within computer software source code, the method comprising:

detecting a change in a portion of computer software source code by a computing device;

identifying a comment that is associated with the portion by the computing device;

in response to detecting a change in the portion, associating a staleness indicator with the comment, wherein the staleness indicator identifies a diminished relevancy associated with the comment, and wherein the staleness indicator remains associated with the comment until the staleness indicator is removed; and

providing an indication, via the staleness indicator, that the comment was not changed subsequent to the portion being changed by the computing device.

2. The method of claim 1 and further comprising:

receiving an input accepting the comment by the computing device, wherein acceptance of the comment indicates the comment maintains relevancy despite the change in the portion; and

removing the indication, by the computing device, by removing the staleness indicator associated with the comment.

3. The method of claim 2 wherein the providing the indication, via the staleness indicator, that the comment was not changed subsequent to the portion being changed by the computing device comprises providing the indication to multiple recipients by the computing device, and

wherein the removing the indication by the computing device comprises notifying the multiple recipients that the indication was removed by the computing device.

4. The method of claim 1 wherein the detecting the change in the portion of the computer software source code by the computing device comprises detecting by the computing device whether the change comprises a change to any of a name, a signature, or an implementation of any of a statement, a function, a class, or a block.

5. The method of claim 1 wherein the detecting the change in the portion of the computer software source code by the computing device comprises detecting by the computing device the change as the change is made.

6. The method of claim 1 wherein the detecting the change in the portion of the computer software source code by the computing device comprises detecting the change in a recorded history of changes made to the computer software source code by the computing device.

7. The method of claim 1 wherein the providing the indication, via the staleness indicator, that the comment was not changed subsequent to the portion being changed by the computing device comprises performing any of:

changing the appearance of the comment, by the computing device, to indicate the diminished relevancy associated with the comment, or

displaying a message on a computer display on which the comment is displayed, by the computing device, to indicate the diminished relevancy associated with the comment, wherein the message indicates that the comment was not changed subsequent to the portion being changed, and where the message is displayed separate from the comment and in propinquity to the comment.

8. The method of claim 1 and further comprising:

detecting a change in the comment by the computing device, wherein the change in the comment indicates that the diminished relevancy is no longer associated with the comment; and

removing the indication, by the computing device, by removing the staleness indicator associated with the comment.

9. The method of claim 1 and further comprising assigning, by the computing device, a staleness level to the indication, via the staleness indicator, wherein the providing the indication, via the staleness indicator, that the comment was not changed subsequent to the portion being changed by the computing device comprises providing, by the computing device, different versions of the staleness indicator corresponding to different staleness levels associated with the comment.

10. The method of claim 9 wherein the assigning, by the computing device, the staleness level to the indication, via the staleness indicator, comprises assigning the staleness level in proportion to any of an extent of the change to the portion, a number of coders that changed the portion, or an elapsed time since the change occurred by the computing device.

11. A computer program product for managing comments within computer software source code, the computer program product comprising:

a computer readable storage medium having

computer readable program code embodied therewith, the computer readable program code configured to:

detect a change in a portion of computer software source code;

identify a comment that is associated with the portion;

in response to detecting a change in the portion, associate a staleness indicator with the comment, wherein the staleness indicator identifies a diminished relevancy associated with the comment, and wherein the staleness indicator remains associated with the comment until the staleness indicator is removed; and

provide an indication, via the staleness indicator, that the comment was not changed subsequent to the portion being changed.

12. The computer program product of claim 11 wherein the computer readable program code is further configured to:

receive an input accepting the comment, wherein acceptance of the comment indicates the comment maintains relevancy despite the change in the portion; and

remove the indication, by removing the staleness indicator associated with the comment.

13. The computer program product of claim 12 wherein the computer readable program code configured to provide the indication, via the staleness indicator, that the comment was not changed subsequent to the portion being changed is further configured to provide the indication to multiple recipients, and

wherein the computer readable program code configured to remove the indication is further configured to notify the multiple recipients that the indication was removed.

14. The computer program product of claim 11 wherein the computer readable program code configured to detect the change in the portion of the computer software source code is further configured to detect whether the change comprises a change to any of a name, a signature, or an implementation of any of a statement, a function, a class, or a block.

15. The computer program product of claim 11 wherein the computer readable program code configured to detect the change in the portion of the computer software source code is further configured to detect the change as the change is made.

16. The computer program product of claim 11 wherein the computer readable program code configured to detect the change in the portion of the computer software code is further configured to detect the change in a recorded history of changes made to the computer software source code.

17. The computer program product of claim 11 wherein the computer readable program code is further configured to perform any of

change the appearance of the comment to indicate the diminished relevancy associated with the comment, and

display a message on a computer display on which the comment is displayed, to indicate the diminished relevancy associated with the comment, wherein the message indicates that the comment was not changed subsequent to the portion being changed, and wherein the message is displayed separate from the comment and in propinquity to the comment.

18. The computer program product of claim 11 wherein the computer readable program code is further configured to

detect a change in the comment, wherein the change in the comment indicates that the diminished relevancy is no longer associated with the comment; and

remove the indication, by removing the staleness indicator associated with the comment.

19. The computer program product of claim 11 where in the computer readable program code is further configured to

assign a staleness level to the indication, via the staleness indicator, in proportion to any of an extent of the change to the portion, a number of coders that changed the portion, or an elapsed time since the change occurred; and

provide different versions of the staleness indicator corresponding to different staleness levels associated with the comment.

20. A system for managing comments within computer software source code, comprising:

a processor; and

a computer readable storage medium; and

computer readable program code embodied in the computer-readable storage medium, wherein the computer readable program code is configured to

detect a change in a portion of computer software source code;

identify a comment that is associated with the portion;

in response to detecting a change in the portion, associate a staleness indicator with the comment, wherein the staleness indicator identifies a diminished relevancy associated with the comment, and wherein the staleness indicator remains associated with the comment until the staleness indicator is removed; and

provide an indication, via the staleness indicator, that the comment was not changed subsequent to the portion being changed.

Assignments (2)
CONVEYOR IS ASSIGNING UNDIVIDED 50% INTEREST Recorded Jan 29, 2018
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: SERVICENOW, INC.; INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 045185/0323 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 16, 2012
From: AVRAHAMI, SHLOMIT; FOX, JOSHUA; KOSHAROVSKY, YURI; PELTS, MICHAEL
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 027535/0916 →