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.jpl7.JplEngine

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

io.github.prolobjectlink.prolog.jpl7.JplParser

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

io.github.prolobjectlink.prolog.jpl7.JplProgram

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

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

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

io.github.prolobjectlink.prolog.jpl7.JplTerm

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