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

briandfoy / PerlPowerTools / 13418833646
63%

Build:
DEFAULT BRANCH: master
Ran 19 Feb 2025 05:41PM 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

19 Feb 2025 05:37PM UTC coverage: 73.389% (-0.7%) from 74.12%
13418833646

push

github

web-flow
patch: improve validation of normal diffs (#952)

* patch: improve validation of normal diffs

* A normal diff can contain (a)dd, (c)hange and (d)elete commands
* For the Add command, a single target address is expected to be prefixed before "a"
* Diff utils output data in form of XaY,Z and not X,YaZ (so in practice the error condition should not happen)
* GNU diffutils manual described and Add command as "LaR", where L is a single line number and R is a range (e.g. 3,4) [1]
* Make this version of patch reject malformed Add commands
* Print the offending input data and line number
* Calling $patch->reject() is needed for setting the correct exit code
* When the exit code will indicate failure, avoid printing "done" message after preceding error messages
* I created an invalid input file manually to test this

1. https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Normal.html

* previous commit missed loop construct for c and d diff commands

353 of 481 relevant lines covered (73.39%)

4717.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13418833646.1 19 Feb 2025 05:41PM UTC 3
73.39
GitHub Action Run
Source Files on build 13418833646
  • Tree
  • List 3
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 71d1681a on github
  • Prev Build on master (#13418833649)
  • Next Build on master (#13429737398)
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