Expand description
Output formatters: CSV, SARIF, Checkstyle, clang/MSVC warning
lines, and AST/metric pretty-dumps used by bca and the offender
reporters.
The most commonly used writers (write_csv, write_sarif,
write_checkstyle, write_clang_warning, write_msvc_warning)
and shared types (OffenderRecord, Severity, TOOL_ID,
CSV_HEADER, CSV_EXTENSION) are also re-exported at the crate
root.
Re-exports§
pub use offenders::OffenderRecord;pub use offenders::Severity;pub use offenders::TOOL_ID;pub use checkstyle::write_checkstyle;pub use csv::CSV_EXTENSION;pub use csv::CSV_HEADER;pub use csv::write_csv;pub use sarif::write_sarif;pub use warning_line::write_clang_warning;pub use warning_line::write_msvc_warning;
Modules§
- checkstyle
- Checkstyle 4.3 XML writer for
OffenderRecordbatches. - csv
- CSV writer for
FuncSpacetrees. - offenders
- Offender records consumed by CI/IDE output formats.
- sarif
- SARIF 2.1.0 writer for
OffenderRecordbatches. - warning_
line - Compiler-warning line writers for
OffenderRecordbatches.
Structs§
- Dump
- Type tag identifying the AST-dump action; carries no data.
- DumpCfg
- Configuration options for dumping the
ASTof a code.