v3.2.0
Install
pip install codeanalyzer-java==3.2.0 # bundles a JVM; installs the canjv launcherOr the jar with a codeanalyzer launcher (requires Java 11+):
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/codellm-devkit/codeanalyzer-java/releases/download/v3.2.0/codeanalyzer-installer.sh | shOr run the JAR directly (requires Java 11+):
# JSON output, at the analysis level you ask for
java -jar codeanalyzer.jar -i /path/to/project -a 4 -o ./out # writes out/analysis.json
# Neo4j projection - always full depth, so it takes no --analysis-level
java -jar codeanalyzer.jar -i /path/to/project --emit neo4j -o ./out # writes out/graph.cypherDownloads
| Asset | Description |
|---|---|
codeanalyzer.jar |
Self-contained analyzer (run with java -jar) |
codeanalyzer-installer.sh |
Installer that fetches the jar and adds a codeanalyzer launcher |
schema.neo4j.json |
Neo4j graph schema contract (node labels, relationships, DDL) |
🐛 Fixes
- fix(neo4j): carry module.source and span byte offsets so the graph can resolve text
- PR: #255
- fix(neo4j): carry body_span, type parameters, leaf spans and call-site facts
- PR: #258