Skip to content

[BATCH] clean sensitivity analysis method in exploration #41

[BATCH] clean sensitivity analysis method in exploration

[BATCH] clean sensitivity analysis method in exploration #41

Re-run triggered June 14, 2024 07:32
Status Failure
Total duration 39s
Artifacts 4

trigger-pr.yaml

on: pull_request
Compiling GAMA from PR branch  /  compilation
13m 18s
Compiling GAMA from PR branch / compilation
Compiling GAMA from base branch  /  compilation
14m 50s
Compiling GAMA from base branch / compilation
Testing built GAMA  /  compilation
45s
Testing built GAMA / compilation
Display Spotbugs results
24s
Display Spotbugs results
Fit to window
Zoom out
Zoom in

Annotations

1 error and 26 warnings
Testing built GAMA / compilation
Process completed with exit code 1.
DM_BOXED_PRIMITIVE_FOR_PARSING: gama.core/src/gama/core/kernel/batch/exploration/AExplorationAlgorithm.java#L194
Boxing/unboxing to parse a primitive gama.core.kernel.batch.exploration.AExplorationAlgorithm.getFactorial(IScope, List)
DM_DEFAULT_ENCODING: gama.core/src/gama/core/kernel/batch/exploration/AExplorationAlgorithm.java#L294
Found reliance on default encoding in gama.core.kernel.batch.exploration.AExplorationAlgorithm.buildParametersFromCSV(IScope, String, List): new java.io.FileReader(File)
DM_DEFAULT_ENCODING: gama.core/src/gama/core/kernel/batch/exploration/AExplorationAlgorithm.java#L242
Found reliance on default encoding in gama.core.kernel.batch.exploration.AExplorationAlgorithm.saveRawResults(IScope, IMap): new java.io.FileWriter(File, boolean)
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE: gama.core/src/gama/core/kernel/batch/exploration/AExplorationAlgorithm.java#L241
Exceptional return value of java.io.File.delete() ignored in gama.core.kernel.batch.exploration.AExplorationAlgorithm.saveRawResults(IScope, IMap)
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE: gama.core/src/gama/core/kernel/batch/exploration/AExplorationAlgorithm.java#L240
Exceptional return value of java.io.File.mkdirs() ignored in gama.core.kernel.batch.exploration.AExplorationAlgorithm.saveRawResults(IScope, IMap)
WMI_WRONG_MAP_ITERATOR: gama.core/src/gama/core/kernel/batch/exploration/AExplorationAlgorithm.java#L272
gama.core.kernel.batch.exploration.AExplorationAlgorithm.buildParameterFromMap(IScope, List, int) makes inefficient use of keySet iterator instead of entrySet iterator
WMI_WRONG_MAP_ITERATOR: gama.core/src/gama/core/kernel/batch/exploration/AExplorationAlgorithm.java#L319
gama.core.kernel.batch.exploration.AExplorationAlgorithm.buildParametersFromCSV(IScope, String, List) makes inefficient use of keySet iterator instead of entrySet iterator
WMI_WRONG_MAP_ITERATOR: gama.core/src/gama/core/kernel/batch/exploration/AExplorationAlgorithm.java#L348
gama.core.kernel.batch.exploration.AExplorationAlgorithm.buildSimulationCsv(IMap, IScope) makes inefficient use of keySet iterator instead of entrySet iterator
CT_CONSTRUCTOR_THROW: gama.core/src/gama/core/kernel/batch/exploration/betadistribution/Betadistribution.java#L34
Exception thrown in class gama.core.kernel.batch.exploration.betadistribution.Betadistribution at new gama.core.kernel.batch.exploration.betadistribution.Betadistribution(IMap, List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks.
CT_CONSTRUCTOR_THROW: gama.core/src/gama/core/kernel/batch/exploration/betadistribution/Betadistribution.java#L54
Exception thrown in class gama.core.kernel.batch.exploration.betadistribution.Betadistribution at new gama.core.kernel.batch.exploration.betadistribution.Betadistribution(IMap, List, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks.
EI_EXPOSE_REP2: gama.core/src/gama/core/kernel/batch/exploration/betadistribution/Betadistribution.java#L53
new gama.core.kernel.batch.exploration.betadistribution.Betadistribution(IMap, List, int) may expose internal representation by storing an externally mutable object into Betadistribution.parameters
WMI_WRONG_MAP_ITERATOR: gama.core/src/gama/core/kernel/batch/exploration/betadistribution/Betadistribution.java#L47
new gama.core.kernel.batch.exploration.betadistribution.Betadistribution(IMap, List, int) makes inefficient use of keySet iterator instead of entrySet iterator
CT_CONSTRUCTOR_THROW: gama.core/src/gama/core/kernel/batch/exploration/morris/Morris.java#L163
Exception thrown in class gama.core.kernel.batch.exploration.morris.Morris at new gama.core.kernel.batch.exploration.morris.Morris(File, int, int, IScope) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks.
DM_DEFAULT_ENCODING: gama.core/src/gama/core/kernel/batch/exploration/morris/Morris.java#L134
Found reliance on default encoding in new gama.core.kernel.batch.exploration.morris.Morris(File, int, int, IScope): new java.io.FileReader(File)
EI_EXPOSE_REP2: gama.core/src/gama/core/kernel/batch/exploration/morris/Morris.java#L109
new gama.core.kernel.batch.exploration.morris.Morris(List, int) may expose internal representation by storing an externally mutable object into Morris.MySample
EI_EXPOSE_REP2: gama.core/src/gama/core/kernel/batch/exploration/morris/Morris.java#L184
gama.core.kernel.batch.exploration.morris.Morris.setOutputs(Map, IScope) may expose internal representation by storing an externally mutable object into Morris.outputs
NP_ALWAYS_NULL: gama.core/src/gama/core/kernel/batch/exploration/morris/Morris.java#L183
Null pointer dereference of Morris.MySample in gama.core.kernel.batch.exploration.morris.Morris.setOutputs(Map, IScope)
NP_NULL_PARAM_DEREF: gama.core/src/gama/core/kernel/batch/exploration/morris/Morris.java#L139
Null passed for non-null parameter of new java.io.BufferedReader(Reader) in new gama.core.kernel.batch.exploration.morris.Morris(File, int, int, IScope)
OS_OPEN_STREAM: gama.core/src/gama/core/kernel/batch/exploration/morris/Morris.java#L139
new gama.core.kernel.batch.exploration.morris.Morris(File, int, int, IScope) may fail to close stream
RV_EXCEPTION_NOT_THROWN: gama.core/src/gama/core/kernel/batch/exploration/morris/Morris.java#L136
gama.core.runtime.exceptions.GamaRuntimeException.error(String, IScope) not thrown in new gama.core.kernel.batch.exploration.morris.Morris(File, int, int, IScope)
RV_EXCEPTION_NOT_THROWN: gama.core/src/gama/core/kernel/batch/exploration/morris/Morris.java#L183
gama.core.runtime.exceptions.GamaRuntimeException.error(String, IScope) not thrown in gama.core.kernel.batch.exploration.morris.Morris.setOutputs(Map, IScope)
WMI_WRONG_MAP_ITERATOR: gama.core/src/gama/core/kernel/batch/exploration/morris/Morris.java#L278
gama.core.kernel.batch.exploration.morris.Morris.buildReportString(String) makes inefficient use of keySet iterator instead of entrySet iterator
WMI_WRONG_MAP_ITERATOR: gama.core/src/gama/core/kernel/batch/exploration/morris/Morris.java#L227
gama.core.kernel.batch.exploration.morris.Morris.evaluate() makes inefficient use of keySet iterator instead of entrySet iterator
DM_DEFAULT_ENCODING: gama.core/src/gama/core/kernel/batch/exploration/morris/MorrisExploration.java#L300
Found reliance on default encoding in gama.core.kernel.batch.exploration.morris.MorrisExploration.saveResults(File, IScope): new java.io.FileWriter(File, boolean)
RV_EXCEPTION_NOT_THROWN: gama.core/src/gama/core/kernel/batch/exploration/morris/MorrisExploration.java#L323
gama.core.runtime.exceptions.GamaRuntimeException.error(String, IScope) not thrown in gama.core.kernel.batch.exploration.morris.MorrisExploration.buildParameterSetsFromCSV(IScope, String, List)
MS_SHOULD_BE_FINAL: gama.core/src/gama/core/kernel/batch/exploration/sampling/OrthogonalSampling.java#L24
gama.core.kernel.batch.exploration.sampling.OrthogonalSampling.DEFAULT_ITERATION isn't final but should be

Artifacts

Produced during runtime
Name Size
final-report-spotbugs Expired
43 KB