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

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

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.9.3
DEFAULT BRANCH: master
Repo Added 27 Feb 2025 10:55PM UTC
Files 1
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 refs/tags/v0.9.3
branch: refs/tags/v0.9.3
CHANGE BRANCH
x
Reset
  • refs/tags/v0.9.3
  • add-skip-option
  • feat/add-test-for-diff-default-params
  • feat/backup-flag
  • feat/preserve-special-indicators
  • feat/summary-statistics
  • feature/skip-generated-files
  • fix-gofmt-alignment
  • fix-gofmt-consistency
  • fix-var-documentation-comments
  • master
  • preserve-uppercase-words
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.2.0
  • refs/tags/v0.3.0
  • refs/tags/v0.3.1
  • refs/tags/v0.3.2
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.7.0
  • refs/tags/v0.8.0
  • refs/tags/v0.8.10
  • refs/tags/v0.8.2
  • refs/tags/v0.8.3
  • refs/tags/v0.8.4
  • refs/tags/v0.8.5
  • refs/tags/v0.8.6
  • refs/tags/v0.8.7
  • refs/tags/v0.8.8
  • refs/tags/v0.8.9
  • refs/tags/v0.9.0
  • refs/tags/v0.9.1
  • refs/tags/v0.9.2

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

Relevant lines Covered
Build:
Build:
585 RELEVANT LINES 477 COVERED LINES
364.56 HITS PER LINE
Source Files on refs/tags/v0.9.3
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16090855957 refs/tags/v0.9.3 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 Unic... push 05 Jul 2025 06:21PM UTC umputun github
81.54
See All Builds (84)
  • 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

© 2025 Coveralls, Inc