Skip to content

Report unsupported StringBuilder Append object#1592

Draft
Jim8y wants to merge 1 commit intomaster-n3from
fix/stringbuilder-append-object-analyzer
Draft

Report unsupported StringBuilder Append object#1592
Jim8y wants to merge 1 commit intomaster-n3from
fix/stringbuilder-append-object-analyzer

Conversation

@Jim8y
Copy link
Copy Markdown
Contributor

@Jim8y Jim8y commented Apr 19, 2026

Summary

  • stop treating StringBuilder.Append(object) as analyzer-supported
  • add analyzer coverage for unsupported StringBuilder.Append(object)

Validation

  • dotnet test tests/Neo.SmartContract.Analyzer.UnitTests/Neo.SmartContract.Analyzer.UnitTests.csproj --filter "StringBuilderUsageAnalyzerUnitTests" --no-restore
  • dotnet test tests/Neo.SmartContract.Analyzer.UnitTests/Neo.SmartContract.Analyzer.UnitTests.csproj --no-restore

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.24%. Comparing base (3665f83) to head (4b2cbd7).

Additional details and impacted files
@@            Coverage Diff             @@
##           master-n3    #1592   +/-   ##
==========================================
  Coverage      80.24%   80.24%           
==========================================
  Files            295      295           
  Lines          25456    25456           
  Branches        3453     3453           
==========================================
  Hits           20428    20428           
  Misses          4132     4132           
  Partials         896      896           

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

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.

1 participant