Class ResponseCoverageMatrixReader
java.lang.Object
com.arc_e_tect.gradle.trackerlens.tracker.ResponseCoverageMatrixReader
Reads the same NDJSON file
ResponseCoverageTrackerSource reads, but into
ResponseCoverageCells - the current-state snapshot pivot a coverage-depth grid needs,
which LifecycleRecord's milestone-timestamp shape cannot carry (no field for
testCount, and verb/path/responseCode would need to stay
independently pivotable rather than fused into one label string).
Only currently-declared rows are returned (a non-null removedAt is skipped) -
consistent with this plugin's own "exclude removed items from current-state views" convention
for chartSeries/projection counts elsewhere. There is deliberately no notion of "as of a
past date" here: testCount is a live gauge the source NDJSON never preserves a history
of, so a matrix can only ever reflect the most recent scan.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReadshistoryFileand returns every currently-declared cell.
-
Constructor Details
-
ResponseCoverageMatrixReader
public ResponseCoverageMatrixReader()Creates a newResponseCoverageMatrixReader.
-
-
Method Details
-
read
ReadshistoryFileand returns every currently-declared cell.- Parameters:
historyFile- the NDJSON history file; guaranteed by the caller to exist- Returns:
- the currently-declared cells; a line that fails to parse, or whose
removedAtis non-null, is skipped
-