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

umputun / tg-spam / 19289208180 / 1
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.23.3
DEFAULT BRANCH: master
Ran 12 Nov 2025 07:06AM UTC
Files 31
Run time 1s
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

12 Nov 2025 07:02AM UTC coverage: 81.876% (+0.04%) from 81.835%
19289208180.1

Pull #334

github

umputun
fix: normalize multiple spaces in stopword matching

Stopword detection was failing when messages contained multiple consecutive spaces between words. For example, 'дам денег' wouldn't match 'Дам  денег' (with two spaces) even though case-insensitive matching was working.

Changes:
- Add normalizeSpaces() function to collapse multiple spaces into single spaces
- Update isStopWord() to normalize both message text and stopwords before comparison
- Apply normalization to username/userid stopword checks as well
- Add comprehensive test coverage for extra spaces and case variations
Pull Request #334: fix: normalize multiple spaces in stopword matching

6171 of 7537 relevant lines covered (81.88%)

273.45 hits per line

Source Files on job 19289208180.1
  • Tree
  • List 31
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19289208180
  • 5c3efac2 on github
  • Prev Job for on fix-stopword-space-normalization (#19248145793.1)
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