Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2038)

Unified Diff: fuzzer/go/fuzzer-fe/main.go

Issue 1695803002: Improve fuzz counts (Closed) Base URL: https://skia.googlesource.com/buildbot@dedup-first
Patch Set: Add docs Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fuzzer/go/frontend/syncer/fuzz_syncer.go ('k') | fuzzer/res/imp/fuzzer-collapse-file-sk.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fuzzer/go/fuzzer-fe/main.go
diff --git a/fuzzer/go/fuzzer-fe/main.go b/fuzzer/go/fuzzer-fe/main.go
index f5a21adefb9d10200cc25903aed611e601d5342a..4f95f0aeef7def3ea1ef9f2269e3f6f57880e225 100644
--- a/fuzzer/go/fuzzer-fe/main.go
+++ b/fuzzer/go/fuzzer-fe/main.go
@@ -268,8 +268,8 @@ type countSummary struct {
TotalBad int `json:"totalBadCount"`
TotalGrey int `json:"totalGreyCount"`
// "This" means "newly introduced/fixed in this revision"
- ThisBad int `json:"thisBadCount"`
- ThisGrey int `json:"thisGreyCount"`
+ ThisBad int `json:"thisBadCount"`
+ ThisRegression int `json:"thisRegressionCount"`
}
func summaryJSONHandler(w http.ResponseWriter, r *http.Request) {
@@ -289,10 +289,10 @@ func getSummary() []countSummary {
Category: cat,
}
c := syncer.FuzzCount{
- TotalBad: -1,
- TotalGrey: -1,
- ThisBad: -1,
- ThisGrey: -1,
+ TotalBad: -1,
+ TotalGrey: -1,
+ ThisBad: -1,
+ ThisRegression: -1,
}
if fuzzSyncer != nil {
c = fuzzSyncer.LastCount(cat)
@@ -300,7 +300,7 @@ func getSummary() []countSummary {
o.TotalBad = c.TotalBad
o.ThisBad = c.ThisBad
o.TotalGrey = c.TotalGrey
- o.ThisGrey = c.ThisGrey
+ o.ThisRegression = c.ThisRegression
counts = append(counts, o)
}
return counts
« no previous file with comments | « fuzzer/go/frontend/syncer/fuzz_syncer.go ('k') | fuzzer/res/imp/fuzzer-collapse-file-sk.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698