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

mknos / PerlPowerTools / 13449071567
73%
master: 62%

Build:
Build:
LAST BUILD BRANCH: head-nplus
DEFAULT BRANCH: master
Ran 21 Feb 2025 02:57AM UTC
Jobs 10
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: 74.12% (+0.7%) from 73.389%
13449071567

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

358 of 483 relevant lines covered (74.12%)

46898.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13449071567.1 21 Feb 2025 02:57AM UTC 3
73.39
GitHub Action Run
2 13449071567.2 21 Feb 2025 02:57AM UTC 3
73.39
GitHub Action Run
3 13449071567.3 21 Feb 2025 02:57AM UTC 3
73.39
GitHub Action Run
4 13449071567.4 21 Feb 2025 02:57AM UTC 3
73.39
GitHub Action Run
5 13449071567.5 21 Feb 2025 02:57AM UTC 3
73.39
GitHub Action Run
6 13449071567.6 21 Feb 2025 02:57AM UTC 3
73.39
GitHub Action Run
7 13449071567.7 21 Feb 2025 02:57AM UTC 3
73.39
GitHub Action Run
8 13449071567.8 21 Feb 2025 02:57AM UTC 3
73.39
GitHub Action Run
9 13449071567.9 21 Feb 2025 02:57AM UTC 3
73.39
GitHub Action Run
10 13449071567.10 21 Feb 2025 02:57AM UTC 3
73.39
GitHub Action Run
Source Files on build 13449071567
  • 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)
  • Next Build on patch-Dval (#13449071568)
  • 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