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

briandfoy / PerlPowerTools / 13631450169
63%

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

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

Jobs
ID Job ID Ran Files Coverage
1 13631450169.1 03 Mar 2025 01:03PM UTC 3
72.35
GitHub Action Run
Source Files on build 13631450169
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a7d4ccb4 on github
  • Prev Build on master (#13567267831)
  • Next Build on master (#13631662390)
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

© 2025 Coveralls, Inc