Skip to content

Analyze floating-point method signatures#1587

Draft
Jim8y wants to merge 1 commit intomaster-n3from
fix/analyze-unsupported-abi-types
Draft

Analyze floating-point method signatures#1587
Jim8y wants to merge 1 commit intomaster-n3from
fix/analyze-unsupported-abi-types

Conversation

@Jim8y
Copy link
Copy Markdown
Contributor

@Jim8y Jim8y commented Apr 18, 2026

Summary

  • report float, double, and decimal usage in method return types
  • report float, double, and decimal usage in method parameters
  • add analyzer tests for floating-point method signatures

Validation

  • dotnet test tests/Neo.SmartContract.Analyzer.UnitTests/Neo.SmartContract.Analyzer.UnitTests.csproj --filter "MethodSignature_ShouldReportDiagnostic" --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 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.24%. Comparing base (512f278) to head (4085ad4).

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

☔ 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