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

jedib0t / go-passwords
90%
main: 72%

Build:
Build:
LAST BUILD BRANCH: perf-opt-enumerator
DEFAULT BRANCH: main
Repo Added 23 Mar 2024 04:43PM UTC
Files 14
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

LAST BUILD ON BRANCH bug-fixes
branch: bug-fixes
CHANGE BRANCH
x
Reset
  • bug-fixes
  • enumerator
  • main
  • odometer
  • optimization
  • perf-fixes
  • perf-opt
  • perf-opt-enumerator
  • refs/tags/v0.0.1
  • refs/tags/v0.0.2
  • refs/tags/v0.0.3
  • refs/tags/v0.0.4
  • refs/tags/v0.0.6
  • refs/tags/v0.0.7
  • refs/tags/v0.0.8
  • refs/tags/v0.0.9
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.1.2
  • refs/tags/v0.2.0

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

Pull #6

github

jedib0t
add rng package with crypto/rand and comprehensive tests

- 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
Pull Request #6: add rng package with crypto/rand and comprehensive tests

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

Relevant lines Covered
Build:
Build:
554 RELEVANT LINES 496 COVERED LINES
1.08 HITS PER LINE
Source Files on bug-fixes
  • Tree
  • List 13
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20737394412 bug-fixes add rng package with crypto/rand and comprehensive tests - 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 compr... Pull #6 06 Jan 2026 03:53AM UTC jedib0t github
89.53
20737365285 bug-fixes fix some critical security and perf issues push 06 Jan 2026 03:51AM UTC jedib0t github
89.53
See All Builds (76)
  • Repo on GitHub
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