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

KarpelesLab / slirp / 23944942133
71%

Build:
DEFAULT BRANCH: master
Ran 03 Apr 2026 11:40AM UTC
Jobs 1
Files 25
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

03 Apr 2026 11:40AM UTC coverage: 73.61% (+6.8%) from 66.835%
23944942133

push

github

MagicalTux
Remove dead code: old TCP implementations replaced by vtcp

Phase 3.4 cleanup: Delete all code that has been superseded by vtcp.Conn.

Removed files:
- tcp.go (406 lines): old tcpConn IPv4 NAT proxy
- tcp6.go (392 lines): old tcpConn6 IPv6 NAT proxy
- tcp_test.go (1097 lines): tests for old tcpConn
- tcp6_test.go (639 lines): tests for old tcpConn6

Removed from listener.go (331→19 lines):
- VirtualConn type and all methods (Read, Write, Close, flush,
  handleInbound, newVirtualConn, SetDeadline*)
- BuildTCPPacket helper (now in frame.go as buildFrame4)

Removed from listener6.go (290→7 lines):
- VirtualConn6 type and all methods
- BuildTCPPacket6 helper (now in frame.go as buildFrame6)

Added:
- test_helpers_test.go: shared test utilities (createTCPPacket,
  createTCPPacket6, bytesEqual) extracted from deleted test files
- itoaU16 moved to usernat.go (was in deleted tcp.go)

Net result: -3012 lines. The three ad-hoc TCP implementations are fully
replaced by the single vtcp.Conn engine.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

25 of 29 new or added lines in 2 files covered. (86.21%)

1 existing line in 1 file now uncovered.

2449 of 3327 relevant lines covered (73.61%)

7.47 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
82.14
50.17% listener.go
2
67.56
0.52% usernat.go

Coverage Regressions

Lines Coverage ∆ File
1
82.14
50.17% listener.go
Jobs
ID Job ID Ran Files Coverage
1 23944942133.1 03 Apr 2026 11:40AM UTC 25
73.61
GitHub Action Run
Source Files on build 23944942133
  • Tree
  • List 25
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23944942133
  • b90fa453 on github
  • Prev Build on master (#23944870087)
  • Next Build on master (#23945403486)
  • 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