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

briandfoy / PerlPowerTools / 13631450173
63%

Build:
DEFAULT BRANCH: master
Ran 03 Mar 2025 01:00PM UTC
Jobs 10
Files 3
Run time 95min
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: 73.085% (+0.7%) from 72.349%
13631450173

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

353 of 483 relevant lines covered (73.08%)

46898.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13631450173.1 03 Mar 2025 01:01PM UTC 3
72.35
GitHub Action Run
2 13631450173.2 03 Mar 2025 01:01PM UTC 3
72.35
GitHub Action Run
3 13631450173.3 03 Mar 2025 01:01PM UTC 3
72.35
GitHub Action Run
4 13631450173.4 03 Mar 2025 01:01PM UTC 3
72.35
GitHub Action Run
5 13631450173.5 03 Mar 2025 01:01PM UTC 3
72.35
GitHub Action Run
6 13631450173.6 03 Mar 2025 01:01PM UTC 3
72.35
GitHub Action Run
7 13631450173.7 03 Mar 2025 01:01PM UTC 3
72.35
GitHub Action Run
8 13631450173.8 03 Mar 2025 01:01PM UTC 3
72.35
GitHub Action Run
9 13631450173.9 03 Mar 2025 01:01PM UTC 3
72.35
GitHub Action Run
10 13631450173.10 03 Mar 2025 01:01PM UTC 3
72.35
GitHub Action Run
Source Files on build 13631450173
  • Tree
  • List 3
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a7d4ccb4 on github
  • Prev Build on master (#13567267831)
  • Next Build on master (#13631450169)
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