You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "imbajin (via GitHub)" <gi...@apache.org> on 2023/11/13 02:52:43 UTC

[PR] fix(api): clean some code for release [incubator-hugegraph]

imbajin opened a new pull request, #2348:
URL: https://github.com/apache/incubator-hugegraph/pull/2348

   <!-- 
     Thank you very much for contributing to Apache HugeGraph, we are happy that you want to help us improve it!
   
     Here are some tips for you:
       1. If this is your first time, please read the [contributing guidelines](https://github.com/apache/hugegraph/blob/master/CONTRIBUTING.md)
   
       2. If a PR fix/close an issue, type the message "close xxx" (xxx is the link of related 
   issue) in the content, GitHub will auto link it (Required)
   
       3. Name the PR title in "Google Commit Format", start with "feat | fix | perf | refactor | doc | chore", 
         such like: "feat(core): support the PageRank algorithm" or "fix: wrong break in the compute loop" (module is optional)
         skip it if you are unsure about which is the best component.
   
       4. One PR address one issue, better not to mix up multiple issues.
   
       5. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` (or click it directly after 
   published)
   -->
   
   ## Purpose of the PR
   
   - separate from #2347 , just clean code
   
   <!--
   Please explain more context in this section, clarify why the changes are needed. 
   e.g:
   - If you propose a new API, clarify the use case for a new API.
   - If you fix a bug, you can clarify why it is a bug, and should be associated with an issue.
   -->
   
   ## Main Changes
   
   <!-- Please clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue. These change logs are helpful for better ant faster reviews.)
   
   For example:
   
   - If you introduce a new feature, please show detailed design here or add the link of design documentation.
   - If you refactor some codes with changing classes, showing the class hierarchy will help reviewers.
   - If there is a discussion in the mailing list, please add the link. -->
   
   ## Verifying these changes
   
   <!-- Please pick the proper options below -->
   
   - [ ] Trivial rework / code cleanup without any test coverage. (No Need)
   - [ ] Already covered by existing tests, such as *(please modify tests here)*.
   - [ ] Need tests and can be verified as follows:
       - xxx
   
   ## Does this PR potentially affect the following parts?
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ]  Nope
   - [ ]  Dependencies (add/update license info) <!-- Don't forget to add/update the info in "LICENSE" & "NOTICE" files (both in root & dist module) -->
   - [ ]  Modify configurations
   - [ ]  The public API
   - [ ]  Other affects (typed here)
   
   ## Documentation Status
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ]  `Doc - TODO` <!-- Your PR changes impact docs and you will update later -->
   - [ ]  `Doc - Done` <!-- Related docs have been already added or updated -->
   - [ ]  `Doc - No Need` <!-- Your PR changes don't impact/need docs -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [PR] fix(api): clean some code for release [incubator-hugegraph]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #2348:
URL: https://github.com/apache/incubator-hugegraph/pull/2348#issuecomment-1807406402

   ## [Codecov](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2348?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   > Merging [#2348](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2348?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (0886bc3) into [master](https://app.codecov.io/gh/apache/incubator-hugegraph/commit/bce6d058f5d1f108b4c19e18eb7a65ab0604a526?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (bce6d05) will **decrease** coverage by `15.88%`.
   > The diff coverage is `62.50%`.
   
   > :exclamation: Current head 0886bc3 differs from pull request most recent head 626103f. Consider uploading reports for the commit 626103f to get more accurate results
   
   ```diff
   @@              Coverage Diff              @@
   ##             master    #2348       +/-   ##
   =============================================
   - Coverage     64.44%   48.56%   -15.88%     
   + Complexity      979      382      -597     
   =============================================
     Files           507      507               
     Lines         42084    42080        -4     
     Branches       5832     5819       -13     
   =============================================
   - Hits          27121    20438     -6683     
   - Misses        12275    19438     +7163     
   + Partials       2688     2204      -484     
   ```
   
   
   | [Files](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2348?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [.../apache/hugegraph/backend/tx/GraphTransaction.java](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2348?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVnZWdyYXBoLXNlcnZlci9odWdlZ3JhcGgtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvaHVnZWdyYXBoL2JhY2tlbmQvdHgvR3JhcGhUcmFuc2FjdGlvbi5qYXZh) | `73.77% <100.00%> (-4.62%)` | :arrow_down: |
   | [...g/apache/hugegraph/type/define/CollectionType.java](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2348?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVnZWdyYXBoLXNlcnZlci9odWdlZ3JhcGgtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvaHVnZWdyYXBoL3R5cGUvZGVmaW5lL0NvbGxlY3Rpb25UeXBlLmphdmE=) | `61.11% <ø> (ø)` | |
   | [...ugegraph/backend/store/mysql/ResultSetWrapper.java](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2348?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVnZWdyYXBoLXNlcnZlci9odWdlZ3JhcGgtbXlzcWwvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2h1Z2VncmFwaC9iYWNrZW5kL3N0b3JlL215c3FsL1Jlc3VsdFNldFdyYXBwZXIuamF2YQ==) | `62.50% <ø> (ø)` | |
   | [...g/apache/hugegraph/structure/HugeEdgeProperty.java](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2348?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVnZWdyYXBoLXNlcnZlci9odWdlZ3JhcGgtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvaHVnZWdyYXBoL3N0cnVjdHVyZS9IdWdlRWRnZVByb3BlcnR5LmphdmE=) | `63.15% <0.00%> (-5.27%)` | :arrow_down: |
   | [...aph/traversal/optimize/HugePrimaryKeyStrategy.java](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2348?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVnZWdyYXBoLXNlcnZlci9odWdlZ3JhcGgtY29yZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvaHVnZWdyYXBoL3RyYXZlcnNhbC9vcHRpbWl6ZS9IdWdlUHJpbWFyeUtleVN0cmF0ZWd5LmphdmE=) | `85.71% <71.42%> (+0.34%)` | :arrow_up: |
   | [...n/java/org/apache/hugegraph/api/auth/LoginAPI.java](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2348?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aHVnZWdyYXBoLXNlcnZlci9odWdlZ3JhcGgtYXBpL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9odWdlZ3JhcGgvYXBpL2F1dGgvTG9naW5BUEkuamF2YQ==) | `72.72% <40.00%> (-1.56%)` | :arrow_down: |
   
   ... and [169 files with indirect coverage changes](https://app.codecov.io/gh/apache/incubator-hugegraph/pull/2348/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   :mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in [Chrome](https://chrome.google.com/webstore/detail/codecov/gedikamndpbemklijjkncpnolildpbgo) or [Firefox](https://addons.mozilla.org/en-US/firefox/addon/codecov/) today!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [PR] fix(api): clean some code for release [incubator-hugegraph]

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin merged PR #2348:
URL: https://github.com/apache/incubator-hugegraph/pull/2348


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org