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

nagayon-935 / mping
85%
main: 83%

Build:
Build:
LAST BUILD BRANCH: feature/configurable-thresholds
DEFAULT BRANCH: main
Repo Added 04 Feb 2026 04:21PM UTC
Files 18
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

LAST BUILD ON BRANCH refactor/code-cleanup
branch: refactor/code-cleanup
CHANGE BRANCH
x
Reset
  • refactor/code-cleanup
  • add_copilot_reviewer
  • add_function_port_check
  • docs/readme-english
  • feature/configurable-thresholds
  • feature/json-export-and-yaml-watch
  • feature/linux-support
  • feature/mtr-monitor
  • feature/pmtu-hop-detection
  • feature/port-monitor-improvements
  • feature/traceroute-hops-initttl
  • file_option
  • fix-ui-layout-duplication
  • fix/go-review-issues
  • fix/stability-issues
  • fix/ui-rendering-issues
  • main
  • refactor/go-review-fixes
  • refactor/hardcoded-constants
  • refactor/improvements

28 Mar 2026 03:11AM UTC coverage: 85.45% (+2.4%) from 83.053%
23676295051

Pull #8

github

nagayon-935
refactor: reduce duplication and improve code structure without changing behavior

- icmp_errors.go: replace switch statements with map-based lookups, extract icmpErrorBodyData helper
- pinger.go: unify runReceiverV4/V6 into shared runReceiver loop with handleEchoReply/handleICMPError,
  split runWorker into resolveTarget/getWriteFunc/sendProbe/waitForReply sub-functions
- tui.go: extract duplicated double-border drawing into makeDoubleBorderDrawFunc,
  move traceroute/port-monitor rendering into renderTracerouteTable/renderPortMonitorTable,
  remove unused tablePaneHeight constant (Run() reduced from ~884 to ~470 lines)
- tui_helpers.go: add paddedCell, statusColorTag shared helpers
- Add tests for all newly extracted functions in both pinger and ui packages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #8: refactor: reduce duplication and improve code structure without chang…

402 of 449 new or added lines in 4 files covered. (89.53%)

2 existing lines in 1 file now uncovered.

2543 of 2976 relevant lines covered (85.45%)

1.0 hits per line

Relevant lines Covered
Build:
Build:
2976 RELEVANT LINES 2543 COVERED LINES
1.0 HITS PER LINE
Source Files on refactor/code-cleanup
  • Tree
  • List 10
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
23676295051 refactor/code-cleanup refactor: reduce duplication and improve code structure without changing behavior - icmp_errors.go: replace switch statements with map-based lookups, extract icmpErrorBodyData helper - pinger.go: unify runReceiverV4/V6 into shared runReceiver loo... Pull #8 28 Mar 2026 03:16AM UTC nagayon-935 github
85.45
See All Builds (68)
  • Repo on GitHub
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