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

bombsimon / wsl
85%
main: 92%

Build:
Build:
LAST BUILD BRANCH: lock-unlock
DEFAULT BRANCH: main
Repo Added 17 Sep 2018 01:27PM UTC
Files 4
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

LAST BUILD ON BRANCH v1.0
branch: v1.0
CHANGE BRANCH
x
Reset
  • v1.0
  • add-tests
  • anonymous-func
  • append-only
  • ast
  • bump-go-version
  • bump-version
  • case-arms
  • case-trailing-newline
  • case-trailing-whitespace
  • circuit-break-labels
  • config-setup
  • cuddle-decl
  • decl-fixer-2
  • defer-func-lit
  • doc
  • docs-and-defaults
  • empty-block
  • err-blocks
  • err-only-test
  • expression-for-block
  • feat/golangci-lint-v2
  • features
  • files
  • find-block-stmt
  • fix-assignment-cuddle-blocks
  • fix-err-checking
  • fix-err-cuddling
  • fix-golangci-lint-doc
  • fix-install-instructions
  • fix-versioning
  • fix/cgo
  • fix/drop-cgo-support
  • fix/positions
  • fix/rename-test-file
  • fix/tests
  • fix/tests-cgo
  • fix/version
  • fixer
  • fixes
  • flag-for-generated
  • gh-actions
  • go-1.22
  • go-mod
  • gomod
  • http-best-practice
  • if-statements
  • ignore-literals
  • issue-73-block-start-with-comment
  • lax-error-checking
  • lock-unlock
  • main
  • make-all-test-code-compile
  • map
  • master
  • multiline-assignment
  • multiline-case
  • multiple-go
  • parallel-tests
  • plus-plus-minus-minus
  • port-issue-test
  • position-for
  • refs/heads/defer-stmt-before-previous
  • refs/heads/else-if
  • refs/heads/master
  • refs/tags/v3.4.0
  • refs/tags/v4.0.0
  • refs/tags/v4.1.0
  • refs/tags/v4.2.0
  • refs/tags/v4.2.1
  • refs/tags/v4.3.0
  • refs/tags/v4.4.0
  • refs/tags/v4.4.1
  • refs/tags/v4.5.0
  • rename-test-folder
  • renovate/actions-checkout-6.x
  • renovate/actions-setup-go-6.x
  • renovate/configure
  • renovate/coverallsapp-github-action-1.x
  • renovate/coverallsapp-github-action-2.x
  • renovate/github.com-stretchr-testify-1.x
  • renovate/go-1.x
  • renovate/golang.org-x-tools-0.x
  • renovate/golangci-golangci-lint-action-9.x
  • renovate/jandelgado-gcov2lcov-action-1.x
  • slice-expr
  • struct-field-fn
  • tdd
  • trailing-comments
  • traverse-all-subexpr
  • travis-fix
  • update-golangci-lint
  • update-linters
  • update-readme
  • update-version
  • use-line-for
  • v1.0.0
  • v1.0.1
  • v1.1.0
  • v1.2.0
  • v1.2.1
  • v1.2.2
  • v1.2.3
  • v1.2.4
  • v1.2.5
  • v1.2.6
  • v1.2.7
  • v1.2.8
  • v1.2.8-issue-60
  • v2.0.0
  • v2.1.0
  • v2.1.0-fixer
  • v2.2.0
  • v3.0.0
  • v3.1.0
  • v3.2.0
  • v3.3.0
  • wsl-rewrite

02 Oct 2019 01:06PM UTC coverage: 85.06%. Remained the same
65

push

travis-ci-com

bombsimon
Avoid panic for empty BlockStmt

Some blocks might be empty, example
https://github.com/golang/sys/blob/master/unix/gccgo.go#L16
To avoid this from panicking we just ignore those nodes.

854 of 1004 relevant lines covered (85.06%)

167.5 hits per line

Relevant lines Covered
Build:
Build:
1004 RELEVANT LINES 854 COVERED LINES
167.5 HITS PER LINE
Source Files on v1.0
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
65 v1.0 Avoid panic for empty BlockStmt Some blocks might be empty, example https://github.com/golang/sys/blob/master/unix/gccgo.go#L16 To avoid this from panicking we just ignore those nodes. push 02 Oct 2019 01:09PM UTC bombsimon travis-ci-com
85.06
67 v1.0 Avoid panic for empty BlockStmt Some blocks might be empty, example https://github.com/golang/sys/blob/master/unix/gccgo.go#L16 To avoid this from panicking we just ignore those nodes. push 02 Oct 2019 01:08PM UTC bombsimon travis-ci
85.06
See All Builds (712)
  • Repo on GitHub
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