• Home
  • Search
  • Investigating Static Analysis Errors in Student Java Programs
  • Cite Icon86
  • https://doi.org/10.1145/3105726.3106182Copy DOI Icon

Investigating Static Analysis Errors in Student Java Programs

  • Aug 14, 2017
  • Stephen H Edwards +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Research on students learning to program has produced studies on both compile-time errors (syntax errors) and run-time errors (exceptions). Both of these types of errors are natural targets, since detection is built into the programming language. In this paper, we present an empirical investigation of static analysis errors present in syntactically correct code. Static analysis errors can be revealed by tools that examine a program's source code, but this error detection is typically not built into common programming languages and instead requires separate tools. Static analysis can be used to check formatting or commenting expectations, but it also can be used to identify problematic code or to find some kinds of conceptual or logic errors. We study nearly 10 million static analysis errors found in over 500 thousand program submissions made by students over a five-semester period. The study includes data from four separate courses, including a non-majors introductory course as well as the CS1/CS2/CS3 sequence for CS majors. We examine the differences between the error rates of CS major and non-major beginners, and also examine how these patterns change over time as students progress through the CS major course sequence. Our investigation shows that while formatting and Javadoc issues are the most common, static checks that identify coding flaws that are likely to be errors are strongly correlated with producing correct programs, even when students eventually fix the problems. With experience, students produce fewer errors, but the errors that are most frequent are consistent between both computer science majors and non-majors, and across experience levels. These results can highlight student struggles or misunderstandings that have escaped past analyses focused on syntax or run-time errors.

Similar Papers
  • Research Article
  • Citations2

SQL Logic Error Detection by Using Start End Mid Algorithm

  • Dec 31, 2017
  • Knowledge Engineering and Data Science
  • Jevri Tri Ardiansah +3
  • Book Chapter

5 - Debugging

  • Jan 01, 2002
  • Essential Java for Scientists and Engineers
  • Brian H Hahn +1
  • Book Chapter

Organizing Exceptions

  • Nov 29, 2022
  • Vaskaran Sarcar
  • Research Article
  • Citations7

Impact of reflection in auto-graders: an empirical study of novice coders

  • Sep 28, 2023
  • Computer Science Education
  • Fatima Abu Deeb +1
  • Conference Article

A research tool for software design and documentation

  • Jan 01, 1988
  • David A Scanlan
  • Research Article

Extracting Error Resolution Patterns for Novice Programming Students using Apriori Algorithm

  • Mar 24, 2025
  • Journal of Information Systems Engineering and Management
  • Niel Francis B Casillano
  • Research Article
  • Citations10

A Unified Approach to Teach Computational Thinking for First Year Non–CS Majors in an Introductory Course

  • Jan 01, 2012
  • IERI Procedia
  • Tun Li +1
  • Research Article
  • Citations5

Inquiry-based learning in CS1

  • Dec 01, 2007
  • Journal of Computing Sciences in Colleges
  • M Dee Medley
  • Conference Article
  • Citations3

Sense of Belonging of Female Undergraduate Students in Introductory Computer Science Courses at University of Brasília in Brazil

  • Oct 13, 2021
  • Maristela Holanda +6
  • Book Chapter
  • Citations1

Chapter 9 - Program Debugging

  • Jan 01, 2011
  • PIC Microcontrollers
  • Martin Bates
  • Conference Article

A critical view of a new computer science introductory course

  • Jan 01, 1992
  • Jeffrey Linder +1
  • Conference Article
  • Citations1

News Consumption Among CS Majors: Habits, Perceptions, and Challenges

  • Apr 12, 2023
  • Scott Barlowe +1
  • Conference Article
  • Citations1

PCDEC, an interactive decision table system for personal computers (abstract only)

  • Jan 01, 1987
  • Begonia Bi-Hsia Tai +1
  • Research Article
  • Citations7

Increasing Women's Participation in CS at Large Public Universities: Issues and Insights

  • May 19, 2023
  • ACM Inroads
  • Jeba Rezwana +1
  • Conference Article
  • Citations1

Reflective Debugging with a Python Web IDE

  • Mar 03, 2021
  • Fatima Abu Deeb +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.