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

elastic / cloudbeat / 7286292659
76%

Build:
DEFAULT BRANCH: main
Ran 21 Dec 2023 09:28AM UTC
Jobs 1
Files 155
Run time 18s
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

21 Dec 2023 09:24AM UTC coverage: 76.13% (-0.01%) from 76.143%
7286292659

push

github

web-flow
revive: Enable early-return (#1721)

Description: In Go it is idiomatic to minimize nesting statements, a
typical example is to avoid if-then-else constructions. This rule spots
constructions like
```go
if cond {
  // do something
} else {
  // do other thing
  return ...
}
```
where the `if` condition may be inverted in order to reduce nesting:
```go
if !cond {
  // do other thing
  return ...
}

// do something
```

5610 of 7369 relevant lines covered (76.13%)

9.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7286292659.1 21 Dec 2023 09:28AM UTC 0
76.13
GitHub Action Run
Source Files on build 7286292659
Detailed source file information is not available for this build.
  • Back to Repo
  • bf935da9 on github
  • Prev Build on main (#7286172352)
  • Next Build on main (#7287252478)
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