SQL stored procedures
Procedures, functions, packages, tables, views, triggers — with CALL/EXECUTE edges and inferred (*) nodes for DML-only references.
SQL · MyBatis/iBatis · Java · JSP
codeweb parses stored procedures, mapper XML, Java, and JSP into one traversable semantic graph — trace callers, compute impact, and export to DOT, JSON, Mermaid, or NDJSON.
Single Rust binary. Incremental re-analysis. No database required.
One loop
cargo build --release --features full
codeweb init my-project -d ./src/main/java -d ./sql
codeweb analyze && codeweb trace "process_order"The first analyze parses everything; the next one re-parses only files whose fingerprint changed.
What it connects
Procedures, functions, packages, tables, views, triggers — with CALL/EXECUTE edges and inferred (*) nodes for DML-only references.
Mapped statements linked to the procedures and tables their SQL bodies touch, keyed by namespace.id.
Method call graphs, mapper-id bridges, and SQL embedded in annotations or JDBC calls.
SQL in <% %> scriptlets and declarations flows into the same graph through a Java preprocessor.
Trace, inspect reachability, file-level impact, table and column lineage, and a declarative JSON query engine.
A Cytoscape.js browser UI plus 13 REST endpoints, and 11 MCP tools for LLM clients — one store behind all of them.
Count it yourself
Every number is checkable against the repository of codeweb v0.9.11.
init to conflicts — see the CLI reference/api/v1 when built with serve*) variants and importsQuestions
The bundled parser targets the openGauss / GaussDB dialect. Other vendor dialects may parse partially or fail.
No. The default build includes the CLI, TUI, JSP, and Java extraction. Build with --features serve, --features mcp, or --features full to add them.
No. codeweb reads source files and writes its state under .codeweb/ in the project directory. Analysis is static; dynamic SQL appears only as unresolved nodes.
Start from the getting-started guide.Build the binary, analyze the bundled demo project, and trace your first chain in minutes.