Ran
|
Files
153
|
Run time
21s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/wikimedia/parsoid/commit/0b6df203c">Bug fix populating functionhooks in SiteConfig + bunch of cleanup * Removed some variables from extension SiteConfig that became dead since d3ef20941. * Trailing colon wasn't being stripped properly while setting up functionhooks which led to failures looking up DEFAULTSORT in the functionhooks map which caused the failure in T235004. The functionhooks property wasn't being set up correctly all the time either. * Cleaned up API SiteConfig code to expose duplicated code in the API and extension SiteConfig objects. This code needs to be refactored and some of the common code needs to be moved to the base class. This is left for a followup. * Separately, it is unclear (a) why we need to the laborious job of setting up the functionhooks and variables array (b) and if this is actually being used beyond looking up the defaultsort value. Maybe, something simpler can solve our restricted use case. * Additionally, Scott points out in a review that the case-insensitive words aren't handled correctly (both in JS and now here in PHP). This is left for a followup (maybe after addressing the complaints above since addressing them could potentially simplify what needs to be done). Bug: T235004 Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/8e93d821d">8e93d821d</a>
9636 of 12147 branches covered (79.33%)
15082 of 17787 relevant lines covered (84.79%)
32536.0 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|