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

briandfoy / PerlPowerTools / 27250393545
63%

Build:
DEFAULT BRANCH: master
Ran 10 Jun 2026 03:09AM UTC
Jobs 12
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: 62.612% (+0.8%) from 61.854%
27250393545

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%)

2095 of 3346 relevant lines covered (62.61%)

8549.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27250393545.1 10 Jun 2026 03:09AM UTC 22
63.54
GitHub Action Run
2 27250393545.2 10 Jun 2026 03:09AM UTC 22
63.54
GitHub Action Run
3 27250393545.3 10 Jun 2026 03:10AM UTC 22
63.54
GitHub Action Run
4 27250393545.4 10 Jun 2026 03:10AM UTC 22
63.54
GitHub Action Run
5 27250393545.5 10 Jun 2026 03:10AM UTC 22
63.54
GitHub Action Run
6 27250393545.6 10 Jun 2026 03:10AM UTC 22
63.54
GitHub Action Run
7 27250393545.7 10 Jun 2026 03:10AM UTC 22
63.54
GitHub Action Run
8 27250393545.8 10 Jun 2026 03:10AM UTC 22
63.54
GitHub Action Run
9 27250393545.9 10 Jun 2026 03:10AM UTC 22
63.54
GitHub Action Run
10 27250393545.10 10 Jun 2026 03:10AM UTC 22
63.54
GitHub Action Run
11 27250393545.11 10 Jun 2026 03:10AM UTC 22
63.54
GitHub Action Run
12 27250393545.12 10 Jun 2026 03:11AM UTC 24
62.22
GitHub Action Run
Source Files on build 27250393545
  • Tree
  • List 24
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ac782570 on github
  • Prev Build on master (#27146712756)
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