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

nagayon-935 / mping / 27549112569
81%
main: 81%

Build:
Build:
LAST BUILD BRANCH: fix/code-review-issues
DEFAULT BRANCH: main
Ran 15 Jun 2026 01:20PM UTC
Jobs 1
Files 26
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

15 Jun 2026 01:19PM UTC coverage: 81.231% (+0.5%) from 80.738%
27549112569

Pull #35

github

nagayon-935
test: restore cmd/main to 80%+ and cover new code from review fixes

- appendErrorLogRaw: direct test verifying slice append and writer write
- httpCodeColorTag: table-driven test covering all five branches (0/2xx/3xx/4xx/5xx)
- renderHTTPMonitorTable status-change path: exercises the log writer
  and lastStatuses update when a URL transitions from Down→Up
- setupHTTPChecker: nil-URL (returns nil) and non-nil path
  (starts and stops a real checker against a local TCP listener)
- setupLogger empty path, invalid path error
- writeJSONSnapshot write error path (non-existent parent directory)
- printExitSummary with recv stats: covers the rtt min/avg/max branch

cmd/main: 79.5% → 80.5%  internal/ui: 89.3% → 90.5%
Pull Request #35: fix: address all code review issues (HIGH + MEDIUM)

46 of 81 new or added lines in 10 files covered. (56.79%)

2 existing lines in 1 file now uncovered.

4341 of 5344 relevant lines covered (81.23%)

0.95 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
77.8
0.85% cmd/main/mping.go
6
53.5
-0.81% internal/pinger/mtr_probe.go
6
17.46
-0.28% internal/pinger/paris_trace.go
6
49.48
-0.78% internal/pinger/traceroute.go
1
82.36
0.0% internal/ui/tui.go

Coverage Regressions

Lines Coverage ∆ File
2
91.23
-1.17% internal/stats/mtr.go
Jobs
ID Job ID Ran Files Coverage
1 27549112569.1 15 Jun 2026 01:20PM UTC 26
81.23
GitHub Action Run
Source Files on build 27549112569
  • Tree
  • List 26
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #35
  • PR Base - main (#27545734070)
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