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

racker / rackspace-monitoring-poller / 276
61%

Build:
DEFAULT BRANCH: master
Ran 18 Jan 2017 08:14PM UTC
Jobs 1
Files 31
Run time 4s
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

pending completion
276

push

travis-ci

web-flow
(feat): Address golint, gocheck, vet, staticcheck, gas, errcheck (#65)

* (feat): Address golint, gocheck, vet, staticcheck, gas, errcheck

This PR addresses golang best practices in our codebase.  I ran a
number of lint and static analysis checks against our codebase and
addressed found issues in the check package.  Due to checks
utilized in other packages, those have been touched as well.

Mainly,

* Added public method comments
* Updated struct and method names based on recommendations
* Added TODOs where we do not check for errors and can terminate early
* Added TODOs on where cyclomatic complexity is higher than recommended (10)

* (fix): Update AddTLSMetrics logic and redundant naming

Also updated context parameter to be first in NewCheck function

* (fix): Forgot to update the context switch in scheduler and tests

* (fix): Update comments on packages and const

* (fix): Update comment for consistency

121 of 121 new or added lines in 15 files covered. (100.0%)

1261 of 1800 relevant lines covered (70.06%)

5.11 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
check/check_http.go
1
100.0
check/checkresult.go
1
100.0
hostinfo/hostinfo_processes.go
2
100.0
check/check_ping.go
4
100.0
check/checkresult_metrics.go
9
100.0
check/check_tcp.go
11
100.0
check/check.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
check/check.go
Jobs
ID Job ID Ran Files Coverage
1 276.1 18 Jan 2017 08:14PM UTC 0
70.06
Travis Job 276.1
Source Files on build 276
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #276
  • 14bed30a on github
  • Prev Build on master (#261)
  • Next Build on master (#287)
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