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

preaction / Beam-Emitter / 101
100%

Build:
DEFAULT BRANCH: master
Ran 28 Jan 2017 06:05AM 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
101

Pull #25

travis-ci

web-flow
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};
Pull Request #25: the logic to determine if emitter was passed was sensitive to an over…

61 of 61 relevant lines covered (100.0%)

14.15 hits per line

Jobs
ID Job ID Ran Files Coverage
11 101.11 (COVERAGE=1) 28 Jan 2017 06:05AM UTC 0
100.0
Travis Job 101.11
Source Files on build 101
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #101
  • Pull Request #25
  • PR Base - master (#99)
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