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

jedib0t / go-passwords / 20737517754
86%

Build:
DEFAULT BRANCH: main
Ran 06 Jan 2026 04:00AM UTC
Jobs 1
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

06 Jan 2026 03:59AM UTC coverage: 89.531% (-0.1%) from 89.642%
20737517754

push

github

web-flow
add rng package with crypto/rand and comprehensive tests (#6)

- add new rng package using crypto/rand for cryptographic security
- implement IntN with rejection sampling to avoid modulo bias
- implement Shuffle using Fisher-Yates algorithm
- add comprehensive unit tests covering edge cases and range coverage
- add benchmark tests for performance measurement
- update password and passphrase generators to use new rng package
- remove SetSeed method as crypto/rand doesn't use seeds
- fix WithoutDuplicates to use map for O(n) performance
- fix error message formatting to use fmt.Errorf
- optimize passphrase word selection with map-based tracking
- optimize ambiguous character lookup with map instead of string search

46 of 49 new or added lines in 4 files covered. (93.88%)

496 of 554 relevant lines covered (89.53%)

1.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
90.63
rng/rng.go
Jobs
ID Job ID Ran Files Coverage
1 20737517754.1 06 Jan 2026 04:00AM UTC 13
89.53
GitHub Action Run
Source Files on build 20737517754
  • Tree
  • List 13
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 204354a9 on github
  • Prev Build on main (#19807659250)
  • Next Build on main (#20757181498)
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