LitterBox: A Linter for Scratch Programs
Authors:
- Florian ObermullerFOFlorian Obermuller
- 1 May 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 183-188
Abstract
Creating programs with block-based programming languages like SCRATCH is easy and fun. Block-based programs can nevertheless contain bugs, in particular when learners have misconceptions about programming. Even when they do not, SCRATCH code is often of low quality and contains code smells, further inhibiting understanding, reuse, and fun. To address this problem, in this paper we introduce LITTERBOX, a linter for SCRATCH programs. Given a program or its public project ID, LITTERBOX checks the program against patterns of known bugs and code smells. For each issue identified, LITTERBOX provides not only the location in the code, but also a helpful explanation of the underlying reason and possible misconceptions. Learners can access LITTERBOX through an easy to use web interface with visual information about the errors in the block-code, while for researchers LITTERBOX provides a general, open source, and extensible framework for static analysis of SCRATCH programs.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Quality Hound — An online code smell analyzer for scratch programs2017
- Understanding recurring quality problems and their impact on code sharing in block-based software2017
- Software clones in scratch projects: on the presence of copy-and-paste in computational thinking learning2017
- Smells in block-based programming languages2016
- How Kids Code and How We Know2016
- Do code smells hamper novice programming? A controlled experiment on Scratch programs2016
- Habits of programming in scratch2011
- The Scratch Programming Language and EnvironmentACM Transactions on Computing Education, 2010
- ScratchCommunications of the ACM, 2009
- Who Am I and What Am I Going to Do With My Life? Personal and Collective Identities as Motivators of ActionEducational Psychologist, 2009