The following document contains the results of FindBugs Report
FindBugs Version is 1.3.8
Threshold is Low
Effort is Default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
567 | 31 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should de.kumpe.hadooptimizer.examples.Example$CloseClosableHook be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 117-135 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
de.kumpe.hadooptimizer.examples.Example$StdInListener.run() invokes System.exit(...), which shuts down the entire virtual machine | BAD_PRACTICE | DM_EXIT | 108 | Medium |
de.kumpe.hadooptimizer.examples.Example$StdInListener.run() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 95 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
de.kumpe.hadooptimizer.examples.analysis.Convert.execute() may fail to close stream on exception | BAD_PRACTICE | OS_OPEN_STREAM_EXCEPTION_PATH | 72 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method de.kumpe.hadooptimizer.examples.analysis.Polling.main(String[]) needlessly instantiates a class that only supplies static methods | BAD_PRACTICE | ISC_INSTANTIATE_STATIC_CLASS | 98 | Low |
new de.kumpe.hadooptimizer.examples.analysis.Polling() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 70 | Medium |
new de.kumpe.hadooptimizer.examples.analysis.Polling() invokes de.kumpe.hadooptimizer.examples.analysis.Polling$Polling3.start() | MT_CORRECTNESS | SC_START_IN_CTOR | 74 | Medium |
new de.kumpe.hadooptimizer.examples.analysis.Polling() invokes de.kumpe.hadooptimizer.examples.analysis.Polling$Waiting.start() | MT_CORRECTNESS | SC_START_IN_CTOR | 75 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
int division result cast to double or float in de.kumpe.hadooptimizer.examples.functions.AxisPanel.paintComponent(Graphics) | STYLE | ICAST_IDIV_CAST_TO_DOUBLE | 62 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class de.kumpe.hadooptimizer.examples.functions.MinimumInGraph$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | 36-44 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class de.kumpe.hadooptimizer.examples.functions.Rastrigin$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | 64-68 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class de.kumpe.hadooptimizer.examples.functions.Rosenbrock$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | 65-69 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class de.kumpe.hadooptimizer.examples.neurons.Neuron defines non-transient non-serializable instance field inputs | BAD_PRACTICE | SE_BAD_FIELD | Not available | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new de.kumpe.hadooptimizer.examples.neurons.NeuronalNetEvaluator(InputValue[], Neuron$Input[], Value, NeuronalNetEvaluator$Sample[]) may expose internal representation by storing an externally mutable object into NeuronalNetEvaluator.inputValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 49 | Medium |
new de.kumpe.hadooptimizer.examples.neurons.NeuronalNetEvaluator(InputValue[], Neuron$Input[], Value, NeuronalNetEvaluator$Sample[]) may expose internal representation by storing an externally mutable object into NeuronalNetEvaluator.inputs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 50 | Medium |
new de.kumpe.hadooptimizer.examples.neurons.NeuronalNetEvaluator(InputValue[], Neuron$Input[], Value, NeuronalNetEvaluator$Sample[]) may expose internal representation by storing an externally mutable object into NeuronalNetEvaluator.samples | MALICIOUS_CODE | EI_EXPOSE_REP2 | 52 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new de.kumpe.hadooptimizer.examples.neurons.NeuronalNetEvaluator$Sample(double[], double) may expose internal representation by storing an externally mutable object into NeuronalNetEvaluator$Sample.inputValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Read of unwritten field evaluator in de.kumpe.hadooptimizer.examples.neurons.ResultPainter.evaluate(double[], double, double) | CORRECTNESS | NP_UNWRITTEN_FIELD | 95 | Medium |
Unwritten field: de.kumpe.hadooptimizer.examples.neurons.ResultPainter.evaluator | CORRECTNESS | UWF_UNWRITTEN_FIELD | 95 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method de.kumpe.hadooptimizer.examples.painting.AnimationSvgRenderer.run() may fail to clean up stream or resource of type java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 64 | Medium |
Usage of GetResource in de.kumpe.hadooptimizer.examples.painting.AnimationSvgRenderer.run() may be unsafe if class is extended | BAD_PRACTICE | UI_INHERITANCE_UNSAFE_GETRESOURCE | 64 | Low |
AnimationSvgRenderer.result not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available | Low |
AnimationSvgRenderer.transformer not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available | Low |
AnimationSvgRenderer.triangles not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The field de.kumpe.hadooptimizer.examples.painting.RepaintReporter.evaluator is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available | Medium |
The field de.kumpe.hadooptimizer.examples.painting.RepaintReporter.imagePanel is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The field de.kumpe.hadooptimizer.examples.painting.SaveImageReporter.evaluator is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available | Medium |
The field de.kumpe.hadooptimizer.examples.painting.SaveImageReporter.example is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method de.kumpe.hadooptimizer.examples.painting.SvgRenderer$SvgRendererMapper.setup(Mapper$Context) may fail to clean up stream or resource of type java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 96 | Medium |
Usage of GetResource in de.kumpe.hadooptimizer.examples.painting.SvgRenderer$SvgRendererMapper.setup(Mapper$Context) may be unsafe if class is extended | BAD_PRACTICE | UI_INHERITANCE_UNSAFE_GETRESOURCE | 96 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
GaussianMutator.randomGenerator not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available | Low |