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

preaction / Beam-Emitter / 102
100%

Build:
DEFAULT BRANCH: master
Ran 29 Jan 2017 07:47AM UTC
Jobs 1
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

pending completion
102

push

travis-ci

preaction
the logic to determine if emitter was passed was sensitive to an overloaded bool operator

This code

  $args{emitter} ||= $self;

is meant to detect if the %args array contains the key 'emitter' and assign
$self to it if doesn't.  However, if $args{emitter} contains an object
which overloads the bool operator, it doesn't do that.  It is then
equivalent to

  $args{emitter} = $self if bool $args{emitter};

which is definitely not the same thing.  The check should be more properly
written as

  $args{emitter} = $self if ! defined $args{emitter};

1 of 1 new or added line in 1 file covered. (100.0%)

61 of 61 relevant lines covered (100.0%)

14.15 hits per line

Jobs
ID Job ID Ran Files Coverage
11 102.11 (COVERAGE=1) 29 Jan 2017 07:47AM UTC 0
100.0
Travis Job 102.11
Source Files on build 102
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #102
  • 2aaa32b9 on github
  • Prev Build on master (#99)
  • Next Build on master (#103)
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