Research of Duplicate Bug Reports Detection Based on LDA

Author
JiangXinZhi
Advisor
XuLing
School
Chongqing University
Major
Software Engineering
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2013
Downloads
3
Citations
0

Request the full text

Abstract

Bug report is the defects description data generated during the softwaremaintenance cycle. Since these reports are typically written in a hurry by the users thatunderstand software itself very little, there exists not only expressed vague, notprofessional, the information was incomplete, difficult to understand and so on, alsoexists that the same defects are repeatedly submitted. These problems result in thepresence of a large number of redundant duplicate bug reports, if such duplicate bugreports are repeatedly assigned to developers, it will inevitably cause serious waste ofhuman resources, and especially such issues are particularly evident for large-scale opensource projects.In order to reduce the burdens of manual duplicate bug reports detection, manyexperts and scholars at home and abroad made themselves into the detection ofduplicate bug reports research and made a series of duplicate bug report detectionmethod. However, due to the traditional method of automatic detection of duplicatereports commonly uses vector space model as a theoretical foundation, and vectorsbuild by it has many problems such as high-dimensional, data sparse and data withnoise and other issues. All these problems reduce the efficiency of detection, recall andprecision rate is low. To solve these problems, this thesis proposes a new method basedon the topic model theory, Latent Dirichlet Allocation model is the most simple topicmodel, With LDA model, bug reports can transfer from the traditionalhigh-dimensional words space into to the low-dimensional topics space, and finallycalculate the similarity between documents in the low-dimensional topics space, thusgreatly reducing the dimension of the space to be processed and improving theefficiency of detection algorithms.The main work is as follows:1. Through a lot of research on the relevant literature, we analyze the researchbackground and overseas and domestic research status, and make clear that the currentproblems and the corresponding solutions in the field.2. Through scientific analysis of the bug reports’ distribution status, build thesample space of this experiment, and in the space extract the needed bug reports data,then pretreatment the experimental data, pretreatment mainly includes two steps: database cleanup and data depth cleanup, thus ensuring the validity and reliability of the experimental data.3. Simulate the traditional method for duplicate bug reports detection as acomparative experiment. First introduce the vector space model theory, and thenanalyze the feature item selection and weight calculation approach, finally adopt thevector space model to calculate the similarity of bug reports and make an evaluation onthe experimental results.4. For the drawbacks of traditional methods, complete the duplicate bug reportdetection experiment based on Latent Dirichlet Allocation. Firstly, the experiment useLDA algorithm to build topic model, secondly construct experimental testing samplespace to facilitate verification experiment results, thirdly separately calculate theexecution information similarity and the classified information similarity, fourthlyweight the sum of the two similarities and get the final similarity of bug reports, andfinally the results were evaluated.Experimental results show that duplicate bug reports detection based on LatentDirichlet Allocation can solve many shortcomings such as high-dimensional, high noiseand so on that the traditional method usually have, while adding the executioninformation and classified information can greatly improve the accuracy of results.

Table of contents

Summary 3-5 ABSTRACT 5-9 1 Introduction 9-13 1.1 Background and Significance 9-10 1.2 domestic and foreign research status 10-11 1.3 dissertation research 11-12 1.4 thesis structure 12-13 2 relevant theoretical foundation 13-26 2.1 software defects Overview 13-14 2.2 software defect tracking system -Bugzilla 14-18 2.2.1 Bugzilla Introduction 14-15 2.2.2 Bug life Cycle 15-17 2.2.3 Bugzilla system workflow 17-18 2.3 theme theoretical bases 18-23 2.3.1 Overview ; 2.3.2 latent Semantic Analysis nbsp 18-20 20-21 2.3.3 probabilistic Latent Semantic Analysis 21-23 2.4 Mallet theory 23-24 2.5 GATE framework 24-25 2.6 Summary 25-26 3 defect report data extraction and pretreatment 26-40 3.1 Construction of the experimental sample space 26-28 3.2 bug report data extraction 28-33 3.2.1 bug report data format 28-30 3.2.2 bug report data extraction 30-33 3.3 experimental data preprocessing 33-39 3.3.1 remove invalid defects and described the statement 34-36 3.3.2 segmentation, extract the stem , delete stop words 36 - 39 3.4 Summary 39-40 4 vector space model based on repeated reports of defects detected 40-50 4.1 vector space model 40 - 42 4.1.1 vector Space model Overview 40 4.1.2 vector space model algorithm principle 40-42 4.2 vector space model based on repeated reports of defects detected 42-47 4.2.1 feature item selection and weight calculation 42-45 4.2.2 bug report similarity calculation 45-47 4.3 experimental results of the assessment 47-49 4.4 Summary 49-50 5 LDA reports based on repetitive defects detection 50-72 5.1 LDA model 50-55 5.1.1 Overview 50-52 5.1.2 LDA algorithm principle 52-55 5.2 LDA is based on repetitive defects report detection 55-66 5.2.1 build use LDA topic model 56-58 5.2.2 build test sample space 58-60 5.2.3 bug report execution information similarity calculation 60-61 5.2.4 bug report classified information similarity calculation eventually similarity 61-64 5.2.5 bug report The results 64-66 5.3 experimental results assessment 66-71 5.3.1 experimental results evaluation criteria 66-67 5.3.2 results assessment 67-71 5.4 Summary 71-72 6 Conclusion and Outlook 72-74 6.1 Conclusion 72 <br / > 6.2 Prospects 72-74 Thanks 74-75 References 75-77 Appendix 77 A. the authors of papers published during the degree program directory 77

Related dissertations

  1. Topic Optimization Method Based on Pointwise Mutual Information
    ZhaoBin ·Harbin Institute of Technology ·2013 ·Master's thesis
  2. Design and Implementation of a Document Tendency Analysis Based on the Associated Field
  3. Study and Application of On-line Meal Ordering System Intelligent Searching Algorithms
    ZhouLei ·Hunan University ·2013 ·Master's thesis
  4. Research on a Personalization Content Push System Based on User Behaviors
  5. Design and Implementation of the Technical Text Categorization System
    LiuJiCai ·Henan University of Technology ·2013 ·Master's thesis
  6. The Research of Vertical Search Engine Based on Nutch for Food Safety
  7. Research of Text Representation Based on VSM Model and Soft Sensor Based on Bayesian Networks
  8. Chinese MicroBlog Perspective Sentence Recognition Based on Word Co-occurrence
    ZhangJiZuo ·Anhui University ·2014 ·Master's thesis
  9. Study on Keyword Query Performance Optimization
    ZhouYue ·Tianjin University ·2012 ·Master's thesis
  10. Research and Implement of Classical Poetry Artistic Conception Classification
    LiQi ·Donghua University ·2014 ·Master's thesis
  11. Flotation Froth Image Classification and Recognition Based on Local Features
    ZhangRunQin ·Central South University ·2013 ·Master's thesis
  12. Research on Spam Filtering of Particle Swarm Optimized SVM
    ZhuBingYang ·Zhengzhou University ·2013 ·Master's thesis
  13. Research on the Pagerank Algorithm of Page Rank Based on Web Content and Time Feedback
    LiZhiZuo ·Chongqing University of Technology ·2012 ·Master's thesis
  14. Research on Information Push Technology Based on Microblog User Interest Model
    ZuoPing ·Wuhan University of Technology ·2012 ·Master's thesis
  15. Research and Implementation of Iis Webpage Trojan Detection System Based on Dom Model
  16. Research on Feature Selection of Text Classification
  17. Information Retrieval of Uyghur Language
    ZhaoZuoZuo ·Tianjin University ·2012 ·Master's thesis
  18. Research on BBS Topic Detection and Tracking
    XiYaoYi ·PLA Information Engineering University ·2011 ·Master's thesis
  19. Research and Implementation of Partial Indexing Mechanism in Personal Dataspace Management System
    WangXiaoJing ·Beijing Jiaotong University ·2012 ·Master's thesis
  20. The Key Technologies’ Research and Implementation about Information Acquisition and Emotion Classification on New Social Network Media