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

danvk / source-map-explorer / 299 / 4
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 30 Dec 2019 05:59PM UTC
Files 7
Run time 0s
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

30 Dec 2019 05:57PM UTC coverage: 92.701% (-6.1%) from 98.802%
299.4

push

travis-ci

nikolay-borzov
Implement code coverage heat map (#145)

- Add `--coverage` CLI argument and `coverage` API option to pass coverage JSON file produced by Chrome
- Calculate covered mapping ranges' sizes
- Implement tree data heat map coloring depending on coverage percent
- [ESLint] Require empty line after `const`/`let`
- [ESLint] Enable `object-shorthand`
- Put code coverage related methods to `coverage.ts`
- Add `CannotOpenCoverageFile` and `NoCoverageMatches` errors
- Replace `FileSizeMap` with `FileData` so that additional data can be stored along with mapping size
- Implement mapping coverages to bundles by comparing coverage URL with bundle name.
- Convert coverage ranges (one-line) to per line range to ease matching with mapping ranges
- When calculating file sizes first get mapping ranges with sources, then merge consecutive ranges and then calculate bytes
- Fix bytes calculation - get bytes length from source ranges' string rather than columns count. One column can have byte length 4 bytes (e.g. 🍰)
- Move mapping reference EOL check before invalid mapping column check
- Add `rewiremock` to mock dependencies during tests
- Add `mappedBytes` value to result

Co-authored-by: Nikolay Borzov <nikolay.n.borzov@gmail.com>

167 of 183 branches covered (91.26%)

Branch coverage included in aggregate %.

341 of 365 relevant lines covered (93.42%)

183.1 hits per line

Source Files on job 299.4
  • Tree
  • List 0
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 101
  • Travis Job 299.4
  • 9c3195d2 on github
  • Prev Job for on master (#294.4)
  • Next Job for on master (#300.4)
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

© 2026 Coveralls, Inc