aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/cover/heatmap_test.go
Commit message (Collapse)AuthorAgeFilesLines
* dashboard/app: send coverage report to ns-defined emailTaras Madan2025-04-301-1/+1
| | | | We periodically send coverage reports for the regressions detection.
* pkg/cover: always hide empty dirsTaras Madan2025-04-251-0/+12
| | | | The last filtering step is the empty dirs removal.
* dashboard/app: aggregate coverage drop numbers bottom-upTaras Madan2025-04-221-0/+2
| | | | Tree view now shows the total drop for every item.
* dashboard/app: enable coverage pages formattingTaras Madan2025-04-111-48/+196
| | | | | | | | | | | | | 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
* pkg/cover: split logic, move some data processing to pkg/coveragedbTaras Madan2025-02-061-245/+5
|
* dashboard/app: change coverage linksTaras Madan2025-01-311-5/+5
| | | | It will simplify the json API links.
* dashboard/app: looking for the unique coverage, hide record with zero hitcountTaras Madan2025-01-271-8/+27
|
* dashboard/app: test coverage /file linkTaras Madan2025-01-271-8/+8
| | | | | | | | 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.
* dashboard/app: show manager unique coverageTaras Madan2025-01-271-0/+240
| | | | | | | | | | | | 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.
* pkg/cover: render file linksTaras Madan2024-10-021-5/+5
|
* pkg/cover: specify target commit requesting the line coverageTaras Madan2024-10-021-8/+17
|
* pkg/cover: add FileCoverageLink to templateHeatmapRowTaras Madan2024-10-021-1/+11
|
* pkg/cover: use timePeriods instead of civil.DateTaras Madan2024-10-021-5/+6
|
* pkg/covermerger: add tooltips to every coverage numberTaras Madan2024-08-271-0/+22
| | | | | | | Hover mouse onto the percent value to see details. To test: $ go run ./tools/syz-cover -heatmap upstream -from 2024-08-23 -to 2024-08-23 $ google-chrome upstream.html
* syz-covermerger: store subsystems details in spannerTaras Madan2024-07-221-4/+4
|
* pkg/cover/heatmap.go: add blocks countTaras Madan2024-07-151-25/+31
|
* pkg/cover: add heatmap_test.goTaras Madan2024-07-151-0/+113