• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

coverallsapp / coverage-reporter / 17813769888
94%

Build:
DEFAULT BRANCH: master
Ran 18 Sep 2025 12:02AM UTC
Jobs 1
Files 42
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Sep 2025 12:00AM UTC coverage: 93.911% (-0.07%) from 93.983%
17813769888

push

github

web-flow
Fix: handle empty/zero-line classes in Cobertura parser + add regression tests (#177)

This fixes the overflow reported by customer large Cobertura XML uploads, adds safety tests, and makes the dev environment reproducible.

- Fixed Cobertura parser crash ("Arithmetic overflow") when a file had no <line> entries or only line="0" entries (e.g. kvstore/__init__.py).
- Added two tiny fixtures (cobertura-empty-lines.xml, cobertura-zero-only.xml) and new specs to prevent regressions.
- Updated developer setup:
  • Added .venv/ workflow for Python deps (coverage.py + pytest).
  • Pinned Python version in .python-version (3.12.7).
  • Updated README with clear local dev/test instructions.
  • Added Makefile `test` target integration so `make test` runs with venv.

13 of 15 new or added lines in 6 files covered. (86.67%)

910 of 969 relevant lines covered (93.91%)

2.17 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
95.24
-2.06% src/coverage_reporter/parsers/cobertura_parser.cr
Jobs
ID Job ID Ran Files Coverage
1 17813769888.1 18 Sep 2025 12:02AM UTC 42
93.91
GitHub Action Run
Source Files on build 17813769888
  • Tree
  • List 42
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17813769888
  • e93b5be4 on github
  • Prev Build on master (#12017105939)
  • Next Build on master (#17872865487)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc