Class FuzzJsonReporter

java.lang.Object
org.ek9lang.compiler.fuzz.FuzzJsonReporter

public final class FuzzJsonReporter extends Object
Produces JSON output for fuzz testing results.

Generates two files:

  • fuzz-report.json — final summary with release_gate object
  • fuzz-snapshots.jsonl — time-series (one JSON line per 30s interval)
  • Constructor Details

    • FuzzJsonReporter

      public FuzzJsonReporter()
  • Method Details

    • appendSnapshot

      public void appendSnapshot(FuzzReport report, Path crashDir)
      Append a single snapshot line to the JSONL time-series file. Called periodically (every 30s) during a fuzz run.
    • generateReport

      public void generateReport(FuzzReport report, Path crashDir)
      Generate the final JSON report file.
      Parameters:
      report - The final fuzz report snapshot
      crashDir - The crash directory (fuzz-report.json is written here)