Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
deadset
command
Command deadset is the front door of the deadset dead-code toolkit.
|
Command deadset is the front door of the deadset dead-code toolkit. |
|
internal
|
|
|
config
Package config resolves the deadset configuration for the orchestrator.
|
Package config resolves the deadset configuration for the orchestrator. |
|
detect
Package detect decides which languages a target holds, from the names of its files alone.
|
Package detect decides which languages a target holds, from the names of its files alone. |
|
gomod
Package gomod reads the path a Go module publishes itself under from the go.mod file that governs a directory, the way the go command finds and reads that file, and reads nothing else of it.
|
Package gomod reads the path a Go module publishes itself under from the go.mod file that governs a directory, the way the go command finds and reads that file, and reads nothing else of it. |
|
invoke
Package invoke runs an analyzer as a separate process: Describe runs its describe verb and admits or refuses the analyzer from what it prints, and Analyze runs its analyze verb and reads the report the analyzer writes to the file the invocation names.
|
Package invoke runs an analyzer as a separate process: Describe runs its describe verb and admits or refuses the analyzer from what it prints, and Analyze runs its analyze verb and reads the report the analyzer writes to the file the invocation names. |
|
merge
Package merge combines the reports analyzers wrote over one target into one merged report, by the algorithm contract/grammar/merge.md states.
|
Package merge combines the reports analyzers wrote over one target into one merged report, by the algorithm contract/grammar/merge.md states. |
|
present
Package present shapes the merged report a run writes and prints, once, after the merge returns: the configured severity of every finding the merge emitted itself, the configured order of the findings, and the configured maximum finding count.
|
Package present shapes the merged report a run writes and prints, once, after the merge returns: the configured severity of every finding the merge emitted itself, the configured order of the findings, and the configured maximum finding count. |
|
providers
Package providers chooses the analyzers a run invokes: the entries of the provider list that claim a language in scope, each with the executable its command resolves to.
|
Package providers chooses the analyzers a run invokes: the entries of the provider list that claim a language in scope, each with the executable its command resolves to. |
|
render
Package render writes the merged report in the two formats that are documents of their own rather than lines of the run's output: a SARIF 2.1.0 log for upload to code scanning, and the rendering of a template the user supplies.
|
Package render writes the merged report in the two formats that are documents of their own rather than lines of the run's output: a SARIF 2.1.0 log for upload to code scanning, and the rendering of a template the user supplies. |
|
report
Package report is the deadset report document as Go values: the envelope one analyzer writes over one analysis, the envelope a merge writes over several, and the finding both carry.
|
Package report is the deadset report document as Go values: the envelope one analyzer writes over one analysis, the envelope a merge writes over several, and the finding both carry. |
|
rundir
Package rundir lays out the run directory: the evidence for every exit code the orchestrator returns.
|
Package rundir lays out the run directory: the evidence for every exit code the orchestrator returns. |
|
scope
Package scope reads the scope document an invocation names: the target a run reports on and the consumers whose references count against it, each a directory on the local filesystem.
|
Package scope reads the scope document an invocation names: the target a run reports on and the consumers whose references count against it, each a directory on the local filesystem. |
|
summary
Package summary renders what a run prints about its merged report beside the report itself: one text line per finding and per stale suppression, the analyzers the merge read, one summary line over every language the run covered, the remediation of a failing finding, and one workflow annotation per finding and per stale suppression.
|
Package summary renders what a run prints about its merged report beside the report itself: one text line per finding and per stale suppression, the analyzers the merge read, one summary line over every language the run covered, the remediation of a failing finding, and one workflow annotation per finding and per stale suppression. |
|
verdict
Package verdict is the Contract's exit-code table: the code a run returns, read from the report the run produced or from the error that ended it before a report existed.
|
Package verdict is the Contract's exit-code table: the code a run returns, read from the report the run produced or from the error that ended it before a report existed. |
Click to show internal directories.
Click to hide internal directories.