Skip to main content

Module report

Module report 

Source
Expand description

Scan report rendering (overview, conventions, next steps). Scan report rendering.

This module formats and prints the scan report to stderr. Report code is separated from scan logic so that scan.rs handles orchestration while report/ handles presentation.

§Architecture

The report module receives pre-computed ReportData — it never queries the database directly. Data collection happens in scan.rs which passes a fully populated ReportData struct.

Modules§

conventions
Conventions Detected and Next Steps sections. Conventions Detected and Next Steps sections of the scan report.
overview
Project Overview section (language breakdown, dependency counts). Project Overview section of the scan report.

Structs§

EcosystemCount
Dependency count for a single ecosystem (language).
LanguageCount
File count for a single language.
ReportData
Pre-computed data for the scan report.

Functions§

build_report_data
Build ReportData from scan results and parsed files.
print_report
Print the full scan report, respecting verbosity and color settings.