Bug positioning method based on Stack Overflow and commit libraries

The invention relates to a bug positioning method based on Stack Overflow and commit libraries. The bug positioning method comprises the following steps: decomposing a problem submitted by a user into a problem section, a code section and a stack trace section, extracting keywords for matching by us...

Full description

Saved in:
Bibliographic Details
Main Authors YANG HUI, SUN XIAOBING, ZHAO SHUPENG, LI BIN
Format Patent
LanguageChinese
English
Published 15.02.2017
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention relates to a bug positioning method based on Stack Overflow and commit libraries. The bug positioning method comprises the following steps: decomposing a problem submitted by a user into a problem section, a code section and a stack trace section, extracting keywords for matching by using a RAKE algorithm, calculating a ratio, exporting a problem answer pair, extracting the code section, integrating to obtain a problem code section + answer code section form, extracting the keywords by using RAKE, setting into a tag, processing the commit library by using a tag-Latent Dirichlet Ailocation (LDA) pair, building a subject model, matching, screening the code section corresponding to the commit with the matching degree greater than or equal to 0.3, performing text similarity matching, performing structure similarity matching on stack trace by using a program dependency graph consisting of nodes, calculating a result of 30% x the text similarity + 70% x the structure similarity, and recommending the r
Bibliography:Application Number: CN20161824966