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

danvk / source-map-explorer / 299
97%

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

pending completion
299

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 %.

170 of 170 new or added lines in 7 files covered. (100.0%)

341 of 365 relevant lines covered (93.42%)

183.1 hits per line

Jobs
ID Job ID Ran Files Coverage
4 299.4 30 Dec 2019 05:59PM UTC 0
92.7
Travis Job 299.4
Source Files on build 299
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #299
  • 9c3195d2 on github
  • Prev Build on master (#294)
  • Next Build on master (#300)
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