8000 GitHub - VirtusLab/scg-cli at v0.1.3
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
< 8000 /div>

VirtusLab/scg-cli

Repository files navigation

Semantic Code Graph analytics

Using scg-cli

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

Example

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 

Using on your java project

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

Building new release

$ sbt universal:packageBin

About

scg-cli is a CLI tool for Semantic Code Graph analysis

Resources

License

Stars

Watchers

Forks

0