Closed theshadowco closed 6 months ago
The project has made several changes, including updating a language server dependency, enhancing SonarQube integration, and improving syntax highlighting for a specific database language (SDBL). Changes in issue loading now support both files and projects, reflecting a more flexible analysis capability. Tests have been refined with modern Java features like var
and unnecessary lines have been removed for cleaner code.
File Pattern | Change Summary |
---|---|
build.gradle.kts |
Updated bsl-language-server version from "0.22.0" to "0.23.0-rc.5" and added exclusions for specific dependencies. |
src/main/java/com/github/_1c_syntax/bsl/sonar/BSLCoreSensor.java |
Added imports for Diagnostic and DiagnosticCode , introduced new sets, and modified methods for diagnostic handling. |
src/main/java/com/github/_1c_syntax/bsl/sonar/BSLHighlighter.java |
Added a new set SDBL_EDS and updated the getTypeOfTextSDBL method for syntax highlighting enhancements. |
src/main/java/com/github/_1c_syntax/bsl/sonar/IssuesLoader.java |
Modified to accept Either<InputFile, InputProject> for issue creation, supporting a broader analysis scope. |
src/main/java/com/github/_1c_syntax/bsl/sonar/language/BSLLanguageServerRuleDefinition.java |
Modified the logic for setting up the debt remediation function. |
src/test/java/com/github/_1c_syntax/bsl/sonar/*Test.java |
Various adjustments including the use of var , addition of string constants, removal of unnecessary empty lines, and updates to imports and method calls for testing. |
Objective | Addressed | Explanation |
---|---|---|
Progressive calculation of effort based on cognitive complexity (#48) | ✅ |
"In the code's burrow, deep and vast,
A version bump, not the first nor last.
🐇 Syntax blooms, and issues weave,
A rabbit's touch, on code's bright eve."
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
90.1% Coverage on New Code
0.0% Duplication on New Code
closes #48
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Style
Tests