|
Ran
|
Jobs
3
|
Files
153
|
Run time
7min
|
Badge
README BADGES
|
push
travis-ci
<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'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't actually affect correctness. Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/6244b18de">6244b18de</a>
8967 of 12098 branches covered (74.12%)
14173 of 17757 relevant lines covered (79.82%)
89317.31 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 2793.1 | 0 |
79.82 |
Travis Job 2793.1 | |
| 2 | 2793.2 | 0 |
79.82 |
Travis Job 2793.2 | |
| 3 | 2793.3 | 0 |
79.84 |
Travis Job 2793.3 |