Build the scg-cli
with:
$ sbt stage
and follow the scg-cli
help page:
$ ./target/universal/stage/bin/scg-cli help
Usage: scg-cli [COMMAND]
CLI to analyse projects based on SCG data
Commands:
help Display help information about the specified command.
crucial Find crucial code entities
generate Generate SCG metadata
partition Suggest project partitioning.
summary Summarize the project
In data
folder you can find extracted and zipped *.semanticgraphs
files. You can try to analyse them with:
$ ./target/universal/stage/bin/scg-cli summary data/metals.zip
Generate Semantic Code Graph information model metadata:
$ ./target/universal/stage/bin/scg-cli generate path/to/project
Start to analyse your project, e.g.:
$ ./target/universal/stage/bin/scg-cli summary path/to/project
$ sbt universal:packageBin