Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
39 6 0 0

io.github.prolobjectlink.prolog.jpl.JplEngine

Bug Category Details Line Priority
Found reliance on default encoding in io.github.prolobjectlink.prolog.jpl.JplEngine.dispose(): new java.io.PrintWriter(OutputStream) I18N DM_DEFAULT_ENCODING 375 High
Found reliance on default encoding in io.github.prolobjectlink.prolog.jpl.JplEngine.persist(String): new java.io.PrintWriter(OutputStream) I18N DM_DEFAULT_ENCODING 121 High

io.github.prolobjectlink.prolog.jpl.JplParser

Bug Category Details Line Priority
Found reliance on default encoding in io.github.prolobjectlink.prolog.jpl.JplParser.parseProgram(File): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 79 High

io.github.prolobjectlink.prolog.jpl.JplProgram

Bug Category Details Line Priority
instanceof will always return true for all non-null values in io.github.prolobjectlink.prolog.jpl.JplProgram.remove(Term), since all jpl.Term are instances of jpl.Term STYLE BC_VACUOUS_INSTANCEOF 136 Medium

io.github.prolobjectlink.prolog.jpl.JplQuery$JplQueryIter

Bug Category Details Line Priority
Should io.github.prolobjectlink.prolog.jpl.JplQuery$JplQueryIter be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 247-265 Medium

io.github.prolobjectlink.prolog.jpl.JplTerm

Bug Category Details Line Priority
Equals method for io.github.prolobjectlink.prolog.jpl.JplTerm assumes the argument is of type JplTerm BAD_PRACTICE BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS 217 Medium