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

google / quiver-dart / 1580
84%

Build:
DEFAULT BRANCH: master
Ran 05 Nov 2019 06:35PM UTC
Jobs 1
Files 45
Run time 4s
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

pending completion
1580

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

Jobs
ID Job ID Ran Files Coverage
6 1580.6 (SHARD=coveralls) 05 Nov 2019 06:35PM UTC 0
83.03
Travis Job 1580.6
Source Files on build 1580
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1580
  • 3fd37291 on github
  • Prev Build on master (#1578)
  • Next Build on master (#1582)
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