|
Ran
|
Files
116
|
Run time
7s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/wikimedia/parsoid/commit/d782de9ef">Resolve superficial token stream differences between JS and PHP * Move convertOffsets() from PHPUtils to TokenUtils * Add TokenUtils::convertTokenOffsets(), which converts offsets in a token array. This turns out to be more difficult than implied by the original dump_tokens.php, and deserves to be in a public class since there's not much you can do with convertOffsets() apart from convert a token array. The list of places where we look for offsets is probably not comprehensive, but it is good enough to be useful as a testing tool. * In PHP, use JSON encoding flags which more closely match the JS output * The chunk callback is called with an array of tokens, not a single token. dump_tokens.(js|php) got this wrong. Fix by using pushArray(). Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/668c18786">668c18786</a>
9531 of 12008 branches covered (79.37%)
14836 of 17577 relevant lines covered (84.41%)
29840.05 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|