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 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)
extends Record
Immutable snapshot of fuzz statistics at a point in time.
-
Constructor Summary
ConstructorsConstructorDescriptionFuzzReport(long generated, long parseable, long compiled, long compilerCrashes, 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) Creates an instance of aFuzzReportrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubledoublelongcompiled()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.longReturns the value of thecorrectionsrecord 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.longReturns the value of theformatterCrashesrecord component.longReturns the value of thegeneratedrecord component.final inthashCode()Returns a hash code value for this object.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.doubleReturns the value of thephaseReachedCountsrecord component.doubleReturns the value of theprogramsPerSecrecord component.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 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.longReturns the value of thetotalGenTimeNsrecord component.longReturns the value of thetotalParseTimeNsrecord component.longReturns the value of thetotalSourceBytesrecord component.longReturns the value of thetotalSourceLinesrecord component.intintintint
-
Constructor Details
-
FuzzReport
public FuzzReport(long generated, long parseable, long compiled, long compilerCrashes, 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) 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 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 component
-
-
Method Details
-
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() -
mergedTemplateUsage
-
mergedTemplateCrashes
-
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
-
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
-