• 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: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 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
  • refs/tags/v0.9.3

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 master
  • 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
16090844004 master 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:20PM UTC umputun github
81.54
15072375976 master docs: enhance 'How it works' section with detailed explanation push 16 May 2025 03:50PM UTC umputun github
80.94
14159555588 refs/tags/v0.9.2 Skip generated files marked with '// Code generated' (#11) * feat: skip generated files marked with '// Code generated' Closes #10 - Add function to detect generated files - Skip processing of files that start with generated code marker - Add t... push 30 Mar 2025 08:12PM UTC web-flow github
80.94
14159545427 master Skip generated files marked with '// Code generated' (#11) * feat: skip generated files marked with '// Code generated' Closes #10 - Add function to detect generated files - Skip processing of files that start with generated code marker - Add t... push 30 Mar 2025 08:11PM UTC web-flow github
80.94
14159522167 feature/skip-generated-files fix: handle empty files correctly in isGeneratedFile function Based on PR review feedback: empty files should not be treated as errors and should not be considered generated. Pull #11 30 Mar 2025 08:08PM UTC umputun github
80.94
14159489650 feature/skip-generated-files feat: skip generated files marked with '// Code generated' Closes #10 - Add function to detect generated files - Skip processing of files that start with generated code marker - Add tests for the new functionality - Update README to document the... Pull #11 30 Mar 2025 08:04PM UTC umputun github
81.02
14142303131 refs/tags/v0.9.1 fix: improve vendor and testdata directory handling to prevent processing in all cases push 29 Mar 2025 04:46AM UTC umputun github
81.42
14142291070 master fix: improve vendor and testdata directory handling to prevent processing in all cases push 29 Mar 2025 04:44AM UTC umputun github
81.42
13845564070 refs/tags/v0.9.0 Add support for comments in var and const blocks (#9) This change implements unified handling of documentation comments in both var and const blocks. Comments following the pattern 'IdentifierName is...' are now preserved, maintaining their origi... push 13 Mar 2025 10:09PM UTC web-flow github
81.15
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