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

briandfoy / PerlPowerTools / 11830326870
63%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2024 03:44AM 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

14 Nov 2024 03:42AM UTC coverage: 73.805%. Remained the same
11830326870

push

github

web-flow
grep: implement -A context option (#810)

* Show non-matching context lines after a matching line
* A new match may occur within the context lines being displayed; this resets the context counter unless the match limit (-m value) was already reached
* Display a line of "--" to indicate the end of the context block
* If -A is used with -n, follow line number with '-' instead of ':' to indicate context lines
* When -A is used with -m, terminate the search at the end of the context and not the exact line triggering match limit

%perl grep -n -A 8 perl ar # test1: context bleeds into the line8 match
1:#!/usr/bin/perl
2-
3-=begin metadata
4-
5-Name: ar
6-Description: create and maintain library archives
7-Author: dkulp
8:License: perl
9-
10-=end metadata
11-
12-=cut
13-
14-use strict;
15-
16-use POSIX qw(strftime);
--
%perl grep -n -A 8 -m 1 perl ar # test2: line8 match doesn't count due to -m1 limit
1:#!/usr/bin/perl
2-
3-=begin metadata
4-
5-Name: ar
6-Description: create and maintain library archives
7-Author: dkulp
8:License: perl
9-
--
%perl grep -A 4 perl ar # test3: no -n
#!/usr/bin/perl

=begin metadata

Name: ar
--
License: perl

=end metadata

=cut
--

355 of 481 relevant lines covered (73.8%)

47092.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11830326870.1 14 Nov 2024 03:44AM UTC 0
73.07
GitHub Action Run
2 11830326870.2 14 Nov 2024 03:44AM UTC 0
73.07
GitHub Action Run
3 11830326870.3 14 Nov 2024 03:45AM UTC 0
73.07
GitHub Action Run
4 11830326870.4 14 Nov 2024 03:45AM UTC 0
73.07
GitHub Action Run
5 11830326870.5 14 Nov 2024 03:45AM UTC 0
73.07
GitHub Action Run
6 11830326870.6 14 Nov 2024 03:45AM UTC 0
73.07
GitHub Action Run
7 11830326870.7 14 Nov 2024 03:45AM UTC 0
73.07
GitHub Action Run
8 11830326870.8 14 Nov 2024 03:45AM UTC 0
73.07
GitHub Action Run
9 11830326870.9 14 Nov 2024 03:45AM UTC 0
73.07
GitHub Action Run
10 11830326870.10 14 Nov 2024 03:45AM UTC 0
73.07
GitHub Action Run
Source Files on build 11830326870
Detailed source file information is not available for this build.
  • Back to Repo
  • 529d42bd on github
  • Prev Build on master (#11816683101)
  • Next Build on master (#11830326871)
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