FindBugs Analysis

These are the latest results of Tesla's FindBugs code analysis (including all components and the Tesla client). FindBugs Report

Produced using FindBugs1.3.9.

Metrics

68212 lines of code analyzed, in 2207 classes, in 314 packages.

Metric Total Density*
High Priority Warnings 20 0.29
Medium Priority Warnings 239 3.50
Total Warnings 259 3.80

* Defects per Thousand lines of non-commenting source statements.

Warning Priority Details
Comparison of String parameter using == or != High

Comparison of String parameter using == or != in de.uni_koeln.spinfo.tesla.annotation.adapter.ProgressProxy.setProgressName(String)


In file ProgressProxy.java, line 58
In class de.uni_koeln.spinfo.tesla.annotation.adapter.ProgressProxy
In method de.uni_koeln.spinfo.tesla.annotation.adapter.ProgressProxy.setProgressName(String)
Actual type String
At ProgressProxy.java:[line 58]

equals() method does not check for null argument High

de.uni_koeln.spinfo.tesla.component.sequencer.AnnotationCombiner$Interval.equals(Object) does not check for null argument


In file AnnotationCombiner.java, line 77
In class de.uni_koeln.spinfo.tesla.component.sequencer.AnnotationCombiner$Interval
In method de.uni_koeln.spinfo.tesla.component.sequencer.AnnotationCombiner$Interval.equals(Object)
Local variable named obj
At AnnotationCombiner.java:[line 77]

equals() method does not check for null argument High

de.uni_koeln.spinfo.tesla.component.sequencer.StructureCombiner$Interval.equals(Object) does not check for null argument


In file StructureCombiner.java, line 90
In class de.uni_koeln.spinfo.tesla.component.sequencer.StructureCombiner$Interval
In method de.uni_koeln.spinfo.tesla.component.sequencer.StructureCombiner$Interval.equals(Object)
Local variable named obj
At StructureCombiner.java:[line 90]

equals() method does not check for null argument High

org.schwiebert.tesla.rangecomparator.FastComparator$SimpleRange.equals(Object) does not check for null argument


In file FastComparator.java, lines 94 to 95
In class org.schwiebert.tesla.rangecomparator.FastComparator$SimpleRange
In method org.schwiebert.tesla.rangecomparator.FastComparator$SimpleRange.equals(Object)
Local variable named obj
At FastComparator.java:[lines 94-95]

Non-transient non-serializable instance field in serializable class High

Class de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.queryconstraints.HibernateFilter defines non-transient non-serializable instance field method


In file HibernateFilter.java, lines to
In class de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.queryconstraints.HibernateFilter
Field de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.queryconstraints.HibernateFilter.method
In HibernateFilter.java

Non-transient non-serializable instance field in serializable class High

Class de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.queryconstraints.HibernateOrder defines non-transient non-serializable instance field method


In file HibernateOrder.java, lines to
In class de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.queryconstraints.HibernateOrder
Field de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.queryconstraints.HibernateOrder.method
In HibernateOrder.java

Equals method should not assume anything about the type of its argument Medium

Equals method for de.uni_koeln.spinfo.tesla.component.sequencer.AnnotationCombiner$Interval assumes the argument is of type AnnotationCombiner$Interval


In file AnnotationCombiner.java, line 77
In class de.uni_koeln.spinfo.tesla.component.sequencer.AnnotationCombiner$Interval
In method de.uni_koeln.spinfo.tesla.component.sequencer.AnnotationCombiner$Interval.equals(Object)
At AnnotationCombiner.java:[line 77]

Equals method should not assume anything about the type of its argument Medium

Equals method for de.uni_koeln.spinfo.tesla.component.sequencer.StructureCombiner$Interval assumes the argument is of type StructureCombiner$Interval


In file StructureCombiner.java, line 90
In class de.uni_koeln.spinfo.tesla.component.sequencer.StructureCombiner$Interval
In method de.uni_koeln.spinfo.tesla.component.sequencer.StructureCombiner$Interval.equals(Object)
At StructureCombiner.java:[line 90]

Equals method should not assume anything about the type of its argument Medium

Equals method for de.uni_koeln.spinfo.tesla.roles.filter.impl.tunguska.data.AnnotationRangeFilter$SimpleRange assumes the argument is of type AnnotationRangeFilter$SimpleRange


In file AnnotationRangeFilter.java, line 75
In class de.uni_koeln.spinfo.tesla.roles.filter.impl.tunguska.data.AnnotationRangeFilter$SimpleRange
In method de.uni_koeln.spinfo.tesla.roles.filter.impl.tunguska.data.AnnotationRangeFilter$SimpleRange.equals(Object)
At AnnotationRangeFilter.java:[line 75]

Equals method should not assume anything about the type of its argument Medium

Equals method for org.schwiebert.tesla.rangecomparator.FastComparator$SimpleRange assumes the argument is of type FastComparator$SimpleRange


In file FastComparator.java, line 94
In class org.schwiebert.tesla.rangecomparator.FastComparator$SimpleRange
In method org.schwiebert.tesla.rangecomparator.FastComparator$SimpleRange.equals(Object)
At FastComparator.java:[line 94]

Method might ignore exception Medium

de.uni_koeln.spinfo.tesla.component.reader.BNCReader.processDocument(XMLStreamReader, OutputStream) might ignore java.lang.Exception


In file BNCReader.java, line 218
In class de.uni_koeln.spinfo.tesla.component.reader.BNCReader
In method de.uni_koeln.spinfo.tesla.component.reader.BNCReader.processDocument(XMLStreamReader, OutputStream)
Exception class java.lang.Exception
At BNCReader.java:[line 218]

Method invokes System.exit(...) Medium

de.uni_koeln.spinfo.tesla.component.meancomponent.MeanComponent.run() invokes System.exit(...), which shuts down the entire virtual machine


In file MeanComponent.java, line 147
In class de.uni_koeln.spinfo.tesla.component.meancomponent.MeanComponent
In method de.uni_koeln.spinfo.tesla.component.meancomponent.MeanComponent.run()
At MeanComponent.java:[line 147]

Class defines compareTo(...) and uses Object.equals() Medium

de.uni_koeln.spinfo.tesla.component.corpusstatistics.util.TokenCounts defines compareTo(TokenCounts) and uses Object.equals()


In file TokenCounts.java, line 78
In class de.uni_koeln.spinfo.tesla.component.corpusstatistics.util.TokenCounts
In method de.uni_koeln.spinfo.tesla.component.corpusstatistics.util.TokenCounts.compareTo(TokenCounts)
At TokenCounts.java:[line 78]

Class defines compareTo(...) and uses Object.equals() Medium

de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor$FutureWrapper defines compareTo(InOrderExecutor$FutureWrapper) and uses Object.equals()


In file InOrderExecutor.java, lines 38 to 40
In class de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor$FutureWrapper
In method de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor$FutureWrapper.compareTo(InOrderExecutor$FutureWrapper)
At InOrderExecutor.java:[lines 38-40]

Class defines compareTo(...) and uses Object.equals() Medium

de.uni_koeln.spinfo.tesla.runtime.persistence.RoleDefinition defines compareTo(RoleDefinition) and uses Object.equals()


In file RoleDefinition.java, line 182
In class de.uni_koeln.spinfo.tesla.runtime.persistence.RoleDefinition
In method de.uni_koeln.spinfo.tesla.runtime.persistence.RoleDefinition.compareTo(RoleDefinition)
At RoleDefinition.java:[line 182]

Class defines compareTo(...) and uses Object.equals() Medium

de.uni_koeln.spinfo.tesla.tunguska.util.intervaltree.Interval defines compareTo(Interval) and uses Object.equals()


In file Interval.java, lines 65 to 74
In class de.uni_koeln.spinfo.tesla.tunguska.util.intervaltree.Interval
In method de.uni_koeln.spinfo.tesla.tunguska.util.intervaltree.Interval.compareTo(Interval)
At Interval.java:[lines 65-74]

Method may fail to close database resource Medium

de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.PostGresManager.createDatabase(int, Properties) may fail to close Statement


In file PostGresManager.java, line 37
In class de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.PostGresManager
In method de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.PostGresManager.createDatabase(int, Properties)
Need to close java.sql.Statement
At PostGresManager.java:[line 37]

Method may fail to close database resource Medium

de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.PostGresManager.dropDatabase(int, Properties) may fail to close Statement


In file PostGresManager.java, line 67
In class de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.PostGresManager
In method de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.PostGresManager.dropDatabase(int, Properties)
Need to close java.sql.Statement
At PostGresManager.java:[line 67]

Method may fail to close stream Medium

de.uni_koeln.spinfo.cryptology.io.CSVConverter.parseCVSDataFromFileToList(String) may fail to close stream


In file CSVConverter.java, line 101
In class de.uni_koeln.spinfo.cryptology.io.CSVConverter
In method de.uni_koeln.spinfo.cryptology.io.CSVConverter.parseCVSDataFromFileToList(String)
Need to close java.io.Reader
At CSVConverter.java:[line 101]

Method may fail to close stream Medium

de.uni_koeln.spinfo.tesla.component.geolocations.LexiconLoader.buildLexicon(String) may fail to close stream


In file LexiconLoader.java, line 97
In class de.uni_koeln.spinfo.tesla.component.geolocations.LexiconLoader
In method de.uni_koeln.spinfo.tesla.component.geolocations.LexiconLoader.buildLexicon(String)
Need to close java.io.Reader
At LexiconLoader.java:[line 97]

Method may fail to close stream Medium

de.uni_koeln.spinfo.tesla.component.stanfordner.NamedEntityRecognizer.run() may fail to close stream


In file NamedEntityRecognizer.java, line 132
In class de.uni_koeln.spinfo.tesla.component.stanfordner.NamedEntityRecognizer
In method de.uni_koeln.spinfo.tesla.component.stanfordner.NamedEntityRecognizer.run()
Need to close java.io.Reader
At NamedEntityRecognizer.java:[line 132]
Another occurrence at NamedEntityRecognizer.java:[line 134]

Method may fail to close stream Medium

de.uni_koeln.spinfo.tesla.server.Server.selfLogin() may fail to close stream


In file Server.java, line 553
In class de.uni_koeln.spinfo.tesla.server.Server
In method de.uni_koeln.spinfo.tesla.server.Server.selfLogin()
Need to close java.io.InputStream
At Server.java:[line 553]

Method may fail to close stream Medium

new de.uni_koeln.spinfo.tesla.server.TeslaAuthorityGranter() may fail to close stream


In file TeslaAuthorityGranter.java, line 32
In class de.uni_koeln.spinfo.tesla.server.TeslaAuthorityGranter
In method new de.uni_koeln.spinfo.tesla.server.TeslaAuthorityGranter()
Need to close java.io.InputStream
At TeslaAuthorityGranter.java:[line 32]

Method may fail to close stream Medium

tests.GenPolyIII.genMelanchton() may fail to close stream


In file GenPolyIII.java, line 58
In class tests.GenPolyIII
In method tests.GenPolyIII.genMelanchton()
Need to close java.io.Reader
At GenPolyIII.java:[line 58]

Method may fail to close stream Medium

tests.StegTester.generatePolyIICipherFromMelanchthon() may fail to close stream


In file StegTester.java, line 39
In class tests.StegTester
In method tests.StegTester.generatePolyIICipherFromMelanchthon()
Need to close java.io.Reader
At StegTester.java:[line 39]

Method may fail to close stream Medium

tests.TestSPre.getConfiguration(String) may fail to close stream


In file TestSPre.java, line 179
In class tests.TestSPre
In method tests.TestSPre.getConfiguration(String)
Need to close java.io.Reader
At TestSPre.java:[line 179]

Method ignores results of InputStream.read() Medium

de.uni_koeln.spinfo.tesla.client.corpusmanager.provider.ReaderProvider.guessEncoding(TeslaDocument, InputStream) ignores result of java.io.InputStream.read(byte[])


In file ReaderProvider.java, line 128
In class de.uni_koeln.spinfo.tesla.client.corpusmanager.provider.ReaderProvider
In method de.uni_koeln.spinfo.tesla.client.corpusmanager.provider.ReaderProvider.guessEncoding(TeslaDocument, InputStream)
Called method java.io.InputStream.read(byte[])
At ReaderProvider.java:[line 128]

Method ignores exceptional return value Medium

de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.ResultSummaryPage$5.widgetSelected(SelectionEvent) ignores exceptional return value of java.io.File.mkdirs()


In file ResultSummaryPage.java, line 332
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.ResultSummaryPage$5
In method de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.ResultSummaryPage$5.widgetSelected(SelectionEvent)
Called method java.io.File.mkdirs()
At ResultSummaryPage.java:[line 332]

Method ignores exceptional return value Medium

new de.uni_koeln.spinfo.tesla.datasource.zip.ZipFileIndex(File, String) ignores exceptional return value of java.io.File.mkdirs()


In file ZipFileIndex.java, line 49
In class de.uni_koeln.spinfo.tesla.datasource.zip.ZipFileIndex
In method new de.uni_koeln.spinfo.tesla.datasource.zip.ZipFileIndex(File, String)
Called method java.io.File.mkdirs()
At ZipFileIndex.java:[line 49]

Method ignores exceptional return value Medium

de.uni_koeln.spinfo.tesla.runtime.signal.SignalIO.getOutputStreamFor(TeslaDocument) ignores exceptional return value of java.io.File.mkdirs()


In file SignalIO.java, line 35
In class de.uni_koeln.spinfo.tesla.runtime.signal.SignalIO
In method de.uni_koeln.spinfo.tesla.runtime.signal.SignalIO.getOutputStreamFor(TeslaDocument)
Called method java.io.File.mkdirs()
At SignalIO.java:[line 35]

Method ignores exceptional return value Medium

de.uni_koeln.spinfo.tesla.server.environment.StandaloneEnvironment.extractComponents() ignores exceptional return value of java.io.File.mkdir()


In file StandaloneEnvironment.java, line 125
In class de.uni_koeln.spinfo.tesla.server.environment.StandaloneEnvironment
In method de.uni_koeln.spinfo.tesla.server.environment.StandaloneEnvironment.extractComponents()
Called method java.io.File.mkdir()
At StandaloneEnvironment.java:[line 125]

Method ignores exceptional return value Medium

de.uni_koeln.spinfo.tesla.tunguska.db.writer.AbstractTunguskaWriter.swapDir(String, long) ignores exceptional return value of java.io.File.mkdirs()


In file AbstractTunguskaWriter.java, line 115
In class de.uni_koeln.spinfo.tesla.tunguska.db.writer.AbstractTunguskaWriter
In method de.uni_koeln.spinfo.tesla.tunguska.db.writer.AbstractTunguskaWriter.swapDir(String, long)
Called method java.io.File.mkdirs()
At AbstractTunguskaWriter.java:[line 115]

Non-transient non-serializable instance field in serializable class Medium

Class de.uni_koeln.spinfo.tesla.annotation.adapter.tunguska.DefaultTunguskaOutputAdapter defines non-transient non-serializable instance field serializer


In file DefaultTunguskaOutputAdapter.java, lines to
In class de.uni_koeln.spinfo.tesla.annotation.adapter.tunguska.DefaultTunguskaOutputAdapter
Field de.uni_koeln.spinfo.tesla.annotation.adapter.tunguska.DefaultTunguskaOutputAdapter.serializer
In DefaultTunguskaOutputAdapter.java

Non-transient non-serializable instance field in serializable class Medium

Class de.uni_koeln.spinfo.tesla.client.evaluation.EvaluationPageConfiguration defines non-transient non-serializable instance field inputSelector


In file EvaluationPageConfiguration.java, lines to
In class de.uni_koeln.spinfo.tesla.client.evaluation.EvaluationPageConfiguration
Field de.uni_koeln.spinfo.tesla.client.evaluation.EvaluationPageConfiguration.inputSelector
In EvaluationPageConfiguration.java

Non-transient non-serializable instance field in serializable class Medium

Class de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ChainGraphDiagram defines non-transient non-serializable instance field factory


In file ChainGraphDiagram.java, lines to
In class de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ChainGraphDiagram
Field de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ChainGraphDiagram.factory
In ChainGraphDiagram.java

Non-transient non-serializable instance field in serializable class Medium

Class de.uni_koeln.spinfo.tesla.component.gazetteer.GazetteerAccessAdapter defines non-transient non-serializable instance field reader


In file GazetteerAccessAdapter.java, lines to
In class de.uni_koeln.spinfo.tesla.component.gazetteer.GazetteerAccessAdapter
Field de.uni_koeln.spinfo.tesla.component.gazetteer.GazetteerAccessAdapter.reader
In GazetteerAccessAdapter.java

Transient field that isn't set by deserialization. Medium

The field de.uni_koeln.spinfo.tesla.component.reader.twitter.io.TwitterEntity.end is transient but isn't set by deserialization


In file TwitterEntity.java, lines to
In class de.uni_koeln.spinfo.tesla.component.reader.twitter.io.TwitterEntity
Field de.uni_koeln.spinfo.tesla.component.reader.twitter.io.TwitterEntity.end
In TwitterEntity.java

Transient field that isn't set by deserialization. Medium

The field de.uni_koeln.spinfo.tesla.component.reader.twitter.io.TwitterEntity.start is transient but isn't set by deserialization


In file TwitterEntity.java, lines to
In class de.uni_koeln.spinfo.tesla.component.reader.twitter.io.TwitterEntity
Field de.uni_koeln.spinfo.tesla.component.reader.twitter.io.TwitterEntity.start
In TwitterEntity.java

Transient field that isn't set by deserialization. Medium

The field de.uni_koeln.spinfo.tesla.datasource.CorpusManagerBean.logger is transient but isn't set by deserialization


In file CorpusManagerBean.java, lines to
In class de.uni_koeln.spinfo.tesla.datasource.CorpusManagerBean
Field de.uni_koeln.spinfo.tesla.datasource.CorpusManagerBean.logger
In CorpusManagerBean.java

Transient field that isn't set by deserialization. Medium

The field de.uni_koeln.spinfo.tesla.roles.table.impl.TabularSummary.columnFormats is transient but isn't set by deserialization


In file TabularSummary.java, lines to
In class de.uni_koeln.spinfo.tesla.roles.table.impl.TabularSummary
Field de.uni_koeln.spinfo.tesla.roles.table.impl.TabularSummary.columnFormats
In TabularSummary.java

Transient field that isn't set by deserialization. Medium

The field de.uni_koeln.spinfo.tesla.runtime.persistence.TabularReport.columnFormats is transient but isn't set by deserialization


In file TabularReport.java, lines to
In class de.uni_koeln.spinfo.tesla.runtime.persistence.TabularReport
Field de.uni_koeln.spinfo.tesla.runtime.persistence.TabularReport.columnFormats
In TabularReport.java

Class is Serializable, but doesn't define serialVersionUID Medium

de.uni_koeln.spinfo.tesla.tunguska.db.files.IntObjectHashMap is Serializable; consider declaring a serialVersionUID


In file IntObjectHashMap.java, lines 75 to 529
In class de.uni_koeln.spinfo.tesla.tunguska.db.files.IntObjectHashMap
At IntObjectHashMap.java:[lines 75-529]

Back to top
Warning Priority Details
An apparent infinite loop High

There is an apparent infinite loop in tests.StegTester.generatePolyIICipherFromMelanchthon()


In file StegTester.java, line 42
In class tests.StegTester
In method tests.StegTester.generatePolyIICipherFromMelanchthon()
At StegTester.java:[line 42]
Loop bottom at StegTester.java:[line 44]
Local variable named nextLine
Last changed at StegTester.java:[line 40]

Bad comparison of nonnegative value with negative constant High

Bad comparison of nonnegative value with -1 in de.uni_koeln.spinfo.tesla.component.reader.LatexReader.parse(InputStreamReader, StringBuffer, boolean)


In file LatexReader.java, line 249
In class de.uni_koeln.spinfo.tesla.component.reader.LatexReader
In method de.uni_koeln.spinfo.tesla.component.reader.LatexReader.parse(InputStreamReader, StringBuffer, boolean)
Value -1
At LatexReader.java:[line 249]
Another occurrence at LatexReader.java:[line 269]
Another occurrence at LatexReader.java:[line 284]

Call to equals() comparing different interface types Medium

Call to equals() comparing different interface types in de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.queryconstraints.HibernateFilter.internMatch(Comparable)


In file HibernateFilter.java, line 268
In class de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.queryconstraints.HibernateFilter
In method de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.queryconstraints.HibernateFilter.internMatch(Comparable)
Actual type Comparable
Expected de.uni_koeln.spinfo.tesla.runtime.persistence.DataObject
Value loaded from toMatch
Value loaded from field de.uni_koeln.spinfo.tesla.annotation.adapter.hibernate.queryconstraints.HibernateFilter.value
Object.equals(Object) used to determine equality
de.uni_koeln.spinfo.tesla.roles.categorizer.ngram.impl.tunguska.Bigram.equals(Object) used to determine equality
de.uni_koeln.spinfo.tesla.roles.parser.impl.tunguska.data.SyntaxNode.equals(Object) used to determine equality
At HibernateFilter.java:[line 268]
Another occurrence at HibernateFilter.java:[line 284]

Class defines field that masks a superclass field Medium

Field TwitterArchiveReader.sa masks field in superclass de.uni_koeln.spinfo.tesla.component.reader.TextReader


In file TwitterArchiveReader.java, lines 88 to 175
In class de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveReader
Masking field de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveReader.sa
Masked field de.uni_koeln.spinfo.tesla.component.reader.TextReader.sa
At TwitterArchiveReader.java:[lines 88-175]

Class defines field that masks a superclass field Medium

Field TwitterArchiveReader.signalWriter masks field in superclass de.uni_koeln.spinfo.tesla.component.reader.TextReader


In file TwitterArchiveReader.java, lines 88 to 175
In class de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveReader
Masking field de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveReader.signalWriter
Masked field de.uni_koeln.spinfo.tesla.component.reader.TextReader.signalWriter
At TwitterArchiveReader.java:[lines 88-175]

Nullcheck of value previously dereferenced Medium

Nullcheck of experiment at line 193 of value previously dereferenced in de.uni_koeln.spinfo.tesla.client.ui.views.RunningExperimentContentProvider.experimentModified(int, int)


In file RunningExperimentContentProvider.java, line 193
In class de.uni_koeln.spinfo.tesla.client.ui.views.RunningExperimentContentProvider
In method de.uni_koeln.spinfo.tesla.client.ui.views.RunningExperimentContentProvider.experimentModified(int, int)
Value loaded from experiment
Return value of de.uni_koeln.spinfo.tesla.client.core.connection.TeslaServer.getExperiment(int, boolean)
At RunningExperimentContentProvider.java:[line 193]
Redundant null check at RunningExperimentContentProvider.java:[line 195]

Uninitialized read of field method called from constructor of superclass Medium

component isn't initialized in de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ComponentVertex.setSize(Dimension) when invoked from constructor for superclass


In file ChainGraphVertex.java, line 102
In class de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ComponentVertex
In method de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ComponentVertex.setSize(Dimension)
Field de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ComponentVertex.component
Superclass constructor is new de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ChainGraphVertex()
Call from superclass constructor at ChainGraphVertex.java:[line 102]
Constructor is new de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ComponentVertex(ComponentEntity, Experiment)
Field set (too late) at ComponentVertex.java:[line 73]
At ComponentVertex.java:[line 186]
Another occurrence at ComponentVertex.java:[line 187]

Uninitialized read of field method called from constructor of superclass Medium

documentSelection isn't initialized in de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.DocumentCollectionVertex.setSize(Dimension) when invoked from constructor for superclass


In file ChainGraphVertex.java, line 102
In class de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.DocumentCollectionVertex
In method de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.DocumentCollectionVertex.setSize(Dimension)
Field de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.DocumentCollectionVertex.documentSelection
Superclass constructor is new de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ChainGraphVertex()
Call from superclass constructor at ChainGraphVertex.java:[line 102]
Constructor is new de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.DocumentCollectionVertex(DocumentCollection, Experiment)
Field set (too late) at DocumentCollectionVertex.java:[line 52]
At DocumentCollectionVertex.java:[line 102]
Another occurrence at DocumentCollectionVertex.java:[line 103]

Unwritten field Medium

Unwritten field: de.uni_koeln.spinfo.tesla.client.corpusmanager.dialogs.ReaderSelectionDialog.itemsToOpen


In file ReaderSelectionDialog.java, line 260
In class de.uni_koeln.spinfo.tesla.client.corpusmanager.dialogs.ReaderSelectionDialog
Field de.uni_koeln.spinfo.tesla.client.corpusmanager.dialogs.ReaderSelectionDialog.itemsToOpen
At ReaderSelectionDialog.java:[line 260]

Unwritten field Medium

Unwritten field: de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.brackettext.DataOptions.weight


In file DataOptions.java, line 41
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.brackettext.DataOptions
Field de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.brackettext.DataOptions.weight
At DataOptions.java:[line 41]

Unwritten field Medium

Unwritten field: de.uni_koeln.spinfo.tesla.component.reader.PortugueseCorpusReader.metaData


In file PortugueseCorpusReader.java, line 186
In class de.uni_koeln.spinfo.tesla.component.reader.PortugueseCorpusReader
Field de.uni_koeln.spinfo.tesla.component.reader.PortugueseCorpusReader.metaData
At PortugueseCorpusReader.java:[line 186]

Unwritten field Medium

Unwritten field: de.uni_koeln.spinfo.tesla.component.reader.WikiReader.metaData


In file WikiReader.java, line 465
In class de.uni_koeln.spinfo.tesla.component.reader.WikiReader
Field de.uni_koeln.spinfo.tesla.component.reader.WikiReader.metaData
At WikiReader.java:[line 465]

Unwritten field Medium

Unwritten field: tests.TestSPre.quartinaryParserConfig


In file TestSPre.java, line 152
In class tests.TestSPre
Field tests.TestSPre.quartinaryParserConfig
At TestSPre.java:[line 152]

Back to top
Warning Priority Details
Method may fail to clean up stream or resource Medium

Method de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.testGetPreview() may fail to clean up java.io.OutputStream


In file TestBioXLSXReader.java, line 54
In class de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader
In method de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.testGetPreview()
Reference type java.io.OutputStream
1 instances of obligation remaining
Obligation to clean up resource created at TestBioXLSXReader.java:[line 54] is not discharged
Path continues at TestBioXLSXReader.java:[line 57]
Path continues at TestBioXLSXReader.java:[line 58]
Remaining obligations: {OutputStream x 1}

Method may fail to clean up stream or resource Medium

Method de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.testProcess() may fail to clean up java.io.OutputStream


In file TestBioXLSXReader.java, line 63
In class de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader
In method de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.testProcess()
Reference type java.io.OutputStream
1 instances of obligation remaining
Obligation to clean up resource created at TestBioXLSXReader.java:[line 63] is not discharged
Path continues at TestBioXLSXReader.java:[line 67]
Path continues at TestBioXLSXReader.java:[line 68]
Remaining obligations: {OutputStream x 1}

Method may fail to clean up stream or resource Medium

Method de.uni_koeln.spinfo.tesla.runtime.IOUtil.fastFileCopy(File, File) may fail to clean up java.io.InputStream


In file IOUtil.java, line 114
In class de.uni_koeln.spinfo.tesla.runtime.IOUtil
In method de.uni_koeln.spinfo.tesla.runtime.IOUtil.fastFileCopy(File, File)
Reference type java.io.InputStream
1 instances of obligation remaining
Obligation to clean up resource created at IOUtil.java:[line 114] is not discharged
Path continues at IOUtil.java:[line 115]
Path continues at IOUtil.java:[line 116]
Path continues at IOUtil.java:[line 117]
Path continues at IOUtil.java:[line 118]
Path continues at IOUtil.java:[line 121]
Path continues at IOUtil.java:[line 122]
Remaining obligations: {InputStream x 1,OutputStream x 1}

Method may fail to clean up stream or resource Medium

Method de.uni_koeln.spinfo.tesla.runtime.IOUtil.fastFileCopy(File, File) may fail to clean up java.io.OutputStream


In file IOUtil.java, line 115
In class de.uni_koeln.spinfo.tesla.runtime.IOUtil
In method de.uni_koeln.spinfo.tesla.runtime.IOUtil.fastFileCopy(File, File)
Reference type java.io.OutputStream
1 instances of obligation remaining
Obligation to clean up resource created at IOUtil.java:[line 115] is not discharged
Path continues at IOUtil.java:[line 116]
Path continues at IOUtil.java:[line 117]
Path continues at IOUtil.java:[line 118]
Path continues at IOUtil.java:[line 121]
Path continues at IOUtil.java:[line 124]
Path continues at IOUtil.java:[line 127]
Path continues at IOUtil.java:[line 128]
Remaining obligations: {OutputStream x 1}

Method may fail to clean up stream or resource Medium

Method de.uni_koeln.spinfo.tesla.server.environment.ZipUtility.zipFiles(File) may fail to clean up java.io.InputStream


In file ZipUtility.java, line 98
In class de.uni_koeln.spinfo.tesla.server.environment.ZipUtility
In method de.uni_koeln.spinfo.tesla.server.environment.ZipUtility.zipFiles(File)
Reference type java.io.InputStream
1 instances of obligation remaining
Obligation to clean up resource created at ZipUtility.java:[line 98] is not discharged
Path continues at ZipUtility.java:[line 99]
Path continues at ZipUtility.java:[line 100]
Remaining obligations: {InputStream x 1}

Method may fail to clean up stream or resource Medium

Method new de.uni_koeln.spinfo.tesla.server.TeslaAuthorityGranter() may fail to clean up java.io.InputStream


In file TeslaAuthorityGranter.java, line 32
In class de.uni_koeln.spinfo.tesla.server.TeslaAuthorityGranter
In method new de.uni_koeln.spinfo.tesla.server.TeslaAuthorityGranter()
Reference type java.io.InputStream
1 instances of obligation remaining
Obligation to clean up resource created at TeslaAuthorityGranter.java:[line 32] is not discharged
Path continues at TeslaAuthorityGranter.java:[line 46]
Path continues at TeslaAuthorityGranter.java:[line 47]
Remaining obligations: {InputStream x 1}

Back to top
Warning Priority Details
Field isn't final but should be High

de.uni_koeln.spinfo.tesla.component.abl.RandomAlignMethod.CONSTITUENTS_PER_WORD isn't final but should be


In file RandomAlignMethod.java, line 41
In class de.uni_koeln.spinfo.tesla.component.abl.RandomAlignMethod
Field de.uni_koeln.spinfo.tesla.component.abl.RandomAlignMethod.CONSTITUENTS_PER_WORD
At RandomAlignMethod.java:[line 41]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.cryptology.cryptanalysis.CryptoCipherUtils.getPlayfairMatrix() may expose internal representation by returning CryptoCipherUtils.playfairMatrix


In file CryptoCipherUtils.java, line 468
In class de.uni_koeln.spinfo.cryptology.cryptanalysis.CryptoCipherUtils
In method de.uni_koeln.spinfo.cryptology.cryptanalysis.CryptoCipherUtils.getPlayfairMatrix()
Field de.uni_koeln.spinfo.cryptology.cryptanalysis.CryptoCipherUtils.playfairMatrix
At CryptoCipherUtils.java:[line 468]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.client.corpusmanager.dialogs.ReaderSelectionDialog.getItemsToOpen() may expose internal representation by returning ReaderSelectionDialog.itemsToOpen


In file ReaderSelectionDialog.java, line 260
In class de.uni_koeln.spinfo.tesla.client.corpusmanager.dialogs.ReaderSelectionDialog
In method de.uni_koeln.spinfo.tesla.client.corpusmanager.dialogs.ReaderSelectionDialog.getItemsToOpen()
Field de.uni_koeln.spinfo.tesla.client.corpusmanager.dialogs.ReaderSelectionDialog.itemsToOpen
At ReaderSelectionDialog.java:[line 260]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.table.TableContentProvider.getColumns() may expose internal representation by returning TableContentProvider.columns


In file TableContentProvider.java, line 50
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.table.TableContentProvider
In method de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.table.TableContentProvider.getColumns()
Field de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.table.TableContentProvider.columns
At TableContentProvider.java:[line 50]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.table.TableContentProvider.getElements(Object) may expose internal representation by returning TableContentProvider.input


In file TableContentProvider.java, line 46
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.table.TableContentProvider
In method de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.table.TableContentProvider.getElements(Object)
Field de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.table.TableContentProvider.input
At TableContentProvider.java:[line 46]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.getChildren(Object) may expose internal representation by returning ComponentContentProvider.externalComponents


In file ComponentContentProvider.java, line 91
In class de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider
In method de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.getChildren(Object)
Field de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.externalComponents
At ComponentContentProvider.java:[line 91]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.getChildren(Object) may expose internal representation by returning ComponentContentProvider.workspaceComponents


In file ComponentContentProvider.java, line 93
In class de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider
In method de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.getChildren(Object)
Field de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.workspaceComponents
At ComponentContentProvider.java:[line 93]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.getExternalComponents() may expose internal representation by returning ComponentContentProvider.externalComponents


In file ComponentContentProvider.java, line 134
In class de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider
In method de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.getExternalComponents()
Field de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.externalComponents
At ComponentContentProvider.java:[line 134]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.getParent(Object) may expose internal representation by returning ComponentContentProvider.externalComponents


In file ComponentContentProvider.java, line 117
In class de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider
In method de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.getParent(Object)
Field de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.externalComponents
At ComponentContentProvider.java:[line 117]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.getParent(Object) may expose internal representation by returning ComponentContentProvider.workspaceComponents


In file ComponentContentProvider.java, line 120
In class de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider
In method de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.getParent(Object)
Field de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.workspaceComponents
At ComponentContentProvider.java:[line 120]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.getWorkspaceComponents() may expose internal representation by returning ComponentContentProvider.workspaceComponents


In file ComponentContentProvider.java, line 138
In class de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider
In method de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.getWorkspaceComponents()
Field de.uni_koeln.spinfo.tesla.client.launcher.launch.ui.ComponentContentProvider.workspaceComponents
At ComponentContentProvider.java:[line 138]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ChainGraphVertex.getPropertyDescriptors() may expose internal representation by returning ChainGraphVertex.descriptors


In file ChainGraphVertex.java, line 188
In class de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ChainGraphVertex
In method de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ChainGraphVertex.getPropertyDescriptors()
Field de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ChainGraphVertex.descriptors
At ChainGraphVertex.java:[line 188]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.component.reader.twitter.io.Tweet.getDate() may expose internal representation by returning Tweet.date


In file Tweet.java, line 96
In class de.uni_koeln.spinfo.tesla.component.reader.twitter.io.Tweet
In method de.uni_koeln.spinfo.tesla.component.reader.twitter.io.Tweet.getDate()
Field de.uni_koeln.spinfo.tesla.component.reader.twitter.io.Tweet.date
At Tweet.java:[line 96]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.roles.expressions.impl.hibernate.data.Day.getStart() may expose internal representation by returning Day.date


In file Day.java, line 48
In class de.uni_koeln.spinfo.tesla.roles.expressions.impl.hibernate.data.Day
In method de.uni_koeln.spinfo.tesla.roles.expressions.impl.hibernate.data.Day.getStart()
Field de.uni_koeln.spinfo.tesla.roles.expressions.impl.hibernate.data.Day.date
At Day.java:[line 48]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.runtime.export.MethodDescription.getParameterClassNames() may expose internal representation by returning MethodDescription.parameterClassNames


In file MethodDescription.java, line 153
In class de.uni_koeln.spinfo.tesla.runtime.export.MethodDescription
In method de.uni_koeln.spinfo.tesla.runtime.export.MethodDescription.getParameterClassNames()
Field de.uni_koeln.spinfo.tesla.runtime.export.MethodDescription.parameterClassNames
At MethodDescription.java:[line 153]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.server.environment.AbstractEnvironment.getAnnotatedClasses() may expose internal representation by returning AbstractEnvironment.annotatedClasses


In file AbstractEnvironment.java, line 296
In class de.uni_koeln.spinfo.tesla.server.environment.AbstractEnvironment
In method de.uni_koeln.spinfo.tesla.server.environment.AbstractEnvironment.getAnnotatedClasses()
Field de.uni_koeln.spinfo.tesla.server.environment.AbstractEnvironment.annotatedClasses
At AbstractEnvironment.java:[line 296]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.tunguska.db.files.DataStoreMetaData.getFilesOf(String) may expose internal representation by returning DataStoreMetaData.signals


In file DataStoreMetaData.java, line 312
In class de.uni_koeln.spinfo.tesla.tunguska.db.files.DataStoreMetaData
In method de.uni_koeln.spinfo.tesla.tunguska.db.files.DataStoreMetaData.getFilesOf(String)
Field de.uni_koeln.spinfo.tesla.tunguska.db.files.DataStoreMetaData.signals
At DataStoreMetaData.java:[line 312]

May expose internal representation by returning reference to mutable object Medium

de.uni_koeln.spinfo.tesla.tunguska.util.DataTable.get() may expose internal representation by returning DataTable.data


In file DataTable.java, line 43
In class de.uni_koeln.spinfo.tesla.tunguska.util.DataTable
In method de.uni_koeln.spinfo.tesla.tunguska.util.DataTable.get()
Field de.uni_koeln.spinfo.tesla.tunguska.util.DataTable.data
At DataTable.java:[line 43]

May expose internal representation by incorporating reference to mutable object Medium

de.uni_koeln.spinfo.cryptology.cryptanalysis.CryptoCipherUtils.setPlayfairMatrix(char[][]) may expose internal representation by storing an externally mutable object into CryptoCipherUtils.playfairMatrix


In file CryptoCipherUtils.java, line 472
In class de.uni_koeln.spinfo.cryptology.cryptanalysis.CryptoCipherUtils
In method de.uni_koeln.spinfo.cryptology.cryptanalysis.CryptoCipherUtils.setPlayfairMatrix(char[][])
Field de.uni_koeln.spinfo.cryptology.cryptanalysis.CryptoCipherUtils.playfairMatrix
Local variable named playfairMatrix
At CryptoCipherUtils.java:[line 472]

May expose internal representation by incorporating reference to mutable object Medium

new de.uni_koeln.spinfo.tesla.client.preferences.TeslaComboFieldEditor(String, String, String[][], Composite) may expose internal representation by storing an externally mutable object into TeslaComboFieldEditor.fEntryNamesAndValues


In file TeslaComboFieldEditor.java, line 81
In class de.uni_koeln.spinfo.tesla.client.preferences.TeslaComboFieldEditor
In method new de.uni_koeln.spinfo.tesla.client.preferences.TeslaComboFieldEditor(String, String, String[][], Composite)
Field de.uni_koeln.spinfo.tesla.client.preferences.TeslaComboFieldEditor.fEntryNamesAndValues
Local variable named entryNamesAndValues
At TeslaComboFieldEditor.java:[line 81]

May expose internal representation by incorporating reference to mutable object Medium

new de.uni_koeln.spinfo.tesla.client.socketlogger.preferences.ConfigurableComboFieldEditor(String, String, String[][], Composite, String) may expose internal representation by storing an externally mutable object into ConfigurableComboFieldEditor.entryNamesAndValues


In file ConfigurableComboFieldEditor.java, line 53
In class de.uni_koeln.spinfo.tesla.client.socketlogger.preferences.ConfigurableComboFieldEditor
In method new de.uni_koeln.spinfo.tesla.client.socketlogger.preferences.ConfigurableComboFieldEditor(String, String, String[][], Composite, String)
Field de.uni_koeln.spinfo.tesla.client.socketlogger.preferences.ConfigurableComboFieldEditor.entryNamesAndValues
Local variable named entryNamesAndValues
At ConfigurableComboFieldEditor.java:[line 53]

May expose internal representation by incorporating reference to mutable object Medium

new de.uni_koeln.spinfo.tesla.client.socketlogger.preferences.TeslaComboFieldEditor(String, String, String[][], Composite) may expose internal representation by storing an externally mutable object into TeslaComboFieldEditor.fEntryNamesAndValues


In file TeslaComboFieldEditor.java, line 81
In class de.uni_koeln.spinfo.tesla.client.socketlogger.preferences.TeslaComboFieldEditor
In method new de.uni_koeln.spinfo.tesla.client.socketlogger.preferences.TeslaComboFieldEditor(String, String, String[][], Composite)
Field de.uni_koeln.spinfo.tesla.client.socketlogger.preferences.TeslaComboFieldEditor.fEntryNamesAndValues
Local variable named entryNamesAndValues
At TeslaComboFieldEditor.java:[line 81]

May expose internal representation by incorporating reference to mutable object Medium

de.uni_koeln.spinfo.tesla.component.reader.twitter.io.Tweet.setDate(Date) may expose internal representation by storing an externally mutable object into Tweet.date


In file Tweet.java, line 100
In class de.uni_koeln.spinfo.tesla.component.reader.twitter.io.Tweet
In method de.uni_koeln.spinfo.tesla.component.reader.twitter.io.Tweet.setDate(Date)
Field de.uni_koeln.spinfo.tesla.component.reader.twitter.io.Tweet.date
Local variable named date
At Tweet.java:[line 100]

May expose internal representation by incorporating reference to mutable object Medium

new de.uni_koeln.spinfo.tesla.roles.vectorengine.data.impl.hibernate.DoubleArrayVector(double[]) may expose internal representation by storing an externally mutable object into DoubleArrayVector.data


In file DoubleArrayVector.java, line 48
In class de.uni_koeln.spinfo.tesla.roles.vectorengine.data.impl.hibernate.DoubleArrayVector
In method new de.uni_koeln.spinfo.tesla.roles.vectorengine.data.impl.hibernate.DoubleArrayVector(double[])
Field de.uni_koeln.spinfo.tesla.roles.vectorengine.data.impl.hibernate.DoubleArrayVector.data
Local variable named array
At DoubleArrayVector.java:[line 48]

May expose internal representation by incorporating reference to mutable object Medium

new de.uni_koeln.spinfo.tesla.roles.vectorengine.data.impl.hibernate.IntegerArrayVector(int[]) may expose internal representation by storing an externally mutable object into IntegerArrayVector.data


In file IntegerArrayVector.java, line 67
In class de.uni_koeln.spinfo.tesla.roles.vectorengine.data.impl.hibernate.IntegerArrayVector
In method new de.uni_koeln.spinfo.tesla.roles.vectorengine.data.impl.hibernate.IntegerArrayVector(int[])
Field de.uni_koeln.spinfo.tesla.roles.vectorengine.data.impl.hibernate.IntegerArrayVector.data
Local variable named intArray
At IntegerArrayVector.java:[line 67]

May expose internal representation by incorporating reference to mutable object Medium

de.uni_koeln.spinfo.tesla.runtime.export.MethodDescription.setParameterClassNames(String[]) may expose internal representation by storing an externally mutable object into MethodDescription.parameterClassNames


In file MethodDescription.java, line 157
In class de.uni_koeln.spinfo.tesla.runtime.export.MethodDescription
In method de.uni_koeln.spinfo.tesla.runtime.export.MethodDescription.setParameterClassNames(String[])
Field de.uni_koeln.spinfo.tesla.runtime.export.MethodDescription.parameterClassNames
Local variable named parameters
At MethodDescription.java:[line 157]

May expose internal representation by incorporating reference to mutable object Medium

de.uni_koeln.spinfo.tesla.runtime.persistence.SimpleDocumentData.setData(byte[]) may expose internal representation by storing an externally mutable object into SimpleDocumentData.data


In file SimpleDocumentData.java, line 48
In class de.uni_koeln.spinfo.tesla.runtime.persistence.SimpleDocumentData
In method de.uni_koeln.spinfo.tesla.runtime.persistence.SimpleDocumentData.setData(byte[])
Field de.uni_koeln.spinfo.tesla.runtime.persistence.SimpleDocumentData.data
Local variable named data
At SimpleDocumentData.java:[line 48]

Public static method may expose internal representation by returning array Medium

public static de.uni_koeln.spinfo.tesla.client.corpusmanager.provider.DocumentUploadCharsetProvider.getAvailableCharsets() may expose internal representation by returning DocumentUploadCharsetProvider.charsets


In file DocumentUploadCharsetProvider.java, line 56
In class de.uni_koeln.spinfo.tesla.client.corpusmanager.provider.DocumentUploadCharsetProvider
In method de.uni_koeln.spinfo.tesla.client.corpusmanager.provider.DocumentUploadCharsetProvider.getAvailableCharsets()
Field de.uni_koeln.spinfo.tesla.client.corpusmanager.provider.DocumentUploadCharsetProvider.charsets
At DocumentUploadCharsetProvider.java:[line 56]

Field should be package protected Medium

de.uni_koeln.spinfo.tesla.client.jet.ComponentGenerator.nl should be package protected


In file ComponentGenerator.java, lines to
In class de.uni_koeln.spinfo.tesla.client.jet.ComponentGenerator
Field de.uni_koeln.spinfo.tesla.client.jet.ComponentGenerator.nl
In ComponentGenerator.java

Field isn't final and can't be protected from malicious code Medium

de.uni_koeln.spinfo.tesla.client.socketlogger.SocketloggerPlugin.SOCKET_ERROR isn't final and can't be protected from malicious code


In file SocketloggerPlugin.java, line 61
In class de.uni_koeln.spinfo.tesla.client.socketlogger.SocketloggerPlugin
Field de.uni_koeln.spinfo.tesla.client.socketlogger.SocketloggerPlugin.SOCKET_ERROR
At SocketloggerPlugin.java:[line 61]

Back to top
Warning Priority Details
Wait with two locks held High

wait() with two locks held in de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor.enqueue(Callable)


In file InOrderExecutor.java, line 153
In class de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor
In method de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor.enqueue(Callable)
At InOrderExecutor.java:[line 153]
Possible deadlock during notification at InOrderExecutor.java:[line 124]
Possible deadlock during notification at InOrderExecutor.java:[line 147]

Constructor invokes Thread.start() Medium

new de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor(ICallback, int) invokes de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor$CallbackThread.start()


In file InOrderExecutor.java, line 66
In class de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor
In method new de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor(ICallback, int)
Called method de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor$CallbackThread.start()
At InOrderExecutor.java:[line 66]

Unconditional wait Medium

Unconditional wait in de.uni_koeln.spinfo.tesla.component.berkeleyparser.BerkeleyParserWrapper.processSignal(ConstrainedArrayParser, String)


In file BerkeleyParserWrapper.java, line 270
In class de.uni_koeln.spinfo.tesla.component.berkeleyparser.BerkeleyParserWrapper
In method de.uni_koeln.spinfo.tesla.component.berkeleyparser.BerkeleyParserWrapper.processSignal(ConstrainedArrayParser, String)
At BerkeleyParserWrapper.java:[line 270]

Unconditional wait Medium

Unconditional wait in de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor.enqueue(Callable)


In file InOrderExecutor.java, line 153
In class de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor
In method de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor.enqueue(Callable)
At InOrderExecutor.java:[line 153]

Unconditional wait Medium

Unconditional wait in de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor$CallbackThread.run()


In file InOrderExecutor.java, line 94
In class de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor$CallbackThread
In method de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor$CallbackThread.run()
At InOrderExecutor.java:[line 94]

Wait not in loop Medium

Wait not in loop in de.uni_koeln.spinfo.tesla.component.berkeleyparser.BerkeleyParserWrapper.processSignal(ConstrainedArrayParser, String)


In file BerkeleyParserWrapper.java, line 270
In class de.uni_koeln.spinfo.tesla.component.berkeleyparser.BerkeleyParserWrapper
In method de.uni_koeln.spinfo.tesla.component.berkeleyparser.BerkeleyParserWrapper.processSignal(ConstrainedArrayParser, String)
At BerkeleyParserWrapper.java:[line 270]

Wait not in loop Medium

Wait not in loop in de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor.enqueue(Callable)


In file InOrderExecutor.java, line 153
In class de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor
In method de.uni_koeln.spinfo.tesla.runtime.execution.InOrderExecutor.enqueue(Callable)
At InOrderExecutor.java:[line 153]

Back to top
Warning Priority Details
Method invokes inefficient Number constructor; use static valueOf instead Medium

Method de.uni_koeln.spinfo.tesla.client.ui.editors.gef.TeslaManhattanConnectionRouter.route(Connection) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead


In file TeslaManhattanConnectionRouter.java, line 312
In class de.uni_koeln.spinfo.tesla.client.ui.editors.gef.TeslaManhattanConnectionRouter
In method de.uni_koeln.spinfo.tesla.client.ui.editors.gef.TeslaManhattanConnectionRouter.route(Connection)
Called method new Integer(int)
Should call Integer.valueOf(int) instead
At TeslaManhattanConnectionRouter.java:[line 312]
Another occurrence at TeslaManhattanConnectionRouter.java:[line 322]
Another occurrence at TeslaManhattanConnectionRouter.java:[line 328]
Another occurrence at TeslaManhattanConnectionRouter.java:[line 336]
Another occurrence at TeslaManhattanConnectionRouter.java:[line 341]
Another occurrence at TeslaManhattanConnectionRouter.java:[line 347]
Another occurrence at TeslaManhattanConnectionRouter.java:[line 349]

Method invokes inefficient new String() constructor Medium

de.uni_koeln.spinfo.tesla.component.reader.drama.TEIDramaSpeechAct.addText(String) invokes inefficient new String() constructor


In file TEIDramaSpeechAct.java, line 20
In class de.uni_koeln.spinfo.tesla.component.reader.drama.TEIDramaSpeechAct
In method de.uni_koeln.spinfo.tesla.component.reader.drama.TEIDramaSpeechAct.addText(String)
At TEIDramaSpeechAct.java:[line 20]

Method invokes inefficient new String() constructor Medium

de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader.queryMetaData(InputStream) invokes inefficient new String() constructor


In file TEIDramaReader.java, line 279
In class de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader
In method de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader.queryMetaData(InputStream)
At TEIDramaReader.java:[line 279]
Another occurrence at TEIDramaReader.java:[line 280]
Another occurrence at TEIDramaReader.java:[line 281]
Another occurrence at TEIDramaReader.java:[line 297]

Method invokes inefficient new String() constructor Medium

de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader.readCharacters(XMLEventReader, QName) invokes inefficient new String() constructor


In file TEIDramaReader.java, line 838
In class de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader
In method de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader.readCharacters(XMLEventReader, QName)
At TEIDramaReader.java:[line 838]

Method concatenates strings using + in a loop Medium

Method de.uni_koeln.spinfo.tesla.component.reader.ChildesReader.processText(InputStream, OutputStream, boolean, String, String) concatenates strings using + in a loop


In file ChildesReader.java, line 117
In class de.uni_koeln.spinfo.tesla.component.reader.ChildesReader
In method de.uni_koeln.spinfo.tesla.component.reader.ChildesReader.processText(InputStream, OutputStream, boolean, String, String)
At ChildesReader.java:[line 117]

Method concatenates strings using + in a loop Medium

Method de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader.queryMetaData(InputStream) concatenates strings using + in a loop


In file TEIDramaReader.java, line 301
In class de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader
In method de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader.queryMetaData(InputStream)
At TEIDramaReader.java:[line 301]

Method concatenates strings using + in a loop Medium

Method de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader.readCharacters(XMLEventReader, QName) concatenates strings using + in a loop


In file TEIDramaReader.java, line 853
In class de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader
In method de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader.readCharacters(XMLEventReader, QName)
At TEIDramaReader.java:[line 853]

Method concatenates strings using + in a loop Medium

Method de.uni_koeln.spinfo.tesla.component.reader.WikiReader.store(TimeAnnotation, String, String) concatenates strings using + in a loop


In file WikiReader.java, line 400
In class de.uni_koeln.spinfo.tesla.component.reader.WikiReader
In method de.uni_koeln.spinfo.tesla.component.reader.WikiReader.store(TimeAnnotation, String, String)
At WikiReader.java:[line 400]

Should be a static inner class Medium

Should de.uni_koeln.spinfo.tesla.component.berkeleyparser.MultiThreadedParser$ParseResult be a _static_ inner class?


In file MultiThreadedParser.java, lines 149 to 153
In class de.uni_koeln.spinfo.tesla.component.berkeleyparser.MultiThreadedParser$ParseResult
At MultiThreadedParser.java:[lines 149-153]

Should be a static inner class Medium

Should de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveProcessor$TweetComparator be a _static_ inner class?


In file TwitterArchiveProcessor.java, lines 55 to 58
In class de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveProcessor$TweetComparator
At TwitterArchiveProcessor.java:[lines 55-58]

Should be a static inner class Medium

Should de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveProcessor$TwitterEntityComparator be a _static_ inner class?


In file TwitterArchiveProcessor.java, lines 48 to 51
In class de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveProcessor$TwitterEntityComparator
At TwitterArchiveProcessor.java:[lines 48-51]

Should be a static inner class Medium

Should de.uni_koeln.spinfo.tesla.component.sequencer.AnnotationCombiner$Interval be a _static_ inner class?


In file AnnotationCombiner.java, lines 65 to 77
In class de.uni_koeln.spinfo.tesla.component.sequencer.AnnotationCombiner$Interval
At AnnotationCombiner.java:[lines 65-77]

Should be a static inner class Medium

Should de.uni_koeln.spinfo.tesla.component.sequencer.StructureCombiner$Interval be a _static_ inner class?


In file StructureCombiner.java, lines 78 to 90
In class de.uni_koeln.spinfo.tesla.component.sequencer.StructureCombiner$Interval
At StructureCombiner.java:[lines 78-90]

Should be a static inner class Medium

Should de.uni_koeln.spinfo.tesla.tunguska.serializer.JavaSerializer$TeslaObjectInputStream be a _static_ inner class?


In file JavaSerializer.java, lines 46 to 60
In class de.uni_koeln.spinfo.tesla.tunguska.serializer.JavaSerializer$TeslaObjectInputStream
At JavaSerializer.java:[lines 46-60]

Should be a static inner class Medium

Should org.schwiebert.tesla.rangecomparator.FastComparator$AggregatedResult be a _static_ inner class?


In file FastComparator.java, line 110
In class org.schwiebert.tesla.rangecomparator.FastComparator$AggregatedResult
At FastComparator.java:[line 110]

Should be a static inner class Medium

Should org.schwiebert.tesla.rangecomparator.FastComparator$SimpleRange be a _static_ inner class?


In file FastComparator.java, lines 86 to 100
In class org.schwiebert.tesla.rangecomparator.FastComparator$SimpleRange
At FastComparator.java:[lines 86-100]

Unread field: should this field be static? Medium

Unread field: de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader.VOYNICH_INTERLINEAR_FILE_IDENTIFIER; should this field be static?


In file VoynichInterlinearArchiveReader.java, line 128
In class de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader
Field de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader.VOYNICH_INTERLINEAR_FILE_IDENTIFIER
At VoynichInterlinearArchiveReader.java:[line 128]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.core.connection.DisconnectFromServerAction.window


In file DisconnectFromServerAction.java, line 42
In class de.uni_koeln.spinfo.tesla.client.core.connection.DisconnectFromServerAction
Field de.uni_koeln.spinfo.tesla.client.core.connection.DisconnectFromServerAction.window
At DisconnectFromServerAction.java:[line 42]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.core.connection.ServerMessagesReceiver.debug


In file ServerMessagesReceiver.java, line 52
In class de.uni_koeln.spinfo.tesla.client.core.connection.ServerMessagesReceiver
Field de.uni_koeln.spinfo.tesla.client.core.connection.ServerMessagesReceiver.debug
At ServerMessagesReceiver.java:[line 52]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.core.dialogs.TeslaMessageDialog.shell


In file TeslaMessageDialog.java, line 56
In class de.uni_koeln.spinfo.tesla.client.core.dialogs.TeslaMessageDialog
Field de.uni_koeln.spinfo.tesla.client.core.dialogs.TeslaMessageDialog.shell
At TeslaMessageDialog.java:[line 56]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.core.dialogs.TeslaMessageDialog.throwable


In file TeslaMessageDialog.java, line 55
In class de.uni_koeln.spinfo.tesla.client.core.dialogs.TeslaMessageDialog
Field de.uni_koeln.spinfo.tesla.client.core.dialogs.TeslaMessageDialog.throwable
At TeslaMessageDialog.java:[line 55]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.core.util.TeslaLabelProvider.signalGroupStrings


In file TeslaLabelProvider.java, line 386
In class de.uni_koeln.spinfo.tesla.client.core.util.TeslaLabelProvider
Field de.uni_koeln.spinfo.tesla.client.core.util.TeslaLabelProvider.signalGroupStrings
At TeslaLabelProvider.java:[line 386]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.corpusmanager.viewer.ReaderEncodingDialogViewer.table


In file ReaderEncodingDialogViewer.java, line 41
In class de.uni_koeln.spinfo.tesla.client.corpusmanager.viewer.ReaderEncodingDialogViewer
Field de.uni_koeln.spinfo.tesla.client.corpusmanager.viewer.ReaderEncodingDialogViewer.table
At ReaderEncodingDialogViewer.java:[line 41]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.styledtext.DetailsTreeContentProvider.roots


In file DetailsTreeContentProvider.java, line 36
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.styledtext.DetailsTreeContentProvider
Field de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.styledtext.DetailsTreeContentProvider.roots
At DetailsTreeContentProvider.java:[line 36]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.StructureAnalyzer.maxSize


In file StructureAnalyzer.java, line 72
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.StructureAnalyzer
Field de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.StructureAnalyzer.maxSize
At StructureAnalyzer.java:[line 72]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.evaluation.util.LabelUtil.descriptor


In file LabelUtil.java, line 20
In class de.uni_koeln.spinfo.tesla.client.evaluation.util.LabelUtil
Field de.uni_koeln.spinfo.tesla.client.evaluation.util.LabelUtil.descriptor
At LabelUtil.java:[line 20]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.launcher.launch.TeslaLaunchDelegate.sources


In file TeslaLaunchDelegate.java, line 188
In class de.uni_koeln.spinfo.tesla.client.launcher.launch.TeslaLaunchDelegate
Field de.uni_koeln.spinfo.tesla.client.launcher.launch.TeslaLaunchDelegate.sources
At TeslaLaunchDelegate.java:[line 188]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.socketlogger.preferences.ConfigurableComboFieldEditor.entryNamesAndValues


In file ConfigurableComboFieldEditor.java, line 53
In class de.uni_koeln.spinfo.tesla.client.socketlogger.preferences.ConfigurableComboFieldEditor
Field de.uni_koeln.spinfo.tesla.client.socketlogger.preferences.ConfigurableComboFieldEditor.entryNamesAndValues
At ConfigurableComboFieldEditor.java:[line 53]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.ui.editors.gef.actions.ConsumesConnectionFactory.factory


In file ConsumesConnectionFactory.java, line 32
In class de.uni_koeln.spinfo.tesla.client.ui.editors.gef.actions.ConsumesConnectionFactory
Field de.uni_koeln.spinfo.tesla.client.ui.editors.gef.actions.ConsumesConnectionFactory.factory
At ConsumesConnectionFactory.java:[line 32]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.ui.editors.gef.policies.DiagramRootLayoutPolicy.editPart


In file DiagramRootLayoutPolicy.java, line 45
In class de.uni_koeln.spinfo.tesla.client.ui.editors.gef.policies.DiagramRootLayoutPolicy
Field de.uni_koeln.spinfo.tesla.client.ui.editors.gef.policies.DiagramRootLayoutPolicy.editPart
At DiagramRootLayoutPolicy.java:[line 45]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.ui.views.ComponentStateComposite.testCancelThread


In file ComponentStateComposite.java, line 60
In class de.uni_koeln.spinfo.tesla.client.ui.views.ComponentStateComposite
Field de.uni_koeln.spinfo.tesla.client.ui.views.ComponentStateComposite.testCancelThread
At ComponentStateComposite.java:[line 60]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.ui.wizards.GraphWizard.parent


In file GraphWizard.java, line 82
In class de.uni_koeln.spinfo.tesla.client.ui.wizards.GraphWizard
Field de.uni_koeln.spinfo.tesla.client.ui.wizards.GraphWizard.parent
At GraphWizard.java:[line 82]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.client.ui.wizards.GraphWizard.selection


In file GraphWizard.java, line 221
In class de.uni_koeln.spinfo.tesla.client.ui.wizards.GraphWizard
Field de.uni_koeln.spinfo.tesla.client.ui.wizards.GraphWizard.selection
At GraphWizard.java:[line 221]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.expressions.util.GermanDateMatcher.s


In file GermanDateMatcher.java, line 17
In class de.uni_koeln.spinfo.tesla.component.expressions.util.GermanDateMatcher
Field de.uni_koeln.spinfo.tesla.component.expressions.util.GermanDateMatcher.s
At GermanDateMatcher.java:[line 17]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.kmeans.KMeansClustererComponent.numberOfThreads


In file KMeansClustererComponent.java, line 86
In class de.uni_koeln.spinfo.tesla.component.kmeans.KMeansClustererComponent
Field de.uni_koeln.spinfo.tesla.component.kmeans.KMeansClustererComponent.numberOfThreads
At KMeansClustererComponent.java:[line 86]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.lemmy.Morphy.tagUnknown


In file Morphy.java, line 78
In class de.uni_koeln.spinfo.tesla.component.lemmy.Morphy
Field de.uni_koeln.spinfo.tesla.component.lemmy.Morphy.tagUnknown
At Morphy.java:[line 78]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.lemmy.Morphy.useMultipleTags


In file Morphy.java, line 84
In class de.uni_koeln.spinfo.tesla.component.lemmy.Morphy
Field de.uni_koeln.spinfo.tesla.component.lemmy.Morphy.useMultipleTags
At Morphy.java:[line 84]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.reader.BNCReader.factory


In file BNCReader.java, line 81
In class de.uni_koeln.spinfo.tesla.component.reader.BNCReader
Field de.uni_koeln.spinfo.tesla.component.reader.BNCReader.factory
At BNCReader.java:[line 81]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.reader.BNCReader$IntPair.start


In file BNCReader.java, line 206
In class de.uni_koeln.spinfo.tesla.component.reader.BNCReader$IntPair
Field de.uni_koeln.spinfo.tesla.component.reader.BNCReader$IntPair.start
At BNCReader.java:[line 206]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.reader.BrownTEIReader.factory


In file BrownTEIReader.java, line 82
In class de.uni_koeln.spinfo.tesla.component.reader.BrownTEIReader
Field de.uni_koeln.spinfo.tesla.component.reader.BrownTEIReader.factory
At BrownTEIReader.java:[line 82]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.reader.BrownTEIReader$IntPair.start


In file BrownTEIReader.java, line 186
In class de.uni_koeln.spinfo.tesla.component.reader.BrownTEIReader$IntPair
Field de.uni_koeln.spinfo.tesla.component.reader.BrownTEIReader$IntPair.start
At BrownTEIReader.java:[line 186]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.reader.ChildesReader.add


In file ChildesReader.java, line 244
In class de.uni_koeln.spinfo.tesla.component.reader.ChildesReader
Field de.uni_koeln.spinfo.tesla.component.reader.ChildesReader.add
At ChildesReader.java:[line 244]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.reader.TigerCorpusReader.converter


In file TigerCorpusReader.java, line 151
In class de.uni_koeln.spinfo.tesla.component.reader.TigerCorpusReader
Field de.uni_koeln.spinfo.tesla.component.reader.TigerCorpusReader.converter
At TigerCorpusReader.java:[line 151]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.reader.TigerCorpusReader.morphologyErrors


In file TigerCorpusReader.java, line 153
In class de.uni_koeln.spinfo.tesla.component.reader.TigerCorpusReader
Field de.uni_koeln.spinfo.tesla.component.reader.TigerCorpusReader.morphologyErrors
At TigerCorpusReader.java:[line 153]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.reader.TigerCorpusReader.morphologySucesses


In file TigerCorpusReader.java, line 154
In class de.uni_koeln.spinfo.tesla.component.reader.TigerCorpusReader
Field de.uni_koeln.spinfo.tesla.component.reader.TigerCorpusReader.morphologySucesses
At TigerCorpusReader.java:[line 154]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveProcessor.urls


In file TwitterArchiveProcessor.java, line 34
In class de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveProcessor
Field de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveProcessor.urls
At TwitterArchiveProcessor.java:[line 34]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.spre.Accumulator.accumulationValue


In file Accumulator.java, line 51
In class de.uni_koeln.spinfo.tesla.component.spre.Accumulator
Field de.uni_koeln.spinfo.tesla.component.spre.Accumulator.accumulationValue
At Accumulator.java:[line 51]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.component.sttstagger.SttsTagger$TaggerResult.token


In file SttsTagger.java, line 125
In class de.uni_koeln.spinfo.tesla.component.sttstagger.SttsTagger$TaggerResult
Field de.uni_koeln.spinfo.tesla.component.sttstagger.SttsTagger$TaggerResult.token
At SttsTagger.java:[line 125]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.components.componenttester.ITestResultsAccessAdapter$AdapterTest.adapter


In file ITestResultsAccessAdapter.java, line 31
In class de.uni_koeln.spinfo.tesla.components.componenttester.ITestResultsAccessAdapter$AdapterTest
Field de.uni_koeln.spinfo.tesla.components.componenttester.ITestResultsAccessAdapter$AdapterTest.adapter
At ITestResultsAccessAdapter.java:[line 31]

Unread field Medium

Unread field: de.uni_koeln.spinfo.tesla.roles.categorizer.access.ITemporalExpressionAccessAdapter$AdapterTest.adapter


In file ITemporalExpressionAccessAdapter.java, line 25
In class de.uni_koeln.spinfo.tesla.roles.categorizer.access.ITemporalExpressionAccessAdapter$AdapterTest
Field de.uni_koeln.spinfo.tesla.roles.categorizer.access.ITemporalExpressionAccessAdapter$AdapterTest.adapter
At ITemporalExpressionAccessAdapter.java:[line 25]

Unused field Medium

Unused field: de.uni_koeln.spinfo.cryptology.steganalysis.util.StegCipherUtils.pos


In file StegCipherUtils.java, lines to
In class de.uni_koeln.spinfo.cryptology.steganalysis.util.StegCipherUtils
Field de.uni_koeln.spinfo.cryptology.steganalysis.util.StegCipherUtils.pos
In StegCipherUtils.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.cryptology.steganalysis.util.StegCipherUtils.positions


In file StegCipherUtils.java, lines to
In class de.uni_koeln.spinfo.cryptology.steganalysis.util.StegCipherUtils
Field de.uni_koeln.spinfo.cryptology.steganalysis.util.StegCipherUtils.positions
In StegCipherUtils.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.client.corpusmanager.wizards.PatchedWizardResourceImportPage.initialContainerFieldValue


In file PatchedWizardResourceImportPage.java, lines to
In class de.uni_koeln.spinfo.tesla.client.corpusmanager.wizards.PatchedWizardResourceImportPage
Field de.uni_koeln.spinfo.tesla.client.corpusmanager.wizards.PatchedWizardResourceImportPage.initialContainerFieldValue
In PatchedWizardResourceImportPage.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.client.socketlogger.views.console.ConsoleAppender$UpdateListRunnable.counter


In file ConsoleAppender.java, lines to
In class de.uni_koeln.spinfo.tesla.client.socketlogger.views.console.ConsoleAppender$UpdateListRunnable
Field de.uni_koeln.spinfo.tesla.client.socketlogger.views.console.ConsoleAppender$UpdateListRunnable.counter
In ConsoleAppender.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.jython.indexer.JythonIndexer.inputAdapter


In file JythonIndexer.java, lines to
In class de.uni_koeln.spinfo.tesla.component.jython.indexer.JythonIndexer
Field de.uni_koeln.spinfo.tesla.component.jython.indexer.JythonIndexer.inputAdapter
In JythonIndexer.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.jython.indexer.JythonIndexer.stems


In file JythonIndexer.java, lines to
In class de.uni_koeln.spinfo.tesla.component.jython.indexer.JythonIndexer
Field de.uni_koeln.spinfo.tesla.component.jython.indexer.JythonIndexer.stems
In JythonIndexer.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.jython.parser.JythonCombinatorParser.sa


In file JythonCombinatorParser.java, lines to
In class de.uni_koeln.spinfo.tesla.component.jython.parser.JythonCombinatorParser
Field de.uni_koeln.spinfo.tesla.component.jython.parser.JythonCombinatorParser.sa
In JythonCombinatorParser.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.jython.parser.JythonCombinatorParser.sentences


In file JythonCombinatorParser.java, lines to
In class de.uni_koeln.spinfo.tesla.component.jython.parser.JythonCombinatorParser
Field de.uni_koeln.spinfo.tesla.component.jython.parser.JythonCombinatorParser.sentences
In JythonCombinatorParser.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonPorterStemmer.stems


In file JythonPorterStemmer.java, lines to
In class de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonPorterStemmer
Field de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonPorterStemmer.stems
In JythonPorterStemmer.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonPorterStemmer.words


In file JythonPorterStemmer.java, lines to
In class de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonPorterStemmer
Field de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonPorterStemmer.words
In JythonPorterStemmer.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonRegexStemmer.expressions


In file JythonRegexStemmer.java, lines to
In class de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonRegexStemmer
Field de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonRegexStemmer.expressions
In JythonRegexStemmer.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonRegexStemmer.stems


In file JythonRegexStemmer.java, lines to
In class de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonRegexStemmer
Field de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonRegexStemmer.stems
In JythonRegexStemmer.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonRegexStemmer.words


In file JythonRegexStemmer.java, lines to
In class de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonRegexStemmer
Field de.uni_koeln.spinfo.tesla.component.jython.stemmer.JythonRegexStemmer.words
In JythonRegexStemmer.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.reader.BlogCorpusReader.attributes


In file BlogCorpusReader.java, lines to
In class de.uni_koeln.spinfo.tesla.component.reader.BlogCorpusReader
Field de.uni_koeln.spinfo.tesla.component.reader.BlogCorpusReader.attributes
In BlogCorpusReader.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.reader.ChildesReader.ignorePunctuation


In file ChildesReader.java, lines to
In class de.uni_koeln.spinfo.tesla.component.reader.ChildesReader
Field de.uni_koeln.spinfo.tesla.component.reader.ChildesReader.ignorePunctuation
In ChildesReader.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.reader.LatexReader.factory


In file LatexReader.java, lines to
In class de.uni_koeln.spinfo.tesla.component.reader.LatexReader
Field de.uni_koeln.spinfo.tesla.component.reader.LatexReader.factory
In LatexReader.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.sequencer.AnnotationCombiner$Interval.elements


In file AnnotationCombiner.java, lines to
In class de.uni_koeln.spinfo.tesla.component.sequencer.AnnotationCombiner$Interval
Field de.uni_koeln.spinfo.tesla.component.sequencer.AnnotationCombiner$Interval.elements
In AnnotationCombiner.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.sequencer.StructureCombiner$Interval.elements


In file StructureCombiner.java, lines to
In class de.uni_koeln.spinfo.tesla.component.sequencer.StructureCombiner$Interval
Field de.uni_koeln.spinfo.tesla.component.sequencer.StructureCombiner$Interval.elements
In StructureCombiner.java

Unused field Medium

Unused field: de.uni_koeln.spinfo.tesla.component.sequencer.TypeFrequencies.outputAdapter


In file TypeFrequencies.java, lines to
In class de.uni_koeln.spinfo.tesla.component.sequencer.TypeFrequencies
Field de.uni_koeln.spinfo.tesla.component.sequencer.TypeFrequencies.outputAdapter
In TypeFrequencies.java

Unused field Medium

Unused field: org.schwiebert.tesla.rangecomparator.SequenceMetrics.dummy


In file SequenceMetrics.java, lines to
In class org.schwiebert.tesla.rangecomparator.SequenceMetrics
Field org.schwiebert.tesla.rangecomparator.SequenceMetrics.dummy
In SequenceMetrics.java

Unused field Medium

Unused field: tests.TestSPre.preprocessor


In file TestSPre.java, lines to
In class tests.TestSPre
Field tests.TestSPre.preprocessor
In TestSPre.java

Unused field Medium

Unused field: tests.TestSPre.txtReader


In file TestSPre.java, lines to
In class tests.TestSPre
Field tests.TestSPre.txtReader
In TestSPre.java

Unused field Medium

Unused field: tests.TestSPre.wordParser


In file TestSPre.java, lines to
In class tests.TestSPre
Field tests.TestSPre.wordParser
In TestSPre.java

Inefficient use of keySet iterator instead of entrySet iterator Medium

Method de.uni_koeln.spinfo.tesla.client.ui.actions.DeleteExperimentAction$1.run(IProgressMonitor) makes inefficient use of keySet iterator instead of entrySet iterator


In file DeleteExperimentAction.java, line 119
In class de.uni_koeln.spinfo.tesla.client.ui.actions.DeleteExperimentAction$1
In method de.uni_koeln.spinfo.tesla.client.ui.actions.DeleteExperimentAction$1.run(IProgressMonitor)
At DeleteExperimentAction.java:[line 119]

Inefficient use of keySet iterator instead of entrySet iterator Medium

Method new de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ComponentVertex(ComponentEntity, Experiment) makes inefficient use of keySet iterator instead of entrySet iterator


In file ComponentVertex.java, line 90
In class de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ComponentVertex
In method new de.uni_koeln.spinfo.tesla.client.ui.editors.gef.model.ComponentVertex(ComponentEntity, Experiment)
At ComponentVertex.java:[line 90]

Inefficient use of keySet iterator instead of entrySet iterator Medium

Method de.uni_koeln.spinfo.tesla.component.corpusstatistics.calculators.TokenCharTree.addWords(Map) makes inefficient use of keySet iterator instead of entrySet iterator


In file TokenCharTree.java, line 115
In class de.uni_koeln.spinfo.tesla.component.corpusstatistics.calculators.TokenCharTree
In method de.uni_koeln.spinfo.tesla.component.corpusstatistics.calculators.TokenCharTree.addWords(Map)
At TokenCharTree.java:[line 115]

Inefficient use of keySet iterator instead of entrySet iterator Medium

Method de.uni_koeln.spinfo.tesla.component.corpusstatistics.util.CSVExporter.aggregate(Map) makes inefficient use of keySet iterator instead of entrySet iterator


In file CSVExporter.java, line 91
In class de.uni_koeln.spinfo.tesla.component.corpusstatistics.util.CSVExporter
In method de.uni_koeln.spinfo.tesla.component.corpusstatistics.util.CSVExporter.aggregate(Map)
At CSVExporter.java:[line 91]

Inefficient use of keySet iterator instead of entrySet iterator Medium

Method de.uni_koeln.spinfo.tesla.component.corpusstatistics.util.CSVExporter.export(String, Map) makes inefficient use of keySet iterator instead of entrySet iterator


In file CSVExporter.java, line 53
In class de.uni_koeln.spinfo.tesla.component.corpusstatistics.util.CSVExporter
In method de.uni_koeln.spinfo.tesla.component.corpusstatistics.util.CSVExporter.export(String, Map)
At CSVExporter.java:[line 53]

Inefficient use of keySet iterator instead of entrySet iterator Medium

Method de.uni_koeln.spinfo.tesla.component.gazetteer.KeywordTreeNode.mergeChildren(Map, Set) makes inefficient use of keySet iterator instead of entrySet iterator


In file KeywordTreeNode.java, line 50
In class de.uni_koeln.spinfo.tesla.component.gazetteer.KeywordTreeNode
In method de.uni_koeln.spinfo.tesla.component.gazetteer.KeywordTreeNode.mergeChildren(Map, Set)
At KeywordTreeNode.java:[line 50]

Inefficient use of keySet iterator instead of entrySet iterator Medium

Method de.uni_koeln.spinfo.tesla.component.geolocations.util.KeywordTreeNode.mergeChildren(Map, Set) makes inefficient use of keySet iterator instead of entrySet iterator


In file KeywordTreeNode.java, line 50
In class de.uni_koeln.spinfo.tesla.component.geolocations.util.KeywordTreeNode
In method de.uni_koeln.spinfo.tesla.component.geolocations.util.KeywordTreeNode.mergeChildren(Map, Set)
At KeywordTreeNode.java:[line 50]

Inefficient use of keySet iterator instead of entrySet iterator Medium

Method de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader.processData(InputStream, boolean, String, String) makes inefficient use of keySet iterator instead of entrySet iterator


In file VoynichInterlinearArchiveReader.java, line 302
In class de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader
In method de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader.processData(InputStream, boolean, String, String)
At VoynichInterlinearArchiveReader.java:[line 302]

Inefficient use of keySet iterator instead of entrySet iterator Medium

Method new de.uni_koeln.spinfo.tesla.server.TeslaAuthorityGranter() makes inefficient use of keySet iterator instead of entrySet iterator


In file TeslaAuthorityGranter.java, line 36
In class de.uni_koeln.spinfo.tesla.server.TeslaAuthorityGranter
In method new de.uni_koeln.spinfo.tesla.server.TeslaAuthorityGranter()
At TeslaAuthorityGranter.java:[line 36]

Inefficient use of keySet iterator instead of entrySet iterator Medium

Method tests.CryptoComponentTester.testMethods() makes inefficient use of keySet iterator instead of entrySet iterator


In file CryptoComponentTester.java, line 56
In class tests.CryptoComponentTester
In method tests.CryptoComponentTester.testMethods()
At CryptoComponentTester.java:[line 56]

Back to top
Warning Priority Details
Dead store to local variable High

Dead store to types in de.uni_koeln.spinfo.tesla.component.spre.SPre2Component.preprocessDocument(SPreParser, TeslaDocument)


In file SPre2Component.java, line 204
In class de.uni_koeln.spinfo.tesla.component.spre.SPre2Component
In method de.uni_koeln.spinfo.tesla.component.spre.SPre2Component.preprocessDocument(SPreParser, TeslaDocument)
Local variable named types
At SPre2Component.java:[line 204]

Dereference of the result of readLine() without nullcheck High

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader.supportsContent(InputStream)


In file VoynichInterlinearArchiveReader.java, line 193
In class de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader
In method de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader.supportsContent(InputStream)
Called method de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader.testIdentifier(String)
Argument 1 might be null but must not be null
Local variable stored in JVM register ?
At VoynichInterlinearArchiveReader.java:[line 193]

Potentially dangerous use of non-short-circuit logic High

Potentially dangerous use of non-short-circuit logic in de.uni_koeln.spinfo.tesla.component.spre.SPre2Component.preprocessDocument(SPreParser, TeslaDocument)


In file SPre2Component.java, line 207
In class de.uni_koeln.spinfo.tesla.component.spre.SPre2Component
In method de.uni_koeln.spinfo.tesla.component.spre.SPre2Component.preprocessDocument(SPreParser, TeslaDocument)
At SPre2Component.java:[line 207]

Potentially dangerous use of non-short-circuit logic High

Potentially dangerous use of non-short-circuit logic in de.uni_koeln.spinfo.tesla.component.spre.SPre2Component.run()


In file SPre2Component.java, line 170
In class de.uni_koeln.spinfo.tesla.component.spre.SPre2Component
In method de.uni_koeln.spinfo.tesla.component.spre.SPre2Component.run()
At SPre2Component.java:[line 170]

Write to static field from instance method High

Write to static field de.uni_koeln.spinfo.cryptology.steganalysis.util.State.lastSymbol from instance method de.uni_koeln.spinfo.cryptology.steganalysis.util.State.emitSymbol()


In file State.java, line 28
In class de.uni_koeln.spinfo.cryptology.steganalysis.util.State
In method de.uni_koeln.spinfo.cryptology.steganalysis.util.State.emitSymbol()
Field de.uni_koeln.spinfo.cryptology.steganalysis.util.State.lastSymbol
At State.java:[line 28]

Write to static field from instance method High

Write to static field de.uni_koeln.spinfo.tesla.client.core.provider.components.ComponentTree.ru from instance method new de.uni_koeln.spinfo.tesla.client.core.provider.components.ComponentTree(Collection)


In file ComponentTree.java, line 32
In class de.uni_koeln.spinfo.tesla.client.core.provider.components.ComponentTree
In method new de.uni_koeln.spinfo.tesla.client.core.provider.components.ComponentTree(Collection)
Field de.uni_koeln.spinfo.tesla.client.core.provider.components.ComponentTree.ru
At ComponentTree.java:[line 32]

Write to static field from instance method High

Write to static field de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.file from instance method de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.setUp()


In file TestBioXLSXReader.java, line 26
In class de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader
In method de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.setUp()
Field de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.file
At TestBioXLSXReader.java:[line 26]

Write to static field from instance method High

Write to static field de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.reader from instance method de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.setUp()


In file TestBioXLSXReader.java, line 25
In class de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader
In method de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.setUp()
Field de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.reader
At TestBioXLSXReader.java:[line 25]

Write to static field from instance method High

Write to static field de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader.file from instance method de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader.setUp()


In file TestTEIDramaReader.java, line 24
In class de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader
In method de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader.setUp()
Field de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader.file
At TestTEIDramaReader.java:[line 24]

Write to static field from instance method High

Write to static field de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader.reader from instance method de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader.setUp()


In file TestTEIDramaReader.java, line 23
In class de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader
In method de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader.setUp()
Field de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader.reader
At TestTEIDramaReader.java:[line 23]

Unchecked/unconfirmed cast Medium

Unchecked/unconfirmed cast from de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.data.SimpleFeature to de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.data.AnnotationFeature in de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.brackettext.BracketTextEditor$5.compare(SimpleFeature, SimpleFeature)


In file BracketTextEditor.java, line 311
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.brackettext.BracketTextEditor$5
In method de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.brackettext.BracketTextEditor$5.compare(SimpleFeature, SimpleFeature)
Actual type de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.data.SimpleFeature
Expected de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.data.AnnotationFeature
Value loaded from o1
At BracketTextEditor.java:[line 311]

Unchecked/unconfirmed cast Medium

Unchecked/unconfirmed cast from de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.data.SimpleFeature to de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.data.AnnotationFeature in de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.brackettext.BracketTextEditor$5.compare(SimpleFeature, SimpleFeature)


In file BracketTextEditor.java, line 312
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.brackettext.BracketTextEditor$5
In method de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.brackettext.BracketTextEditor$5.compare(SimpleFeature, SimpleFeature)
Actual type de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.data.SimpleFeature
Expected de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.data.AnnotationFeature
Value loaded from o2
At BracketTextEditor.java:[line 312]

instanceof will always return true Medium

instanceof will always return true in de.uni_koeln.spinfo.tesla.client.ui.editors.ExperimentEditor.checkDirty(boolean), since all de.uni_koeln.spinfo.tesla.client.ui.editors.ExperimentEditor are instances of de.uni_koeln.spinfo.tesla.client.ui.editors.ExperimentEditor


In file ExperimentEditor.java, line 383
In class de.uni_koeln.spinfo.tesla.client.ui.editors.ExperimentEditor
In method de.uni_koeln.spinfo.tesla.client.ui.editors.ExperimentEditor.checkDirty(boolean)
Actual type de.uni_koeln.spinfo.tesla.client.ui.editors.ExperimentEditor
Expected de.uni_koeln.spinfo.tesla.client.ui.editors.ExperimentEditor
At ExperimentEditor.java:[line 383]

Unchecked/unconfirmed cast Medium

Unchecked/unconfirmed cast from de.uni_koeln.spinfo.tesla.runtime.persistence.TeslaDocument to de.uni_koeln.spinfo.tesla.lucene.dummy.FakeTeslaDocument in de.uni_koeln.spinfo.tesla.lucene.dummy.FakeDataProvider.getDataFromTeslaDocument(TeslaDocument)


In file FakeDataProvider.java, line 21
In class de.uni_koeln.spinfo.tesla.lucene.dummy.FakeDataProvider
In method de.uni_koeln.spinfo.tesla.lucene.dummy.FakeDataProvider.getDataFromTeslaDocument(TeslaDocument)
Actual type de.uni_koeln.spinfo.tesla.runtime.persistence.TeslaDocument
Expected de.uni_koeln.spinfo.tesla.lucene.dummy.FakeTeslaDocument
Value loaded from doc
At FakeDataProvider.java:[line 21]

Method uses the same code for two branches Medium

Method de.uni_koeln.spinfo.tesla.client.ide.builders.TeslaComponentProjectBuilder.build(int, Map, IProgressMonitor) uses the same code for two branches


In file TeslaComponentProjectBuilder.java, line 66
In class de.uni_koeln.spinfo.tesla.client.ide.builders.TeslaComponentProjectBuilder
In method de.uni_koeln.spinfo.tesla.client.ide.builders.TeslaComponentProjectBuilder.build(int, Map, IProgressMonitor)
At TeslaComponentProjectBuilder.java:[line 66]
At TeslaComponentProjectBuilder.java:[line 69]

Dead store to local variable Medium

Dead store to leftConstrain in de.uni_koeln.spinfo.tesla.annotation.adapter.db4o.AbstractDB4OAccessAdapter.constraintRange(Query, Range)


In file AbstractDB4OAccessAdapter.java, line 143
In class de.uni_koeln.spinfo.tesla.annotation.adapter.db4o.AbstractDB4OAccessAdapter
In method de.uni_koeln.spinfo.tesla.annotation.adapter.db4o.AbstractDB4OAccessAdapter.constraintRange(Query, Range)
Local variable named leftConstrain
At AbstractDB4OAccessAdapter.java:[line 143]

Dead store to local variable Medium

Dead store to rightConstrain in de.uni_koeln.spinfo.tesla.annotation.adapter.db4o.AbstractDB4OAccessAdapter.constraintRange(Query, Range)


In file AbstractDB4OAccessAdapter.java, line 148
In class de.uni_koeln.spinfo.tesla.annotation.adapter.db4o.AbstractDB4OAccessAdapter
In method de.uni_koeln.spinfo.tesla.annotation.adapter.db4o.AbstractDB4OAccessAdapter.constraintRange(Query, Range)
Local variable named rightConstrain
At AbstractDB4OAccessAdapter.java:[line 148]

Dead store to local variable Medium

Dead store to wizardSettings in new de.uni_koeln.spinfo.tesla.client.corpusmanager.wizards.DocumentUploadWizard()


In file DocumentUploadWizard.java, line 61
In class de.uni_koeln.spinfo.tesla.client.corpusmanager.wizards.DocumentUploadWizard
In method new de.uni_koeln.spinfo.tesla.client.corpusmanager.wizards.DocumentUploadWizard()
Local variable named wizardSettings
At DocumentUploadWizard.java:[line 61]

Dead store to local variable Medium

Dead store to offset in de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.styledtext.HighlightedTextEditor$1.mouseMove(MouseEvent)


In file HighlightedTextEditor.java, line 113
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.styledtext.HighlightedTextEditor$1
In method de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.styledtext.HighlightedTextEditor$1.mouseMove(MouseEvent)
Local variable named offset
At HighlightedTextEditor.java:[line 113]

Dead store to local variable Medium

Dead store to unique in de.uni_koeln.spinfo.tesla.component.abl.RandomAlignComponent.run()


In file RandomAlignComponent.java, line 131
In class de.uni_koeln.spinfo.tesla.component.abl.RandomAlignComponent
In method de.uni_koeln.spinfo.tesla.component.abl.RandomAlignComponent.run()
Local variable named unique
Did you mean to refer to the field de.uni_koeln.spinfo.tesla.component.abl.RandomAlignComponent.unique?
At RandomAlignComponent.java:[line 131]

Dead store to local variable Medium

Dead store to leaves in de.uni_koeln.spinfo.tesla.component.stanfordparser.ParserTest.main(String[])


In file ParserTest.java, line 39
In class de.uni_koeln.spinfo.tesla.component.stanfordparser.ParserTest
In method de.uni_koeln.spinfo.tesla.component.stanfordparser.ParserTest.main(String[])
Local variable named leaves
At ParserTest.java:[line 39]

Dead store to local variable Medium

Dead store to cls in de.uni_koeln.spinfo.tesla.runtime.component.annotations.ServerSubclassChoice.getInitialValues()


In file ServerSubclassChoice.java, line 46
In class de.uni_koeln.spinfo.tesla.runtime.component.annotations.ServerSubclassChoice
In method de.uni_koeln.spinfo.tesla.runtime.component.annotations.ServerSubclassChoice.getInitialValues()
Local variable named cls
At ServerSubclassChoice.java:[line 46]

Dead store to local variable Medium

Dead store to logger in de.uni_koeln.spinfo.tesla.runtime.persistence.ComponentEntity.generateMd5Value()


In file ComponentEntity.java, line 489
In class de.uni_koeln.spinfo.tesla.runtime.persistence.ComponentEntity
In method de.uni_koeln.spinfo.tesla.runtime.persistence.ComponentEntity.generateMd5Value()
Local variable named logger
At ComponentEntity.java:[line 489]

Dead store to local variable Medium

Dead store to configurations in tests.CryptoComponentTester.testConfiguration()


In file CryptoComponentTester.java, line 185
In class tests.CryptoComponentTester
In method tests.CryptoComponentTester.testConfiguration()
Local variable named configurations
At CryptoComponentTester.java:[line 185]

Code contains a hard coded reference to an absolute pathname Medium

Hard coded reference to an absolute pathname in de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.ObjectModelGenerator.main(String[])


In file ObjectModelGenerator.java, line 179
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.ObjectModelGenerator
In method de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.ObjectModelGenerator.main(String[])
File name /example.xml
At ObjectModelGenerator.java:[line 179]

Code contains a hard coded reference to an absolute pathname Medium

Hard coded reference to an absolute pathname in de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.PerformanceTest.main(String[])


In file PerformanceTest.java, line 40
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.PerformanceTest
In method de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.PerformanceTest.main(String[])
File name /example.xml
At PerformanceTest.java:[line 40]

Code contains a hard coded reference to an absolute pathname Medium

Hard coded reference to an absolute pathname in de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.StructureAnalyzer.main(String[])


In file StructureAnalyzer.java, line 158
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.StructureAnalyzer
In method de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.StructureAnalyzer.main(String[])
File name /example.xml
At StructureAnalyzer.java:[line 158]

Code contains a hard coded reference to an absolute pathname Medium

Hard coded reference to an absolute pathname in de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.TestVectorExtractor.main(String[])


In file TestVectorExtractor.java, line 66
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.TestVectorExtractor
In method de.uni_koeln.spinfo.tesla.client.evaluation.core.parsers.TestVectorExtractor.main(String[])
File name /example.xml
At TestVectorExtractor.java:[line 66]

Code contains a hard coded reference to an absolute pathname Medium

Hard coded reference to an absolute pathname in de.uni_koeln.spinfo.tesla.component.reader.BrownTEIReader.main(String[])


In file BrownTEIReader.java, line 394
In class de.uni_koeln.spinfo.tesla.component.reader.BrownTEIReader
In method de.uni_koeln.spinfo.tesla.component.reader.BrownTEIReader.main(String[])
File name /Volumes/Daten/stephan/nltk_data/corpora/brown_tei/c01.xml
At BrownTEIReader.java:[line 394]

integral division result cast to double or float Medium

integral division result cast to double or float in de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.ResultSummaryPage.addSummary(ScrolledForm, FormToolkit, ComponentEntity)


In file ResultSummaryPage.java, line 445
In class de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.ResultSummaryPage
In method de.uni_koeln.spinfo.tesla.client.evaluation.core.pages.ResultSummaryPage.addSummary(ScrolledForm, FormToolkit, ComponentEntity)
At ResultSummaryPage.java:[line 445]

integral division result cast to double or float Medium

integral division result cast to double or float in de.uni_koeln.spinfo.tesla.component.kmeans.Clusterer.cluster(List, int, int)


In file Clusterer.java, line 57
In class de.uni_koeln.spinfo.tesla.component.kmeans.Clusterer
In method de.uni_koeln.spinfo.tesla.component.kmeans.Clusterer.cluster(List, int, int)
At Clusterer.java:[line 57]

integral division result cast to double or float Medium

integral division result cast to double or float in de.uni_koeln.spinfo.tesla.component.kmeans.KMeansClustererComponent.run()


In file KMeansClustererComponent.java, line 137
In class de.uni_koeln.spinfo.tesla.component.kmeans.KMeansClustererComponent
In method de.uni_koeln.spinfo.tesla.component.kmeans.KMeansClustererComponent.run()
At KMeansClustererComponent.java:[line 137]

integral division result cast to double or float Medium

integral division result cast to double or float in de.uni_koeln.spinfo.tesla.components.componenttester.ComponentTester.run()


In file ComponentTester.java, line 83
In class de.uni_koeln.spinfo.tesla.components.componenttester.ComponentTester
In method de.uni_koeln.spinfo.tesla.components.componenttester.ComponentTester.run()
At ComponentTester.java:[line 83]

Check for oddness that won't work for negative numbers Medium

Check for oddness that won't work for negative numbers in de.uni_koeln.spinfo.cryptology.cryptanalysis.CryptoCipherUtils.getBigrams(String)


In file CryptoCipherUtils.java, line 388
In class de.uni_koeln.spinfo.cryptology.cryptanalysis.CryptoCipherUtils
In method de.uni_koeln.spinfo.cryptology.cryptanalysis.CryptoCipherUtils.getBigrams(String)
At CryptoCipherUtils.java:[line 388]

Check for oddness that won't work for negative numbers Medium

Check for oddness that won't work for negative numbers in de.uni_koeln.spinfo.tesla.client.ui.editors.gef.TeslaManhattanConnectionRouter.getColumnNear(Connection, int, int, int)


In file TeslaManhattanConnectionRouter.java, line 76
In class de.uni_koeln.spinfo.tesla.client.ui.editors.gef.TeslaManhattanConnectionRouter
In method de.uni_koeln.spinfo.tesla.client.ui.editors.gef.TeslaManhattanConnectionRouter.getColumnNear(Connection, int, int, int)
At TeslaManhattanConnectionRouter.java:[line 76]

Check for oddness that won't work for negative numbers Medium

Check for oddness that won't work for negative numbers in de.uni_koeln.spinfo.tesla.client.ui.editors.gef.TeslaManhattanConnectionRouter.getRowNear(Connection, int, int, int)


In file TeslaManhattanConnectionRouter.java, line 120
In class de.uni_koeln.spinfo.tesla.client.ui.editors.gef.TeslaManhattanConnectionRouter
In method de.uni_koeln.spinfo.tesla.client.ui.editors.gef.TeslaManhattanConnectionRouter.getRowNear(Connection, int, int, int)
At TeslaManhattanConnectionRouter.java:[line 120]

Check for oddness that won't work for negative numbers Medium

Check for oddness that won't work for negative numbers in de.uni_koeln.spinfo.tesla.client.ui.editors.gef.TeslaManhattanConnectionRouter.processPositions(Ray, Ray, List, boolean, Connection)


In file TeslaManhattanConnectionRouter.java, line 162
In class de.uni_koeln.spinfo.tesla.client.ui.editors.gef.TeslaManhattanConnectionRouter
In method de.uni_koeln.spinfo.tesla.client.ui.editors.gef.TeslaManhattanConnectionRouter.processPositions(Ray, Ray, List, boolean, Connection)
At TeslaManhattanConnectionRouter.java:[line 162]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.BlogCorpusReader.testSupport(BufferedReader)


In file BlogCorpusReader.java, line 204
In class de.uni_koeln.spinfo.tesla.component.reader.BlogCorpusReader
In method de.uni_koeln.spinfo.tesla.component.reader.BlogCorpusReader.testSupport(BufferedReader)
Value loaded from s
At BlogCorpusReader.java:[line 204]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.ChildesReader.supportsContent(InputStream)


In file ChildesReader.java, line 295
In class de.uni_koeln.spinfo.tesla.component.reader.ChildesReader
In method de.uni_koeln.spinfo.tesla.component.reader.ChildesReader.supportsContent(InputStream)
Value loaded from line
At ChildesReader.java:[line 295]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.FASTAReader.processText(InputStream, OutputStream, boolean, String, String)


In file FASTAReader.java, line 58
In class de.uni_koeln.spinfo.tesla.component.reader.FASTAReader
In method de.uni_koeln.spinfo.tesla.component.reader.FASTAReader.processText(InputStream, OutputStream, boolean, String, String)
Value loaded from s
At FASTAReader.java:[line 58]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.FASTAReader.supportsContent(InputStream)


In file FASTAReader.java, line 91
In class de.uni_koeln.spinfo.tesla.component.reader.FASTAReader
In method de.uni_koeln.spinfo.tesla.component.reader.FASTAReader.supportsContent(InputStream)
Local variable stored in JVM register ?
At FASTAReader.java:[line 91]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.FASTAReader.supportsContent(InputStream)


In file FASTAReader.java, line 91
In class de.uni_koeln.spinfo.tesla.component.reader.FASTAReader
In method de.uni_koeln.spinfo.tesla.component.reader.FASTAReader.supportsContent(InputStream)
Value loaded from s
At FASTAReader.java:[line 91]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.IncantationReader.supportsContent(InputStream)


In file IncantationReader.java, line 100
In class de.uni_koeln.spinfo.tesla.component.reader.IncantationReader
In method de.uni_koeln.spinfo.tesla.component.reader.IncantationReader.supportsContent(InputStream)
Local variable stored in JVM register ?
At IncantationReader.java:[line 100]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.IncantationReader.supportsContent(InputStream)


In file IncantationReader.java, line 100
In class de.uni_koeln.spinfo.tesla.component.reader.IncantationReader
In method de.uni_koeln.spinfo.tesla.component.reader.IncantationReader.supportsContent(InputStream)
Value loaded from s
At IncantationReader.java:[line 100]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.PortugueseCorpusReader.processText(InputStream, OutputStream, boolean, String, String)


In file PortugueseCorpusReader.java, line 104
In class de.uni_koeln.spinfo.tesla.component.reader.PortugueseCorpusReader
In method de.uni_koeln.spinfo.tesla.component.reader.PortugueseCorpusReader.processText(InputStream, OutputStream, boolean, String, String)
Value loaded from nextLine
At PortugueseCorpusReader.java:[line 104]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.ReutersXmlReader.findString(InputStream, String)


In file ReutersXmlReader.java, line 164
In class de.uni_koeln.spinfo.tesla.component.reader.ReutersXmlReader
In method de.uni_koeln.spinfo.tesla.component.reader.ReutersXmlReader.findString(InputStream, String)
Local variable stored in JVM register ?
At ReutersXmlReader.java:[line 164]
Another occurrence at ReutersXmlReader.java:[line 169]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.ReutersXmlReader.findString(InputStream, String)


In file ReutersXmlReader.java, line 164
In class de.uni_koeln.spinfo.tesla.component.reader.ReutersXmlReader
In method de.uni_koeln.spinfo.tesla.component.reader.ReutersXmlReader.findString(InputStream, String)
Value loaded from s
At ReutersXmlReader.java:[line 164]
Another occurrence at ReutersXmlReader.java:[line 169]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.SentimentCorpusReader.testSupport(BufferedReader)


In file SentimentCorpusReader.java, line 153
In class de.uni_koeln.spinfo.tesla.component.reader.SentimentCorpusReader
In method de.uni_koeln.spinfo.tesla.component.reader.SentimentCorpusReader.testSupport(BufferedReader)
Value loaded from s
At SentimentCorpusReader.java:[line 153]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.SpinfoCorpusReader.testSupport(BufferedReader)


In file SpinfoCorpusReader.java, line 219
In class de.uni_koeln.spinfo.tesla.component.reader.SpinfoCorpusReader
In method de.uni_koeln.spinfo.tesla.component.reader.SpinfoCorpusReader.testSupport(BufferedReader)
Local variable stored in JVM register ?
At SpinfoCorpusReader.java:[line 219]
Another occurrence at SpinfoCorpusReader.java:[line 226]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.SpinfoCorpusReader.testSupport(BufferedReader)


In file SpinfoCorpusReader.java, line 214
In class de.uni_koeln.spinfo.tesla.component.reader.SpinfoCorpusReader
In method de.uni_koeln.spinfo.tesla.component.reader.SpinfoCorpusReader.testSupport(BufferedReader)
Value loaded from s
At SpinfoCorpusReader.java:[line 214]
Another occurrence at SpinfoCorpusReader.java:[line 219]
Another occurrence at SpinfoCorpusReader.java:[line 226]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader.testSupport(BufferedReader)


In file TEIDramaReader.java, line 423
In class de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader
In method de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader.testSupport(BufferedReader)
Local variable stored in JVM register ?
At TEIDramaReader.java:[line 423]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader.testSupport(BufferedReader)


In file TEIDramaReader.java, line 418
In class de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader
In method de.uni_koeln.spinfo.tesla.component.reader.TEIDramaReader.testSupport(BufferedReader)
Value loaded from s
At TEIDramaReader.java:[line 418]
Another occurrence at TEIDramaReader.java:[line 423]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.TueBaXmlReader.supportsContent(InputStream)


In file TueBaXmlReader.java, line 85
In class de.uni_koeln.spinfo.tesla.component.reader.TueBaXmlReader
In method de.uni_koeln.spinfo.tesla.component.reader.TueBaXmlReader.supportsContent(InputStream)
Value loaded from line
At TueBaXmlReader.java:[line 85]
Another occurrence at TueBaXmlReader.java:[line 87]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveReader.supportsContent(InputStream)


In file TwitterArchiveReader.java, line 170
In class de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveReader
In method de.uni_koeln.spinfo.tesla.component.reader.twitter.TwitterArchiveReader.supportsContent(InputStream)
Value loaded from nextLine
At TwitterArchiveReader.java:[line 170]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader.processData(InputStream, boolean, String, String)


In file VoynichInterlinearArchiveReader.java, line 237
In class de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader
In method de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader.processData(InputStream, boolean, String, String)
Called method de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader.testIdentifier(String)
Argument 1 might be null but must not be null
Local variable stored in JVM register ?
At VoynichInterlinearArchiveReader.java:[line 237]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.VulgataReader.supportsContent(InputStream)


In file VulgataReader.java, line 118
In class de.uni_koeln.spinfo.tesla.component.reader.VulgataReader
In method de.uni_koeln.spinfo.tesla.component.reader.VulgataReader.supportsContent(InputStream)
Local variable stored in JVM register ?
At VulgataReader.java:[line 118]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.VulgataReader.supportsContent(InputStream)


In file VulgataReader.java, line 118
In class de.uni_koeln.spinfo.tesla.component.reader.VulgataReader
In method de.uni_koeln.spinfo.tesla.component.reader.VulgataReader.supportsContent(InputStream)
Value loaded from s
At VulgataReader.java:[line 118]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.WikiReader.testSupport(BufferedReader)


In file WikiReader.java, line 492
In class de.uni_koeln.spinfo.tesla.component.reader.WikiReader
In method de.uni_koeln.spinfo.tesla.component.reader.WikiReader.testSupport(BufferedReader)
Local variable stored in JVM register ?
At WikiReader.java:[line 492]
Another occurrence at WikiReader.java:[line 499]

Dereference of the result of readLine() without nullcheck Medium

Dereference of the result of readLine() without nullcheck in de.uni_koeln.spinfo.tesla.component.reader.WikiReader.testSupport(BufferedReader)


In file WikiReader.java, line 487
In class de.uni_koeln.spinfo.tesla.component.reader.WikiReader
In method de.uni_koeln.spinfo.tesla.component.reader.WikiReader.testSupport(BufferedReader)
Value loaded from s
At WikiReader.java:[line 487]
Another occurrence at WikiReader.java:[line 492]
Another occurrence at WikiReader.java:[line 499]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.client.core.connection.TeslaServer.updateLibraries(IProgressMonitor)


In file TeslaServer.java, line 244
In class de.uni_koeln.spinfo.tesla.client.core.connection.TeslaServer
In method de.uni_koeln.spinfo.tesla.client.core.connection.TeslaServer.updateLibraries(IProgressMonitor)
At TeslaServer.java:[line 244]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.client.evaluation.VirtualStorage.getContents()


In file VirtualStorage.java, line 219
In class de.uni_koeln.spinfo.tesla.client.evaluation.VirtualStorage
In method de.uni_koeln.spinfo.tesla.client.evaluation.VirtualStorage.getContents()
At VirtualStorage.java:[line 219]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.client.SimplePingSender.getPing(String, int)


In file SimplePingSender.java, line 28
In class de.uni_koeln.spinfo.tesla.client.SimplePingSender
In method de.uni_koeln.spinfo.tesla.client.SimplePingSender.getPing(String, int)
At SimplePingSender.java:[line 28]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.component.reader.BioXLSXReader.processText(InputStream, OutputStream, boolean, String, String)


In file BioXLSXReader.java, line 248
In class de.uni_koeln.spinfo.tesla.component.reader.BioXLSXReader
In method de.uni_koeln.spinfo.tesla.component.reader.BioXLSXReader.processText(InputStream, OutputStream, boolean, String, String)
At BioXLSXReader.java:[line 248]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader.processData(InputStream, boolean, String, String)


In file VoynichInterlinearArchiveReader.java, line 355
In class de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader
In method de.uni_koeln.spinfo.tesla.component.reader.VoynichInterlinearArchiveReader.processData(InputStream, boolean, String, String)
At VoynichInterlinearArchiveReader.java:[line 355]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.component.stanfordner.NamedEntityRecognizer.run()


In file NamedEntityRecognizer.java, line 165
In class de.uni_koeln.spinfo.tesla.component.stanfordner.NamedEntityRecognizer
In method de.uni_koeln.spinfo.tesla.component.stanfordner.NamedEntityRecognizer.run()
At NamedEntityRecognizer.java:[line 165]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.datasource.zip.IndexManager.getIndex(File, File, String)


In file IndexManager.java, line 44
In class de.uni_koeln.spinfo.tesla.datasource.zip.IndexManager
In method de.uni_koeln.spinfo.tesla.datasource.zip.IndexManager.getIndex(File, File, String)
At IndexManager.java:[line 44]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.runtime.execution.ExperimentExecutor.setSignalAdapters(Experiment, TeslaComponent, ComponentEntity, int, int)


In file ExperimentExecutor.java, line 936
In class de.uni_koeln.spinfo.tesla.runtime.execution.ExperimentExecutor
In method de.uni_koeln.spinfo.tesla.runtime.execution.ExperimentExecutor.setSignalAdapters(Experiment, TeslaComponent, ComponentEntity, int, int)
At ExperimentExecutor.java:[line 936]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.runtime.export.DefaultsUtility.hasParameterAnnotation(Method, Class, int)


In file DefaultsUtility.java, line 169
In class de.uni_koeln.spinfo.tesla.runtime.export.DefaultsUtility
In method de.uni_koeln.spinfo.tesla.runtime.export.DefaultsUtility.hasParameterAnnotation(Method, Class, int)
At DefaultsUtility.java:[line 169]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.runtime.export.MethodDescription.getVisualizable(Method)


In file MethodDescription.java, line 94
In class de.uni_koeln.spinfo.tesla.runtime.export.MethodDescription
In method de.uni_koeln.spinfo.tesla.runtime.export.MethodDescription.getVisualizable(Method)
At MethodDescription.java:[line 94]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.runtime.Runtime.onMessage(Message)


In file Runtime.java, line 198
In class de.uni_koeln.spinfo.tesla.runtime.Runtime
In method de.uni_koeln.spinfo.tesla.runtime.Runtime.onMessage(Message)
At Runtime.java:[line 198]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.runtime.WardenclyffeBean.getRestrictionDescription(String, String, List)


In file WardenclyffeBean.java, line 382
In class de.uni_koeln.spinfo.tesla.runtime.WardenclyffeBean
In method de.uni_koeln.spinfo.tesla.runtime.WardenclyffeBean.getRestrictionDescription(String, String, List)
At WardenclyffeBean.java:[line 382]

Exception is caught when Exception is not thrown Medium

Exception is caught when Exception is not thrown in de.uni_koeln.spinfo.tesla.server.Server.getServerPID()


In file Server.java, line 285
In class de.uni_koeln.spinfo.tesla.server.Server
In method de.uni_koeln.spinfo.tesla.server.Server.getServerPID()
At Server.java:[line 285]

Switch statement found where one case falls through to the next case Medium

Switch statement found in de.uni_koeln.spinfo.tesla.annotation.MurmurHash.hash32(byte[], int, int) where one case falls through to the next case


In file MurmurHash.java, line 51
In class de.uni_koeln.spinfo.tesla.annotation.MurmurHash
In method de.uni_koeln.spinfo.tesla.annotation.MurmurHash.hash32(byte[], int, int)
At MurmurHash.java:[lines 51-52]
Another occurrence at MurmurHash.java:[lines 52-53]

Switch statement found where one case falls through to the next case Medium

Switch statement found in de.uni_koeln.spinfo.tesla.client.ui.views.RunningExperimentLabelProvider.swapObject(Event, Object) where one case falls through to the next case


In file RunningExperimentLabelProvider.java, lines 87 to 90
In class de.uni_koeln.spinfo.tesla.client.ui.views.RunningExperimentLabelProvider
In method de.uni_koeln.spinfo.tesla.client.ui.views.RunningExperimentLabelProvider.swapObject(Event, Object)
At RunningExperimentLabelProvider.java:[lines 87-90]

Write to static field from instance method Medium

Write to static field edu.berkeley.nlp.PCFGLA.Corpus.myTreebank from instance method de.uni_koeln.spinfo.tesla.component.berkeleyparser.BerkeleyParserWrapper.run()


In file BerkeleyParserWrapper.java, line 144
In class de.uni_koeln.spinfo.tesla.component.berkeleyparser.BerkeleyParserWrapper
In method de.uni_koeln.spinfo.tesla.component.berkeleyparser.BerkeleyParserWrapper.run()
Field edu.berkeley.nlp.PCFGLA.Corpus.myTreebank
At BerkeleyParserWrapper.java:[line 144]

Write to static field from instance method Medium

Write to static field de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.inputStream from instance method de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.setUp()


In file TestBioXLSXReader.java, line 27
In class de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader
In method de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.setUp()
Field de.uni_koeln.spinfo.tesla.component.reader.TestBioXLSXReader.inputStream
At TestBioXLSXReader.java:[line 27]

Write to static field from instance method Medium

Write to static field de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader.inputStream from instance method de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader.setUp()


In file TestTEIDramaReader.java, line 25
In class de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader
In method de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader.setUp()
Field de.uni_koeln.spinfo.tesla.component.reader.TestTEIDramaReader.inputStream
At TestTEIDramaReader.java:[line 25]

Useless control flow Medium

Useless control flow in de.uni_koeln.spinfo.tesla.client.jet.ComponentGenerator.generate(Object)


In file ComponentGenerator.java, line 46
In class de.uni_koeln.spinfo.tesla.client.jet.ComponentGenerator
In method de.uni_koeln.spinfo.tesla.client.jet.ComponentGenerator.generate(Object)
At ComponentGenerator.java:[line 46]

Back to top



Warning Types

The equals(Object o) method shouldn't make any assumptions about the type of o. It should simply return false if o is not the same type as this.

Back to top

This instanceof test will always return true (unless the value being tested is null). Although this is safe, make sure it isn't an indication of some misunderstanding or some other logic error. If you really want to test the value for being null, perhaps it would be clearer to do better to do a null test rather than an instanceof test.

Back to top

This cast is unchecked, and not all instances of the type casted from can be cast to the type it is being cast to. Ensure that your program logic ensures that this cast will not fail.

Back to top

Using new Integer(int) is guaranteed to always result in a new object whereas Integer.valueOf(int) allows caching of values to be done by the compiler, class library, or JVM. Using of cached values avoids object allocation and the code will be faster.

Values between -128 and 127 are guaranteed to have corresponding cached instances and using valueOf is approximately 3.5 times faster than using constructor. For values outside the constant range the performance of both styles is the same.

Unless the class must be compatible with JVMs predating Java 1.5, use either autoboxing or the valueOf() method when creating instances of Long, Integer, Short, Character, and Byte.

Back to top

This method uses the same code to implement two branches of a conditional branch. Check to ensure that this isn't a coding mistake.

Back to top

This method might ignore an exception.  In general, exceptions should be handled or reported in some way, or they should be thrown out of the method.

Back to top

This instruction assigns a value to a local variable, but the value is not read or used in any subsequent instruction. Often, this indicates an error, because the value computed is never used.

Note that Sun's javac compiler often generates dead stores for final local variables. Because FindBugs is a bytecode-based tool, there is no easy way to eliminate these false positives.

Back to top

Creating a new java.lang.String object using the no-argument constructor wastes memory because the object so created will be functionally indistinguishable from the empty string constant "".  Java guarantees that identical string constants will be represented by the same String object.  Therefore, you should just use the empty string constant directly.

Back to top

Invoking System.exit shuts down the entire Java virtual machine. This should only been done when it is appropriate. Such calls make it hard or impossible for your code to be invoked by other code. Consider throwing a RuntimeException instead.

Back to top

This code constructs a File object using a hard coded to an absolute pathname (e.g., new File("/home/dannyc/workspace/j2ee/src/share/com/sun/enterprise/deployment");

Back to top

This method calls equals(Object) on two references of unrelated interface types, where neither is a subtype of the other, and there are no known non-abstract classes which implement both interfaces. Therefore, the objects being compared are unlikely to be members of the same class at runtime (unless some application classes were not analyzed, or dynamic class loading can occur at runtime). According to the contract of equals(), objects of different classes should always compare as unequal; therefore, according to the contract defined by java.lang.Object.equals(Object), the result of this comparison will always be false at runtime.

Back to top

Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Back to top

This code stores a reference to an externally mutable object into the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.

Back to top

This class defines a compareTo(...) method but inherits its equals() method from java.lang.Object. Generally, the value of compareTo should return zero if and only if equals returns true. If this is violated, weird and unpredictable failures will occur in classes such as PriorityQueue. In Java 5 the PriorityQueue.remove method uses the compareTo method, while in Java 6 it uses the equals method.

From the JavaDoc for the compareTo method in the Comparable interface:

It is strongly recommended, but not strictly required that (x.compareTo(y)==0) == (x.equals(y)). Generally speaking, any class that implements the Comparable interface and violates this condition should clearly indicate this fact. The recommended language is "Note: this class has a natural ordering that is inconsistent with equals."
Back to top

This code compares a java.lang.String parameter for reference equality using the == or != operators. Requiring callers to pass only String constants or interned strings to a method is unnecessarily fragile, and rarely leads to measurable performance gains. Consider using the equals(Object) method instead.

Back to top

This code casts the result of an integral division (e.g., int or long division) operation to double or float. Doing division on integers truncates the result to the integer value closest to zero. The fact that the result was cast to double suggests that this precision should have been retained. What was probably meant was to cast one or both of the operands to double before performing the division. Here is an example:

int x = 2;
int y = 5;
// Wrong: yields result 0.0
double value1 =  x / y;

// Right: yields result 0.4
double value2 =  x / (double) y;
Back to top

This loop doesn't seem to have a way to terminate (other than by perhaps throwing an exception).

Back to top

The code uses x % 2 == 1 to check to see if a value is odd, but this won't work for negative numbers (e.g., (-5) % 2 == -1). If this code is intending to check for oddness, consider using x & 1 == 1, or x % 2 != 0.

Back to top

This code compares a value that is guaranteed to be non-negative with a negative constant.

Back to top

This class defines a field with the same name as a visible instance field in a superclass. This is confusing, and may indicate an error if methods update or access one of the fields when they wanted the other.

Back to top

A mutable static field could be changed by malicious code or by accident from another package. Unfortunately, the way the field is used doesn't allow any easy fix to this problem.

Back to top

A mutable static field could be changed by malicious code or by accident from another package. The field could be made final to avoid this vulnerability.

Back to top

A mutable static field could be changed by malicious code or by accident. The field could be made package protected to avoid this vulnerability.

Back to top

A public static method returns a reference to an array that is part of the static state of the class. Any code that calls this method can freely modify the underlying array. One fix is to return a copy of the array.

Back to top

The result of invoking readLine() is dereferenced without checking to see if the result is null. If there are no more lines of text to read, readLine() will return null and dereferencing that will generate a null pointer exception.

Back to top

This implementation of equals(Object) violates the contract defined by java.lang.Object.equals() because it does not check for null being passed as the argument. All equals() methods should return false if passed a null value.

Back to top

This code seems to be using non-short-circuit logic (e.g., & or |) rather than short-circuit logic (&& or ||). In addition, it seem possible that, depending on the value of the left hand side, you might not want to evaluate the right hand side (because it would have side effects, could cause an exception or could be expensive.

Non-short-circuit logic causes both sides of the expression to be evaluated even when the result can be inferred from knowing the left-hand side. This can be less efficient and can result in errors if the left-hand side guards cases when evaluating the right-hand side can generate an error.

See the Java Language Specification for details

Back to top

This method may fail to clean up (close, dispose of) a stream, database object, or other resource requiring an explicit cleanup operation.

In general, if a method opens a stream or other resource, the method should use a try/finally block to ensure that the stream or resource is cleaned up before the method returns.

This bug pattern is essentially the same as the OS_OPEN_STREAM and ODR_OPEN_DATABASE_RESOURCE bug patterns, but is based on a different (and hopefully better) static analysis technique. We are interested is getting feedback about the usefulness of this bug pattern. To send feedback, either:

In particular, the false-positive suppression heuristics for this bug pattern have not been extensively tuned, so reports about false positives are helpful to us.

See Weimer and Necula, Finding and Preventing Run-Time Error Handling Mistakes, for a description of the analysis technique.

Back to top

The method creates a database resource (such as a database connection or row set), does not assign it to any fields, pass it to other methods, or return it, and does not appear to close the object on all paths out of the method.  Failure to close database resources on all paths out of a method may result in poor performance, and could cause the application to have problems communicating with the database.

Back to top

The method creates an IO stream object, does not assign it to any fields, pass it to other methods that might close it, or return it, and does not appear to close the stream on all paths out of the method.  This may result in a file descriptor leak.  It is generally a good idea to use a finally block to ensure that streams are closed.

Back to top

A value is checked here to see whether it is null, but this value can't be null because it was previously dereferenced and if it were null a null pointer exception would have occurred at the earlier dereference. Essentially, this code and the previous dereference disagree as to whether this value is allowed to be null. Either the check is redundant or the previous dereference is erroneous.

Back to top

This method uses a try-catch block that catches Exception objects, but Exception is not thrown within the try block, and RuntimeException is not explicitly caught. It is a common bug pattern to say try { ... } catch (Exception e) { something } as a shorthand for catching a number of types of exception each of whose catch blocks is identical, but this construct also accidentally catches RuntimeException as well, masking potential bugs.

Back to top

This method ignores the return value of one of the variants of java.io.InputStream.read() which can return multiple bytes.  If the return value is not checked, the caller will not be able to correctly handle the case where fewer bytes were read than the caller requested.  This is a particularly insidious kind of bug, because in many programs, reads from input streams usually do read the full amount of data requested, causing the program to fail only sporadically.

Back to top

This method returns a value that is not checked. The return value should be checked since it can indicate an unusual or unexpected function execution. For example, the File.delete() method returns false if the file could not be successfully deleted (rather than throwing an Exception). If you don't check the result, you won't notice if the method invocation signals unexpected behavior by returning an atypical return value.

Back to top

The method seems to be building a String using concatenation in a loop. In each iteration, the String is converted to a StringBuffer/StringBuilder, appended to, and converted back to a String. This can lead to a cost quadratic in the number of iterations, as the growing string is recopied in each iteration.

Better performance can be obtained by using a StringBuffer (or StringBuilder in Java 1.5) explicitly.

For example:

  // This is bad
  String s = "";
  for (int i = 0; i < field.length; ++i) {
    s = s + field[i];
  }

  // This is better
  StringBuffer buf = new StringBuffer();
  for (int i = 0; i < field.length; ++i) {
    buf.append(field[i]);
  }
  String s = buf.toString();
Back to top

The constructor starts a thread. This is likely to be wrong if the class is ever extended/subclassed, since the thread will be started before the subclass constructor is started.

Back to top

This Serializable class defines a non-primitive instance field which is neither transient, Serializable, or java.lang.Object, and does not appear to implement the Externalizable interface or the readObject() and writeObject() methods.  Objects of this class will not be deserialized correctly if a non-Serializable object is stored in this field.

Back to top

This class contains a field that is updated at multiple places in the class, thus it seems to be part of the state of the class. However, since the field is marked as transient and not set in readObject or readResolve, it will contain the default value in any deserialized instance of the class.

Back to top

This method contains a switch statement where one case branch will fall through to the next case. Usually you need to end this case with a break or return.

Back to top

This class is an inner class, but does not use its embedded reference to the object which created it.  This reference makes the instances of the class larger, and may keep the reference to the creator object alive longer than necessary.  If possible, the class should be made static.

Back to top

This class implements the Serializable interface, but does not define a serialVersionUID field.  A change as simple as adding a reference to a .class object will add synthetic fields to the class, which will unfortunately change the implicit serialVersionUID (e.g., adding a reference to String.class will generate a static field class$java$lang$String). Also, different source code to bytecode compilers may use different naming conventions for synthetic variables generated for references to class objects or inner classes. To ensure interoperability of Serializable across versions, consider adding an explicit serialVersionUID.

Back to top

This class contains an instance final field that is initialized to a compile-time static value. Consider making the field static.

Back to top

This instance method writes to a static field. This is tricky to get correct if multiple instances are being manipulated, and generally bad practice.

Back to top

Waiting on a monitor while two locks are held may cause deadlock.   Performing a wait only releases the lock on the object being waited on, not any other locks.   This not necessarily a bug, but is worth examining closely.

Back to top

This method contains a useless control flow statement, where control flow continues onto the same place regardless of whether or not the branch is taken. For example, this is caused by having an empty statement block for an if statement:

    if (argv.length == 0) {
	// TODO: handle this case
	}
Back to top

This method is invoked in the constructor of of the superclass. At this point, the fields of the class have not yet initialized.

To make this more concrete, consider the following classes:

abstract class A {
  int hashCode;
  abstract Object getValue();
  A() {
    hashCode = getValue().hashCode();
    }
  }
class B extends A {
  Object value;
  B(Object v) {
    this.value = v;
    }
  Object getValue() {
    return value;
  }
  }

When a B is constructed, the constructor for the A class is invoked before the constructor for B sets value. Thus, when the constructor for A invokes getValue, an uninitialized value is read for value

Back to top

This field is never read.  Consider removing it from the class.

Back to top

This field is never used.  Consider removing it from the class.

Back to top

This method contains a call to java.lang.Object.wait() which is not guarded by conditional control flow.  The code should verify that condition it intends to wait for is not already satisfied before calling wait; any previous notifications will be ignored.

Back to top

This field is never written.  All reads of it will return the default value. Check for errors (should it have been initialized?), or remove it if it is useless.

Back to top

This method contains a call to java.lang.Object.wait() which is not in a loop.  If the monitor is used for multiple conditions, the condition the caller intended to wait for might not be the one that actually occurred.

Back to top

This method accesses the value of a Map entry, using a key that was retrieved from a keySet iterator. It is more efficient to use an iterator on the entrySet of the map, to avoid the Map.get(key) lookup.

Back to top