FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is

Effort is min

Summary

ClassesBugsErrorsMissing Classes
591700

org.apache.commons.discovery.ant.ServiceDiscoveryTask

BugCategoryDetailsLinePriority
org.apache.commons.discovery.ant.ServiceDiscoveryTask.getServiceInfo() may expose internal representation by returning ServiceDiscoveryTask.driversMALICIOUS_CODEEI_EXPOSE_REP64Medium

org.apache.commons.discovery.jdk.JDK11Hooks

BugCategoryDetailsLinePriority

org.apache.commons.discovery.jdk.JDK11Hooks$1

BugCategoryDetailsLinePriority
org.apache.commons.discovery.jdk.JDK11Hooks$1.getNext() invokes java.net.URL.equals(Object), which blocks to do domain name resolutionPERFORMANCEDMI_BLOCKING_METHODS_ON_URL125High

org.apache.commons.discovery.jdk.JDK12Hooks$2

BugCategoryDetailsLinePriority
org.apache.commons.discovery.jdk.JDK12Hooks$2.getNext() invokes java.net.URL.equals(Object), which blocks to do domain name resolutionPERFORMANCEDMI_BLOCKING_METHODS_ON_URL212High

org.apache.commons.discovery.log.SimpleLog

BugCategoryDetailsLinePriority
org.apache.commons.discovery.log.SimpleLog.logLevel should be package protectedMALICIOUS_CODEMS_PKGPROTECT92Medium
org.apache.commons.discovery.log.SimpleLog.dateFormatter isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL89High
org.apache.commons.discovery.log.SimpleLog.showDateTime isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL86Medium
org.apache.commons.discovery.log.SimpleLog.showLogName isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL77Medium
org.apache.commons.discovery.log.SimpleLog.showShortName isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL83Medium
Call to method of static java.text.DateFormat in org.apache.commons.discovery.log.SimpleLog.log(int, Object, Throwable)MT_CORRECTNESSSTCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE205Medium
Found static field of type java.text.DateFormat in org.apache.commons.discovery.log.SimpleLog.dateFormatterMT_CORRECTNESSSTCAL_STATIC_SIMPLE_DATE_FORMAT_INSTANCENot availableMedium

org.apache.commons.discovery.resource.classes.DiscoverClasses$1

BugCategoryDetailsLinePriority
org.apache.commons.discovery.resource.classes.DiscoverClasses$1.history is or uses a map or set of URLs, which can be a performance hogPERFORMANCEDMI_COLLECTION_OF_URLSNot availableHigh
org.apache.commons.discovery.resource.classes.DiscoverClasses$1.getNextClass() is or uses a map or set of URLs, which can be a performance hogPERFORMANCEDMI_COLLECTION_OF_URLS127High
Exception is caught when Exception is not thrown in org.apache.commons.discovery.resource.classes.DiscoverClasses$1.getNextClass()STYLEREC_CATCH_EXCEPTION121Medium

org.apache.commons.discovery.tools.SPInterface

BugCategoryDetailsLinePriority
new org.apache.commons.discovery.tools.SPInterface(Class, String, Class[], Object[]) may expose internal representation by storing an externally mutable object into SPInterface.paramClassesMALICIOUS_CODEEI_EXPOSE_REP2192Medium
new org.apache.commons.discovery.tools.SPInterface(Class, String, Class[], Object[]) may expose internal representation by storing an externally mutable object into SPInterface.paramsMALICIOUS_CODEEI_EXPOSE_REP2193Medium