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

briandfoy / PerlPowerTools / 13631450173 / 10
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 03 Mar 2025 01:01PM UTC
Files 3
Run time 86min
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

03 Mar 2025 12:58PM UTC coverage: 72.349%. Remained the same
13631450173.10

push

github

web-flow
ls: runtime error for non-existent file argument (#975)

* ls: runtime error for non-existent file argument

* When testing ls today I discovered the error: Can't use an undefined value as a HASH reference at ls line 525.
* Test case: "perl ls xxx ar a.x pig" where files xxx and a.x don't exist
* I broke this in the previous commit around where DirEntries() is called for Files-list
* Add correct return value guard to fix error
* DirEntries() prints a warning and returns an empty list if stat() fails on its file argument
* Derive sorted-list from attrs-hash to avoid listing filenames where stat() failed

%perl ls  xxx ar a.x pig
ls: can't access 'xxx': No such file or directory
ls: can't access 'a.x': No such file or directory
ar   pig

* also cater for the same file listed twice

348 of 481 relevant lines covered (72.35%)

4717.29 hits per line

Source Files on job 13631450173.10
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13631450173
  • a7d4ccb4 on github
  • Prev Job for on master (#13567267831.1)
  • Next Job for on master (#13631450169.1)
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