FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is low
Effort is max
Summary
| Classes |
Bugs |
Errors |
Missing Classes |
| 519 |
68 |
0 |
0 |
org.opendaylight.yangtools.antlrv4.code.gen.YangStatementLexer
| Bug |
Category |
Details |
Line |
Priority |
| org.opendaylight.yangtools.antlrv4.code.gen.YangStatementLexer.getModeNames() may expose internal representation by returning YangStatementLexer.modeNames |
MALICIOUS_CODE |
EI_EXPOSE_REP |
92 |
Medium |
| org.opendaylight.yangtools.antlrv4.code.gen.YangStatementLexer.getRuleNames() may expose internal representation by returning YangStatementLexer.ruleNames |
MALICIOUS_CODE |
EI_EXPOSE_REP |
86 |
Medium |
| org.opendaylight.yangtools.antlrv4.code.gen.YangStatementLexer.getTokenNames() may expose internal representation by returning YangStatementLexer.tokenNames |
MALICIOUS_CODE |
EI_EXPOSE_REP |
67 |
Medium |
| org.opendaylight.yangtools.antlrv4.code.gen.YangStatementLexer.modeNames should be both final and package protected |
MALICIOUS_CODE |
MS_FINAL_PKGPROTECT |
25 |
Medium |
| org.opendaylight.yangtools.antlrv4.code.gen.YangStatementLexer._decisionToDFA should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
147 |
Medium |
| org.opendaylight.yangtools.antlrv4.code.gen.YangStatementLexer.ruleNames should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
29 |
Medium |
| org.opendaylight.yangtools.antlrv4.code.gen.YangStatementLexer.tokenNames should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
51 |
Medium |
org.opendaylight.yangtools.antlrv4.code.gen.YangStatementParser
| Bug |
Category |
Details |
Line |
Priority |
| org.opendaylight.yangtools.antlrv4.code.gen.YangStatementParser.getRuleNames() may expose internal representation by returning YangStatementParser.ruleNames |
MALICIOUS_CODE |
EI_EXPOSE_REP |
75 |
Medium |
| org.opendaylight.yangtools.antlrv4.code.gen.YangStatementParser.getTokenNames() may expose internal representation by returning YangStatementParser.tokenNames |
MALICIOUS_CODE |
EI_EXPOSE_REP |
62 |
Medium |
| org.opendaylight.yangtools.antlrv4.code.gen.YangStatementParser._decisionToDFA should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
501 |
Medium |
| org.opendaylight.yangtools.antlrv4.code.gen.YangStatementParser.ruleNames should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
26 |
Medium |
| org.opendaylight.yangtools.antlrv4.code.gen.YangStatementParser.tokenNames should be package protected |
MALICIOUS_CODE |
MS_PKGPROTECT |
46 |
Medium |
| Switch statement found in org.opendaylight.yangtools.antlrv4.code.gen.YangStatementParser.keyword() where default case is missing |
STYLE |
SF_SWITCH_NO_DEFAULT |
331 |
Medium |
org.opendaylight.yangtools.yang.parser.impl.YangStatementParserListenerImpl
| Bug |
Category |
Details |
Line |
Priority |
| YangStatementParserListenerImpl.prefixes should be final since org.opendaylight.yangtools.yang.parser.impl.YangStatementParserListenerImpl is marked as Immutable. |
BAD_PRACTICE |
JCIP_FIELD_ISNT_FINAL_IN_IMMUTABLE_CLASS |
|
Medium |
| YangStatementParserListenerImpl.stmtDef should be final since org.opendaylight.yangtools.yang.parser.impl.YangStatementParserListenerImpl is marked as Immutable. |
BAD_PRACTICE |
JCIP_FIELD_ISNT_FINAL_IN_IMMUTABLE_CLASS |
|
Medium |
| YangStatementParserListenerImpl.writer should be final since org.opendaylight.yangtools.yang.parser.impl.YangStatementParserListenerImpl is marked as Immutable. |
BAD_PRACTICE |
JCIP_FIELD_ISNT_FINAL_IN_IMMUTABLE_CLASS |
|
Medium |
org.opendaylight.yangtools.yang.parser.impl.YinStatementParserImpl
| Bug |
Category |
Details |
Line |
Priority |
| Load of known null value in org.opendaylight.yangtools.yang.parser.impl.YinStatementParserImpl.getAttributeValue(XMLStreamReader, QName, QNameToStatementDefinition) |
STYLE |
NP_LOAD_OF_KNOWN_NULL_VALUE |
250 |
Low |
| Questionable use of non-short-circuit logic in org.opendaylight.yangtools.yang.parser.impl.YinStatementParserImpl.enterStatement(XMLStreamReader) |
STYLE |
NS_NON_SHORT_CIRCUIT |
164 |
Low |
org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory$1
org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory$AssembleSources
| Bug |
Category |
Details |
Line |
Priority |
| Unchecked/unconfirmed cast from org.antlr.v4.runtime.ParserRuleContext to org.opendaylight.yangtools.antlrv4.code.gen.YangStatementParser$StatementContext of return value in org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory$AssembleSources.apply(List) |
STYLE |
BC_UNCONFIRMED_CAST_OF_RETURN_VALUE |
215 |
Low |
org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory$SourceIdMismatchDetector
org.opendaylight.yangtools.yang.parser.repo.YangTextSchemaContextResolver$2
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.yangtools.yang.parser.repo.YangTextSchemaContextResolver$2 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
169 |
Low |
org.opendaylight.yangtools.yang.parser.spi.SubstatementValidator
| Bug |
Category |
Details |
Line |
Priority |
| Redundant nullcheck of org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext.getFromNamespace(Class, Object), which is known to be non-null in org.opendaylight.yangtools.yang.parser.spi.SubstatementValidator.validate(StmtContext) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
151 |
Medium |
org.opendaylight.yangtools.yang.parser.spi.meta.StmtContextUtils
| Bug |
Category |
Details |
Line |
Priority |
| Call to org.opendaylight.yangtools.yang.common.QNameModule.equals(org.opendaylight.yangtools.yang.common.QName) in org.opendaylight.yangtools.yang.parser.spi.meta.StmtContextUtils.replaceModuleQNameForKey(StmtContext, QNameModule) |
CORRECTNESS |
EC_UNRELATED_TYPES |
201 |
High |
org.opendaylight.yangtools.yang.parser.spi.source.SourceException
| Bug |
Category |
Details |
Line |
Priority |
| Class org.opendaylight.yangtools.yang.parser.spi.source.SourceException defines non-transient non-serializable instance field sourceRef |
BAD_PRACTICE |
SE_BAD_FIELD |
|
Low |
org.opendaylight.yangtools.yang.parser.stmt.reactor.BuildGlobalContext
| Bug |
Category |
Details |
Line |
Priority |
| Switch statement found in org.opendaylight.yangtools.yang.parser.stmt.reactor.BuildGlobalContext.completePhaseActions() where one case falls through to the next case |
STYLE |
SF_SWITCH_FALLTHROUGH |
325 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.reactor.CrossSourceStatementReactor$BuildAction
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.yangtools.yang.parser.stmt.reactor.CrossSourceStatementReactor$BuildAction could be refactored into a _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_NEEDS_THIS |
93 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.AnyxmlStatementImpl$Definition
| Bug |
Category |
Details |
Line |
Priority |
| Redundant nullcheck of findNode, which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.AnyxmlStatementImpl$Definition.getAnyXmlSchema(StmtContext, SchemaNodeIdentifier) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
106 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.AugmentStatementImpl$Definition
| Bug |
Category |
Details |
Line |
Priority |
| Dead store to sourceCtxPrereq in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.AugmentStatementImpl$Definition.onFullDefinitionDeclared(StmtContext$Mutable) |
STYLE |
DLS_DEAD_LOCAL_STORE |
120 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.AugmentStatementImpl$Definition$1
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.yangtools.yang.parser.stmt.rfc6020.AugmentStatementImpl$Definition$1 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
123 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.BaseStatementImpl$Definition
| Bug |
Category |
Details |
Line |
Priority |
| Dead store to mutatesPrereq in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.BaseStatementImpl$Definition.onStatementDefinitionDeclared(StmtContext$Mutable) |
STYLE |
DLS_DEAD_LOCAL_STORE |
75 |
Medium |
| Dead store to requiresPrereq in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.BaseStatementImpl$Definition.onStatementDefinitionDeclared(StmtContext$Mutable) |
STYLE |
DLS_DEAD_LOCAL_STORE |
73 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.BaseStatementImpl$Definition$1
| Bug |
Category |
Details |
Line |
Priority |
| Redundant nullcheck of derivedIdentities, which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.BaseStatementImpl$Definition$1.apply() |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
83 |
Medium |
| The class org.opendaylight.yangtools.yang.parser.stmt.rfc6020.BaseStatementImpl$Definition$1 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
78 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.BelongsToStatementImpl$Definition$1
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.yangtools.yang.parser.stmt.rfc6020.BelongsToStatementImpl$Definition$1 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
77 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ConfigStatementImpl$Definition
| Bug |
Category |
Details |
Line |
Priority |
| Call to org.opendaylight.yangtools.yang.parser.stmt.rfc6020.EmptyConfigStatement$1.equals(org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ConfigStatementImpl) in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ConfigStatementImpl$Definition.createDeclared(StmtContext) |
CORRECTNESS |
EC_UNRELATED_TYPES |
44 |
High |
| Call to org.opendaylight.yangtools.yang.parser.stmt.rfc6020.EmptyConfigStatement$2.equals(org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ConfigStatementImpl) in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ConfigStatementImpl$Definition.createDeclared(StmtContext) |
CORRECTNESS |
EC_UNRELATED_TYPES |
46 |
High |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.GroupingStatementImpl$Definition
| Bug |
Category |
Details |
Line |
Priority |
| Nullcheck of stmt at line 81 of value previously dereferenced in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.GroupingStatementImpl$Definition.onFullDefinitionDeclared(StmtContext$Mutable) |
CORRECTNESS |
RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE |
79 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ImportStatementDefinition
| Bug |
Category |
Details |
Line |
Priority |
| Dead store to linkageTarget in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ImportStatementDefinition.onPreLinkageDeclared(StmtContext$Mutable) |
STYLE |
DLS_DEAD_LOCAL_STORE |
97 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ImportStatementDefinition$1
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ImportStatementDefinition$1 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
99 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ImportStatementDefinition$SemanticVersionImport
| Bug |
Category |
Details |
Line |
Priority |
| Redundant nullcheck of allRelevantModulesMap, which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ImportStatementDefinition$SemanticVersionImport.findRecentCompatibleModuleEntry(String, StmtContext$Mutable) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
282 |
Medium |
| Redundant nullcheck of requestedImportVersion, which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ImportStatementDefinition$SemanticVersionImport.getRequestedImportVersion(StmtContext$Mutable) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
272 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.IncludeStatementImpl$Definition$1
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.yangtools.yang.parser.stmt.rfc6020.IncludeStatementImpl$Definition$1 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
77 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.MandatoryStatementImpl$Definition
| Bug |
Category |
Details |
Line |
Priority |
| Call to org.opendaylight.yangtools.yang.parser.stmt.rfc6020.EmptyMandatoryStatement$1.equals(org.opendaylight.yangtools.yang.parser.stmt.rfc6020.MandatoryStatementImpl) in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.MandatoryStatementImpl$Definition.createDeclared(StmtContext) |
CORRECTNESS |
EC_UNRELATED_TYPES |
44 |
High |
| Call to org.opendaylight.yangtools.yang.parser.stmt.rfc6020.EmptyMandatoryStatement$2.equals(org.opendaylight.yangtools.yang.parser.stmt.rfc6020.MandatoryStatementImpl) in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.MandatoryStatementImpl$Definition.createDeclared(StmtContext) |
CORRECTNESS |
EC_UNRELATED_TYPES |
46 |
High |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ModuleStatementSupport
| Bug |
Category |
Details |
Line |
Priority |
| Redundant nullcheck of moduleSemVer, which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ModuleStatementSupport.addToSemVerModuleNamespace(StmtContext$Mutable) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
186 |
Medium |
| Redundant nullcheck of modulesMap, which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ModuleStatementSupport.addToSemVerModuleNamespace(StmtContext$Mutable) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
182 |
Medium |
| Redundant nullcheck of possibleDuplicateModule, which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ModuleStatementSupport.onLinkageDeclared(StmtContext$Mutable) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
148 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.SchemaNodeIdentifierBuildNamespace
| Bug |
Category |
Details |
Line |
Priority |
| Redundant nullcheck of nextNodeCtx, which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.SchemaNodeIdentifierBuildNamespace.getFrom(NamespaceBehaviour$NamespaceStorageNode, SchemaNodeIdentifier) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
67 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.SubmoduleStatementImpl$Definition
| Bug |
Category |
Details |
Line |
Priority |
| Redundant nullcheck of possibleDuplicateSubmodule, which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.SubmoduleStatementImpl$Definition.onLinkageDeclared(StmtContext$Mutable) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
105 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.TypeStatementImpl$Definition$1
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.yangtools.yang.parser.stmt.rfc6020.TypeStatementImpl$Definition$1 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
214 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.TypedefStatementImpl$Definition
| Bug |
Category |
Details |
Line |
Priority |
| Nullcheck of stmt at line 72 of value previously dereferenced in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.TypedefStatementImpl$Definition.onFullDefinitionDeclared(StmtContext$Mutable) |
CORRECTNESS |
RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE |
71 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.UsesStatementImpl$Definition$1
| Bug |
Category |
Details |
Line |
Priority |
| The class org.opendaylight.yangtools.yang.parser.stmt.rfc6020.UsesStatementImpl$Definition$1 could be refactored into a named _static_ inner class |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC_ANON |
103 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.Utils
| Bug |
Category |
Details |
Line |
Priority |
| Possible null pointer dereference of null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.Utils.getRootModuleQName(StmtContext) |
CORRECTNESS |
NP_NULL_ON_SOME_PATH |
568 |
High |
| Redundant nullcheck of qNameModule, which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.Utils.qNameFromArgument(StmtContext, String) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
516 |
High |
| Redundant nullcheck of qNameModule, which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.Utils.getModuleQNameByPrefix(StmtContext, String) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
542 |
Medium |
| Redundant nullcheck of qNameModule, which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.Utils.qNameFromArgument(StmtContext, String) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
510 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.YinStatementSourceImpl
| Bug |
Category |
Details |
Line |
Priority |
| Usage of GetResource in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.YinStatementSourceImpl.loadFile(String, boolean) may be unsafe if class is extended |
BAD_PRACTICE |
UI_INHERITANCE_UNSAFE_GETRESOURCE |
126 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.AbstractEffectiveSimpleDataNodeContainer
| Bug |
Category |
Details |
Line |
Priority |
| Class org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.AbstractEffectiveSimpleDataNodeContainer implements same interface as superclass |
STYLE |
RI_REDUNDANT_INTERFACES |
46 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.AugmentEffectiveStatementImpl
| Bug |
Category |
Details |
Line |
Priority |
| org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.AugmentEffectiveStatementImpl.getRevision() may expose internal representation by returning AugmentEffectiveStatementImpl.revision |
MALICIOUS_CODE |
EI_EXPOSE_REP |
98 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.ChoiceEffectiveStatementImpl
| Bug |
Category |
Details |
Line |
Priority |
| Redundant nullcheck of org.opendaylight.yangtools.yang.model.api.ChoiceCaseNode.getQName(), which is known to be non-null in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.ChoiceEffectiveStatementImpl.getCaseNodeByName(String) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
143 |
Low |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.IdentityEffectiveStatementImpl
| Bug |
Category |
Details |
Line |
Priority |
| Redundant nullcheck of derivedIdentitiesCtxList, which is known to be non-null in new org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.IdentityEffectiveStatementImpl(StmtContext) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
36 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.ImportEffectiveStatementImpl
| Bug |
Category |
Details |
Line |
Priority |
| org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.ImportEffectiveStatementImpl.getRevision() may expose internal representation by returning ImportEffectiveStatementImpl.revision |
MALICIOUS_CODE |
EI_EXPOSE_REP |
61 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.TypeDefEffectiveStatementImpl
| Bug |
Category |
Details |
Line |
Priority |
| Possible doublecheck on org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.TypeDefEffectiveStatementImpl.typeStatement in org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.TypeDefEffectiveStatementImpl.asTypeEffectiveStatement() |
MT_CORRECTNESS |
DC_DOUBLECHECK |
72 |
Medium |
| Inconsistent synchronization of org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.TypeDefEffectiveStatementImpl.typeStatement; locked 66% of time |
MT_CORRECTNESS |
IS2_INCONSISTENT_SYNC |
71 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.UnknownEffectiveStatementBase
| Bug |
Category |
Details |
Line |
Priority |
| Redundant nullcheck of extensionInit, which is known to be non-null in new org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.UnknownEffectiveStatementBase(StmtContext) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
43 |
Medium |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.type.BitEffectiveStatementImpl
| Bug |
Category |
Details |
Line |
Priority |
| org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.type.BitEffectiveStatementImpl.equals(Object) checks for operand being a org.opendaylight.yangtools.yang.model.api.type.BitsTypeDefinition$Bit |
BAD_PRACTICE |
EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS |
95 |
Medium |