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

EwoutH / EMAworkbench / 6906059916
80%
master: 80%

Build:
Build:
LAST BUILD BRANCH: deepsource-autofix-558ef8e8
DEFAULT BRANCH: master
Ran 17 Nov 2023 03:43PM UTC
Jobs 1
Files 34
Run time 5s
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

17 Nov 2023 03:40PM UTC coverage: 80.217%. Remained the same
6906059916

Pull #23

github

web-flow
refactor: use `hypot` method to calculate hypotenuse

Calculating the length of the hypotenuse using the standard formula `c = sqrt(a**2 + b**2)` may lead to overflow if the two other sides are both very large. Even though `c` will not be much bigger than `max(a, b)`, either `a**2` or `b**2` (or both) could be. Thus, the calculation could overflow, even though the result is well within representable range. It is recommended to use the built-in function `hypot(a,b)` from the `math` library.
Pull Request #23: refactor: use `hypot` method to calculate hypotenuse

4663 of 5813 relevant lines covered (80.22%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6906059916.1 17 Nov 2023 03:43PM UTC 34
80.22
Source Files on build 6906059916
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #23
  • PR Base - deepsource (#6905579363)
  • Delete
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