Analyze code and dependency usage patterns with vet’s code analysis features
vet
uses the code analysis framework built on top of tree-sitter parsers. The goal of this framework is to support multiple languages, source repositories (local and remote), and report the findings.
vet
uses these findings to create a Code analysis database, which can be used for enriching and analyzing manifests during scanning.
vet scan
.
--lang
to analyze all supported languages--lang
parameter to enable analysis of all supported languages automatically.vet scan
, provide the Code analysis database path using the --code
flag.
Dependency usage analysis is a fundamental feature that’s enabled by default when using a code database.
vet scan
provides:
used-in-code
tags proving actual library usageAnalyze Code
Enhanced Scan
Review Results
--lang
flag:
Experimental Status
Performance Impact
Storage Requirements