Extract dependencies that are created using RequireJS
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
report
src
.classpath
.gitignore
.project
Readme.md

Readme.md

RequireJsAnalyzer

This tool analyzes JavaScript projects that are strung together using RequireJS.

Workflow

Source files are read using the Extractor. This file analyzes each line using several objects that each extract one feature from the code, and build the model. The Extractor uses the dependencies that are present in the model to find other files.

The model can then be analyzed by analyzers, resulting in reports (in reporting). An example of an analyzer is the FunctionCallAnalyzer. These reports are then exported by exporters, for example the FunctioncallHtmlExporter.

This workflow can also be observed in the existing Main Class