Analysis tool for summarizing the structure, composition, and complexity of Scratch programs.
Find a file
Christopher Willis-Ford 70c285340f
Some checks failed
build-scratch-analysis / setup (push) Has been cancelled
Merge branch 'master' into develop
2024-11-07 07:11:21 -08:00
.github ci: add build steps and bump node version 2023-12-08 14:24:48 -05:00
lib Merge pull request #69 from rfronczyk/DPR-430-add-backdrops 2024-10-11 09:07:20 -04:00
test Add test for incorrect costumes attribute in sb2 project 2024-11-07 13:27:08 +01:00
.eslintignore Initial working version 2018-12-17 18:11:08 -05:00
.eslintrc Update tap and deprecated test methods 2022-05-27 11:09:16 -04:00
.gitignore chore: add github directory and associated files 2023-12-08 14:24:11 -05:00
.nvmrc ci: add build steps and bump node version 2023-12-08 14:24:48 -05:00
CHANGELOG.md chore(release): 2.2.1 [skip ci] 2024-11-07 15:05:09 +00:00
docker-compose.yml Fix for IBE-198, scratch-analysis should be able to deal with a JSON project file that does not contain extensions data 2022-05-26 16:55:45 -04:00
Dockerfile Fix for IBE-198, scratch-analysis should be able to deal with a JSON project file that does not contain extensions data 2022-05-26 16:55:45 -04:00
LICENSE Update LICENSE 2018-12-17 14:38:24 -05:00
package-lock.json chore(release): 2.2.1 [skip ci] 2024-11-07 15:05:09 +00:00
package.json chore(release): 2.2.1 [skip ci] 2024-11-07 15:05:09 +00:00
README.md Add aggregate cloud variables data to analysis results 2019-03-13 15:01:11 -04:00
release.config.js fix(release): add semantic-release config 2024-11-07 06:45:01 -08:00
TRADEMARK Add trademark file 2018-12-18 12:59:09 -05:00

scratch-analysis

Analysis tool for summarizing the structure, composition, and complexity of Scratch programs.

Build Status Greenkeeper badge

Getting Started

npm install scratch-analysis
const analysis = require('scratch-analysis');
analysis(buffer, function (err, result) {
    // handle any validation errors and ...
    // do something interesting with the results!
});

Analysis Modules

General

The scratch-analysis module will return an object containing high-level summary information about the project:

Key Attributes
scripts count
blocks count, unique, list, frequency
sprites count
variables count, id
cloud count, id
lists count
costumes count, list, hash
sounds count, list, hash
extensions count, list
comments count

Concepts

Coming Soon

Complexity

Coming Soon

Classification

Coming Soon

References

New Frameworks for Studying and Assessing the Development of Computational Thinking

Author(s): Karen Brennan, Mitchel Resnick PDF: Download