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

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

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

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

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

9 of 9 new or added lines in 1 file covered. (100.0%)

6171 of 7537 relevant lines covered (81.88%)

273.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19289208180.1 12 Nov 2025 07:06AM UTC 31
81.88
GitHub Action Run
Source Files on build 19289208180
  • Tree
  • List 31
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #334
  • PR Base - master (#19248145793)
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