MCPcopy Create free account
hub / github.com/e2wugui/zeze / errorsSum

Method errorsSum

ZezeJava/ZezeJava/src/main/java/Zeze/Raft/Test.java:184–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182 }
183
184 private long errorsSum() {
185 long sum = 0;
186 for (var it = errors.iterator(); it.moveToNext(); )
187 sum += it.value();
188 return sum;
189 }
190
191 private String getErrorsString() {
192 var sb = new StringBuilder();

Callers 1

checkCurrentCountMethod · 0.95

Calls 3

moveToNextMethod · 0.65
valueMethod · 0.65
iteratorMethod · 0.45

Tested by

no test coverage detected