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

dart-lang / dartdoc / 4442
66%

Build:
DEFAULT BRANCH: master
Ran 12 Jul 2020 05:33AM UTC
Jobs 1
Files 80
Run time 6s
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

10 Jul 2020 03:07AM UTC coverage: 92.676%. Remained the same
4442

cron

travis-ci

web-flow
Performance improvements (#2259)

When documenting the camera Flutter plugin, these changes reduce the time to
document from 52 seconds to 51 seconds.

Much of this speedup likely came from memoizing Package.documentedWhere, which
has a few expensive calls like `linkToRemote` and `linkToUrl`. Additionally
ModelElement.locationPieces is now memoized.

The rest is a few refactorings:

* ModelElement.canonicalLibrary:
    * Refactor most of the complexity of ModelElement.canonicalLibrary into a
      new private method.
    * Don't compute topLevelElement until you need it.
    * Short circuit if `definingLibrary.exportedInLibraries` is null.
    * Reduce nesting
    * Create warning message only if it will be used.
* Prefer for loops over Iterable.forEach.

67 of 67 new or added lines in 6 files covered. (100.0%)

5922 of 6390 relevant lines covered (92.68%)

16.92 hits per line

Jobs
ID Job ID Ran Files Coverage
6 4442.6 (DARTDOC_BOT=main) 12 Jul 2020 05:33AM UTC 0
92.68
Travis Job 4442.6
Source Files on build 4442
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4442
  • d23db1b9 on github
  • Prev Build on master (#4441)
  • Next Build on master (#4444)
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