Skip to content

Comments

Optimize hardcoded IV detection using semantic model reference counting#604

Merged
ThisaruGuruge merged 2 commits intoballerina-platform:masterfrom
nureka-rodrigo:master
Sep 19, 2025
Merged

Optimize hardcoded IV detection using semantic model reference counting#604
ThisaruGuruge merged 2 commits intoballerina-platform:masterfrom
nureka-rodrigo:master

Conversation

@nureka-rodrigo
Copy link
Contributor

Purpose

Fixes: ballerina-platform/ballerina-library#8257

Examples

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec
  • Checked native-image compatibility

Refactor hardcoded initialization vector (IV) detection to use semantic
model reference counting instead of complex syntax tree analysis.
@sonarqubecloud
Copy link

@codecov
Copy link

codecov bot commented Sep 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.22%. Comparing base (4c3fa51) to head (1733a91).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #604   +/-   ##
=========================================
  Coverage     82.22%   82.22%           
  Complexity      239      239           
=========================================
  Files            29       29           
  Lines          1367     1367           
  Branches        190      190           
=========================================
  Hits           1124     1124           
  Misses          197      197           
  Partials         46       46           

☔ 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.

@nureka-rodrigo nureka-rodrigo changed the title Simplify hardcoded IV detection using reference counting approach Optimize hardcoded IV detection using semantic model reference counting Sep 19, 2025
@nureka-rodrigo
Copy link
Contributor Author

@ThisaruGuruge PRAM

@ThisaruGuruge ThisaruGuruge merged commit e31899d into ballerina-platform:master Sep 19, 2025
8 checks passed
TharmiganK pushed a commit that referenced this pull request Oct 21, 2025
…ng (#604)

* Simplify hardcoded IV detection using reference counting approach

Refactor hardcoded initialization vector (IV) detection to use semantic
model reference counting instead of complex syntax tree analysis.

* Update changelog.md

(cherry picked from commit e31899d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimize hardcoded IV detection using semantic model reference counting

2 participants