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

LAJW / fugazi / 84
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 0.5.2
DEFAULT BRANCH: master
Ran 30 Jul 2016 09:54PM UTC
Jobs 3
Files 1
Run time 1s
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
84

push

travis-ci

LAJW
FIX: ES5 functions treated as classes

Creating a function using following syntax:

function () {}

Was causing false-positive class detection. is-class module is not
sufficient as Array, Set, Map and other built ins are not ES6 classes,
and () => {} syntax yields the same empty or undefined/false prototype.

Solution is not 100% robust. If there is an ES5 class with no method in
its own prototype then it might be treated as a function. Fortunately
all builtins have at least one method, so problem's going to occur only
in custom code/npm libraries.

isClass should be refactored, removing redundant lines and using
array/set compare, rather than sort/string concat.

411 of 423 relevant lines covered (97.16%)

103.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 84.1 30 Jul 2016 09:54PM UTC 0
97.16
Travis Job 84.1
2 84.2 30 Jul 2016 09:54PM UTC 0
97.16
Travis Job 84.2
3 84.3 30 Jul 2016 09:54PM UTC 0
97.16
Travis Job 84.3
Source Files on build 84
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #84
  • 3aaafaae on github
  • Next Build on develop (#85)
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