Aggregates per-file measurements into tree statistics.
A file counts as orphaned when no other scanned file holds a link resolving to it (inboundLinkCount === 0), so single-file scans report one orphan.
Scanned file measurements for the full scan
Aggregate statistics with a stable field order
Aggregates per-file measurements into tree statistics.
A file counts as orphaned when no other scanned file holds a link resolving to it (inboundLinkCount === 0), so single-file scans report one orphan.