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

jhillyerd / enmime / 44591159899
89%

Build:
DEFAULT BRANCH: main
Ran 19 Nov 2026 06:45PM UTC
Jobs 3
Files 41
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

19 Nov 2026 06:45PM UTC coverage: 89.201% (+0.1%) from 89.082%
44591159899

push

github

web-flow
perf: keep quoted-printable encoding fast after the boundary fix (#443)

* perf: write quoted-printable through without copying every byte

The delimiter that WriteQuotedPrintable keeps off the start of a line can
begin only after a newline, so the encoder can hand most of its output to
the underlying writer untouched.  The first version inspected every byte and
appended it to a buffer, which made encoding about 1.6 times slower than
handing the data to mime/quotedprintable directly.

Bytes are examined one at a time only while a line is beginning or a prefix
of the delimiter is held back, and the empty boundary case now skips the
wrapper entirely.

* test: cover the write errors the encoder can now return mid-flush

The pass-through writer hands output to the underlying writer in pieces, so
an error can arrive after earlier pieces have been accepted.  Fail a writer
at every possible point and check that the failure reaches the caller, for
both the wrapped and the unwrapped case.

* test: fail if the encoder drops a rejected write

The loop accepted a nil error as the end of the failure points, so an error
that never reached the caller would pass unnoticed.  Record the rejection in
failWriter and check it before accepting success.  Verified against a
mutation that swallows the error from flushing a held prefix, which the old
assertion missed.

62 of 64 new or added lines in 1 file covered. (96.88%)

3874 of 4343 relevant lines covered (89.2%)

39663.66 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.12
1.77% internal/coding/quotedprint.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.27.x - 44591159899.1 19 Nov 2026 06:45PM UTC 41
87.35
GitHub Action Run
2 Go-1.25.x - 44591159899.2 19 Nov 2026 06:45PM UTC 41
87.87
GitHub Action Run
3 Go-1.26.x - 44591159899.3 19 Nov 2026 06:45PM UTC 41
87.87
GitHub Action Run
Source Files on build 44591159899
  • Tree
  • List 41
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d6ef7ecc on github
  • Prev Build on main (#44577816869)
  • Next Build on main (#46299028647)
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