Detecting inaccurate stack traces in bug reports
dc.contributor.author | Bheree, Meher K. | |
dc.contributor.author | University of Lethbridge. Faculty of Arts and Science | |
dc.contributor.supervisor | Anvik, John | |
dc.date.accessioned | 2023-03-02T23:04:21Z | |
dc.date.available | 2023-03-02T23:04:21Z | |
dc.date.issued | 2022 | |
dc.degree.level | Masters | en_US |
dc.description.abstract | The generally held opinion in the software engineering community is that incorrect information in bug reports is often found in non-structural fields such as bug descriptions and steps to reproduce. However, structural information such as software stack traces can be inaccurate, increasing the project costs due to wasted time in fixed faults. Regarding the occurrence of inaccurate stack traces in bug reports, there is little empirical evidence. Therefore, we seek to provide such evidence by conducting an empirical study on the bug reports containing stack traces from the Eclipse and Apache projects. We propose an approach to classify the stack traces as either “Accurate” or “Inaccurate” by comparing the file names found in a stack trace in a bug report and the corresponding commit history for its fix. Thus, we determine the occurrence of inaccurate stack traces and identify the frequently occurring exception types that appears in the inaccurate stack traces for each project. Finally, we investigate training three supervised machine learning algorithms (Naive Bayes, Support Vector Machines and Logistic Regression), on features extracted from stack traces to create recommender that labels stack traces in bug reports as either ”Accurate” or ”Inaccurate”. The Logistic Regression algorithm was found to perform better with a F1- score up to 87% for the investigated Eclipse projects and 96% for the investigated Apache projects. | en_US |
dc.identifier.uri | https://hdl.handle.net/10133/6447 | |
dc.language.iso | en_US | |
dc.proquest.subject | 0984 | en_US |
dc.proquestyes | Yes | en_US |
dc.publisher | Lethbridge, Alta. : University of Lethbridge, Dept. of Mathematics and Computer Science | |
dc.publisher.department | Department of Mathematics and Computer Science | en_US |
dc.publisher.faculty | Arts and Science | en_US |
dc.relation.ispartofseries | Thesis (University of Lethbridge. Faculty of Arts and Science | |
dc.subject | Stack traces | en_US |
dc.subject | Bug reports | en_US |
dc.subject | Bug report quality | en_US |
dc.subject | Crash reports | en_US |
dc.subject | Software debugging | en_US |
dc.subject | Inaccurate information | en_US |
dc.subject | Exceptions | en_US |
dc.subject | Recommender creation | en_US |
dc.subject.lcsh | Machine learning | |
dc.subject.lcsh | Debugging in computer science | |
dc.subject.lcsh | Software failure | |
dc.subject.lcsh | Dissertations, Academic | |
dc.title | Detecting inaccurate stack traces in bug reports | en_US |
dc.type | Thesis | en_US |