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

ccnmtl / hound / 90 / 1
29%
master: 39%

Build:
Build:
LAST BUILD BRANCH: bootstrap-4.6.0
DEFAULT BRANCH: master
Ran 07 May 2020 02:58AM UTC
Files 5
Run time 0s
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

07 May 2020 02:57AM UTC coverage: 28.707%. Remained the same
90.1

push

travis-ci

nikolas
Close the http.Get() request after opened

Hound sometimes gives errors like these when it's backed up:

    http: Accept error: accept tcp [::]:9999: accept4: too many open files;

I think this can be avoided with the changes here. It's best practice to
close the http.Get() response, and also to use a new instance of
http.Client instead of the http.DefaultClient singleton (used by calls
to http.Get()).

I've given the new http.Client a 2-second timeout, which should be fine,
but we can adjust as needed.

* https://stackoverflow.com/a/48342086/173630
* https://golang.org/pkg/net/http/

242 of 843 relevant lines covered (28.71%)

0.89 hits per line

Source Files on job 90.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 86
  • Travis Job 90.1
  • dc4b1392 on github
  • Prev Job for on http-close (#89.1)
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