Skip to content

修复proxy一个npe bug

Codecov / codecov/patch succeeded Dec 27, 2023 in 1s

55.33% of diff hit (target 53.41%)

View this Pull Request on Codecov

55.33% of diff hit (target 53.41%)

Annotations

Check warning on line 41 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/healthcheck/actions/keeper/infoStats/KeeperFlowCollector.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/healthcheck/actions/keeper/infoStats/KeeperFlowCollector.java#L41

Added line #L41 was not covered by tests

Check warning on line 43 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/healthcheck/actions/keeper/infoStats/KeeperFlowCollector.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/healthcheck/actions/keeper/infoStats/KeeperFlowCollector.java#L43

Added line #L43 was not covered by tests

Check warning on line 21 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/DefaultKeeperContainerService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/DefaultKeeperContainerService.java#L20-L21

Added lines #L20 - L21 were not covered by tests

Check warning on line 53 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java#L53

Added line #L53 was not covered by tests

Check warning on line 58 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java#L58

Added line #L58 was not covered by tests

Check warning on line 103 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java#L103

Added line #L103 was not covered by tests

Check warning on line 110 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java#L110

Added line #L110 was not covered by tests

Check warning on line 112 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java#L112

Added line #L112 was not covered by tests

Check warning on line 116 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java#L114-L116

Added lines #L114 - L116 were not covered by tests

Check warning on line 118 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java#L118

Added line #L118 was not covered by tests

Check warning on line 122 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java#L120-L122

Added lines #L120 - L122 were not covered by tests

Check warning on line 131 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java#L129-L131

Added lines #L129 - L131 were not covered by tests

Check warning on line 133 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java#L133

Added line #L133 was not covered by tests

Check warning on line 154 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/impl/KeeperContainerInfoReporter.java#L137-L154

Added lines #L137 - L154 were not covered by tests

Check warning on line 14 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java#L14

Added line #L14 was not covered by tests

Check warning on line 25 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java#L23-L25

Added lines #L23 - L25 were not covered by tests

Check warning on line 28 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java#L27-L28

Added lines #L27 - L28 were not covered by tests

Check warning on line 34 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java#L30-L34

Added lines #L30 - L34 were not covered by tests

Check warning on line 36 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java#L36

Added line #L36 was not covered by tests

Check warning on line 44 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 47 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java#L47

Added line #L47 was not covered by tests

Check warning on line 52 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java#L51-L52

Added lines #L51 - L52 were not covered by tests

Check warning on line 59 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java#L59

Added line #L59 was not covered by tests

Check warning on line 70 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/DcClusterShardActive.java#L70

Added line #L70 was not covered by tests

Check warning on line 39 in redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/KeeperContainerUsedInfoModel.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/model/KeeperContainerUsedInfoModel.java#L39

Added line #L39 was not covered by tests