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

umputun / unfuck-ai-comments / 16090855957
82%
master: 82%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.9.3
DEFAULT BRANCH: master
Ran 05 Jul 2025 06:21PM UTC
Jobs 1
Files 1
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

05 Jul 2025 06:19PM UTC coverage: 81.538% (+0.6%) from 80.944%
16090855957

push

github

umputun
fix: resolve Unicode handling issues in comment processing

- fix byte-based string indexing breaking multi-byte Unicode characters
- convert all string operations to use []rune for proper Unicode support
- fix isPascalCase function to handle Unicode correctly
- properly track byte positions while counting runes in processCommentPart
- add comprehensive Unicode test cases including Cyrillic, Arabic, emoji
- handle invalid UTF-8 sequences gracefully

The core issue was using byte indexing (string[0]) instead of rune
conversion, which corrupted multi-byte characters like "Мария" to "ð�ария".
All string manipulation now properly handles Unicode characters.

29 of 31 new or added lines in 1 file covered. (93.55%)

30 existing lines in 1 file now uncovered.

477 of 585 relevant lines covered (81.54%)

364.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
81.54
0.59% main.go

Uncovered Existing Lines

Lines Coverage ∆ File
30
81.54
0.59% main.go
Jobs
ID Job ID Ran Files Coverage
1 16090855957.1 05 Jul 2025 06:21PM UTC 1
81.54
GitHub Action Run
Source Files on build 16090855957
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e06b8931 on github
  • Prev Build on master (#15072375976)
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