Record Class FuzzReport
java.lang.Object
java.lang.Record
org.ek9lang.compiler.fuzz.FuzzReport
public record FuzzReport(long generated, long parseable, long compiled, long compilerCrashes, long knownLimitations, long formatterCrashes, long multiFilePrograms, long totalFiles, long corrections, double programsPerSec, Duration elapsed, long totalGenTimeNs, long totalParseTimeNs, long totalCompileTimeNs, long totalSourceBytes, long totalSourceLines, long minSourceLines, long maxSourceLines, Map<String,Long> errorCodeCounts, Map<String,Long> phaseReachedCounts, Map<String,Long> constructCounts, Map<String,Long> constructCrashCounts, Map<String,Long> controlFlowCounts, Map<String,Long> controlFlowCrashCounts, Map<Integer,Long> paramCountHistogram, Map<String,Long> templateUsageCounts, Map<String,Long> templateCrashCounts, long strand4Matches, long strand4Mismatches, long strand4NoError, long strand4Skips, Map<String,Long> policyCounts, long hierarchiesInjected, long traitImplementations, Map<String, Map<String,Long>> strandPhaseCounts, long harvestSuccesses, long harvestFailures, long hierarchyReverts, long strand4CompoundAttempts, long strand4CompoundMatches, long strand4SurvivorReuses, long strand5SurvivorFeeds, long weightAdjustmentCount, long blindSpotAttempts, long blindSpotTriggered, long s2TemplatesInvalidated, List<Long> seedRotationTimestamps, long peakUsedMemoryMb, long lastUsedMemoryMb, long maxHeapMb, List<FuzzReport.ConvergencePoint> convergencePoints, List<FuzzReport.WeightSnapshot> weightSnapshots, Map<String,Integer> firstDiscoveryCounts, Map<String, List<FuzzStatistics.DiscoveryEvent>> discoveryTimeline, Set<Integer> activeStrands)
extends Record
Immutable snapshot of fuzz statistics at a point in time.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordLightweight time-series point for error coverage convergence analysis.static final recordStrand dispatch weight snapshot for adaptive weight timeline visualization. -
Constructor Summary
ConstructorsConstructorDescriptionFuzzReport(long generated, long parseable, long compiled, long compilerCrashes, long knownLimitations, long formatterCrashes, long multiFilePrograms, long totalFiles, long corrections, double programsPerSec, Duration elapsed, long totalGenTimeNs, long totalParseTimeNs, long totalCompileTimeNs, long totalSourceBytes, long totalSourceLines, long minSourceLines, long maxSourceLines, Map<String, Long> errorCodeCounts, Map<String, Long> phaseReachedCounts, Map<String, Long> constructCounts, Map<String, Long> constructCrashCounts, Map<String, Long> controlFlowCounts, Map<String, Long> controlFlowCrashCounts, Map<Integer, Long> paramCountHistogram, Map<String, Long> templateUsageCounts, Map<String, Long> templateCrashCounts, long strand4Matches, long strand4Mismatches, long strand4NoError, long strand4Skips, Map<String, Long> policyCounts, long hierarchiesInjected, long traitImplementations, Map<String, Map<String, Long>> strandPhaseCounts, long harvestSuccesses, long harvestFailures, long hierarchyReverts, long strand4CompoundAttempts, long strand4CompoundMatches, long strand4SurvivorReuses, long strand5SurvivorFeeds, long weightAdjustmentCount, long blindSpotAttempts, long blindSpotTriggered, long s2TemplatesInvalidated, List<Long> seedRotationTimestamps, long peakUsedMemoryMb, long lastUsedMemoryMb, long maxHeapMb, List<FuzzReport.ConvergencePoint> convergencePoints, List<FuzzReport.WeightSnapshot> weightSnapshots, Map<String, Integer> firstDiscoveryCounts, Map<String, List<FuzzStatistics.DiscoveryEvent>> discoveryTimeline, Set<Integer> activeStrands) Creates an instance of aFuzzReportrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactiveStrandsrecord component.Human-readable label for the active strands configuration.doubledoublelongReturns the value of theblindSpotAttemptsrecord component.longReturns the value of theblindSpotTriggeredrecord component.longcompiled()Returns the value of thecompiledrecord component.doublelongReturns the value of thecompilerCrashesrecord component.Returns the value of theconstructCountsrecord component.Returns the value of theconstructCrashCountsrecord component.Returns the value of thecontrolFlowCountsrecord component.Returns the value of thecontrolFlowCrashCountsrecord component.Returns the value of theconvergencePointsrecord component.longReturns the value of thecorrectionsrecord component.doublediscoverySharePercent(String strandId) Returns the value of thediscoveryTimelinerecord component.elapsed()Returns the value of theelapsedrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorCodeCountsrecord component.Cross-tabulate error code prefixes by strand.Returns the value of thefirstDiscoveryCountsrecord component.longReturns the value of theformatterCrashesrecord component.longReturns the value of thegeneratedrecord component.longReturns the value of theharvestFailuresrecord component.longReturns the value of theharvestSuccessesrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of thehierarchiesInjectedrecord component.longReturns the value of thehierarchyRevertsrecord component.booleanisStrandActive(int strand) Check if a specific strand was active during this run.longReturns the value of theknownLimitationsrecord component.longReturns the value of thelastUsedMemoryMbrecord component.longReturns the value of themaxHeapMbrecord component.longReturns the value of themaxSourceLinesrecord component.Merge probe/mutate/targeted template crashes into per-QA-ID arrays.Merge probe/mutate/targeted template usage into per-QA-ID arrays.longReturns the value of theminSourceLinesrecord component.doublelongReturns the value of themultiFileProgramsrecord component.Returns the value of theparamCountHistogramrecord component.longReturns the value of theparseablerecord component.doublelongReturns the value of thepeakUsedMemoryMbrecord component.Returns the value of thephaseReachedCountsrecord component.Returns the value of thepolicyCountsrecord component.doubleReturns the value of theprogramsPerSecrecord component.longReturns the value of thes2TemplatesInvalidatedrecord component.longBackward-compatible count of seed rotations.Returns the value of theseedRotationTimestampsrecord component.longReturns the value of thestrand4CompoundAttemptsrecord component.longReturns the value of thestrand4CompoundMatchesrecord component.doubleGet the percentage of a strand's programs that died at a given phase.longReturns the value of thestrand4Matchesrecord component.doublelongReturns the value of thestrand4Mismatchesrecord component.longReturns the value of thestrand4NoErrorrecord component.longReturns the value of thestrand4Skipsrecord component.longReturns the value of thestrand4SurvivorReusesrecord component.longlongReturns the value of thestrand5SurvivorFeedsrecord component.int[][]Build a 5x5 complementarity matrix showing error code overlap between strands.Compute box plot statistics (min, Q1, median, Q3, max) of phase ordinals per strand.Returns the value of thestrandPhaseCountsrecord component.doublestrandPhasePercent(String strandId, String phaseName) Returns the value of thetemplateCrashCountsrecord component.Returns the value of thetemplateUsageCountsrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalCompileTimeNsrecord component.longReturns the value of thetotalFilesrecord component.intlongReturns the value of thetotalGenTimeNsrecord component.longReturns the value of thetotalParseTimeNsrecord component.longReturns the value of thetotalSourceBytesrecord component.longReturns the value of thetotalSourceLinesrecord component.longReturns the value of thetraitImplementationsrecord component.intintintintlongReturns the value of theweightAdjustmentCountrecord component.Returns the value of theweightSnapshotsrecord component.
-
Constructor Details
-
FuzzReport
public FuzzReport(long generated, long parseable, long compiled, long compilerCrashes, long knownLimitations, long formatterCrashes, long multiFilePrograms, long totalFiles, long corrections, double programsPerSec, Duration elapsed, long totalGenTimeNs, long totalParseTimeNs, long totalCompileTimeNs, long totalSourceBytes, long totalSourceLines, long minSourceLines, long maxSourceLines, Map<String, Long> errorCodeCounts, Map<String, Long> phaseReachedCounts, Map<String, Long> constructCounts, Map<String, Long> constructCrashCounts, Map<String, Long> controlFlowCounts, Map<String, Long> controlFlowCrashCounts, Map<Integer, Long> paramCountHistogram, Map<String, Long> templateUsageCounts, Map<String, Long> templateCrashCounts, long strand4Matches, long strand4Mismatches, long strand4NoError, long strand4Skips, Map<String, Long> policyCounts, long hierarchiesInjected, long traitImplementations, Map<String, Map<String, Long>> strandPhaseCounts, long harvestSuccesses, long harvestFailures, long hierarchyReverts, long strand4CompoundAttempts, long strand4CompoundMatches, long strand4SurvivorReuses, long strand5SurvivorFeeds, long weightAdjustmentCount, long blindSpotAttempts, long blindSpotTriggered, long s2TemplatesInvalidated, List<Long> seedRotationTimestamps, long peakUsedMemoryMb, long lastUsedMemoryMb, long maxHeapMb, List<FuzzReport.ConvergencePoint> convergencePoints, List<FuzzReport.WeightSnapshot> weightSnapshots, Map<String, Integer> firstDiscoveryCounts, Map<String, List<FuzzStatistics.DiscoveryEvent>> discoveryTimeline, Set<Integer> activeStrands) Creates an instance of aFuzzReportrecord class.- Parameters:
generated- the value for thegeneratedrecord componentparseable- the value for theparseablerecord componentcompiled- the value for thecompiledrecord componentcompilerCrashes- the value for thecompilerCrashesrecord componentknownLimitations- the value for theknownLimitationsrecord componentformatterCrashes- the value for theformatterCrashesrecord componentmultiFilePrograms- the value for themultiFileProgramsrecord componenttotalFiles- the value for thetotalFilesrecord componentcorrections- the value for thecorrectionsrecord componentprogramsPerSec- the value for theprogramsPerSecrecord componentelapsed- the value for theelapsedrecord componenttotalGenTimeNs- the value for thetotalGenTimeNsrecord componenttotalParseTimeNs- the value for thetotalParseTimeNsrecord componenttotalCompileTimeNs- the value for thetotalCompileTimeNsrecord componenttotalSourceBytes- the value for thetotalSourceBytesrecord componenttotalSourceLines- the value for thetotalSourceLinesrecord componentminSourceLines- the value for theminSourceLinesrecord componentmaxSourceLines- the value for themaxSourceLinesrecord componenterrorCodeCounts- the value for theerrorCodeCountsrecord componentphaseReachedCounts- the value for thephaseReachedCountsrecord componentconstructCounts- the value for theconstructCountsrecord componentconstructCrashCounts- the value for theconstructCrashCountsrecord componentcontrolFlowCounts- the value for thecontrolFlowCountsrecord componentcontrolFlowCrashCounts- the value for thecontrolFlowCrashCountsrecord componentparamCountHistogram- the value for theparamCountHistogramrecord componenttemplateUsageCounts- the value for thetemplateUsageCountsrecord componenttemplateCrashCounts- the value for thetemplateCrashCountsrecord componentstrand4Matches- the value for thestrand4Matchesrecord componentstrand4Mismatches- the value for thestrand4Mismatchesrecord componentstrand4NoError- the value for thestrand4NoErrorrecord componentstrand4Skips- the value for thestrand4Skipsrecord componentpolicyCounts- the value for thepolicyCountsrecord componenthierarchiesInjected- the value for thehierarchiesInjectedrecord componenttraitImplementations- the value for thetraitImplementationsrecord componentstrandPhaseCounts- the value for thestrandPhaseCountsrecord componentharvestSuccesses- the value for theharvestSuccessesrecord componentharvestFailures- the value for theharvestFailuresrecord componenthierarchyReverts- the value for thehierarchyRevertsrecord componentstrand4CompoundAttempts- the value for thestrand4CompoundAttemptsrecord componentstrand4CompoundMatches- the value for thestrand4CompoundMatchesrecord componentstrand4SurvivorReuses- the value for thestrand4SurvivorReusesrecord componentstrand5SurvivorFeeds- the value for thestrand5SurvivorFeedsrecord componentweightAdjustmentCount- the value for theweightAdjustmentCountrecord componentblindSpotAttempts- the value for theblindSpotAttemptsrecord componentblindSpotTriggered- the value for theblindSpotTriggeredrecord components2TemplatesInvalidated- the value for thes2TemplatesInvalidatedrecord componentseedRotationTimestamps- the value for theseedRotationTimestampsrecord componentpeakUsedMemoryMb- the value for thepeakUsedMemoryMbrecord componentlastUsedMemoryMb- the value for thelastUsedMemoryMbrecord componentmaxHeapMb- the value for themaxHeapMbrecord componentconvergencePoints- the value for theconvergencePointsrecord componentweightSnapshots- the value for theweightSnapshotsrecord componentfirstDiscoveryCounts- the value for thefirstDiscoveryCountsrecord componentdiscoveryTimeline- the value for thediscoveryTimelinerecord componentactiveStrands- the value for theactiveStrandsrecord component
-
-
Method Details
-
seedRotations
public long seedRotations()Backward-compatible count of seed rotations. -
isStrandActive
public boolean isStrandActive(int strand) Check if a specific strand was active during this run. Returns true when no filter was set (all strands active). -
activeStrandsLabel
Human-readable label for the active strands configuration. -
uniqueErrorCodes
public int uniqueErrorCodes() -
uniqueConstructs
public int uniqueConstructs() -
uniqueControlFlow
public int uniqueControlFlow() -
avgSourceLines
public double avgSourceLines() -
avgFilesPerProgram
public double avgFilesPerProgram() -
multiFilePercent
public double multiFilePercent() -
parseablePercent
public double parseablePercent() -
compiledPercent
public double compiledPercent() -
uniqueTemplatesUsed
public int uniqueTemplatesUsed() -
strand4Total
public long strand4Total() -
strand4MatchPercent
public double strand4MatchPercent() -
strand4CompoundMatchPercent
public double strand4CompoundMatchPercent()Get the percentage of a strand's programs that died at a given phase. -
strandPhasePercent
-
totalFirstDiscoveries
public int totalFirstDiscoveries() -
mergedTemplateUsage
-
mergedTemplateCrashes
-
strandComplementarityMatrix
public int[][] strandComplementarityMatrix()Build a 5x5 complementarity matrix showing error code overlap between strands. Cell (i,j) = number of codes first discovered by Si that Sj never found at any count. Diagonal = total first discoveries for that strand. -
errorGroupByStrand
-
strandPhaseBoxPlotStats
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
generated
public long generated()Returns the value of thegeneratedrecord component.- Returns:
- the value of the
generatedrecord component
-
parseable
public long parseable()Returns the value of theparseablerecord component.- Returns:
- the value of the
parseablerecord component
-
compiled
public long compiled()Returns the value of thecompiledrecord component.- Returns:
- the value of the
compiledrecord component
-
compilerCrashes
public long compilerCrashes()Returns the value of thecompilerCrashesrecord component.- Returns:
- the value of the
compilerCrashesrecord component
-
knownLimitations
public long knownLimitations()Returns the value of theknownLimitationsrecord component.- Returns:
- the value of the
knownLimitationsrecord component
-
formatterCrashes
public long formatterCrashes()Returns the value of theformatterCrashesrecord component.- Returns:
- the value of the
formatterCrashesrecord component
-
multiFilePrograms
public long multiFilePrograms()Returns the value of themultiFileProgramsrecord component.- Returns:
- the value of the
multiFileProgramsrecord component
-
totalFiles
public long totalFiles()Returns the value of thetotalFilesrecord component.- Returns:
- the value of the
totalFilesrecord component
-
corrections
public long corrections()Returns the value of thecorrectionsrecord component.- Returns:
- the value of the
correctionsrecord component
-
programsPerSec
public double programsPerSec()Returns the value of theprogramsPerSecrecord component.- Returns:
- the value of the
programsPerSecrecord component
-
elapsed
Returns the value of theelapsedrecord component.- Returns:
- the value of the
elapsedrecord component
-
totalGenTimeNs
public long totalGenTimeNs()Returns the value of thetotalGenTimeNsrecord component.- Returns:
- the value of the
totalGenTimeNsrecord component
-
totalParseTimeNs
public long totalParseTimeNs()Returns the value of thetotalParseTimeNsrecord component.- Returns:
- the value of the
totalParseTimeNsrecord component
-
totalCompileTimeNs
public long totalCompileTimeNs()Returns the value of thetotalCompileTimeNsrecord component.- Returns:
- the value of the
totalCompileTimeNsrecord component
-
totalSourceBytes
public long totalSourceBytes()Returns the value of thetotalSourceBytesrecord component.- Returns:
- the value of the
totalSourceBytesrecord component
-
totalSourceLines
public long totalSourceLines()Returns the value of thetotalSourceLinesrecord component.- Returns:
- the value of the
totalSourceLinesrecord component
-
minSourceLines
public long minSourceLines()Returns the value of theminSourceLinesrecord component.- Returns:
- the value of the
minSourceLinesrecord component
-
maxSourceLines
public long maxSourceLines()Returns the value of themaxSourceLinesrecord component.- Returns:
- the value of the
maxSourceLinesrecord component
-
errorCodeCounts
-
phaseReachedCounts
-
constructCounts
-
constructCrashCounts
-
controlFlowCounts
-
controlFlowCrashCounts
-
paramCountHistogram
-
templateUsageCounts
-
templateCrashCounts
-
strand4Matches
public long strand4Matches()Returns the value of thestrand4Matchesrecord component.- Returns:
- the value of the
strand4Matchesrecord component
-
strand4Mismatches
public long strand4Mismatches()Returns the value of thestrand4Mismatchesrecord component.- Returns:
- the value of the
strand4Mismatchesrecord component
-
strand4NoError
public long strand4NoError()Returns the value of thestrand4NoErrorrecord component.- Returns:
- the value of the
strand4NoErrorrecord component
-
strand4Skips
public long strand4Skips()Returns the value of thestrand4Skipsrecord component.- Returns:
- the value of the
strand4Skipsrecord component
-
policyCounts
-
hierarchiesInjected
public long hierarchiesInjected()Returns the value of thehierarchiesInjectedrecord component.- Returns:
- the value of the
hierarchiesInjectedrecord component
-
traitImplementations
public long traitImplementations()Returns the value of thetraitImplementationsrecord component.- Returns:
- the value of the
traitImplementationsrecord component
-
strandPhaseCounts
-
harvestSuccesses
public long harvestSuccesses()Returns the value of theharvestSuccessesrecord component.- Returns:
- the value of the
harvestSuccessesrecord component
-
harvestFailures
public long harvestFailures()Returns the value of theharvestFailuresrecord component.- Returns:
- the value of the
harvestFailuresrecord component
-
hierarchyReverts
public long hierarchyReverts()Returns the value of thehierarchyRevertsrecord component.- Returns:
- the value of the
hierarchyRevertsrecord component
-
strand4CompoundAttempts
public long strand4CompoundAttempts()Returns the value of thestrand4CompoundAttemptsrecord component.- Returns:
- the value of the
strand4CompoundAttemptsrecord component
-
strand4CompoundMatches
public long strand4CompoundMatches()Returns the value of thestrand4CompoundMatchesrecord component.- Returns:
- the value of the
strand4CompoundMatchesrecord component
-
strand4SurvivorReuses
public long strand4SurvivorReuses()Returns the value of thestrand4SurvivorReusesrecord component.- Returns:
- the value of the
strand4SurvivorReusesrecord component
-
strand5SurvivorFeeds
public long strand5SurvivorFeeds()Returns the value of thestrand5SurvivorFeedsrecord component.- Returns:
- the value of the
strand5SurvivorFeedsrecord component
-
weightAdjustmentCount
public long weightAdjustmentCount()Returns the value of theweightAdjustmentCountrecord component.- Returns:
- the value of the
weightAdjustmentCountrecord component
-
blindSpotAttempts
public long blindSpotAttempts()Returns the value of theblindSpotAttemptsrecord component.- Returns:
- the value of the
blindSpotAttemptsrecord component
-
blindSpotTriggered
public long blindSpotTriggered()Returns the value of theblindSpotTriggeredrecord component.- Returns:
- the value of the
blindSpotTriggeredrecord component
-
s2TemplatesInvalidated
public long s2TemplatesInvalidated()Returns the value of thes2TemplatesInvalidatedrecord component.- Returns:
- the value of the
s2TemplatesInvalidatedrecord component
-
seedRotationTimestamps
-
peakUsedMemoryMb
public long peakUsedMemoryMb()Returns the value of thepeakUsedMemoryMbrecord component.- Returns:
- the value of the
peakUsedMemoryMbrecord component
-
lastUsedMemoryMb
public long lastUsedMemoryMb()Returns the value of thelastUsedMemoryMbrecord component.- Returns:
- the value of the
lastUsedMemoryMbrecord component
-
maxHeapMb
public long maxHeapMb()Returns the value of themaxHeapMbrecord component.- Returns:
- the value of the
maxHeapMbrecord component
-
convergencePoints
Returns the value of theconvergencePointsrecord component.- Returns:
- the value of the
convergencePointsrecord component
-
weightSnapshots
Returns the value of theweightSnapshotsrecord component.- Returns:
- the value of the
weightSnapshotsrecord component
-
firstDiscoveryCounts
-
discoveryTimeline
Returns the value of thediscoveryTimelinerecord component.- Returns:
- the value of the
discoveryTimelinerecord component
-
activeStrands
-