|
Ran
|
Jobs
2
|
Files
100
|
Run time
11min
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/Instagram/IGListKit/commit/<a class=hub.com/Instagram/IGListKit/commit/<a class="double-link" href="https://git"><a class=hub.com/Instagram/IGListKit/commit/<a class="double-link" href="https://git"><a class=hub.com/Instagram/IGListKit/commit/<a class="double-link" href="https://git"><a class=hub.com/Instagram/IGListKit/commit/<a class="double-link" href="https://git"><a class=hub.com/Instagram/IGListKit/commit/da4a5bbf2550ecb61d24d7a469c961503ed3b1ed">da4a5bbf2"><a href="https://github.com/Instagram/IGListKit/commit/</a><a class="double-link" href="https://github.com/Instagram/IGListKit/commit/<a class="double-link" href="https://git"><a class=</a>hub.com/Instagram/IGListKit/commit/<a class="double-link" href="https://git"><a class=</a>hub.com/Instagram/IGListKit/commit/<a class="double-link" href="https://git"><a class=</a>hub.com/Instagram/IGListKit/commit/da4a5bbf2550ecb61d24d7a469c961503ed3b1ed">da4a5bbf2</a><a href="https://github.com/Instagram/IGListKit/commit/da4a5bbf2550ecb61d24d7a469c961503ed3b1ed"><a href="https://github.com/Instagram/IGListKit/commit/da4a5bbf2550ecb61d24d7a469c961503ed3b1ed">&quot;&gt;&amp;lt;a href=&amp;quot;https://github.com/Instagram/IGListKit/commit/&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/Instagram/IGListKit/commit/da4a5bbf2550ecb61d24d7a469c961503ed3b1ed&quot;&gt;da4a5bbf2&lt;/a&gt;&lt;a href=&quot;https://github.com/Instagram/IGListKit/commit/da4a5bbf2550ecb61d24d7a469c961503ed3b1ed&quot;&gt;&amp;quot;&amp;gt;Simplify the code and use `_itemCountIsZero` (#1400) Summary: …uld show empty view ## Changes in this pull request Basically we can use the existing _itemCountIsZero like all the other usage, and it&amp;amp;#39;s faster since it stopped early, compared to before we loop through all the sectionController.numberOfItems and sum up. ### Checklist - [x] All tests pass. Demo project builds and runs. - [ ] I added tests, an experiment, or detailed why my change isn&amp;amp;#39;t tested. - [ ] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/b... (continued)
1 of 1 new or added line in 1 file covered. (100.0%)
12493 of 13306 relevant lines covered (93.89%)
492.07 hits per line