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
54 34 0 0

org.thegalactic.context.io.ContextSerializerFIMI

Bug Category Details Line Priority
Dereference of the result of readLine() without nullcheck in org.thegalactic.context.io.ContextSerializerFIMI.read(Context, BufferedReader) STYLE NP_DEREFERENCE_OF_READLINE_VALUE 117 Medium

org.thegalactic.context.io.ContextSerializerSLF

Bug Category Details Line Priority
Dereference of the result of readLine() without nullcheck in org.thegalactic.context.io.ContextSerializerSLF.read(Context, BufferedReader) STYLE NP_DEREFERENCE_OF_READLINE_VALUE 132 Medium
Dereference of the result of readLine() without nullcheck in org.thegalactic.context.io.ContextSerializerSLF.read(Context, BufferedReader) STYLE NP_DEREFERENCE_OF_READLINE_VALUE 159 Medium
Useless object stored in variable extent of method org.thegalactic.context.io.ContextSerializerSLF.read(Context, BufferedReader) STYLE UC_USELESS_OBJECT 139 Medium
Useless object stored in variable intent of method org.thegalactic.context.io.ContextSerializerSLF.read(Context, BufferedReader) STYLE UC_USELESS_OBJECT 138 Medium

org.thegalactic.dgraph.ConcreteDGraph

Bug Category Details Line Priority
Load of known null value in org.thegalactic.dgraph.ConcreteDGraph.depthFirstSearch(Node, TreeSet, ArrayList) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 853 Medium

org.thegalactic.dgraph.Node

Bug Category Details Line Priority
Write to static field org.thegalactic.dgraph.Node.count from instance method new org.thegalactic.dgraph.Node(Object) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 70 Medium
Write to static field org.thegalactic.dgraph.Node.count from instance method org.thegalactic.dgraph.Node.clone() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 158 Medium

org.thegalactic.io.Filer

Bug Category Details Line Priority
Found reliance on default encoding in org.thegalactic.io.Filer.parse(Object, IOFactory, String): new java.io.FileReader(String) I18N DM_DEFAULT_ENCODING 90 High
Found reliance on default encoding in org.thegalactic.io.Filer.save(Object, IOFactory, String): new java.io.FileWriter(String) I18N DM_DEFAULT_ENCODING 74 High

org.thegalactic.lattice.ArrowRelation

Bug Category Details Line Priority
Dead store to jminus in new org.thegalactic.lattice.ArrowRelation(Lattice) STYLE DLS_DEAD_LOCAL_STORE 107 Medium
Dead store to mplus in new org.thegalactic.lattice.ArrowRelation(Lattice) STYLE DLS_DEAD_LOCAL_STORE 108 Medium
Comparison of String objects using == or != in org.thegalactic.lattice.ArrowRelation.getDoubleArrowTable() BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 170 Medium
Comparison of String objects using == or != in org.thegalactic.lattice.ArrowRelation.getDoubleCircArrowTable() BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 255 Medium
Comparison of String objects using == or != in org.thegalactic.lattice.ArrowRelation.getDoubleCircArrowTable() BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 255 Medium
Comparison of String objects using == or != in org.thegalactic.lattice.ArrowRelation.getDoubleDownArrowTable() BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 198 Medium
Comparison of String objects using == or != in org.thegalactic.lattice.ArrowRelation.getDoubleDownArrowTable() BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 198 Medium
Comparison of String objects using == or != in org.thegalactic.lattice.ArrowRelation.getDoubleUpArrowTable() BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 226 Medium
Comparison of String objects using == or != in org.thegalactic.lattice.ArrowRelation.getDoubleUpArrowTable() BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 226 Medium
Comparison of String objects using == or != in org.thegalactic.lattice.ArrowRelation.isCirc(Edge) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 334 Medium
Comparison of String objects using == or != in org.thegalactic.lattice.ArrowRelation.isCross(Edge) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 319 Medium
Comparison of String objects using == or != in org.thegalactic.lattice.ArrowRelation.isDown(Edge) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 289 Medium
Comparison of String objects using == or != in org.thegalactic.lattice.ArrowRelation.isUp(Edge) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 274 Medium
Comparison of String objects using == or != in org.thegalactic.lattice.ArrowRelation.isUpDown(Edge) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 304 Medium

org.thegalactic.lattice.BijectiveComponents

Bug Category Details Line Priority
Found reliance on default encoding in org.thegalactic.lattice.BijectiveComponents.save(String, String): new java.io.FileWriter(String) I18N DM_DEFAULT_ENCODING 222 High
Exceptional return value of java.io.File.mkdir() ignored in org.thegalactic.lattice.BijectiveComponents.save(String, String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 220 Medium

org.thegalactic.lattice.Concept

Bug Category Details Line Priority
org.thegalactic.lattice.Concept.clone() does not call super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 162-174 Medium

org.thegalactic.lattice.ConceptLattice

Bug Category Details Line Priority
org.thegalactic.lattice.ConceptLattice.clone() does not call super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 363-378 Medium

org.thegalactic.lattice.LatticeFactory$Permutation

Bug Category Details Line Priority
org.thegalactic.lattice.LatticeFactory$Permutation defines equals(LatticeFactory$Permutation) method and uses Object.equals(Object) CORRECTNESS EQ_SELF_USE_OBJECT 429-436 Medium
org.thegalactic.lattice.LatticeFactory$Permutation.toString() concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 416 Medium

org.thegalactic.lattice.io.ImplicationalSystemSerializerText

Bug Category Details Line Priority
org.thegalactic.lattice.io.ImplicationalSystemSerializerText.read(ImplicationalSystem, BufferedReader) invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 109 Medium

org.thegalactic.rule.AssociationRule

Bug Category Details Line Priority
org.thegalactic.rule.AssociationRule doesn't override Rule.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.thegalactic.rule.ImplicationalSystem

Bug Category Details Line Priority
org.thegalactic.rule.ImplicationalSystem.reduction() makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 1050 Medium

org.thegalactic.util.Couple

Bug Category Details Line Priority
org.thegalactic.util.Couple defines equals(Couple) method and uses Object.equals(Object) CORRECTNESS EQ_SELF_USE_OBJECT 99 High