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

briandfoy / PerlPowerTools / 10350803722 / 6
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 12 Aug 2024 11:16AM UTC
Files 3
Run time 0s
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

12 Aug 2024 11:13AM UTC coverage: 73.069%. Remained the same
10350803722.6

push

github

web-flow
grep: shortcut exit path for -q (#710)

* grep: shortcut exit path for -q

* -q flag of grep is concerned if a match was found in any file
* The program can terminate after the first match without searching in subsequent files
* GNU grep behaves in this way; strace on my Linux system confirms that only the 1st file in argument list is opened when that file contains a match

%strace  grep -q perl ar awk 2> trace # gnu grep
%grep open trace
...
openat(AT_FDCWD, "ar", _RDONLY|O_NOCTTY|O_LARGEFILE) = 3
^^^ final openat() in process

* avoid printing $Mult flag as part of string for grep -c

350 of 479 relevant lines covered (73.07%)

4736.89 hits per line

Source Files on job 10350803722.6
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10350803722
  • 70393e74 on github
  • Prev Job for on master (#10350775578.10)
  • Next Job for on master (#10350803734.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