Skip to main content

generate_report

Function generate_report 

Source
pub fn generate_report(
    cpg: &CodePropertyGraph,
    project_name: &str,
) -> Result<String, Error>
Expand description

Generates a full HTML report for the given project graph.

§Arguments

  • cpg - The Code Property Graph to report on.
  • project_name - A human‑readable name for the project.

§Returns

A Result containing the HTML string, or an error if serialization fails.