| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Any is the preferred over interface{} now in Go.
|
| |
|
|
|
|
| |
#6070 explains the problem of data propagation.
1. Add weekly /cron/update_coverdb_subsystems.
2. Stop updating subsystems from coverage receiver API.
|
| | |
|
| | |
|
| |
|
|
| |
It is a bit shorter.
|
| |
|
|
| |
Get parameters are the internal interface.
|
| |
|
|
|
| |
1. Refactor handleHeatmap.
2. Introduce function options. Build them from http.Request.
|
| |
|
|
| |
getSpannerClient returns prod client as a default.
|
| |
|
|
| |
We periodically send coverage reports for the regressions detection.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
cover.Format controls the resulting view.
It allows to:
1. Remove records with 0 covered blocks.
2. Remove lines with low (user defined) coverage.
3. Order records by the covered lines drop value.
The corresponding GET parameters are:
1. Implicitly enabled for onlyUnique records.
2. min-cover-lines-drop=%d
3. order-by-cover-lines-drop=1
|
| |
|
|
|
| |
It allows to see records older than 12 periods.
And it allows to specify the target for coverage regression analysis.
|
| |
|
|
|
|
| |
It was previously disabled because line coverage required data from BigQuery.
It was too expensive.
Coverage numbers are available in the Spanner now.
|
| |
|
|
|
| |
Gerrit servers return base64 encoded file content.
To get the raw data, &format=TEXT request param is needed.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
1. Init coveragedb client once and propagate it through context to enable mocking.
2. Always init coverage handlers. It simplifies testing.
3. Read webGit and coveragedb client from ctx to make it mockable.
4. Use int for file line number and int64 for merged coverage.
5. Add tests.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1. Make heatmap testable, move out the spanner client instantiation.
2. Generate spannerdb.ReadOnlyTransaction mocks.
3. Generate spannerdb.RowIterator mocks.
4. Generate spannerdb.Row mocks.
5. Prepare spannerdb fixture.
6. Fixed html control name + value.
7. Added multiple tests.
8. Show line coverage from selected manager.
9. Propagate coverage url params to file coverage url.
|
| |
|