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

go-critic / go-critic / 1700
98%

Build:
DEFAULT BRANCH: master
Ran 26 Jul 2018 09:22PM UTC
Jobs 2
Files 49
Run time 35s
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
1700

push

travis-ci

web-flow
lint: don't warn on balanced if-else in elseif checker (#478)

Change default behavior not to warn on balanced statements.

A balanced if statement is a one where both branches
contain if statement, like in example below:

	if cond {
		if x == 1 {
		}
	} else {
		if x == 2 {
		}
	}

gocritic can be instructed to warn on these too by changing
skipBalanced value to false.

Fixes #420

2454 of 2536 relevant lines covered (96.77%)

204.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1700.1 (TEST_SUITE=tests) 26 Jul 2018 09:22PM UTC 0
96.77
Travis Job 1700.1
2 1700.2 (TEST_SUITE=gometalinter) 26 Jul 2018 09:22PM UTC 0
96.77
Travis Job 1700.2
Source Files on build 1700
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1700
  • 10a8901d on github
  • Prev Build on master (#1697)
  • Next Build on master (#1703)
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