We first design a technique to extract related comment-edit pairs and then qualitatively and quantitatively investigate the nature of these pairs. These comment-edit pairs have the added benefit of having concrete descriptions/explanations of why the change is needed as well as potentially having less tangled changes to deal with. In this paper, we mine comment-edit pairs from Stack Overflow and investigate their potential usefulness for constructing the above data sets. Given its crowd-sourced nature, answers are then updated to incorporate these suggestions. Comments on Stack Overflow provide an effective way for developers to point out problems with existing answers, alternative solutions, or pitfalls. In this paper, we investigate whether Stack Overflow can be used as an additional source for building code maintenance data sets. Most of the current data sets are typically constructed from mining commit history in version-control systems or issues in issue-tracking systems. Such data sets are important for various software engineering support tools related to code maintenance, such as program repair, code recommender systems, or Application Programming Interface (API) misuse detection. Code maintenance data sets typically consist of a before version of the code and an after version that contains the improvement or fix.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |