Automatically expiring out source code comments
Abstract
Aspects include a method for expiring out source code comments. The method includes parsing source code to locate one or more comments. The method also includes, for each of the located one or more comments: determining whether the comment specifies expiration criteria; determining whether the expiration criteria meets an expiration threshold based on the comment specifying expiration criteria; 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. The method further includes storing the updated source code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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) p
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- Disclosed Anonymously, "Method and Apparatus for Detecting the Up to Date Status of Task Comments in Object-Oriented Programs", ip.com, IP.Com No. 000231840, Publication Date: Oct. 9, 2013; 7 pages.
- Eli M. Dow, et al., Pending U.S. Appl. No. 15/177,452 entitled "Automatically Expiring Out Source Code Comments," filed with the U.S. Patent and Trademark Office on Jun. 9, 2016.
- Fluri et al., "Do Code and Comments Co-Evolve? On the Relation Between Source Code and Comment Changes," Department of Inormatics, Univerisyt of Zurich, Switzerland, 2007, 10 pages.
- List of IBM Patents or Patent Applictions Treated as Related; (Appendix P), Filed Jun. 9, 2016, 2 pages.
- Wong et al., "CloCom: Mining Existing Source Code for Automatic Comment Generation", IEEE, 2015, 10 pages.