-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make some of the Java classes proper utilities #687
Make some of the Java classes proper utilities #687
Conversation
Made the design cleaner by marking Java classes as `final` and explicitly declaring their default constructors as `private`. This change makes the code coverage reports more accurate. Closes #4921.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #687 +/- ##
============================================
+ Coverage 80.58% 80.66% +0.08%
Complexity 109 109
============================================
Files 45 45
Lines 3965 3961 -4
Branches 751 751
============================================
Hits 3195 3195
+ Misses 516 512 -4
Partials 254 254 ☔ View full report in Codecov by Sentry. |
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
@niveathika I have updated this branch. Could you please approve the workflows again? |
@vil02 since these classes are used in other DB connector, these changes must be migrated to ballerina distribution and verified before this can be merged. |
@niveathika is there some action I need to take regarding that? |
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
@niveathika @daneshk could you please remove the |
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
Please |
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
Also now. |
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
Closed PR due to inactivity for more than 18 days. |
😞 @niveathika is it possible to re-open this PR? |
Quality Gate failedFailed conditions 5.5% Duplication on New Code (required ≤ 3%) |
We are really very sorry for the late reply. I have reopened this. |
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
Also now. |
Hi @vil02, it seems like the SonarCloud analysis has failed for your PR. Can you please check? |
The complain from SonarCloud seems to a false positive. It complains that I have introduced a duplicated code. Sure... I have introduced In my opinion, this complain could be ignored. @ThisaruGuruge: what is you opinion? |
Thanks for the contribution @vil02. SonarCloud complains about |
native/src/main/java/io/ballerina/stdlib/sql/utils/ProcedureCallResultUtils.java
Outdated
Show resolved
Hide resolved
native/src/main/java/io/ballerina/stdlib/sql/utils/RecordIteratorUtils.java
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
Purpose
Fixes: ballerina-platform/ballerina-library#4921.
Examples
Checklist