Common Bugs in Scratch Programs

Christoph Frädrich, Florian Obermüller, Nina Körber, Ute Heuer, Gordon Fraser
12/1/2021
54 citations
cs.SE

Official code: se2p/LitterBox (36 stars, Java, GPL-3.0, last commit 2026-03-07). 1 more implementation below.

Abstract

Bugs in Scratch programs can spoil the fun and inhibit learning success. Many common bugs are the result of recurring patterns of bad code.

Show full abstract

In this paper we present a collection of common code patterns that typically hint at bugs in Scratch programs, and the LitterBox tool which can automatically detect them. We empirically evaluate how frequently these patterns occur, and how severe their consequences usually are. While fixing bugs inevitably is part of learning, the possibility to identify the bugs automatically provides the potential to support learners

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
se2p/LitterBoxOfficial36JavaGPL-3.02026-03-07
se2p/artifact-iticse2020Official0Java–2021-04-26
se2p/LitterBoxOfficial100%
GPL-3.0

Static code analysis tool for detecting recurring patterns in Scratch projects.

366Java, JavaScriptMar 24, 20208 months agoGPL-3.0
scratch
00Java, PythonApr 3, 20205 years agoNOASSERTION

Similar Papers

Cite this paper

@article{frdrich2021common,
  title  = {Common Bugs in Scratch Programs},
  author = {Christoph Frädrich and Florian Obermüller and Nina Körber and Ute Heuer and Gordon Fraser},
  year   = {2021},
  eprint = {2112.00858},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.00858}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.00858.svg)](https://codeofpaper.com/paper/2112.00858)

Discussion