MCPcopy Create free account
hub / github.com/spotbugs/spotbugs / cachingFields

Method cachingFields

spotbugsTestCases/src/java/DeadStore.java:93–99  ·  view source on GitHub ↗
(int a, int b, int c, int d, int e)

Source from the content-addressed store, hash-verified

91 }
92
93 public int cachingFields(int a, int b, int c, int d, int e) {
94 a = x;
95 b = 5;
96 c = x + 1;
97 d = hashCode();
98 return e;
99 }
100
101 public enum StateEnum {
102 OK, TIMEDOUT, KILLED, FAILED, OTHER

Callers

nothing calls this directly

Calls 1

hashCodeMethod · 0.45

Tested by

no test coverage detected