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

H0llyW00dzZ / fiber2fa / #4
85%

Build:
DEFAULT BRANCH: master
Ran 12 Jun 2024 11:59AM UTC
Jobs 1
Files 14
Run time 5min
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

12 Jun 2024 11:32AM UTC coverage: 85.819% (+0.1%) from 85.714%
#4

push

web-flow
Improve Performance for HOTP OCRA (#196)

* Refactor OCRA Verify

- [+] refactor(otpverifier): simplify OCRA token comparison logic

* Reduce allocations per operation

- [+] refactor(benchmark_test.go): update benchmark results for OCRAVerify with reduced allocations per operation
- [+] refactor(hotp_ocra.go): optimize generateOCRA by preallocating data slice and using copy instead of append
- [+] refactor(hotp_ocra.go): simplify HOTP string formatting using fmt.Sprintf with width and padding options

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

14 existing lines in 3 files now uncovered.

1174 of 1368 relevant lines covered (85.82%)

65.62 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
97.69
0.0% internal/otpverifier/otpverifier.go
2
96.51
-0.08% internal/otpverifier/hotp_ocra.go
10
83.33
3.33% internal/otpverifier/qrcode_builder.go
Jobs
ID Job ID Ran Files Coverage
1 #4.1 12 Jun 2024 11:59AM UTC 14
85.82
Source Files on build #4
  • Tree
  • List 14
  • Changed 8
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b9fa8afa on github
  • Prev Build on master
  • Next Build on master
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