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

google / quiver-dart / 1580 / 6
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 05 Nov 2019 06:35PM UTC
Files 45
Run time 3s
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 Nov 2019 05:01PM UTC coverage: 83.029% (+0.02%) from 83.014%
SHARD=coveralls

push

travis-ci

web-flow
Use isEmpty rather than checks vs 0 where possible (#563)

This also adds TreeSet.isEmpty and TreeSet.isNotEmpty in order to fix a
stack overflow error when TreeSet.isEmpty or TreeSet.isNotEmpty are
called in the iterator's moveNext implementation.

Since TreeSet extends IterableBase, and didn't override isEmpty, it fell back
on the IterableBase implementation, which is to obtain an iterable over itself
and check the return value of calling moveNext. Since moveNext now calls
isEmpty, we drop into an infinite recurive loop. A quick length check
implementation is a significant performance improvement as well.

Enables the prefer_is_empty lint.

1776 of 2139 relevant lines covered (83.03%)

1.42 hits per line

Source Files on job 1580.6 (SHARD=coveralls)
  • Tree
  • List 0
  • Changed 39
  • Source Changed 39
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1114
  • Travis Job 1580.6
  • 3fd37291 on github
  • Prev Job for SHARD=coveralls on master (#1578.6)
  • Next Job for SHARD=coveralls on master (#1582.6)
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