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

brannondorsey / host-validation / 10 / 1
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: v2.0.1
DEFAULT BRANCH: master
Ran 25 Oct 2018 01:38PM 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

25 Oct 2018 01:37PM UTC coverage: 96.154% (-0.04%) from 96.19%
10.1

Pull #6

travis-ci-com

web-flow
Improve performance in isAllowed

`isAllowed` would previously iterate over *every* allowed value even if
it had already found one that was allowed. By switching from
`Array.prototype.filter` to `Array.prototype.some`, we can
"short-circuit" this.

This is a minor change, but something small I spotted.

`npm test` passes after this change.
Pull Request #6: Improve performance in isAllowed

53 of 56 branches covered (94.64%)

Branch coverage included in aggregate %.

47 of 48 relevant lines covered (97.92%)

19.04 hits per line

Source Files on job 10.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 10
  • Travis Job 10.1
  • e7da4c64 on github
  • Prev Job for on performance_improvement_in_isAllowed (#9.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