Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Linary
Copy link
Contributor

@Linary Linary commented Jan 20, 2020

No description provided.

@codecov
Copy link

codecov bot commented Jan 20, 2020

Codecov Report

Merging #78 into master will increase coverage by 0.42%.
The diff coverage is 98.11%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #78      +/-   ##
============================================
+ Coverage     76.74%   77.16%   +0.42%     
- Complexity      587      604      +17     
============================================
  Files            99      102       +3     
  Lines          2541     2593      +52     
  Branches        159      163       +4     
============================================
+ Hits           1950     2001      +51     
- Misses          471      472       +1     
  Partials        120      120
Impacted Files Coverage Δ Complexity Δ
...in/java/com/baidu/hugegraph/driver/HugeClient.java 64.91% <100%> (+1.27%) 12 <1> (+1) ⬆️
...va/com/baidu/hugegraph/api/metrics/MetricsAPI.java 100% <100%> (ø) 9 <9> (?)
...ava/com/baidu/hugegraph/driver/MetricsManager.java 100% <100%> (ø) 5 <5> (?)
...m/baidu/hugegraph/structure/constant/HugeType.java 86.36% <100%> (+0.64%) 3 <0> (ø) ⬇️
...main/java/com/baidu/hugegraph/util/CommonUtil.java 93.75% <93.75%> (ø) 2 <2> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d7877be...cf2bbd4. Read the comment docs.

@SuppressWarnings("unchecked")
public Map<String, Map<String, Object>> backend() {
RestResult result = this.client.get(this.path(), "backend");
return result.readObject(Map.class);
Copy link
Contributor

Choose a reason for hiding this comment

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

check value is map or call readObject(Type)

public Map<String, Map<String, Object>> backend() {
RestResult result = this.client.get(this.path(), "backend");
return result.readObject(Map.class);
}
Copy link
Contributor

@javeme javeme Jan 22, 2020

Choose a reason for hiding this comment

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

also adapt for metrics/system and metrics/

@javeme
Copy link
Contributor

javeme commented Feb 14, 2020

rebase please

Change-Id: If449304910f4b448d9a13ba8c23954503c130732
Change-Id: Id59ec6e57afdaee27a251d454a7563031b68c052
Change-Id: I0847518c7797afe5533ab6ab462a76ec6c88f1e3
@zhoney zhoney merged commit 54ff5c7 into master Feb 18, 2020
@zhoney zhoney deleted the metrics-api branch February 18, 2020 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants