Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/spotbugs/spotbugs
/ x
Method
x
spotbugsTestCases/src/java/DETest.java:3–8 ·
view source on GitHub ↗
(int i)
Source
from the content-addressed store, hash-verified
1
public
class
DETest {
2
// silly method to sometimes throw exceptions
3
public
static
int
x(
int
i) throws Exception {
4
if
(i > 0) {
5
throw
new
Exception();
6
}
7
return
i;
8
}
9
10
public
static
int
f(
int
a) {
11
try {
Callers
2
f
Method · 0.95
main
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected