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

jlfwong / speedscope / 7136730558
44%
master: 47%

Build:
Build:
LAST BUILD BRANCH: jlfwong/copy-summary-text
DEFAULT BRANCH: master
Ran 08 Dec 2023 02:44AM UTC
Jobs 3
Files 84
Run time 6s
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

08 Dec 2023 02:43AM UTC coverage: 43.041% (+0.09%) from 42.952%
7136730558

push

github

web-flow
Add bounds checking for sampleTypeIndex (#449)

Wow this was surprising. As reported in #448, the `simple.speedscope.json` file failed import. This was surprising to me because there's a test that covers that file to ensure it imports correctly.

The file provided in #448, however, is from a version of speedscope from 5 years ago before the file had been pretty printed. It turns out that when this *particular* file is not pretty-printed, it's a schematically valid pprof profile.

The fix is to do some bounds checks and return null. After the change, the file imports as you'd expect after realizing its not actually a valid pprof profile.

Fixes #448

1156 of 2771 branches covered (0.0%)

Branch coverage included in aggregate %.

4 of 5 new or added lines in 1 file covered. (80.0%)

2620 of 6002 relevant lines covered (43.65%)

6357.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-10.x - 7136730558.1 08 Dec 2023 02:44AM UTC 0
43.04
GitHub Action Run
2 run-14.x - 7136730558.2 08 Dec 2023 02:44AM UTC 0
42.97
GitHub Action Run
3 run-12.x - 7136730558.3 08 Dec 2023 02:44AM UTC 0
43.03
GitHub Action Run
Source Files on build 7136730558
Detailed source file information is not available for this build.
  • Back to Repo
  • ac4a0155 on github
  • Prev Build on main (#6076027950)
  • Next Build on main (#7230841740)
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