Skip to content

Reduce memory footprint of Node classes#2790

Open
KuechA wants to merge 14 commits into
mainfrom
ak/slim-expr
Open

Reduce memory footprint of Node classes#2790
KuechA wants to merge 14 commits into
mainfrom
ak/slim-expr

Merge branch 'main' into ak/slim-expr

70c483b
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 26, 2026 in 1s

72.04% (-0.09%) compared to 2a661f6

View this Pull Request on Codecov

72.04% (-0.09%) compared to 2a661f6

Details

Codecov Report

❌ Patch coverage is 66.31356% with 159 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.04%. Comparing base (2a661f6) to head (70c483b).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ofer/aisec/cpg/graph/edges/collections/EdgeList.kt 68.04% 20 Missing and 11 partials ⚠️
...hofer/aisec/cpg/graph/edges/collections/EdgeSet.kt 76.66% 14 Missing and 7 partials ⚠️
.../graph/edges/collections/MirroredEdgeCollection.kt 37.50% 8 Missing and 2 partials ⚠️
...isec/cpg/graph/edges/collections/EdgeCollection.kt 0.00% 9 Missing ⚠️
.../cpg/graph/edges/collections/CompactEdgeStorage.kt 65.21% 3 Missing and 5 partials ⚠️
...c/cpg/graph/edges/collections/EdgeSingletonList.kt 42.85% 3 Missing and 5 partials ⚠️
.../fraunhofer/aisec/cpg/graph/expressions/DoWhile.kt 33.33% 7 Missing and 1 partial ⚠️
...hofer/aisec/cpg/graph/expressions/Comprehension.kt 41.66% 5 Missing and 2 partials ⚠️
...n/de/fraunhofer/aisec/cpg/graph/expressions/For.kt 36.36% 7 Missing ⚠️
.../fraunhofer/aisec/cpg/graph/expressions/ForEach.kt 46.15% 5 Missing and 2 partials ⚠️
... and 12 more
Additional details and impacted files
Files with missing lines Coverage Δ
...de/fraunhofer/aisec/cpg/graph/ExpressionBuilder.kt 86.94% <ø> (-0.05%) ⬇️
...kotlin/de/fraunhofer/aisec/cpg/graph/Extensions.kt 60.86% <100.00%> (-0.07%) ⬇️
...kotlin/de/fraunhofer/aisec/cpg/graph/Interfaces.kt 55.00% <ø> (ø)
.../main/kotlin/de/fraunhofer/aisec/cpg/graph/Name.kt 88.67% <100.00%> (+2.40%) ⬆️
...otlin/de/fraunhofer/aisec/cpg/graph/NodeBuilder.kt 79.50% <100.00%> (+1.05%) ⬆️
...otlin/de/fraunhofer/aisec/cpg/graph/OverlayNode.kt 85.71% <100.00%> (+10.71%) ⬆️
...nhofer/aisec/cpg/graph/declarations/Declaration.kt 92.30% <100.00%> (+1.00%) ⬆️
...isec/cpg/graph/declarations/DeclarationSequence.kt 100.00% <ø> (ø)
...aunhofer/aisec/cpg/graph/declarations/Extension.kt 76.92% <ø> (ø)
...raunhofer/aisec/cpg/graph/declarations/Function.kt 71.13% <100.00%> (ø)
... and 41 more

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Harness.
📢 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.