From the site:

LitterBox is a static code analysis tool for detecting bugs in Scratch projects. Bugs in Scratch programs can spoil the fun and inhibit learning success. Many common bugs are the result of recurring patterns of bad code.

LitterBox provides checks for a collection of common bug patterns. Given a Scratch project ID or a file, LitterBox retrieves and parses the source code of the project, and reports all instances of bug patterns identified. LitterBox can also check for code smells and provide metrics about selected Scratch projects.

I think it’s neat that someone worked on and made this available for kids just starting to learn how to code in MIT’s great Scratch tool.

(Let me know if y’all don’t think this belongs here…)

  • @[email protected]
    link
    fedilink
    English
    910 months ago

    I think this belongs here.

    I also love the idea of some sort of CI/CD pipeline with this in its linting stage

  • recursive_recursion [they/them]A
    link
    English
    2
    edit-2
    10 months ago

    This seems like a great idea!

    Encountering bugs is always frustrating experience especially for beginners

    and I also agree with roadrunner_ex as this post is definitely relevant here👍

    • @[email protected]OP
      link
      fedilink
      English
      210 months ago

      I threw together a quick scratch project and ran it through this tool, just to see what it does. I love that it has code smells and also perfumes (things you did well in the scratch file). Have fun!

  • @QuadriLiteral
    link
    210 months ago

    Thanks for posting, we use scratch in our montly CoderDojo, will be certain to give this a look!

  • GamesRevolution
    link
    110 months ago

    Tried to upload the Linux on Scratch project and it said it doesn’t exist :c