LitterBox: A Linter for Scratch Programs

02/15/2021
by   Gordon Fraser, et al.
0

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.

READ FULL TEXT

page 1

page 3

page 4

research
08/16/2021

Improving Readability of Scratch Programs with Search-based Refactoring

Block-based programming languages like Scratch have become increasingly ...
research
08/13/2021

Code Perfumes: Reporting Good Code to Encourage Learners

Block-based programming languages like Scratch enable children to be cre...
research
10/06/2021

DRAFT-What you always wanted to know but could not find about block-based environments

Block-based environments are visual programming environments, which are ...
research
03/15/2021

Anomaly Detection in Scratch Assignments

For teachers, automated tool support for debugging and assessing their s...
research
07/16/2023

Deduplicating and Ranking Solution Programs for Suggesting Reference Solutions

Referring to solution programs written by other users is helpful for lea...
research
08/29/2022

Common Patterns in Block-Based Robot Programs

Programmable robots are engaging and fun to play with, interact with the...
research
02/13/2022

Model-based Testing of Scratch Programs

Learners are often introduced to programming via dedicated languages suc...

Please sign up or login with your details

Forgot password? Click here to reset