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

mozilla / source-map / 558
88%
master: 89%

Build:
Build:
LAST BUILD BRANCH: wasm-sources
DEFAULT BRANCH: master
Ran 18 Jun 2019 07:23PM UTC
Jobs 4
Files 13
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

pending completion
558

Pull #396

travis-ci

web-flow
make the SourceMap node validation more precise and possibly more performant: check for the okay/good cases before checking the various error situations. Hence the first error check (with its extensive report message) has been moved down. The check has been duplicated for the 'generated' section of the mapping as that's another potential user app programmer error source.

The diff is a little large because I turned on `prettier` for all my branches for easier merging/diffing (once one has moved to a `prettier`-formatted codebase).

Extracted from SHA-1: 151593b34 * stricter validation for source and generated line/column: when they exist, they MUST be numbers. Related to https://github.com/mozilla/source-map/issues/385 (which is not fixed by this, mind you). For this patch I choose to stick with the exception being thrown as that better ensures code/mapping quality AFAIAC.

As all error validation checks are now in a single spot and within a single conditional chunk, source-map can choose to resolve by, for example, providing a source-map option which enables/disables these checks.
Pull Request #396: make the SourceMap node validation more precise and possibly slightly more performant; related to #385

468 of 551 branches covered (84.94%)

Branch coverage included in aggregate %.

9 of 9 new or added lines in 1 file covered. (100.0%)

827 of 915 relevant lines covered (90.38%)

651.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 558.1 18 Jun 2019 07:23PM UTC 0
88.34
Travis Job 558.1
2 558.2 18 Jun 2019 07:23PM UTC 0
88.34
Travis Job 558.2
3 558.3 18 Jun 2019 07:24PM UTC 0
88.34
Travis Job 558.3
4 558.4 18 Jun 2019 07:24PM UTC 0
88.34
Travis Job 558.4
Source Files on build 558
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #558
  • Pull Request #396
  • PR Base - master (#550)
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