SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.4
Threshold is medium
Effort is default
Summary
| Classes |
Bugs |
Errors |
Missing Classes |
| 115 |
15 |
0 |
0 |
com.bonitasoft.processbuilder.execution.AuthPipeline
| Bug |
Category |
Details |
Line |
Priority |
| Redundant nullcheck of config, which is known to be non-null in com.bonitasoft.processbuilder.execution.AuthPipeline.resolve(JsonNode) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
38 |
Medium |
com.bonitasoft.processbuilder.execution.ConnectorRequest
| Bug |
Category |
Details |
Line |
Priority |
| com.bonitasoft.processbuilder.execution.ConnectorRequest.headers() may expose internal representation by returning ConnectorRequest.headers |
MALICIOUS_CODE |
EI_EXPOSE_REP |
26 |
Medium |
| com.bonitasoft.processbuilder.execution.ConnectorRequest.params() may expose internal representation by returning ConnectorRequest.params |
MALICIOUS_CODE |
EI_EXPOSE_REP |
26 |
Medium |
| com.bonitasoft.processbuilder.execution.ConnectorRequest.queryParams() may expose internal representation by returning ConnectorRequest.queryParams |
MALICIOUS_CODE |
EI_EXPOSE_REP |
26 |
Medium |
com.bonitasoft.processbuilder.execution.ConnectorResponse
| Bug |
Category |
Details |
Line |
Priority |
| com.bonitasoft.processbuilder.execution.ConnectorResponse.responseHeaders() may expose internal representation by returning ConnectorResponse.responseHeaders |
MALICIOUS_CODE |
EI_EXPOSE_REP |
18 |
Medium |
com.bonitasoft.processbuilder.execution.HttpExecutor
| Bug |
Category |
Details |
Line |
Priority |
| Exception is caught when Exception is not thrown in com.bonitasoft.processbuilder.execution.HttpExecutor.<static initializer for HttpExecutor>() |
STYLE |
REC_CATCH_EXCEPTION |
76 |
Medium |
| Exception is caught when Exception is not thrown in com.bonitasoft.processbuilder.execution.HttpExecutor.execute(RestServiceRequest) |
STYLE |
REC_CATCH_EXCEPTION |
167 |
Medium |
com.bonitasoft.processbuilder.records.RestAuthConfig$BasicAuth
| Bug |
Category |
Details |
Line |
Priority |
| Found reliance on default encoding in com.bonitasoft.processbuilder.records.RestAuthConfig$BasicAuth.getAuthHeaders(): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
258 |
High |
com.bonitasoft.processbuilder.records.RestAuthConfig$CustomAuth
| Bug |
Category |
Details |
Line |
Priority |
| com.bonitasoft.processbuilder.records.RestAuthConfig$CustomAuth.getAuthHeaders() may expose internal representation by returning RestAuthConfig$CustomAuth.headers |
MALICIOUS_CODE |
EI_EXPOSE_REP |
499 |
Medium |
| com.bonitasoft.processbuilder.records.RestAuthConfig$CustomAuth.headers() may expose internal representation by returning RestAuthConfig$CustomAuth.headers |
MALICIOUS_CODE |
EI_EXPOSE_REP |
485 |
Medium |
com.bonitasoft.processbuilder.records.RestAuthConfig$OAuth2ClientCredentials
| Bug |
Category |
Details |
Line |
Priority |
| Found reliance on default encoding in com.bonitasoft.processbuilder.records.RestAuthConfig$OAuth2ClientCredentials.getTokenRequestHeaders(): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
370 |
High |
com.bonitasoft.processbuilder.records.RestServiceRequest
| Bug |
Category |
Details |
Line |
Priority |
| com.bonitasoft.processbuilder.records.RestServiceRequest.headers() may expose internal representation by returning RestServiceRequest.headers |
MALICIOUS_CODE |
EI_EXPOSE_REP |
34 |
Medium |
| com.bonitasoft.processbuilder.records.RestServiceRequest.queryParams() may expose internal representation by returning RestServiceRequest.queryParams |
MALICIOUS_CODE |
EI_EXPOSE_REP |
34 |
Medium |
com.bonitasoft.processbuilder.records.RestServiceResponse
| Bug |
Category |
Details |
Line |
Priority |
| com.bonitasoft.processbuilder.records.RestServiceResponse.headers() may expose internal representation by returning RestServiceResponse.headers |
MALICIOUS_CODE |
EI_EXPOSE_REP |
29 |
Medium |
com.bonitasoft.processbuilder.records.UsersConfigRecord
| Bug |
Category |
Details |
Line |
Priority |
| com.bonitasoft.processbuilder.records.UsersConfigRecord.memberShips() may expose internal representation by returning UsersConfigRecord.memberShips |
MALICIOUS_CODE |
EI_EXPOSE_REP |
38 |
Medium |