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

PDLPorters / pdl / 625 / 1
67%
master: 67%

Build:
DEFAULT BRANCH: master
Ran 19 Jan 2019 07:11AM UTC
Files 106
Run time 5s
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

19 Jan 2019 06:51AM UTC coverage: 50.939% (+0.009%) from 50.93%
COVERAGE=1

push

travis-ci

Derek Lamb
Improve compatibility with Perl's experimental 'bitwise' feature.

Patch applied as-is, without "simply wrapping and2, or2 and xor
in an anonymous sub for overloading, as is already done with ~"

From https://rt.cpan.org/Public/Bug/Display.html?id=123901:
Perl 5.22 introduced a new ‘bitwise’ experimental feature that
splits the two behaviours of bitwise into two separate sets of
ops, effectively giving Perl three sets of bitwise ops:

  bitwise-feature: &. |. etc. (string)
  bitwise-feature: & | etc. (number)
  old bitwise ops: & | etc. (string or number)

To distinguish between the last two sets of ops, overload methods
get a fifth true argument when the ‘bitwise’ feature is enabled.
PDLs methods croak on this ‘wrong’ number of arguments.  The attached
patch fixes it, but after writing this patch I wondered whether it
wouldn’t be better simply to wrap and2, or2 and xor in an anonymous sub
for overloading, as is already done with ~.  In any case, I leave it to
you to do with this patch as you see fit. Please note that there were
no tests at all for ^ and ~ that I could find, so I added one for each.
__END_OF_PATCH_COMMENT__

8410 of 16510 relevant lines covered (50.94%)

118.98 hits per line

Source Files on job 625.1 (COVERAGE=1)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 615
  • Travis Job 625.1
  • 29b80866 on github
  • Prev Job for COVERAGE=1 on master (#624.1)
  • Next Job for COVERAGE=1 on master (#628.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