Skip to content

Conversation

@fwendland
Copy link
Collaborator

A bit of clean up for code quality and reduced compiler warnings.

@fwendland fwendland self-assigned this Dec 23, 2025
@fwendland fwendland added the code-quality Issues that do not require semantic changes to the code but rather cleanup, refactoring, commenting label Dec 23, 2025
@fwendland fwendland requested a review from oxisto as a code owner December 23, 2025 07:55
@fwendland fwendland added the go label Dec 23, 2025
@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.53%. Comparing base (105ee6b) to head (c660623).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...tlin/de/fraunhofer/aisec/cpg/passes/GoExtraPass.kt 66.66% 1 Missing and 2 partials ⚠️
...er/aisec/cpg/frontends/golang/ExpressionHandler.kt 33.33% 1 Missing and 1 partial ⚠️
...fer/aisec/cpg/passes/GoEvaluationOrderGraphPass.kt 0.00% 2 Missing ⚠️
...r/aisec/cpg/frontends/golang/DeclarationHandler.kt 0.00% 1 Missing ⚠️
...er/aisec/cpg/frontends/golang/GoStandardLibrary.kt 0.00% 1 Missing ⚠️
...aisec/cpg/frontends/golang/SpecificationHandler.kt 0.00% 1 Missing ⚠️

❌ Your patch check has failed because the patch coverage (50.00%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
Files with missing lines Coverage Δ
...raunhofer/aisec/cpg/frontends/golang/GoLanguage.kt 69.09% <ø> (ø)
...r/aisec/cpg/frontends/golang/GoLanguageFrontend.kt 91.47% <100.00%> (ø)
...fer/aisec/cpg/frontends/golang/StatementHandler.kt 86.29% <100.00%> (ø)
...r/aisec/cpg/frontends/golang/DeclarationHandler.kt 91.20% <0.00%> (ø)
...er/aisec/cpg/frontends/golang/GoStandardLibrary.kt 73.42% <0.00%> (ø)
...aisec/cpg/frontends/golang/SpecificationHandler.kt 81.02% <0.00%> (ø)
...er/aisec/cpg/frontends/golang/ExpressionHandler.kt 88.18% <33.33%> (ø)
...fer/aisec/cpg/passes/GoEvaluationOrderGraphPass.kt 55.55% <0.00%> (ø)
...tlin/de/fraunhofer/aisec/cpg/passes/GoExtraPass.kt 84.07% <66.66%> (+1.92%) ⬆️

... and 1 file with indirect coverage changes

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@oxisto oxisto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, smaller things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-quality Issues that do not require semantic changes to the code but rather cleanup, refactoring, commenting go

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants