Analysis tool for summarizing the structure, composition, and complexity of Scratch programs.
Find a file
2022-10-04 14:36:51 -04:00
.circleci Correct branch filtering 2022-10-04 14:36:51 -04:00
lib Update tap and deprecated test methods 2022-05-27 11:09:16 -04:00
test Add info to IBE-198 regression test 2022-05-27 12:17:31 -04: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 Initial working version 2018-12-17 18:11:08 -05: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.json Version 2.2.0 2022-05-27 16:17:58 -04:00
README.md Add aggregate cloud variables data to analysis results 2019-03-13 15:01:11 -04: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