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

keybase / saltpack / 203 / 2
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 19 Mar 2018 04:39PM UTC
Files 29
Run time 2s
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

19 Mar 2018 04:38PM UTC coverage: 84.502% (+0.2%) from 84.264%
203.2

push

travis-ci

web-flow
Implement a better shuffle (#57)

Copy the shuffle code from go 1.10's math/rand.Shuffle, which is unbiased. Reasons for copying:

- Don't have to deal with the awkwardness of trying to make the shuffle function
  handle errors from crypto/rand.Reader properly. (Or rather, the awkwardness is
  pushed to the less critical testing code.)
- Works with earlier versions of go.
- Low chance of behavior drift, since rand.Shuffle is covered by compatibility
  guarantee.
- Only adds 50 or so lines of non-test code.

Also make as much as possible use `csprngRead` utility function.

Also handle unlikely overflow in receiver count when signcrypting.

Run go vet, golint, and GOARCH=386 tests in CI.

2290 of 2710 relevant lines covered (84.5%)

0.94 hits per line

Source Files on job 203.2
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 203.2
  • 282df216 on github
  • Prev Job for on master (#197.2)
  • Next Job for on master (#208.1)
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