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

Method round

spotbugsTestCases/src/java/ICAST.java:37–40  ·  view source on GitHub ↗
(int a, int b)

Source from the content-addressed store, hash-verified

35 }
36
37 @ExpectWarning("ICAST")
38 public int round(int a, int b) {
39 return Math.round(a / b);
40 }
41
42 @ExpectWarning("ICAST")
43 public long convertDaysToMilliseconds(int days) {

Callers 3

testMethod · 0.45
BadConstantMethod · 0.45
densityMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected