Habib, Andrew (2021)
Learning to Find Bugs in Programs and their Documentation.
Technische Universität Darmstadt
doi: 10.26083/tuprints-00017377
Ph.D. Thesis, Primary publication, Publisher's Version
|
Text
Andrew_Habib_PhD_Dissertation.pdf Copyright Information: CC BY-SA 4.0 International - Creative Commons, Attribution ShareAlike. Download (2MB) | Preview |
Item Type: | Ph.D. Thesis | ||||
---|---|---|---|---|---|
Type of entry: | Primary publication | ||||
Title: | Learning to Find Bugs in Programs and their Documentation | ||||
Language: | English | ||||
Referees: | Mezini, Prof. Dr. Mira ; Pradel, Prof. Dr. Michael ; T. Devanbu, Prof. Dr. Premkumar | ||||
Date: | 2021 | ||||
Place of Publication: | Darmstadt | ||||
Collation: | xiv, 211 Seiten | ||||
Date of oral examination: | 14 December 2020 | ||||
DOI: | 10.26083/tuprints-00017377 | ||||
Abstract: | Although software is pervasive, almost all programs suffer from bugs and errors. To detect software bugs, developers use various techniques such as static analysis, dynamic analysis, and model checking. However, none of these techniques is bulletproof. This dissertation argues that learning from programs and their documentation provides an effective means to prevent and detect software bugs. The main observation that motivates our work is that software documentation is often under-utilized by traditional bug detection techniques. Leveraging the documentation together with the program itself, whether its source code or runtime behavior, enables us to build unconventional bug detectors that benefit from the richness of natural language documentation and the formal algorithm of a program. More concretely, we present techniques that utilize the documentation of a program and the program itself to: (i) Improve the documentation by inferring missing information and detecting inconsistencies, and (ii) Find bugs in the source code or runtime behavior of the program. A key insight we build on is that machine learning provides a powerful means to deal with the fuzziness and nuances of natural language in software documentation and that source code is repetitive enough to also allow statistical learning from it. Therefore, several of the techniques proposed in this dissertation employ a learning component whether from documentation, source code, runtime behavior, and their combinations. We envision the impact of our work to be two-fold. First, we provide developers with novel bug detection techniques that complement traditional ones. Our approaches learn bug detectors end-to-end from data and hence, do not require complex analysis frameworks. Second, we hope that our work will open the door for more research on automatically utilizing natural language in software development. Future work should explore more ideas on how to extract richer information from natural language to automate software engineering tasks, and how to utilize the programs themselves to enhance the state-of-the-practice in software documentation. |
||||
Alternative Abstract: |
|
||||
Status: | Publisher's Version | ||||
URN: | urn:nbn:de:tuda-tuprints-173778 | ||||
Classification DDC: | 000 Generalities, computers, information > 004 Computer science | ||||
Divisions: | 20 Department of Computer Science > SOLA - Software Lab | ||||
Date Deposited: | 08 Feb 2021 15:03 | ||||
Last Modified: | 08 Feb 2021 15:04 | ||||
URI: | https://tuprints.ulb.tu-darmstadt.de/id/eprint/17377 | ||||
PPN: | 476575303 | ||||
Export: |
View Item |