SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is

Effort is

Summary

Classes Bugs Errors Missing Classes
17 8 0 3

Files

Class Bugs
de.powerstat.phplib.templateengine.intern.test.BlockManagerTests 1
de.powerstat.phplib.templateengine.intern.test.FileManagerTests 2
de.powerstat.phplib.templateengine.intern.test.VariableManagerTests 3
de.powerstat.phplib.templateengine.test.TemplateEngineTests 2

de.powerstat.phplib.templateengine.intern.test.BlockManagerTests

Bug Category Details Line Priority
Call to equals(null) in de.powerstat.phplib.templateengine.intern.test.BlockManagerTests.lambda$testEquals$13(BlockManager) CORRECTNESS EC_NULL_ARG 302 Medium

de.powerstat.phplib.templateengine.intern.test.FileManagerTests

Bug Category Details Line Priority
Call to equals(null) in de.powerstat.phplib.templateengine.intern.test.FileManagerTests.lambda$testEquals$13(FileManager) CORRECTNESS EC_NULL_ARG 399 Medium
Return value of de.powerstat.phplib.templateengine.intern.FileManager.existsFile(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 251 Medium

de.powerstat.phplib.templateengine.intern.test.VariableManagerTests

Bug Category Details Line Priority
Call to equals(null) in de.powerstat.phplib.templateengine.intern.test.VariableManagerTests.lambda$testEquals$17(VariableManager) CORRECTNESS EC_NULL_ARG 622 Medium
Return value of de.powerstat.phplib.templateengine.intern.VariableManager.existsVar(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 203 Medium
Return value of de.powerstat.phplib.templateengine.intern.VariableManager.getVar(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 256 Medium

de.powerstat.phplib.templateengine.test.TemplateEngineTests

Bug Category Details Line Priority
Method de.powerstat.phplib.templateengine.test.TemplateEngineTests.testParseAppend() appears to call the same method on the same object redundantly PERFORMANCE PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS 1157 High
Method de.powerstat.phplib.templateengine.test.TemplateEngineTests.testParseNonAppend() appears to call the same method on the same object redundantly PERFORMANCE PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS 1092 High