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

dart-lang / dartdoc / 4448 / 6
66%
master: 66%

Build:
DEFAULT BRANCH: master
Ran 14 Jul 2020 04:13AM UTC
Files 80
Run time 13s
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

14 Jul 2020 03:47AM UTC coverage: 92.622% (-0.05%) from 92.676%
DARTDOC_BOT=main

push

travis-ci

web-flow
Split apart ModelElement.from into a few pieces for cleaner code (#2265)

ModelElement.from was huge; it handles all types of elements, including
property-inducing ones. It handled verification, and element caching.  This
changes splits it into 4 functions:

* ModelElement.fromPropertyInducingElement, a factory constructor.
* ModelElement.from, the sibling constructor for non-property-inducing
  elements.
* ModelElement._from, a helper which performs the actual constructions.
* ModelElement._cacheNewModelElement, a helper which caches the newly
  constructed ModelElement.

Callers frequently had conditional logic for property-inducing elements, so the
splitting of the constructor does not complicate callers, but allows them to be
explicit about which constructor they are calling.

5938 of 6411 relevant lines covered (92.62%)

16.89 hits per line

Source Files on job 4448.6 (DARTDOC_BOT=main)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2605
  • Travis Job 4448.6
  • cb857a11 on github
  • Prev Job for DARTDOC_BOT=main on master (#4446.6)
  • Next Job for DARTDOC_BOT=main on master (#4450.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