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

kyverno / policy-reporter / 14825432884
74%

Build:
DEFAULT BRANCH: main
Ran 04 May 2025 09:42PM UTC
Jobs 1
Files 82
Run time 1min
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

04 May 2025 09:38PM UTC coverage: 83.313% (+0.01%) from 83.301%
14825432884

push

github

web-flow
chore(staticcheck) Fix all remaining issues reported (#919)

See,

golangci-lint run --enable-only staticcheck ./...
pkg/api/v1/api.go:61:2: SA4006: this value of err is never used (staticcheck)
        count, err := h.store.CountPolicyReports(ctx, filter)
        ^
 103 ↲
pkg/api/v1/api.go:70:2: SA4006: this value of err is never used (staticcheck)
        count, err := h.store.CountClusterPolicyReports(ctx, filter)
        ^
pkg/api/v1/api.go:133:2: SA4006: this value of err is never used (staticcheck)
        count, err := h.store.CountResults(ctx, false, filter)
        ^
pkg/report/publisher.go:45:2: S1033: unnecessary guard around call to delete (staticcheck)
        if _, ok := p.postListeners[name]; ok {
        ^
pkg/report/source_filter.go:153:34: SA6005: should use strings.EqualFold instead (staticcheck)
        return selector.Source == "" || strings.ToLower(selector.Source) == strings.ToLower(polr.GetSource())
   1 package report↲
                                        ^
5 issues:
* staticcheck: 5

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>

5 of 6 new or added lines in 3 files covered. (83.33%)

5592 of 6712 relevant lines covered (83.31%)

5.36 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
79.49
1.99% pkg/report/publisher.go
Jobs
ID Job ID Ran Files Coverage
1 14825432884.1 04 May 2025 09:42PM UTC 82
83.31
GitHub Action Run
Source Files on build 14825432884
  • Tree
  • List 82
  • Changed 3
  • Source Changed 3
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14825432884
  • caf70bb3 on github
  • Prev Build on main (#14808087189)
  • Next Build on main (#14852746394)
  • Delete
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