Skip to content

fix

d9153ad
Select commit
Loading
Failed to load commit list.
Open

PMM-7 Fix staticcheck and noerrcheck linter warnings #5408

fix
d9153ad
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 22, 2026 in 1s

42.62% (-0.61%) compared to 7fccd1e

View this Pull Request on Codecov

42.62% (-0.61%) compared to 7fccd1e

Details

Codecov Report

❌ Patch coverage is 17.64706% with 42 lines in your changes missing coverage. Please review.
✅ Project coverage is 42.62%. Comparing base (7fccd1e) to head (d9153ad).
⚠️ Report is 1 commits behind head on v3.

Files with missing lines Patch % Lines
managed/models/software_version_helpers.go 16.66% 4 Missing and 1 partial ⚠️
...ent/agents/postgres/pgstatmonitor/pgstatmonitor.go 0.00% 4 Missing ⚠️
managed/services/agents/jobs.go 0.00% 4 Missing ⚠️
admin/commands/config.go 0.00% 1 Missing and 1 partial ⚠️
.../inventory/add_agent_qan_mysql_perfschema_agent.go 0.00% 2 Missing ⚠️
...nds/inventory/add_agent_qan_mysql_slowlog_agent.go 0.00% 2 Missing ⚠️
...ntory/add_agent_qan_postgres_pgstatements_agent.go 0.00% 2 Missing ⚠️
...tory/add_agent_qan_postgres_pgstatmonitor_agent.go 0.00% 2 Missing ⚠️
admin/commands/management/add_mysql.go 0.00% 2 Missing ⚠️
admin/commands/management/add_postgresql.go 0.00% 2 Missing ⚠️
... and 14 more
Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #5408      +/-   ##
==========================================
- Coverage   43.22%   42.62%   -0.61%     
==========================================
  Files         413      413              
  Lines       42279    42282       +3     
==========================================
- Hits        18277    18024     -253     
- Misses      22134    22420     +286     
+ Partials     1868     1838      -30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.