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

kibertoad / gmx-word-counter
100%

Build:
DEFAULT BRANCH: main
Repo Added 20 Aug 2023 11:37AM UTC
Token nTmW6DCKcxsbAsPPFz4QD7itPu9Rmh6VW regen
Build 18 Last
Files 4
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 main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • main

03 Jul 2026 01:55PM UTC coverage: 100.0%. Remained the same
28665100474

push

github

web-flow
Handle Tibetan-script and Arabic-script languages explicitly (#131)

Two gaps in language coverage where the generic word-splitting regex
produces a wrong count:

Tibetan (bo) and Dzongkha (dz) are written in the Tibetan script, which
delimits syllables with the tsheg (U+0F0B) rather than spaces between
words. The generic regex counted every syllable as a separate word. GMX-V
2.0 defines no word-count factor for them and there is no dictionary-based
segmentation available (ICU ships word dictionaries only for Burmese, CJK,
Khmer, Lao and Thai), so they now return 0, consistent with the existing
handling of Lao, Khmer and Burmese.

Arabic-script languages join letter runs across the zero-width non-joiner
(U+200C), zero-width joiner (U+200D) and tatweel (U+0640). Only Persian was
handled; Urdu, Pashto, Sindhi, Central Kurdish and Uyghur fell through to
the generic regex, which split ZWNJ-joined words and overcounted. The
Persian regex is matched on \p{Script=Arabic}, so the same pattern is now
shared across all of these (and Arabic itself, whose count is unchanged).

Also adds a test for the empty-language-subtag fallback, bringing branch
coverage back to 100%.

90 of 90 branches covered (100.0%)

Branch coverage included in aggregate %.

71 of 71 relevant lines covered (100.0%)

204.23 hits per line

Relevant lines Covered
Build:
Build:
71 RELEVANT LINES 71 COVERED LINES
204.23 HITS PER LINE
Source Files on main
  • Tree
  • List 4
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
28665100474 main Handle Tibetan-script and Arabic-script languages explicitly (#131) Two gaps in language coverage where the generic word-splitting regex produces a wrong count: Tibetan (bo) and Dzongkha (dz) are written in the Tibetan script, which delimits syl... push 03 Jul 2026 01:55PM UTC web-flow github
100.0
26219184427 main chore: migrate to pnpm and add zizmor security scanning (#110) push 21 May 2026 10:01AM UTC web-flow github
100.0
12539151336 main Prepare to release 1.1.1 push 29 Dec 2024 10:19PM UTC kibertoad github
100.0
12539145059 main Update metadata (#57) push 29 Dec 2024 10:18PM UTC web-flow github
100.0
11201868074 main Cleanup (#50) push 06 Oct 2024 12:32PM UTC web-flow github
100.0
10109162591 main Migrate to Biome (#44) push 26 Jul 2024 09:38AM UTC web-flow github
100.0
6069236520 main Prepare to release 1.1.0 push 04 Sep 2023 04:51AM UTC Igor Savin github
100.0
6069233619 main Fix Persian Farsi support (#8) push 04 Sep 2023 04:50AM UTC GitHub github
100.0
5930896652 main Add more tests push 21 Aug 2023 08:02PM UTC kibertoad github
100.0
5919271033 main Fix badge push 20 Aug 2023 07:42PM UTC kibertoad github
100.0
See All Builds (18)

Badge your Repo: gmx-word-counter

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc