pub fn write_all_csvs(
results: &[AnalysisResults],
merged_results: &MergedAnalysisResults,
output_dir: &Path,
file_paths: &[PathBuf],
) -> Result<()>Expand description
Writes all CSVs related to analysis results.
This function orchestrates the writing of multiple CSV files:
- Per-field statistics.
- Split comparison statistics.
- Custom comparison statistics.
- Per-field value statistics.
- Per-field bit statistics.
§Arguments
results- A slice ofAnalysisResults, one for each analyzed file.merged_results- AnMergedAnalysisResultsobject representing the merged results of all files.output_dir- The directory where the CSV files will be written.file_paths- A slice ofPathBufs representing the original file paths for each result.
§Returns
std::io::Result<()>- Ok if successful, otherwise an error.