Self comparison and assignment#45
Merged
keizer619 merged 13 commits intoballerina-platform:mainfrom Mar 16, 2025
Merged
Conversation
…ode-analysis-tool into self_comparison_and_assignment
MaryamZi
reviewed
Feb 21, 2025
scan-command/src/main/java/io/ballerina/scan/internal/CoreRule.java
Outdated
Show resolved
Hide resolved
scan-command/src/main/java/io/ballerina/scan/internal/CoreRule.java
Outdated
Show resolved
Hide resolved
scan-command/src/main/java/io/ballerina/scan/internal/StaticCodeAnalyzer.java
Outdated
Show resolved
Hide resolved
scan-command/src/main/java/io/ballerina/scan/internal/StaticCodeAnalyzer.java
Outdated
Show resolved
Hide resolved
scan-command/src/main/java/io/ballerina/scan/internal/StaticCodeAnalyzer.java
Outdated
Show resolved
Hide resolved
scan-command/src/main/java/io/ballerina/scan/utils/ScanCodeAnalyzerUtils.java
Show resolved
Hide resolved
scan-command/src/main/java/io/ballerina/scan/utils/ScanCodeAnalyzerUtils.java
Show resolved
Hide resolved
scan-command/src/main/java/io/ballerina/scan/internal/StaticCodeAnalyzer.java
Outdated
Show resolved
Hide resolved
scan-command/src/main/java/io/ballerina/scan/internal/StaticCodeAnalyzer.java
Outdated
Show resolved
Hide resolved
scan-command/src/main/java/io/ballerina/scan/internal/CoreRule.java
Outdated
Show resolved
Hide resolved
scan-command/src/test/java/io/ballerina/scan/internal/Rule007Test.java
Outdated
Show resolved
Hide resolved
…ode-analysis-tool into self_comparison_and_assignment
…ode-analysis-tool into self_comparison_and_assignment
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #45 +/- ##
============================================
- Coverage 89.51% 88.12% -1.40%
- Complexity 232 292 +60
============================================
Files 18 19 +1
Lines 811 926 +115
Branches 89 139 +50
============================================
+ Hits 726 816 +90
- Misses 50 58 +8
- Partials 35 52 +17 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
keizer619
approved these changes
Mar 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Static rules
https://docs.google.com/document/d/117SJltpBJU4lb5hzhTZQe2rTOig_5O97tqetRzHeyU8/edit?tab=t.0#heading=h.752sdrnxdrw6
https://docs.google.com/document/d/117SJltpBJU4lb5hzhTZQe2rTOig_5O97tqetRzHeyU8/edit?tab=t.0#heading=h.nipjsy906opq
https://docs.google.com/document/d/117SJltpBJU4lb5hzhTZQe2rTOig_5O97tqetRzHeyU8/edit?tab=t.0#heading=h.1v0qspjfob47