Browse Prior Art Database

Automatically Comment Promoting Based on Task Tracking, Change History and Code Relation

IP.com Disclosure Number: IPCOM000244450D
Publication Date: 2015-Dec-13
Document File: 2 page(s) / 67K

Publishing Venue

The IP.com Prior Art Database

Abstract

This invention describes a code comment auto-promotion mechanism which can be integreated into IDEs. The invention gathers information from change set data in current source control system, the OO relations in code, code grouping based on statistics, task tracking system and other related materials, then imports the information into a Comment Repostory. Based on above Comment Repository, when developers change one comment section of code, the invention will automatically recommend other sections which might be related to the change, prompting them to developers to make a corresponding change. Meanwhile, the action taken by developers against the comment promotion will also be added into Comment Repository as feedback for system evolvement.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 53% of the total text.

Page 01 of 2

Automatically Comment Promoting Based on Task Tracking

Automatically Comment Promoting Based on Task Tracking,

In the mobile Internet era, fast forward and easy maintenance of a project is very important for business. From maintenance perspective, code comments have great significance to a project.

At present, the existing IDEs are very advanced to automatically assistant to generate functional code, but for comments they are just at the simple stage, such as adding annotations automatically according to templates, document specification or program grammar. It is not smart enough for developers. Developers still need to spend a lot of time in writing code comments, especially when maintain existing code under certain business background. They have to search and update the relevant comments for the same user story which needs huge effort. Thus, for code changes, it needs a flexible, intelligent way to identify the relevant code sections and generate the accurate annotation.

The invention will gather information from change set data in current source control system, the OO relations in code, code grouping based on statistics, task tracking system and other related materials. Based on above information, when the developer changes one comment section of code, the invention will automatically recommend other sections which might be related to the change, prompting them to developers to make a corresponding change.

Advantages of the invention is that: firstly, to improve the hit rate, the recommendation logic is not only based on a static association(OO, the function calls, etc.), but also on dynamic vital statistics (Code segments often appeared in the same change sets in the change history, code changes frequ...