Add rule for non isolated public constructs#35
Merged
keizer619 merged 14 commits intoballerina-platform:mainfrom Mar 15, 2025
Merged
Conversation
…ina-platform/static-code-analysis-tool into lang_static_rules_non_isolated_functions
…ina-platform/static-code-analysis-tool into lang_static_rules_non_isolated_functions
…ode-analysis-tool into lang_static_rules_non_isolated_functions
scan-command/src/main/java/io/ballerina/scan/internal/StaticCodeAnalyzer.java
Show resolved
Hide resolved
…ode-analysis-tool into lang_static_rules_non_isolated_functions
Member
|
I would change the title to say "Add static code analysis rule ..." or just "Add rule for ..." |
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/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
Show resolved
Hide resolved
.../resources/test-resources/core-rules/rule004_rule_non_isolated_public_classes_or_objects.bal
Outdated
Show resolved
Hide resolved
…ode-analysis-tool into lang_static_rules_non_isolated_functions
|
keizer619
approved these changes
Mar 15, 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.



Rule description - https://docs.google.com/document/d/117SJltpBJU4lb5hzhTZQe2rTOig_5O97tqetRzHeyU8/edit?tab=t.0#heading=h.97cyv03xqaf5