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

dart-lang / dartdoc / 4448
66%

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

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.

101 of 101 new or added lines in 5 files covered. (100.0%)

5938 of 6411 relevant lines covered (92.62%)

16.89 hits per line

Jobs
ID Job ID Ran Files Coverage
6 4448.6 (DARTDOC_BOT=main) 14 Jul 2020 04:13AM UTC 0
92.62
Travis Job 4448.6
Source Files on build 4448
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4448
  • cb857a11 on github
  • Prev Build on master (#4446)
  • Next Build on master (#4450)
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