Code Coverage Feature From Adil - #5036
Open
adilzhetigenov wants to merge 3 commits into
Open
Conversation
Implement comprehensive code coverage functionality with hierarchical navigation and LCOV-compatible visualization. Frontend: - Add CoverageStatistics component for hierarchical directory/file navigation with coverage metrics (line and function coverage) - Enhance CodeCoverageView with LCOV-style line-by-line coverage display: * Two-column layout (line data + source code) * Right-aligned execution counts * Color-coded coverage (green/yellow/red based on thresholds) * Breadcrumb navigation with one-level-at-a-time navigation * Coverage summary table matching LCOV format - Add routes for coverage statistics and file views - Update component exports Backend: - Enhance mass_store_run.py with 6-strategy path matching for coverage data association (exact, trimmed, filename-only, both in-memory and DB queries) - Add duplicate coverage line detection to prevent data duplication - Protect files with coverage data from cleanup in db_cleanup.py - Add Tasks endpoint to webpack dev server proxy configuration Configuration: - Update .gitignore to exclude runtime-generated analysis and coverage files (plist, gcda, gcno, coverage.json, reports/, etc.) The implementation follows LCOV's coverage calculation logic: - Only executable lines are counted (excludes comments, includes, closing braces) - Simple return statements are excluded from coverage metrics - Coverage percentages match LCOV calculations exactly - Display format matches LCOV HTML reports
adilzhetigenov
requested review from
bruntib and
gulyasgergely902
as code owners
August 17, 2026 06:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Code Coverage Feature that was built as Thesis with supervision of Tibor Brunner.