SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.0.4

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
382 90 0 0

Files

Class Bugs
com.hcl.domino.admin.AbstractGroup 1
com.hcl.domino.keep.KeepFactory 1
com.hcl.domino.keep.Launch 1
com.hcl.domino.keep.LaunchHandler 1
com.hcl.domino.keep.cache.impl.KeepApplicationCacheHolder 1
com.hcl.domino.keep.config.KeepConfigHolder 3
com.hcl.domino.keep.dbrequests.KeepJnxSession 1
com.hcl.domino.keep.dbrequests.data.CreateDocumentAttachment 2
com.hcl.domino.keep.dbrequests.data.GetDocumentAttachment 1
com.hcl.domino.keep.dbrequests.data.UpdateDocument 1
com.hcl.domino.keep.dbrequests.designcode.ExecuteAgentWithContext 1
com.hcl.domino.keep.dbrequests.designcode.UpdateCreateForm 1
com.hcl.domino.keep.dbrequests.designcode.UpdateCreateView 1
com.hcl.domino.keep.dbrequests.pim.AdditionalFieldsHelper 1
com.hcl.domino.keep.dbrequests.pim.CreateMessage 1
com.hcl.domino.keep.dbrequests.pim.CreateRule 1
com.hcl.domino.keep.dbrequests.pim.DelegationHelper$PimAccess 1
com.hcl.domino.keep.dbrequests.pim.DeleteLabel 1
com.hcl.domino.keep.dbrequests.pim.GetMessageBody 1
com.hcl.domino.keep.dbrequests.pim.GetMimeMessage 1
com.hcl.domino.keep.dbrequests.pim.GetOOO 1
com.hcl.domino.keep.dbrequests.pim.GetPeople 1
com.hcl.domino.keep.dbrequests.pim.GetTemplates 1
com.hcl.domino.keep.dbrequests.pim.LabelHelper 1
com.hcl.domino.keep.dbrequests.pim.LookupUserInfo 2
com.hcl.domino.keep.dbrequests.pim.RulesHelper 22
com.hcl.domino.keep.dbrequests.pim.TaskHelper 1
com.hcl.domino.keep.dbrequests.pim.UpdateLabel 1
com.hcl.domino.keep.dbrequests.pim.UpdateRule 1
com.hcl.domino.keep.dbrequests.pim.mapper.DominoJMapperDefault$MapHelper 1
com.hcl.domino.keep.eventbus.KeepSubscriber 1
com.hcl.domino.keep.exceptions.ErrorClassification 1
com.hcl.domino.keep.handlers.core.AbstractAPIHandler 2
com.hcl.domino.keep.handlers.core.FetchOdata 1
com.hcl.domino.keep.handlers.core.FetchOdataList 1
com.hcl.domino.keep.handlers.core.GetDesign 1
com.hcl.domino.keep.handlers.core.GetDxl 1
com.hcl.domino.keep.handlers.core.GetOdataMetadata 1
com.hcl.domino.keep.handlers.pim.GetMailAttachment 1
com.hcl.domino.keep.metrics.KeepStatisticsHolder 1
com.hcl.domino.keep.platform.AsyncAgentController 2
com.hcl.domino.keep.platform.ConfigLoader 1
com.hcl.domino.keep.platform.DominoXMLDesign 2
com.hcl.domino.keep.platform.InflightController$InflightInfo 1
com.hcl.domino.keep.platform.KeepJSHelper 2
com.hcl.domino.keep.saml.CertBuilder 1
com.hcl.domino.keep.saml.SamlDescriptorBuilder 1
com.hcl.domino.keep.security.BasicHandler 1
com.hcl.domino.keep.security.JwtManagerHolder 3
com.hcl.domino.keep.tools.KeepMustacheHelper 2
com.hcl.domino.keep.tools.KeepUtils 2
com.hcl.domino.keep.tools.MimeHelper 2
com.hcl.domino.keep.tools.SimpleXMLDoc 2
com.hcl.domino.keep.tools.SimpleXMLDoc$Element 1
com.hcl.domino.keep.verticles.AgentSchedulerServiceVerticle 1

com.hcl.domino.admin.AbstractGroup

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive com.hcl.domino.admin.AbstractGroup.resolveRecursive(KeepJnxSession, String, TreeSet, ArrayList, TreeSet, Map) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 332 High

com.hcl.domino.keep.KeepFactory

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in com.hcl.domino.keep.KeepFactory.getHandlerForIncomingRequest(Vertx, KeepApiInfo, boolean, String, JsonObject, JsonObject) STYLE REC_CATCH_EXCEPTION 181 Medium

com.hcl.domino.keep.Launch

Bug Category Details Line Priority
com.hcl.domino.keep.Launch.config isn't final and can't be protected from malicious code MALICIOUS_CODE MS_CANNOT_BE_FINAL Not available Medium

com.hcl.domino.keep.LaunchHandler

Bug Category Details Line Priority
Exceptional return value of java.io.File.delete() ignored in com.hcl.domino.keep.LaunchHandler.prepareForDebug(boolean) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 373 Medium

com.hcl.domino.keep.cache.impl.KeepApplicationCacheHolder

Bug Category Details Line Priority
com.hcl.domino.keep.cache.impl.KeepApplicationCacheHolder.setBarbican(TheBarbican) unconditionally sets the field barbican BAD_PRACTICE ME_ENUM_FIELD_SETTER 136 Medium

com.hcl.domino.keep.config.KeepConfigHolder

Bug Category Details Line Priority
com.hcl.domino.keep.config.KeepConfigHolder.setPimConfig(JsonObject) unconditionally sets the field pimConfig BAD_PRACTICE ME_ENUM_FIELD_SETTER 250 Medium
com.hcl.domino.keep.config.KeepConfigHolder.setSystemUserName(String) unconditionally sets the field systemUserName BAD_PRACTICE ME_ENUM_FIELD_SETTER 256 Medium
Redundant nullcheck of candidate, which is known to be non-null in com.hcl.domino.keep.config.KeepConfigHolder.getAllKeepApiInfo(String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 134 Medium

com.hcl.domino.keep.dbrequests.KeepJnxSession

Bug Category Details Line Priority
Nullcheck of fields at line 289 of value previously dereferenced in com.hcl.domino.keep.dbrequests.KeepJnxSession.document2JsonSelected(Document, Set, String, Map) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 283 Medium

com.hcl.domino.keep.dbrequests.data.CreateDocumentAttachment

Bug Category Details Line Priority
Dead store to fieldName in com.hcl.domino.keep.dbrequests.data.CreateDocumentAttachment.process(DbRequestParameters) STYLE DLS_DEAD_LOCAL_STORE 105 Medium
Exceptional return value of java.io.File.delete() ignored in com.hcl.domino.keep.dbrequests.data.CreateDocumentAttachment.process(DbRequestParameters) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 127 Medium

com.hcl.domino.keep.dbrequests.data.GetDocumentAttachment

Bug Category Details Line Priority
com.hcl.domino.keep.dbrequests.data.GetDocumentAttachment.process(DbRequestParameters) may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 77 Medium

com.hcl.domino.keep.dbrequests.data.UpdateDocument

Bug Category Details Line Priority
Redundant nullcheck of note, which is known to be non-null in com.hcl.domino.keep.dbrequests.data.UpdateDocument.process(DbRequestParameters) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 67 Medium

com.hcl.domino.keep.dbrequests.designcode.ExecuteAgentWithContext

Bug Category Details Line Priority
Redundant nullcheck of doc, which is known to be non-null in com.hcl.domino.keep.dbrequests.designcode.ExecuteAgentWithContext.process(DbRequestParameters) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 83 Medium

com.hcl.domino.keep.dbrequests.designcode.UpdateCreateForm

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.dbrequests.designcode.UpdateCreateForm.process(DbRequestParameters): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 97 High

com.hcl.domino.keep.dbrequests.designcode.UpdateCreateView

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.dbrequests.designcode.UpdateCreateView.process(DbRequestParameters): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 99 High

com.hcl.domino.keep.dbrequests.pim.AdditionalFieldsHelper

Bug Category Details Line Priority
Unread field: com.hcl.domino.keep.dbrequests.pim.AdditionalFieldsHelper.db PERFORMANCE URF_UNREAD_FIELD 64 Medium

com.hcl.domino.keep.dbrequests.pim.CreateMessage

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.dbrequests.pim.CreateMessage.processPayload(KeepJnxSession, Database, JsonObject): new String(byte[]) I18N DM_DEFAULT_ENCODING 213 High

com.hcl.domino.keep.dbrequests.pim.CreateRule

Bug Category Details Line Priority
Comparison of String objects using == or != in com.hcl.domino.keep.dbrequests.pim.CreateRule.process(DbRequestParameters) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 115 High

com.hcl.domino.keep.dbrequests.pim.DelegationHelper$PimAccess

Bug Category Details Line Priority
Should com.hcl.domino.keep.dbrequests.pim.DelegationHelper$PimAccess be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 35-39 Medium

com.hcl.domino.keep.dbrequests.pim.DeleteLabel

Bug Category Details Line Priority
Boxed value is unboxed and then immediately reboxed in com.hcl.domino.keep.dbrequests.pim.DeleteLabel.lambda$processPayload$0(Database, AtomicInteger, JsonArray, Integer) PERFORMANCE BX_UNBOXING_IMMEDIATELY_REBOXED 150 Medium

com.hcl.domino.keep.dbrequests.pim.GetMessageBody

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.dbrequests.pim.GetMessageBody.docWrite2Html(DominoClient, Document, ResponseSubscriberOutputStream): new java.io.OutputStreamWriter(OutputStream) I18N DM_DEFAULT_ENCODING 116 High

com.hcl.domino.keep.dbrequests.pim.GetMimeMessage

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.dbrequests.pim.GetMimeMessage.processPayload(KeepJnxSession, Database, JsonObject): new java.io.OutputStreamWriter(OutputStream) I18N DM_DEFAULT_ENCODING 76 High

com.hcl.domino.keep.dbrequests.pim.GetOOO

Bug Category Details Line Priority
Comparison of String objects using == or != in com.hcl.domino.keep.dbrequests.pim.GetOOO.populateFields(KeepJnxSession, JsonObject, Database, String) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 73 Medium

com.hcl.domino.keep.dbrequests.pim.GetPeople

Bug Category Details Line Priority
Possible null pointer dereference of payload in com.hcl.domino.keep.dbrequests.pim.GetPeople.processPayload(KeepJnxSession, Database, JsonObject) CORRECTNESS NP_NULL_ON_SOME_PATH 71 Medium

com.hcl.domino.keep.dbrequests.pim.GetTemplates

Bug Category Details Line Priority
Possible null pointer dereference of payload in com.hcl.domino.keep.dbrequests.pim.GetTemplates.processPayload(KeepJnxSession, Database, JsonObject) CORRECTNESS NP_NULL_ON_SOME_PATH 70 Medium

com.hcl.domino.keep.dbrequests.pim.LabelHelper

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.dbrequests.pim.LabelHelper.getBase64Encoded(String): String.getBytes() I18N DM_DEFAULT_ENCODING 115 High

com.hcl.domino.keep.dbrequests.pim.LookupUserInfo

Bug Category Details Line Priority
Boxed value is unboxed and then immediately reboxed in com.hcl.domino.keep.dbrequests.pim.LookupUserInfo.searchNamesNSF(KeepJnxSession, List, String, String) PERFORMANCE BX_UNBOXING_IMMEDIATELY_REBOXED 144 Medium
Dead store to userCache in com.hcl.domino.keep.dbrequests.pim.LookupUserInfo.checkCacheByEmail(String) STYLE DLS_DEAD_LOCAL_STORE 121 Medium

com.hcl.domino.keep.dbrequests.pim.RulesHelper

Bug Category Details Line Priority
Dead store to tempTokExtra in com.hcl.domino.keep.dbrequests.pim.RulesHelper.addRule(String) STYLE DLS_DEAD_LOCAL_STORE 302 Medium
Dead store to $L13 in com.hcl.domino.keep.dbrequests.pim.RulesHelper.disableRule(String) STYLE DLS_DEAD_LOCAL_STORE 387 Medium
Dead store to $L12 in com.hcl.domino.keep.dbrequests.pim.RulesHelper.enableRule(String) STYLE DLS_DEAD_LOCAL_STORE 472 Medium
Boxing/unboxing to parse a primitive com.hcl.domino.keep.dbrequests.pim.RulesHelper.buildActionFormula() PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 556 High
Primitive boxed just to call toString in com.hcl.domino.keep.dbrequests.pim.RulesHelper.buildActionFormula() PERFORMANCE DM_BOXED_PRIMITIVE_TOSTRING 556 Medium
com.hcl.domino.keep.dbrequests.pim.RulesHelper.buildActionFormula() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 556 Medium
com.hcl.domino.keep.dbrequests.pim.RulesHelper.buildActionFormula() invokes inefficient new Integer(String) constructor; use Integer.valueOf(String) instead PERFORMANCE DM_NUMBER_CTOR 556 Medium
com.hcl.domino.keep.dbrequests.pim.RulesHelper.disableRule(String) invokes inefficient new Integer(String) constructor; use Integer.valueOf(String) instead PERFORMANCE DM_NUMBER_CTOR 369 Medium
com.hcl.domino.keep.dbrequests.pim.RulesHelper.enableRule(String) invokes inefficient new Integer(String) constructor; use Integer.valueOf(String) instead PERFORMANCE DM_NUMBER_CTOR 463 Medium
com.hcl.domino.keep.dbrequests.pim.RulesHelper.addAction(String) invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 155 Medium
com.hcl.domino.keep.dbrequests.pim.RulesHelper.addRule(String) invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 293 Medium
Comparison of String objects using == or != in com.hcl.domino.keep.dbrequests.pim.RulesHelper.addRule(String) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 301 High
com.hcl.domino.keep.dbrequests.pim.RulesHelper.addAction(String) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 178 Medium
com.hcl.domino.keep.dbrequests.pim.RulesHelper.buildRuleFormula() concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 618 Medium
com.hcl.domino.keep.dbrequests.pim.RulesHelper.specialHandling(HashMap) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 1055 Medium
Unread field: com.hcl.domino.keep.dbrequests.pim.RulesHelper.TOKSEP; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 74 Medium
Unread field: com.hcl.domino.keep.dbrequests.pim.RulesHelper.codePos; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 76 Medium
Unread field: com.hcl.domino.keep.dbrequests.pim.RulesHelper.importanceActionPos; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 79 Medium
Unread field: com.hcl.domino.keep.dbrequests.pim.RulesHelper.logicsymbolpos; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 80 Medium
Unread field: com.hcl.domino.keep.dbrequests.pim.RulesHelper.ruleType; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 73 Medium
Unread field: com.hcl.domino.keep.dbrequests.pim.RulesHelper.stringPos; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 75 Medium
Unread field: com.hcl.domino.keep.dbrequests.pim.RulesHelper.varPos; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 77 Medium

com.hcl.domino.keep.dbrequests.pim.TaskHelper

Bug Category Details Line Priority
Return value of updateFieldValues(JsonObject, DbRequestParameters) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 69 High

com.hcl.domino.keep.dbrequests.pim.UpdateLabel

Bug Category Details Line Priority
com.hcl.domino.keep.dbrequests.pim.UpdateLabel.process(DbRequestParameters) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 138 Medium

com.hcl.domino.keep.dbrequests.pim.UpdateRule

Bug Category Details Line Priority
Dead store to condList in com.hcl.domino.keep.dbrequests.pim.UpdateRule.updateConditionAction(RulesHelper, JsonObject, Document) STYLE DLS_DEAD_LOCAL_STORE 116 Medium

com.hcl.domino.keep.dbrequests.pim.mapper.DominoJMapperDefault$MapHelper

Bug Category Details Line Priority
Should com.hcl.domino.keep.dbrequests.pim.mapper.DominoJMapperDefault$MapHelper be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 50-56 Medium

com.hcl.domino.keep.eventbus.KeepSubscriber

Bug Category Details Line Priority
Unread public/protected field: com.hcl.domino.keep.eventbus.KeepSubscriber.c STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 38 Medium

com.hcl.domino.keep.exceptions.ErrorClassification

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive com.hcl.domino.keep.exceptions.ErrorClassification.getValue() PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 91 High

com.hcl.domino.keep.handlers.core.AbstractAPIHandler

Bug Category Details Line Priority
Return value of io.reactivex.Observable.subscribe(Consumer, Consumer, Action) ignored in com.hcl.domino.keep.handlers.core.AbstractAPIHandler.listenForBufferResponse(EventBusRequestObservable, RoutingContext) CORRECTNESS RV_RETURN_VALUE_IGNORED 515 Medium
Return value of io.reactivex.Observable.subscribe(Consumer, Consumer, Action) ignored in com.hcl.domino.keep.handlers.core.AbstractAPIHandler.listenForJsonResponse(EventBusRequestObservable, RoutingContext) CORRECTNESS RV_RETURN_VALUE_IGNORED 545 Medium

com.hcl.domino.keep.handlers.core.FetchOdata

Bug Category Details Line Priority
Return value of io.reactivex.Observable.subscribe(Consumer, Consumer, Action) ignored in com.hcl.domino.keep.handlers.core.FetchOdata.listenForResponse(EventBusRequestObservable, RoutingContext) CORRECTNESS RV_RETURN_VALUE_IGNORED 159 Medium

com.hcl.domino.keep.handlers.core.FetchOdataList

Bug Category Details Line Priority
Return value of io.reactivex.Observable.subscribe(Consumer, Consumer, Action) ignored in com.hcl.domino.keep.handlers.core.FetchOdataList.listenForResponse(EventBusRequestObservable, RoutingContext) CORRECTNESS RV_RETURN_VALUE_IGNORED 56 Medium

com.hcl.domino.keep.handlers.core.GetDesign

Bug Category Details Line Priority
Return value of io.reactivex.Observable.subscribe(Consumer, Consumer, Action) ignored in com.hcl.domino.keep.handlers.core.GetDesign.listenForResponse(EventBusRequestObservable, RoutingContext) CORRECTNESS RV_RETURN_VALUE_IGNORED 70 Medium

com.hcl.domino.keep.handlers.core.GetDxl

Bug Category Details Line Priority
Return value of io.reactivex.Observable.subscribe(Consumer, Consumer, Action) ignored in com.hcl.domino.keep.handlers.core.GetDxl.listenForResponse(EventBusRequestObservable, RoutingContext) CORRECTNESS RV_RETURN_VALUE_IGNORED 53 Medium

com.hcl.domino.keep.handlers.core.GetOdataMetadata

Bug Category Details Line Priority
Return value of io.reactivex.Observable.subscribe(Consumer, Consumer, Action) ignored in com.hcl.domino.keep.handlers.core.GetOdataMetadata.listenForResponse(EventBusRequestObservable, RoutingContext) CORRECTNESS RV_RETURN_VALUE_IGNORED 58 Medium

com.hcl.domino.keep.handlers.pim.GetMailAttachment

Bug Category Details Line Priority
Return value of io.reactivex.Observable.subscribe(Consumer, Consumer, Action) ignored in com.hcl.domino.keep.handlers.pim.GetMailAttachment.listenForResponse(EventBusRequestObservable, RoutingContext) CORRECTNESS RV_RETURN_VALUE_IGNORED 70 Medium

com.hcl.domino.keep.metrics.KeepStatisticsHolder

Bug Category Details Line Priority
Primitive value is boxed and then immediately unboxed in com.hcl.domino.keep.metrics.KeepStatisticsHolder.adjustConfiguredForms(KeepDbInfo, KeepStatistics$StatisticAction) PERFORMANCE BX_BOXING_IMMEDIATELY_UNBOXED 58 Medium

com.hcl.domino.keep.platform.AsyncAgentController

Bug Category Details Line Priority
com.hcl.domino.keep.platform.AsyncAgentController.isStarted field is public and mutable BAD_PRACTICE ME_MUTABLE_ENUM_FIELD Not available Medium
com.hcl.domino.keep.platform.AsyncAgentController.isStopping field is public and mutable BAD_PRACTICE ME_MUTABLE_ENUM_FIELD Not available Medium

com.hcl.domino.keep.platform.ConfigLoader

Bug Category Details Line Priority
Exceptional return value of java.io.File.delete() ignored in com.hcl.domino.keep.platform.ConfigLoader.runRemoveDbDesign(Database) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 621 Medium

com.hcl.domino.keep.platform.DominoXMLDesign

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.platform.DominoXMLDesign.getRaw(): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 130 High
Found reliance on default encoding in com.hcl.domino.keep.platform.DominoXMLDesign.loadXMLFromString(String): String.getBytes() I18N DM_DEFAULT_ENCODING 249 High

com.hcl.domino.keep.platform.InflightController$InflightInfo

Bug Category Details Line Priority
Should com.hcl.domino.keep.platform.InflightController$InflightInfo be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 49-73 Medium

com.hcl.domino.keep.platform.KeepJSHelper

Bug Category Details Line Priority
Unread public/protected field: com.hcl.domino.keep.platform.KeepJSHelper.document STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 35 Medium
Unread public/protected field: com.hcl.domino.keep.platform.KeepJSHelper.view STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 36 Medium

com.hcl.domino.keep.saml.CertBuilder

Bug Category Details Line Priority
Unread field: com.hcl.domino.keep.saml.CertBuilder.keyLenght; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 70 Medium

com.hcl.domino.keep.saml.SamlDescriptorBuilder

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.saml.SamlDescriptorBuilder.build(): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 122 High

com.hcl.domino.keep.security.BasicHandler

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.security.BasicHandler.handle(RoutingContext): new String(byte[]) I18N DM_DEFAULT_ENCODING 86 High

com.hcl.domino.keep.security.JwtManagerHolder

Bug Category Details Line Priority
com.hcl.domino.keep.security.JwtManagerHolder.initializeAuthprovider(Vertx, JsonObject) unconditionally sets the field config BAD_PRACTICE ME_ENUM_FIELD_SETTER 123 Medium
com.hcl.domino.keep.security.JwtManagerHolder.setAuthProvider(JWTAuth) unconditionally sets the field authProvider BAD_PRACTICE ME_ENUM_FIELD_SETTER 141 Medium
com.hcl.domino.keep.security.JwtManagerHolder.setAuthProvider(JWTAuth) unconditionally sets the field internalAuthProvider BAD_PRACTICE ME_ENUM_FIELD_SETTER 142 Medium

com.hcl.domino.keep.tools.KeepMustacheHelper

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.tools.KeepMustacheHelper.execute(JsonObject, OutputStream): new java.io.PrintWriter(OutputStream) I18N DM_DEFAULT_ENCODING 88 High
Found reliance on default encoding in com.hcl.domino.keep.tools.KeepMustacheHelper.getMustache(): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 217 High

com.hcl.domino.keep.tools.KeepUtils

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.tools.KeepUtils.getMapFromResource(String, String): new java.util.Scanner(InputStream) I18N DM_DEFAULT_ENCODING 405 High
Possible null pointer dereference in com.hcl.domino.keep.tools.KeepUtils.loadConfiguration(Vertx, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 565 Medium

com.hcl.domino.keep.tools.MimeHelper

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.tools.MimeHelper.json2Mime(JsonObject, Collection, String, String): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 318 High
Comparison of String parameter using == or != in com.hcl.domino.keep.tools.MimeHelper.docMime2Stream(DominoClient, Document, String, int, OutputStream) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 208 High

com.hcl.domino.keep.tools.SimpleXMLDoc

Bug Category Details Line Priority
Found reliance on default encoding in com.hcl.domino.keep.tools.SimpleXMLDoc.initializeDoc(): new java.io.PrintWriter(OutputStream) I18N DM_DEFAULT_ENCODING 441 High
Call to method of static java.text.DateFormat in com.hcl.domino.keep.tools.SimpleXMLDoc.dateElement(SimpleXMLDoc$Element, Date) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 316 Medium

com.hcl.domino.keep.tools.SimpleXMLDoc$Element

Bug Category Details Line Priority
Should com.hcl.domino.keep.tools.SimpleXMLDoc$Element be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 60-107 Medium

com.hcl.domino.keep.verticles.AgentSchedulerServiceVerticle

Bug Category Details Line Priority
Format string should use %n rather than \n in com.hcl.domino.keep.verticles.AgentSchedulerServiceVerticle.lambda$shutdownAgents$18(Promise, AtomicInteger, Long) BAD_PRACTICE VA_FORMAT_STRING_USES_NEWLINE 350 Medium