Helping Student Programmers Identify and Fix Bugs Using Static Analysis Tools
dc.contributor.author | Senger, Allyson Lauren | en |
dc.contributor.committeechair | Edwards, Stephen H. | en |
dc.contributor.committeechair | Ellis, Margaret O.'Neil | en |
dc.contributor.committeemember | Shaffer, Clifford A. | en |
dc.contributor.department | Computer Science | en |
dc.date.accessioned | 2022-01-12T04:41:39Z | en |
dc.date.available | 2022-01-12T04:41:39Z | en |
dc.date.issued | 2022-01-11 | en |
dc.description.abstract | Static analysis tools can be used to help programmers identify problems in their code. However, these tools often assume that developers have some programming background knowledge, so they can be hard to use in an educational context. We investigated the most common FindBugs errors from student code submissions and determined those errors that were related to incorrect solutions to problems and potential struggling for students. FindBugs is a static analysis tool that looks for incorrect patterns in Java bytecode analysis to identify potential coding flaws. For the common errors, we rewrote some of the original FindBugs messages to help students more easily understand the problems with their code. We found that students with at least one FindBugs warning in their final submission to an assignment had more submissions, longer work times, and lower correctness scores than students who did not have a FindBugs warning in their final submission. Adding modified FindBugs feedback to the automated grader resulted in students making fewer submissions and decreasing the length of time required to complete assignments. | en |
dc.description.abstractgeneral | Professional software developers use automated tools when they code to help them catch potential coding problems. These tools are difficult for novice student programmers because they do not have the same level of background as professionals. In this work, we attempted to change the feedback given by these tools so that students could understand it and use it to fix their code. We found that, across all of the undergraduate courses in this study, FindBugs warnings were associated with students having more trouble with assignments. When students could see FindBugs warnings, their time to complete assignments and the number of attempts they made both went down. | en |
dc.description.degree | Master of Science | en |
dc.format.medium | ETD | en |
dc.identifier.other | vt_gsexam:33705 | en |
dc.identifier.uri | http://hdl.handle.net/10919/107555 | en |
dc.language.iso | en | en |
dc.publisher | Virginia Tech | en |
dc.rights | In Copyright | en |
dc.rights.uri | http://rightsstatements.org/vocab/InC/1.0/ | en |
dc.subject | static analysis tools | en |
dc.subject | FindBugs | en |
dc.subject | error messages | en |
dc.subject | novice programmers | en |
dc.subject | feedback | en |
dc.title | Helping Student Programmers Identify and Fix Bugs Using Static Analysis Tools | en |
dc.type | Thesis | en |
thesis.degree.discipline | Computer Science and Applications | en |
thesis.degree.grantor | Virginia Polytechnic Institute and State University | en |
thesis.degree.level | masters | en |
thesis.degree.name | Master of Science | en |
Files
Original bundle
1 - 1 of 1