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

briandfoy / PerlPowerTools / 27250393534
63%

Build:
DEFAULT BRANCH: master
Ran 10 Jun 2026 03:09AM UTC
Jobs 1
Files 24
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

10 Jun 2026 03:07AM UTC coverage: 61.865% (+0.01%) from 61.854%
27250393534

push

github

web-flow
units: avoid division by zero (#1043)

* The code was too simple-minded because it assumed it was OK to proceed with division when a unit name is not recognised
* unit_convert() is called after an "unknown unit" error is printed, so just exit the program before delegating to unit_divide() which causes the division error
* In case $PARSE_ERROR is not set, don't bother printing it

Tests:
* "perl units cm ca" ---> arg2 unknown
* "perl units yo 0" ---> arg2 unknown

2 of 2 new or added lines in 1 file covered. (100.0%)

2070 of 3346 relevant lines covered (61.86%)

712.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27250393534.1 10 Jun 2026 03:09AM UTC 24
61.86
GitHub Action Run
Source Files on build 27250393534
  • Tree
  • List 24
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ac782570 on github
  • Prev Build on master (#27146712756)
  • Next Build on master (#27250393545)
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