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

LAJW / fugazi / 84 / 1
100%
master: 100%

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

30 Jul 2016 09:40PM UTC coverage: 97.163%. First build
84.1

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%)

34.56 hits per line

Source Files on job 84.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 84
  • Travis Job 84.1
  • 3aaafaae on github
  • Next Job for on develop (#85.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