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

wikimedia / parsoid / 2793 / 3
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2019 09:19PM UTC
Files 153
Run time 15s
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

05 Jul 2019 08:32PM UTC coverage: 79.845% (+0.03%) from 79.816%
2793.3

push

travis-ci

cscott
<a href="https://github.com/wikimedia/parsoid/commit/50885ce42">Optimize regexp used to verify UTF-8 validity

PHP7 was hitting the PREG_JIT_STACKLIMIT_ERROR on large strings here,
because the `*` quantifier was implicitly growing the stack for each
character to allow backtracking if the match failed.  Backtracking
is pointless here, so use `*+` to eliminate it (and its stack usage).

While we&#39;re add it, add the `D` modifier to ensure that `$` only matches
at the very end of the string.  Given that a trailing newline would
presumably be valid UTF-8, this doesn&#39;t actually affect correctness.

Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/6244b18de">6244b18de</a>

8968 of 12098 branches covered (74.13%)

14178 of 17757 relevant lines covered (79.84%)

30739.94 hits per line

Source Files on job 2793.3
  • Tree
  • List 0
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2592
  • Travis Job 2793.3
  • 50885ce4 on github
  • Prev Job for on master (#2792.2)
  • Next Job for on master (#2794.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