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

briandfoy / PerlPowerTools / 13453829827 / 9
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 21 Feb 2025 09:27AM UTC
Files 3
Run time 0s
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

21 Feb 2025 09:24AM UTC coverage: 73.389%. Remained the same
13453829827.9

push

github

web-flow
patch: -D argument validation (#956)

* When patching a file with -D option (aka --ifdef), "-Did" and "-D id" usages are accepted
* I found that an empty string argument is sometimes ignored, and sometimes raises an error
* The OpenBSD version raises an error if the argument to -D is not a valid identifier, i.e. starts with alpha followed by alphanumeric & underscore
* Add validation in this version; as a benefit the invalid empty string usage is rejected
* test1: perl patch -D''   ---> already caught by Getopt::Long
* test2: perl patch -D '' file   ---> now errors; previously ignored
* test3: perl patch -DValid_id0 file  ---> ifdef name accepted as before
* test4: perl patch -D 'd/e;f~ine#' file ---> now errors; previously accepted

353 of 481 relevant lines covered (73.39%)

4672.58 hits per line

Source Files on job 13453829827.9
  • Tree
  • List 3
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13453829827
  • f38b3c02 on github
  • Prev Job for on master (#13429737398.10)
  • Next Job for on master (#13453887433.5)
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