FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.1.1

Threshold is Normal

Effort is Default

Summary

ClassesBugsErrorsMissing Classes
12631078892

Files

ClassBugs
ca.uhn.hl7v2.DBTableRepository3
ca.uhn.hl7v2.app.ConnectionDialog1
ca.uhn.hl7v2.app.HL7ServerTestHelper2
ca.uhn.hl7v2.app.HL7Service1
ca.uhn.hl7v2.app.Initiator2
ca.uhn.hl7v2.app.Receiver$Grunt1
ca.uhn.hl7v2.app.Responder6
ca.uhn.hl7v2.app.TestPanel4
ca.uhn.hl7v2.app.TestPanel$ConnectionLabel2
ca.uhn.hl7v2.app.TwoPortService$AcceptThread1
ca.uhn.hl7v2.conf.classes.abs.FiniteList1
ca.uhn.hl7v2.conf.parser.ProfileParser2
ca.uhn.hl7v2.conf.spec.RuntimeProfile6
ca.uhn.hl7v2.conf.spec.Specification6
ca.uhn.hl7v2.llp.MinLLPWriter1
ca.uhn.hl7v2.model.AbstractGroup1
ca.uhn.hl7v2.model.AbstractSegment1
ca.uhn.hl7v2.parser.DefaultModelClassFactory1
ca.uhn.hl7v2.parser.EncodingCharacters1
ca.uhn.hl7v2.parser.Escape2
ca.uhn.hl7v2.parser.FastParser1
ca.uhn.hl7v2.parser.FastParser$StructRef2
ca.uhn.hl7v2.parser.XMLParser3
ca.uhn.hl7v2.preparser.DatumPath7
ca.uhn.hl7v2.preparser.ER72
ca.uhn.hl7v2.preparser.XML$HL7MessageHandler1
ca.uhn.hl7v2.protocol.impl.AppRoutingDataImpl1
ca.uhn.hl7v2.protocol.impl.ApplicationLoader1
ca.uhn.hl7v2.protocol.impl.ApplicationRouterImpl3
ca.uhn.hl7v2.protocol.impl.HL7Server1
ca.uhn.hl7v2.protocol.impl.JMSTopicAdapter1
ca.uhn.hl7v2.protocol.impl.JMSTopicTransport1
ca.uhn.hl7v2.protocol.impl.ProcessorImpl3
ca.uhn.hl7v2.protocol.impl.ProcessorImpl$ExpiringTransportable1
ca.uhn.hl7v2.protocol.impl.ReaderThread1
ca.uhn.hl7v2.protocol.impl.ServerSocketStreamSource2
ca.uhn.hl7v2.protocol.impl.URLTransport1
ca.uhn.hl7v2.util.FileCodeMapper2
ca.uhn.hl7v2.util.Hl7InputStreamReader2
ca.uhn.hl7v2.util.MessageNavigator$GroupContext1
ca.uhn.hl7v2.util.Terser$PathSpec1
ca.uhn.hl7v2.validation.impl.ValidationContextImpl1
ca.uhn.hl7v2.validation.impl.XMLSchemaRule4
ca.uhn.hl7v2.validation.impl.XMLSchemaRule$SchemaEventHandler1
ca.uhn.hl7v2.view.TreePanel1
ca.uhn.hl7v3.rim.RIMClass1
ca.uhn.hl7v3.sourcegen.ClassDefinition2
ca.uhn.hl7v3.sourcegen.DataTypeDefinition2
ca.uhn.hl7v3.sourcegen.DefinitionLoader10
ca.uhn.sourceheader.SourceHeader2

ca.uhn.hl7v2.DBTableRepository

BugCategoryDetailsLine
ca.uhn.hl7v2.DBTableRepository.getTables() may expose internal representation by returning ca.uhn.hl7v2.DBTableRepository.tableListMALICIOUS_CODEEI_EXPOSE_REP82
Method ca.uhn.hl7v2.DBTableRepository.getDescription(int,String) passes a nonconstant String to an execute method on an SQL statementBAD_PRACTICESQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE168
Unread field: ca.uhn.hl7v2.DBTableRepository.bufferSize; should this field be static?PERFORMANCESS_SHOULD_BE_STATICNot available

ca.uhn.hl7v2.app.ConnectionDialog

BugCategoryDetailsLine
Dead store to $L1 in method ca.uhn.hl7v2.app.ConnectionDialog.main(String[])STYLEDLS_DEAD_LOCAL_STORE141

ca.uhn.hl7v2.app.HL7ServerTestHelper

BugCategoryDetailsLine
Dead store to hapiParser in method ca.uhn.hl7v2.app.HL7ServerTestHelper.process(java.io.InputStream)STYLEDLS_DEAD_LOCAL_STORE99
Unused field: ca.uhn.hl7v2.app.HL7ServerTestHelper.receivedAckCountPERFORMANCEUUF_UNUSED_FIELDNot available

ca.uhn.hl7v2.app.HL7Service

BugCategoryDetailsLine
ca.uhn.hl7v2.app.HL7Service.loadApplicationsFromFile(java.io.File) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM206

ca.uhn.hl7v2.app.Initiator

BugCategoryDetailsLine
Unused field: ca.uhn.hl7v2.app.Initiator.inPERFORMANCEUUF_UNUSED_FIELDNot available
Unused field: ca.uhn.hl7v2.app.Initiator.outPERFORMANCEUUF_UNUSED_FIELDNot available

ca.uhn.hl7v2.app.Receiver$Grunt

BugCategoryDetailsLine
Should ca.uhn.hl7v2.app.Receiver$Grunt be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

ca.uhn.hl7v2.app.Responder

BugCategoryDetailsLine
Dead store to $L11 in method ca.uhn.hl7v2.app.Responder.main(String[])STYLEDLS_DEAD_LOCAL_STORE387
Dead store to respInbound in method ca.uhn.hl7v2.app.Responder.main(String[])STYLEDLS_DEAD_LOCAL_STORE386
Dead store to inMessage in method ca.uhn.hl7v2.app.Responder.main(String[])STYLEDLS_DEAD_LOCAL_STORE377
Possible null pointer dereference of incomingMessageObject in ca.uhn.hl7v2.app.Responder.processMessage(String) on exception pathCORRECTNESSNP_NULL_ON_SOME_PATH_EXCEPTION165
Unused field: ca.uhn.hl7v2.app.Responder.inPERFORMANCEUUF_UNUSED_FIELDNot available
Unused field: ca.uhn.hl7v2.app.Responder.outPERFORMANCEUUF_UNUSED_FIELDNot available

ca.uhn.hl7v2.app.TestPanel

BugCategoryDetailsLine
Dead store to parser in method ca.uhn.hl7v2.app.TestPanel.main(String[])STYLEDLS_DEAD_LOCAL_STORE429
Unread field: ca.uhn.hl7v2.app.TestPanel.connPERFORMANCEURF_UNREAD_FIELDNot available
Unread field: ca.uhn.hl7v2.app.TestPanel.hostTAPERFORMANCEURF_UNREAD_FIELDNot available
Unread field: ca.uhn.hl7v2.app.TestPanel.portTAPERFORMANCEURF_UNREAD_FIELDNot available

ca.uhn.hl7v2.app.TestPanel$ConnectionLabel

BugCategoryDetailsLine
Class ca.uhn.hl7v2.app.TestPanel$ConnectionLabel defines non-transient non-serializable instance field connBAD_PRACTICESE_BAD_FIELDNot available
Should ca.uhn.hl7v2.app.TestPanel$ConnectionLabel be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

ca.uhn.hl7v2.app.TwoPortService$AcceptThread

BugCategoryDetailsLine
Should ca.uhn.hl7v2.app.TwoPortService$AcceptThread be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

ca.uhn.hl7v2.conf.classes.abs.FiniteList

BugCategoryDetailsLine
Unread field: ca.uhn.hl7v2.conf.classes.abs.FiniteList.minRepsPERFORMANCEURF_UNREAD_FIELDNot available

ca.uhn.hl7v2.conf.parser.ProfileParser

BugCategoryDetailsLine
Dead store to $L6 in method ca.uhn.hl7v2.conf.parser.ProfileParser.main(String[])STYLEDLS_DEAD_LOCAL_STORE491
ca.uhn.hl7v2.conf.parser.ProfileParser.loadGrammar() may fail to close streamBAD_PRACTICEOS_OPEN_STREAM141

ca.uhn.hl7v2.conf.spec.RuntimeProfile

BugCategoryDetailsLine
Read of unwritten field encodings in ca.uhn.hl7v2.conf.spec.RuntimeProfile.getEncodings(int)CORRECTNESSNP_UNWRITTEN_FIELD158
Read of unwritten field encodings in ca.uhn.hl7v2.conf.spec.RuntimeProfile.setEncodings(int,Encoding)CORRECTNESSNP_UNWRITTEN_FIELD168
Read of unwritten field encodings in ca.uhn.hl7v2.conf.spec.RuntimeProfile.setEncodings(int,Encoding)CORRECTNESSNP_UNWRITTEN_FIELD169
Read of unwritten field encodings in ca.uhn.hl7v2.conf.spec.RuntimeProfile.setEncodings(int,Encoding)CORRECTNESSNP_UNWRITTEN_FIELD174
Unused field: ca.uhn.hl7v2.conf.spec.RuntimeProfile.StaticDefPERFORMANCEUUF_UNUSED_FIELDNot available
Unwritten field: ca.uhn.hl7v2.conf.spec.RuntimeProfile.encodingsCORRECTNESSUWF_UNWRITTEN_FIELDNot available

ca.uhn.hl7v2.conf.spec.Specification

BugCategoryDetailsLine
Read of unwritten field encodings in ca.uhn.hl7v2.conf.spec.Specification.getEncodings(int)CORRECTNESSNP_UNWRITTEN_FIELD145
Read of unwritten field encodings in ca.uhn.hl7v2.conf.spec.Specification.setEncodings(int,Encoding)CORRECTNESSNP_UNWRITTEN_FIELD155
Read of unwritten field encodings in ca.uhn.hl7v2.conf.spec.Specification.setEncodings(int,Encoding)CORRECTNESSNP_UNWRITTEN_FIELD156
Read of unwritten field encodings in ca.uhn.hl7v2.conf.spec.Specification.setEncodings(int,Encoding)CORRECTNESSNP_UNWRITTEN_FIELD161
Unused field: ca.uhn.hl7v2.conf.spec.Specification.messageProfilePERFORMANCEUUF_UNUSED_FIELDNot available
Unwritten field: ca.uhn.hl7v2.conf.spec.Specification.encodingsCORRECTNESSUWF_UNWRITTEN_FIELDNot available

ca.uhn.hl7v2.llp.MinLLPWriter

BugCategoryDetailsLine
Unread field: ca.uhn.hl7v2.llp.MinLLPWriter.messageStartedPERFORMANCEURF_UNREAD_FIELDNot available

ca.uhn.hl7v2.model.AbstractGroup

BugCategoryDetailsLine
ca.uhn.hl7v2.model.AbstractGroup.insert(Class,boolean,boolean,int,String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR364

ca.uhn.hl7v2.model.AbstractSegment

BugCategoryDetailsLine
ca.uhn.hl7v2.model.AbstractSegment.add(Class,boolean,int,int,Object[]) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR348

ca.uhn.hl7v2.parser.DefaultModelClassFactory

BugCategoryDetailsLine
ca.uhn.hl7v2.parser.DefaultModelClassFactory.loadPackages(String) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM152

ca.uhn.hl7v2.parser.EncodingCharacters

BugCategoryDetailsLine
clone method ca.uhn.hl7v2.parser.EncodingCharacters.clone() does not call super.clone()BAD_PRACTICECN_IDIOM_NO_SUPER_CALL261

ca.uhn.hl7v2.parser.Escape

BugCategoryDetailsLine
Dead store to escChar in method ca.uhn.hl7v2.parser.Escape.escape(String,EncodingCharacters)STYLEDLS_DEAD_LOCAL_STORE52
Dead store to escChar in method ca.uhn.hl7v2.parser.Escape.unescape(String,EncodingCharacters)STYLEDLS_DEAD_LOCAL_STORE78

ca.uhn.hl7v2.parser.FastParser

BugCategoryDetailsLine
Method ca.uhn.hl7v2.parser.FastParser.setGroupSuccessors(java.util.Map,String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR182

ca.uhn.hl7v2.parser.FastParser$StructRef

BugCategoryDetailsLine
ca.uhn.hl7v2.parser.FastParser$StructRef.getFields() may expose internal representation by returning ca.uhn.hl7v2.parser.FastParser$StructRef.myFieldsMALICIOUS_CODEEI_EXPOSE_REP584
ca.uhn.hl7v2.parser.FastParser$StructRef.StructRef(FastParser$StructRef,String,boolean,int[]) may expose internal representation by storing an externally mutable object into ca.uhn.hl7v2.parser.FastParser$StructRef.myFieldsMALICIOUS_CODEEI_EXPOSE_REP2483

ca.uhn.hl7v2.parser.XMLParser

BugCategoryDetailsLine
ca.uhn.hl7v2.parser.XMLParser.getKeepAsOriginalNodes() may expose internal representation by returning ca.uhn.hl7v2.parser.XMLParser.keepAsOriginalNodesMALICIOUS_CODEEI_EXPOSE_REP179
ca.uhn.hl7v2.parser.XMLParser.setKeepAsOriginalNodes(String[]) may expose internal representation by storing an externally mutable object into ca.uhn.hl7v2.parser.XMLParser.keepAsOriginalNodesMALICIOUS_CODEEI_EXPOSE_REP2159
Method ca.uhn.hl7v2.parser.XMLParser.main(String[]) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION782

ca.uhn.hl7v2.preparser.DatumPath

BugCategoryDetailsLine
Equals method for ca.uhn.hl7v2.preparser.DatumPath assumes the argument is of type ca.uhn.hl7v2.preparser.DatumPathBAD_PRACTICEBC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS53
clone method ca.uhn.hl7v2.preparser.DatumPath.clone() does not call super.clone()BAD_PRACTICECN_IDIOM_NO_SUPER_CALL264
Dead store to dp2 in method ca.uhn.hl7v2.preparser.DatumPath.main(String[])STYLEDLS_DEAD_LOCAL_STORE307
ca.uhn.hl7v2.preparser.DatumPath.main(String[]) invokes inefficient new String(String) constructor; just use the argumentPERFORMANCEDM_STRING_CTOR304
ca.uhn.hl7v2.preparser.DatumPath.main(String[]) invokes inefficient new String() constructor; just use ""PERFORMANCEDM_STRING_VOID_CTOR307
ca.uhn.hl7v2.preparser.DatumPath defines equals and uses Object.hashCode()BAD_PRACTICEHE_EQUALS_USE_HASHCODE52-60
ca.uhn.hl7v2.preparser.DatumPath.equals(Object) does not check for null argumentBAD_PRACTICENP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT54

ca.uhn.hl7v2.preparser.ER7

BugCategoryDetailsLine
ca.uhn.hl7v2.preparser.ER7.parseMessage(java.util.Properties,java.util.Vector,String) invokes inefficient new String(String) constructor; just use the argumentPERFORMANCEDM_STRING_CTOR57
Nullcheck of msgMask at line 149 of value previously dereferenced in ca.uhn.hl7v2.preparser.ER7.parseSegmentWhole(java.util.Properties,java.util.Map,java.util.Vector,ca.uhn.hl7v2.parser.EncodingCharacters,String)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE139

ca.uhn.hl7v2.preparser.XML$HL7MessageHandler

BugCategoryDetailsLine
ca.uhn.hl7v2.preparser.XML$HL7MessageHandler.clear() invokes inefficient new String() constructor; just use ""PERFORMANCEDM_STRING_VOID_CTOR124

ca.uhn.hl7v2.protocol.impl.AppRoutingDataImpl

BugCategoryDetailsLine
Comparison of String objects using == or != in ca.uhn.hl7v2.protocol.impl.AppRoutingDataImpl.equals(Object) BAD_PRACTICEES_COMPARING_STRINGS_WITH_EQ70

ca.uhn.hl7v2.protocol.impl.ApplicationLoader

BugCategoryDetailsLine
ca.uhn.hl7v2.protocol.impl.ApplicationLoader.loadApplications(ca.uhn.hl7v2.protocol.ApplicationRouter,java.net.URL) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM80

ca.uhn.hl7v2.protocol.impl.ApplicationRouterImpl

BugCategoryDetailsLine
ca.uhn.hl7v2.protocol.impl.ApplicationRouterImpl.RAW_MESSAGE_KEY isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL43
Possible null pointer dereference of incomingMessageObject in ca.uhn.hl7v2.protocol.impl.ApplicationRouterImpl.processMessage(String,java.util.Map) on exception pathCORRECTNESSNP_NULL_ON_SOME_PATH_EXCEPTION132
Unread field: ca.uhn.hl7v2.protocol.impl.ApplicationRouterImpl.checkWriterPERFORMANCEURF_UNREAD_FIELDNot available

ca.uhn.hl7v2.protocol.impl.HL7Server

BugCategoryDetailsLine
Unused field: ca.uhn.hl7v2.protocol.impl.HL7Server.myContextPERFORMANCEUUF_UNUSED_FIELDNot available

ca.uhn.hl7v2.protocol.impl.JMSTopicAdapter

BugCategoryDetailsLine
Unread field: ca.uhn.hl7v2.protocol.impl.JMSTopicAdapter.myMessageSelectorPERFORMANCEURF_UNREAD_FIELDNot available

ca.uhn.hl7v2.protocol.impl.JMSTopicTransport

BugCategoryDetailsLine
Unread field: ca.uhn.hl7v2.protocol.impl.JMSTopicTransport.myMessageSelectorPERFORMANCEURF_UNREAD_FIELDNot available

ca.uhn.hl7v2.protocol.impl.ProcessorImpl

BugCategoryDetailsLine
Dead store to appAckNeeded in method ca.uhn.hl7v2.protocol.impl.ProcessorImpl.cycle(boolean)STYLEDLS_DEAD_LOCAL_STORE269
ca.uhn.hl7v2.protocol.impl.ProcessorImpl.ProcessorImpl(ca.uhn.hl7v2.protocol.ProcessorContext,boolean) invokes java.lang.Thread.start()MT_CORRECTNESSSC_START_IN_CTOR87
ca.uhn.hl7v2.protocol.impl.ProcessorImpl.ProcessorImpl(ca.uhn.hl7v2.protocol.ProcessorContext,boolean) invokes java.lang.Thread.start()MT_CORRECTNESSSC_START_IN_CTOR90

ca.uhn.hl7v2.protocol.impl.ProcessorImpl$ExpiringTransportable

BugCategoryDetailsLine
Should ca.uhn.hl7v2.protocol.impl.ProcessorImpl$ExpiringTransportable be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

ca.uhn.hl7v2.protocol.impl.ReaderThread

BugCategoryDetailsLine
ca.uhn.hl7v2.protocol.impl.ReaderThread.ReaderThread(java.io.Reader,char[],IntRef) may expose internal representation by storing an externally mutable object into ca.uhn.hl7v2.protocol.impl.ReaderThread.myBufferMALICIOUS_CODEEI_EXPOSE_REP257

ca.uhn.hl7v2.protocol.impl.ServerSocketStreamSource

BugCategoryDetailsLine
Unused field: ca.uhn.hl7v2.protocol.impl.ServerSocketStreamSource.myAcceptorPERFORMANCEUUF_UNUSED_FIELDNot available
Unused field: ca.uhn.hl7v2.protocol.impl.ServerSocketStreamSource.myProceedWithConnectPERFORMANCEUUF_UNUSED_FIELDNot available

ca.uhn.hl7v2.protocol.impl.URLTransport

BugCategoryDetailsLine
ca.uhn.hl7v2.protocol.impl.URLTransport.doSend(ca.uhn.hl7v2.protocol.Transportable) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM104

ca.uhn.hl7v2.util.FileCodeMapper

BugCategoryDetailsLine
Possible null pointer dereference in ca.uhn.hl7v2.util.FileCodeMapper.refreshCache() due to return value of called methodSTYLENP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE115
ca.uhn.hl7v2.util.FileCodeMapper.refreshCache() may fail to close streamBAD_PRACTICEOS_OPEN_STREAM111

ca.uhn.hl7v2.util.Hl7InputStreamReader

BugCategoryDetailsLine
Dead store to hapiParser in method ca.uhn.hl7v2.util.Hl7InputStreamReader.read(java.io.InputStream)STYLEDLS_DEAD_LOCAL_STORE45
Unread field: ca.uhn.hl7v2.util.Hl7InputStreamReader.isPERFORMANCEURF_UNREAD_FIELDNot available

ca.uhn.hl7v2.util.MessageNavigator$GroupContext

BugCategoryDetailsLine
Should ca.uhn.hl7v2.util.MessageNavigator$GroupContext be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

ca.uhn.hl7v2.util.Terser$PathSpec

BugCategoryDetailsLine
Should ca.uhn.hl7v2.util.Terser$PathSpec be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

ca.uhn.hl7v2.validation.impl.ValidationContextImpl

BugCategoryDetailsLine
Unread field: ca.uhn.hl7v2.validation.impl.ValidationContextImpl.myCheckPrimitivesFlagPERFORMANCEURF_UNREAD_FIELDNot available

ca.uhn.hl7v2.validation.impl.XMLSchemaRule

BugCategoryDetailsLine
Dead store to schemaLocation in method ca.uhn.hl7v2.validation.impl.XMLSchemaRule.getSchemaLocation(org.w3c.dom.Document,java.util.List)STYLEDLS_DEAD_LOCAL_STORE231
ca.uhn.hl7v2.validation.impl.XMLSchemaRule.getSchemaLocation(org.w3c.dom.Document,java.util.List) invokes inefficient new String(String) constructor; just use the argumentPERFORMANCEDM_STRING_CTOR270
Method ca.uhn.hl7v2.validation.impl.XMLSchemaRule.getSchemaLocation(org.w3c.dom.Document,java.util.List) invokes toString() method on a String; just use the StringPERFORMANCEDM_STRING_TOSTRING245
ca.uhn.hl7v2.validation.impl.XMLSchemaRule.getSchemaLocation(org.w3c.dom.Document,java.util.List) invokes inefficient new String() constructor; just use ""PERFORMANCEDM_STRING_VOID_CTOR231

ca.uhn.hl7v2.validation.impl.XMLSchemaRule$SchemaEventHandler

BugCategoryDetailsLine
Should ca.uhn.hl7v2.validation.impl.XMLSchemaRule$SchemaEventHandler be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

ca.uhn.hl7v2.view.TreePanel

BugCategoryDetailsLine
Class ca.uhn.hl7v2.view.TreePanel defines non-transient non-serializable instance field encCharsBAD_PRACTICESE_BAD_FIELDNot available

ca.uhn.hl7v3.rim.RIMClass

BugCategoryDetailsLine
Unread field: ca.uhn.hl7v3.rim.RIMClass.contextPERFORMANCEURF_UNREAD_FIELDNot available

ca.uhn.hl7v3.sourcegen.ClassDefinition

BugCategoryDetailsLine
ca.uhn.hl7v3.sourcegen.ClassDefinition.getAttributes() may expose internal representation by returning ca.uhn.hl7v3.sourcegen.ClassDefinition.attributesMALICIOUS_CODEEI_EXPOSE_REP77
ca.uhn.hl7v3.sourcegen.ClassDefinition.setAttributes(AttributeDefinition[]) may expose internal representation by storing an externally mutable object into ca.uhn.hl7v3.sourcegen.ClassDefinition.attributesMALICIOUS_CODEEI_EXPOSE_REP274

ca.uhn.hl7v3.sourcegen.DataTypeDefinition

BugCategoryDetailsLine
ca.uhn.hl7v3.sourcegen.DataTypeDefinition.getComponents() may expose internal representation by returning ca.uhn.hl7v3.sourcegen.DataTypeDefinition.componentsMALICIOUS_CODEEI_EXPOSE_REP96
ca.uhn.hl7v3.sourcegen.DataTypeDefinition.setComponents(ComponentDefinition[]) may expose internal representation by storing an externally mutable object into ca.uhn.hl7v3.sourcegen.DataTypeDefinition.componentsMALICIOUS_CODEEI_EXPOSE_REP293

ca.uhn.hl7v3.sourcegen.DefinitionLoader

BugCategoryDetailsLine
ca.uhn.hl7v3.sourcegen.DefinitionLoader.getComponentDefs(String) may fail to close database resourceBAD_PRACTICEODR_OPEN_DATABASE_RESOURCE204
ca.uhn.hl7v3.sourcegen.DefinitionLoader.getList(String,String,String) may fail to close database resourceBAD_PRACTICEODR_OPEN_DATABASE_RESOURCE64
ca.uhn.hl7v3.sourcegen.DefinitionLoader.getRIMClassDef(String) may fail to close database resourceBAD_PRACTICEODR_OPEN_DATABASE_RESOURCE93
Method ca.uhn.hl7v3.sourcegen.DefinitionLoader.getComponentDefs(String) passes a nonconstant String to an execute method on an SQL statementBAD_PRACTICESQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE205
Method ca.uhn.hl7v3.sourcegen.DefinitionLoader.getDTSuperClass(String) passes a nonconstant String to an execute method on an SQL statementBAD_PRACTICESQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE232
Method ca.uhn.hl7v3.sourcegen.DefinitionLoader.getDataTypeDef(String) passes a nonconstant String to an execute method on an SQL statementBAD_PRACTICESQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE181
Method ca.uhn.hl7v3.sourcegen.DefinitionLoader.getRIMAttributeDef(String,String) passes a nonconstant String to an execute method on an SQL statementBAD_PRACTICESQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE143
Method ca.uhn.hl7v3.sourcegen.DefinitionLoader.getRIMAttributes(String) passes a nonconstant String to an execute method on an SQL statementBAD_PRACTICESQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE117
Method ca.uhn.hl7v3.sourcegen.DefinitionLoader.getRIMClassDef(String) passes a nonconstant String to an execute method on an SQL statementBAD_PRACTICESQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE94
Method ca.uhn.hl7v3.sourcegen.DefinitionLoader.getRIMSuperClass(String) passes a nonconstant String to an execute method on an SQL statementBAD_PRACTICESQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE165

ca.uhn.sourceheader.SourceHeader

BugCategoryDetailsLine
Dead store to header in method ca.uhn.sourceheader.SourceHeader.setHeaderFile(String)STYLEDLS_DEAD_LOCAL_STORE43
ca.uhn.sourceheader.SourceHeader.setHeaderFile(String) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM47