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

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

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

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

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

47 of 48 relevant lines covered (97.92%)

19.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10.1 25 Oct 2018 01:38PM UTC 0
96.15
Travis Job 10.1
Source Files on build 10
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #10
  • Pull Request #6
  • PR Base - master (#9)
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