Skip to content

refact: clean some code before release#1990

Merged
javeme merged 1 commit intoapache:masterfrom
jadepeng:improve-analyzer-code
Oct 26, 2022
Merged

refact: clean some code before release#1990
javeme merged 1 commit intoapache:masterfrom
jadepeng:improve-analyzer-code

Conversation

@jadepeng
Copy link
Copy Markdown
Contributor

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 26, 2022

Codecov Report

Merging #1990 (dae9070) into master (9b5950e) will increase coverage by 0.04%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #1990      +/-   ##
============================================
+ Coverage     70.54%   70.58%   +0.04%     
+ Complexity      978      724     -254     
============================================
  Files           454      454              
  Lines         39055    39050       -5     
  Branches       5557     5556       -1     
============================================
+ Hits          27550    27565      +15     
+ Misses         8806     8789      -17     
+ Partials       2699     2696       -3     
Impacted Files Coverage Δ
...in/java/com/baidu/hugegraph/StandardHugeGraph.java 66.95% <0.00%> (ø)
.../com/baidu/hugegraph/analyzer/AnalyzerFactory.java 33.33% <ø> (ø)
...ava/com/baidu/hugegraph/analyzer/AnsjAnalyzer.java 60.86% <ø> (ø)
...va/com/baidu/hugegraph/analyzer/HanLPAnalyzer.java 68.29% <ø> (-0.76%) ⬇️
.../java/com/baidu/hugegraph/analyzer/IKAnalyzer.java 71.42% <ø> (-1.91%) ⬇️
...va/com/baidu/hugegraph/analyzer/JiebaAnalyzer.java 83.33% <ø> (ø)
.../com/baidu/hugegraph/analyzer/MMSeg4JAnalyzer.java 65.21% <ø> (-1.45%) ⬇️
.../com/baidu/hugegraph/analyzer/SmartCNAnalyzer.java 85.71% <ø> (-1.79%) ⬇️
...ava/com/baidu/hugegraph/analyzer/WordAnalyzer.java 92.30% <ø> (ø)
...va/com/baidu/hugegraph/util/collection/IntSet.java 73.72% <0.00%> (-1.28%) ⬇️
... and 7 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@imbajin imbajin changed the title improve analyzer code refact: clean some code before release Oct 26, 2022
result.add(elem);
}
return result;
return new HashSet<>(Arrays.asList(elems));
Copy link
Copy Markdown
Member

@imbajin imbajin Oct 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, and one question is which modules/packages did you check this time? (or u checked all modules?)

If the class file is too much to handle with someone, a simple way is we could divide them with different modules, and others could take the remaining modules

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

升级core的maven依赖时顺手改的,这块有需要,可以几个人分下

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

升级core的maven依赖时顺手改的,这块有需要,可以几个人分下

👌🏻, 那就是说没有系统性的检查一下是吧. 可以按模块分给一下

@javeme javeme merged commit 88a8d78 into apache:master Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants