v1.5.0 — multi-format coverage, trend reports, and UI polish
Overview
v1.5.0 delivers multi-format coverage parsing (Cobertura, JaCoCo, Istanbul/NYC alongside LCOV), a richer Test Metrics dashboard with animated gauge cards and a stat-chip summary strip, enhanced trend-report tables with sortable columns and client-side filtering, and a broad set of report and UI polish improvements across every surface.
What's Changed
New Features
- Multi-format coverage parsing (
sloc-core): Auto-detecting parsers for Cobertura XML, JaCoCo XML, Istanbul/NYC JSON, and LCOV.parse_coverage_auto()dispatches by file extension and content sniff; the web file picker now accepts all four formats. /api/suggest-coverageendpoint (sloc-web): Returns the inferred coverage file path(s) and recommended generation command for a project root.detect_coverage_tool()examines the directory tree forCargo.toml,pom.xml,build.gradle,package.json, and other build files.- Test Metrics stat-chip summary strip (
sloc-web): Replaced single test-density badge on/test-metricswith a four-chip strip: test-to-code density, most-tested language, languages-with-tests count, and overall line coverage percentage. cov-gauge-cardcoverage components (sloc-web): Coverage display upgraded to animated gauge cards showing label, large percentage value, and animated progress-bar track; cards lift on hover.- Trend report table enhancements (
sloc-web): Scan-history table in/trend-reportsgains sortable columns (click header, up/down icons), column-resize handles, and a client-side filter row. - Trend report stat chips (
sloc-web): Summary chips show Total Scans, Latest metric value, Net Change (+/- colour coded), and Projects count.
Changed
- Artifact URL segment order (
sloc-web): Run artifact URLs swapped from/runs/{run_id}/{artifact}to/runs/{artifact}/{run_id}across all construction sites, route definitions, Confluence push, git_browser, and integrations handlers. - Run-ID chips (
sloc-report): Run-ID banners switch toposition:fixedso they repeat on every printed/PDF page; chips lift on hover with click-to-copy tooltip. - Support-opportunities table (
sloc-report): Description and Example columns now wrap with styled example-file badges instead of overflowing. - Per-file table scrollbar (
sloc-report):overflow-y:scrollforced on per-file and skipped-file tables; JS IIFE measures actual scrollbar track width and compensates table padding. - Per-file table column widths (
sloc-report): All columns corrected to sum to ~98% preventing overflow under the scrollbar. - PDF print output (
sloc-report): Print zoom set to 0.82, chart spacing tightened, scatter chart in single-column centred layout. - Nav dropdown gap (
sloc-web,sloc-report): after pseudo-element bridge on dropdown triggers prevents hover state loss. - CLI headless-chrome noise (
sloc-cli): Suppressed headless_chrome crate transport log lines from the default tracing filter.