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

mknos / PerlPowerTools / 13535775647
72%
master: 62%

Build:
Build:
LAST BUILD BRANCH: head-nplus
DEFAULT BRANCH: master
Ran 26 Feb 2025 03:18AM 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

26 Feb 2025 03:16AM UTC coverage: 73.085% (+0.7%) from 72.349%
13535775647

push

github

web-flow
patch: improve validation of ed diffs

* Make more of an effort to reject patches where line addresses are not valid
* Reading over the ed command parser in Patch::Ed::apply(), the regex assignment was not always correct
* test1: "19,0d" command was incorrectly interpreted as "19,19d" thanks to the '||' operator
* test2: "19,18d" command was accepted, but the range is backwards
* test3: "0,19d" command was accepted, but address 0 is not allowed for "d"
* test4: "0,19c" command was accepted, but address 0 is not allowed for "c"
* I tested this by skipping to PLAN_J, using a modified diff with an update on line1 (ed command 0a is valid and means append after line 0)
* Modifying elements of the diff input, I could trigger the new validation errors

%perl diff -e env env2 | perl tee env.diff
19,20d
5,8c
META DATA
AND MORE
.
0a
#NEW LINE 1!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.

353 of 483 relevant lines covered (73.08%)

46898.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13535775647.1 26 Feb 2025 03:18AM UTC 3
72.35
GitHub Action Run
2 13535775647.2 26 Feb 2025 03:18AM UTC 3
72.35
GitHub Action Run
3 13535775647.3 26 Feb 2025 03:18AM UTC 3
72.35
GitHub Action Run
4 13535775647.4 26 Feb 2025 03:18AM UTC 3
72.35
GitHub Action Run
5 13535775647.5 26 Feb 2025 03:18AM UTC 3
72.35
GitHub Action Run
6 13535775647.6 26 Feb 2025 03:18AM UTC 3
72.35
GitHub Action Run
7 13535775647.7 26 Feb 2025 03:18AM UTC 3
72.35
GitHub Action Run
8 13535775647.8 26 Feb 2025 03:18AM UTC 3
72.35
GitHub Action Run
9 13535775647.9 26 Feb 2025 03:18AM UTC 3
72.35
GitHub Action Run
10 13535775647.10 26 Feb 2025 03:18AM UTC 3
72.35
GitHub Action Run
Source Files on build 13535775647
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • af6f9d80 on github
  • Prev Build on master (#13534202043)
  • Next Build on patch-ed-range (#13535775657)
  • 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