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

mknos / PerlPowerTools / 13449071568
73%
master: 62%

Build:
Build:
LAST BUILD BRANCH: head-nplus
DEFAULT BRANCH: master
Ran 21 Feb 2025 02:59AM UTC
Jobs 1
Files 3
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

21 Feb 2025 02:54AM UTC coverage: 73.389%. Remained the same
13449071568

push

github

web-flow
patch: -D argument validation

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

4717.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13449071568.1 21 Feb 2025 02:59AM UTC 3
73.39
GitHub Action Run
Source Files on build 13449071568
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 513e3d0a on github
  • Prev Build on master (#13448928139)
  • 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