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

dart-lang / linter / 4072 / 1
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2020 07:22PM UTC
Files 197
Run time 53s
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 Oct 2020 07:18PM UTC coverage: 96.616% (+0.001%) from 96.615%
LINTER_BOT=main

push

travis-ci

web-flow
prefer_constructors_over_static_methods: take generics into account (#2272)

Fix #2149 by taking generics into account.

Compare the method's return _type_ with it's parent class's _type_ rather than
comparing _elements_ to account for generics (don't report a method which
returns `A<int>`).

And don't report any generic method, because it might use the type parameters
in its parameters, which a constructor cannot do.

6281 of 6501 relevant lines covered (96.62%)

1.54 hits per line

Source Files on job 4072.1 (LINTER_BOT=main)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2621
  • Travis Job 4072.1
  • 5b34a696 on github
  • Prev Job for LINTER_BOT=main on master (#4070.1)
  • Next Job for LINTER_BOT=main on master (#4076.1)
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