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

optimizely / javascript-sdk / 435 / 6
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2018 09:02PM UTC
Files 46
Run time 4s
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

19 Oct 2018 08:59PM UTC coverage: 97.42% (+0.09%) from 97.335%
435.6

push

travis-ci

web-flow
feat (audiences): Audience combinations (#175)

This adds support for audience combinations on experiments. If `experiment.audienceConditions` is present, it will be used as a condition tree where the leaf conditions are audience Ids.

- Condition tree evaluation and custom attribute condition evaluation are split into separate modules. Condition tree evaluation accepts a leaf evaluator function argument.

- The audience evaluator uses the condition tree evaluator on both the experiment audience conditions and the individual audience conditions.

- Project config methods are updated to support audience combinations.

`getExperimentAudienceConditions` returns `audienceConditions` if it exists, otherwise it falls back to `audienceIds`.

- The audience evaluator treats conditions trees and flat lists of audience ids (the old format) the same way, because a flat list of audience ids is a valid condition tree with an implicit OR condition.

466 of 505 branches covered (92.28%)

Branch coverage included in aggregate %.

4481 of 4573 relevant lines covered (97.99%)

17.11 hits per line

Source Files on job 435.6
  • Tree
  • List 0
  • Changed 16
  • Source Changed 6
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 279
  • Travis Job 435.6
  • cb9d5008 on github
  • Prev Job for on master (#429.5)
  • Next Job for on master (#438.2)
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

© 2025 Coveralls, Inc