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

umputun / tg-spam / 19289384684
83%

Build:
DEFAULT BRANCH: master
Ran 12 Nov 2025 07:14AM 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:10AM UTC coverage: 81.85% (+0.02%) from 81.835%
19289384684

push

github

web-flow
fix: normalize multiple spaces in stopword matching (#334)

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

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

6169 of 7537 relevant lines covered (81.85%)

273.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19289384684.1 12 Nov 2025 07:14AM UTC 31
81.85
GitHub Action Run
Source Files on build 19289384684
  • Tree
  • List 31
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c160df5d on github
  • Prev Build on master (#19248145793)
  • Next Build on master (#19289692534)
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

© 2025 Coveralls, Inc