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

briandfoy / PerlPowerTools / 13418833649
63%

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

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

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

358 of 483 relevant lines covered (74.12%)

42200.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13418833649.1 19 Feb 2025 05:40PM UTC 3
73.39
GitHub Action Run
2 13418833649.2 19 Feb 2025 05:40PM UTC 3
73.39
GitHub Action Run
3 13418833649.3 19 Feb 2025 05:40PM UTC 3
73.39
GitHub Action Run
4 13418833649.4 19 Feb 2025 05:40PM UTC 3
73.39
GitHub Action Run
5 13418833649.5 19 Feb 2025 05:40PM UTC 3
73.39
GitHub Action Run
6 13418833649.6 19 Feb 2025 05:40PM UTC 3
73.39
GitHub Action Run
7 13418833649.7 19 Feb 2025 05:40PM UTC 3
73.39
GitHub Action Run
8 13418833649.8 19 Feb 2025 05:40PM UTC 3
73.39
GitHub Action Run
9 13418833649.9 19 Feb 2025 05:40PM UTC 3
73.39
GitHub Action Run
10 13418833649.10 19 Feb 2025 05:40PM UTC 3
73.39
GitHub Action Run
Source Files on build 13418833649
  • Tree
  • List 3
  • Changed 2
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 71d1681a on github
  • Prev Build on master (#13418833649)
  • Next Build on master (#13418833646)
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