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

go-pkgz / stringutils / 16892768071

11 Aug 2025 09:36PM UTC coverage: 98.438% (-1.6%) from 100.0%
16892768071

push

github

umputun
Fix critical issues and improve code quality

- Replace unsafe byte-to-string conversion with safe string() conversion
- Fix DeDupBig to use map[string]struct{} for clarity and efficiency
- Handle empty string edge cases in ContainsAnySubstring
- Optimize HasCommonElement from O(n*m) to O(n+m) using map
- Add comprehensive tests for empty string edge cases
- Remove unused imports and benchmark code
- Achieve 98.9% test coverage

16 of 18 new or added lines in 1 file covered. (88.89%)

126 of 128 relevant lines covered (98.44%)

21.27 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

98.44
/stringutils.go


Source Not Available

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