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

charmbracelet / lipgloss / 7732747225
52%
master: 68%

Build:
Build:
LAST BUILD BRANCH: clipperhouse/maxrune-performance
DEFAULT BRANCH: master
Ran 31 Jan 2024 09:42PM UTC
Jobs 1
Files 17
Run time 23s
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

31 Jan 2024 09:41PM UTC coverage: 51.996% (-0.09%) from 52.09%
7732747225

Pull #257

github

mikelorant
Improve maximum width of characters in a string

The function `maxRuneWidth` was using a flawed approach by only
evaluating strings based on each rune. The `uniseg` package provides a
more accurate method based on grapheme clusters.

This change switches over to the improved implementation which should
achieve better results when determining the maximum width of all
grapheme clusters in a string.

Signed-off-by: Michael Lorant <michael.lorant@nine.com.au>
Pull Request #257: Improve maximum width of characters in a string

1159 of 2229 relevant lines covered (52.0%)

33.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7732747225.1 31 Jan 2024 09:42PM UTC 0
52.0
GitHub Action Run
Source Files on build 7732747225
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #257
  • PR Base - master (#7720733608)
  • Delete
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

© 2026 Coveralls, Inc