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

rm-hull / dot-block / 20560215037
42%
main: 43%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/golang.org/x/net-0.49.0
DEFAULT BRANCH: main
Ran 28 Dec 2025 10:09PM UTC
Jobs 1
Files 17
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

28 Dec 2025 10:00PM UTC coverage: 44.082% (-4.6%) from 48.677%
20560215037

Pull #57

github

rm-hull
refactor: abstract geo-IP lookup into interface

Introduce the `GeoIpLookup` interface to decouple the `DNSDispatcher`
from the **ip2location** library. This improves testability and
ensures the codebase is more modular.

- Add `GeoIpLookup` interface to facilitate dependency injection.
- Update unit testing using mocks for geolocation.
- Ensure blocklist file closure errors are logged rather than ignored.
- Restore production URL for GeoIP updates by removing test overrides.
Pull Request #57: feat: add IP2Location support for request tracking

17 of 196 new or added lines in 6 files covered. (8.67%)

24 existing lines in 1 file now uncovered.

473 of 1073 relevant lines covered (44.08%)

0.47 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
86.13
-0.02% internal/forwarder/dispatcher.go
7
0.0
0.0% internal/app.go
39
0.0
internal/blocklist/update.go
61
0.0
internal/downloader/download.go
70
0.0
internal/geoblock/update.go

Uncovered Existing Lines

Lines Coverage ∆ File
24
0.0
0.0% internal/app.go
Jobs
ID Job ID Ran Files Coverage
1 20560215037.1 28 Dec 2025 10:09PM UTC 17
44.08
GitHub Action Run
Source Files on build 20560215037
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #57
  • PR Base - main (#20559694349)
  • 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