SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.3.0

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
10 5 0 0

Files

Class Bugs
org.eclipse.jgit.junit.http.AccessEvent 1
org.eclipse.jgit.junit.http.AppServer 2
org.eclipse.jgit.junit.http.RecordingLogger 1
org.eclipse.jgit.junit.http.SimpleHttpServer 1

org.eclipse.jgit.junit.http.AccessEvent

Bug Category Details Line Priority
org.eclipse.jgit.junit.http.AccessEvent.getParameters() may expose internal representation by returning AccessEvent.parameters MALICIOUS_CODE EI_EXPOSE_REP 124 Medium

org.eclipse.jgit.junit.http.AppServer

Bug Category Details Line Priority
Exceptional return value of java.io.File.setWritable(boolean, boolean) ignored in org.eclipse.jgit.junit.http.AppServer.makePrivate(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 230 Medium
Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.junit.http.AppServer.tearDown() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 367 Medium

org.eclipse.jgit.junit.http.RecordingLogger

Bug Category Details Line Priority
There is an apparent infinite recursive loop in org.eclipse.jgit.junit.http.RecordingLogger.warn(String, Object) CORRECTNESS IL_INFINITE_RECURSIVE_LOOP 183 High

org.eclipse.jgit.junit.http.SimpleHttpServer

Bug Category Details Line Priority
new org.eclipse.jgit.junit.http.SimpleHttpServer(Repository, boolean) may expose internal representation by storing an externally mutable object into SimpleHttpServer.db MALICIOUS_CODE EI_EXPOSE_REP2 55 Medium