Iowa State University
Syntax errors identification from compiler error messages using ML techniques
Abstract
dc:description.abstract<p>Compiler error messages facilitate software development and debugging by providing cause and location of the error but due to various compiler bugs and inconsistencies it often fails its purpose and negatively affect performance of both novice and experienced programmers. An errant semicolon or brace can result in many errors reported throughout the program. This study tries to statistically analyze open source code base to predict real errors from different type of compiler error messages. It also tries to auto-fix these errors.</p> <p>At the high level, this study handles two cases (1) when one error is present in code, (2) when two different errors are present in the code. We start with collecting different type of random error messages for both the cases by random error generation in C projects. We developed different models using document clustering, probabilistic topic modeling and multi-label classification algorithms for training and predicting real errors using collected error messages for both the cases.</p> <p>Our empirical evaluation on open-source projects has shown that our model correctly predicts the real error in almost 95% cases, when only one error exists in program. In case of two errors, model correctly predicts at least one error in almost 91% cases and both the errors in almost 39% cases.</p>
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- thesis
- Discipline thesis:degree_discipline
- Computer Science
- Department dc:contributor.department
- Department of Computer Science
- Year dc:date.issued
- 2016
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Agrawal, Shubham
- Advisors dc:contributor.advisor
-
- Jin Tian
- Wei Le
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://dr.lib.iastate.edu/handle/20.500.12876/29836
- Identifier
- archive/lib.dr.iastate.edu/etd/15653/
- Dc Identifier Other
-
6660
11164860 - Mods Identifier Filename
- archive/lib.dr.iastate.edu/etd/15653/Agrawal_iastate_0097M_15909.pdf|||Fri Jan 14 20:44:27 UTC 2022