Enum Class FuzzOutputFormat
- All Implemented Interfaces:
Serializable, Comparable<FuzzOutputFormat>, Constable
Output format for fuzz testing results.
Follows the EK9 pattern of numbered suffixes on the action flag itself
(-fuzz0, -fuzz1, -fuzz2, -fuzz6), mirroring the test format convention
(-t0, -t1, -t2, -t6) but scoped to the fuzz action.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic FuzzOutputFormatParse a command line flag to determine the fuzz output format.Get the primary flag for this format.booleanCheck if this format matches the given command line flag.static FuzzOutputFormatReturns the enum constant of this class with the specified name.static FuzzOutputFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TERSE
Terse output - one-line CI pass/fail summary. Format: "PASS: 0 crashes, 42/303 errors, 500 programs in 1m 0s" Use case: CI pass/fail gate. -
HUMAN
Human-readable output with visual formatting. Full report with histograms and statistics to stdout. Use case: Developer at terminal (default). -
JSON
JSON structured output for programmatic consumption. Produces fuzz-report.json (final summary) and fuzz-snapshots.jsonl (time-series). Use case: CD pipeline, scripts, AI. -
HTML
HTML mini-site dashboard. Generates fuzz-report/index.html with charts and interactive error code search. Use case: Browser-based gap analysis.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
matches
Check if this format matches the given command line flag. -
fromFlag
Parse a command line flag to determine the fuzz output format.- Parameters:
flag- The flag to parse (e.g., "-fuzz", "-fuzz0", "-fuzz2", "-fuzz6")- Returns:
- The matching format, or HUMAN as default
-
getPrimaryFlag
Get the primary flag for this format.
-