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

python-diamond / Diamond / 1550
24%

Build:
DEFAULT BRANCH: master
Ran 25 Mar 2017 10:27PM UTC
Jobs 1
Files 43
Run time 3s
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
1550

Pull #622

travis-ci

web-flow
set precision of TCPCollector's metrics to 2

Having precision=0 means that any non frequent metrics will be hidden by
diamond. For example: if interval=60 and a counter incremented once a minute
we have following math done by derivate():

old=1
new=2
derivative_x = 2-1 = 1
derivative_y = 60
result = 1 / 60 = 0.01666666666667

this value is later passed to Metric class which does following if
precision=0:

value = sprintf("%.0f", 0.01666666666667)

as result value becomes 0.
Pull Request #622: set precision of TCPCollector's metrics to 2

663 of 2748 relevant lines covered (24.13%)

0.24 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1550.2 25 Mar 2017 10:27PM UTC 0
24.13
Travis Job 1550.2
Source Files on build 1550
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1550
  • Pull Request #622
  • PR Base - master (#1546)
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