Analysis tool for summarizing the structure, composition, and complexity of Scratch programs.
Find a file
Andrew Sliwinski b164232b3f Clean up tests
2018-12-17 20:05:13 -05:00
lib Clean up tests 2018-12-17 20:05:13 -05:00
test Clean up tests 2018-12-17 20:05:13 -05:00
.eslintignore Initial working version 2018-12-17 18:11:08 -05:00
.eslintrc Initial working version 2018-12-17 18:11:08 -05:00
.gitignore Initial working version 2018-12-17 18:11:08 -05:00
analyze.js Initial working version 2018-12-17 18:11:08 -05:00
LICENSE Update LICENSE 2018-12-17 14:38:24 -05:00
package.json Clean-up package file 2018-12-17 18:14:30 -05:00
README.md Initial working version 2018-12-17 18:11:08 -05:00

scratch-analysis

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

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
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