Filter by:
File Violation Severity
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodNamingConventions   (kritika/PMD Java)
The JUnit 4 test method name 'test_createfolder_failure_400' doesn't match '[a-z][a-zA-Z0-9]+'
Critical
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java MethodNamingConventions   (kritika/PMD Java)
The method method name 'setIam_request_body' doesn't match '[a-z][a-zA-Z0-9]+'
Critical
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'updateMetadataResponse_404' is not final.
Critical
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), '_path' is not final.
Critical
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'iam_request_headers' is not final.
Critical
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'iam_request_headers' is not final.
Critical
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'response_404' is not final.
Critical
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'response_404' is not final.
Critical
1002
 
1003
        Response userResponse = getMockResponse(HttpStatus.OK, true, "{\"data\":{\"bound_cidrs\":[],\"max_ttl\":0,\"policies\":[\"default\",\"w_shared_mysafe01\",\"w_shared_mysafe02\"],\"ttl\":0,\"groups\":\"admin\"}}");
1004
        Response groupResponse = getMockResponse(HttpStatus.OK, true, "{\"data\":{\"bound_cidrs\":[],\"max_ttl\":0,\"policies\":[\"default\",\"w_shared_mysafe01\",\"w_shared_mysafe02\"],\"ttl\":0,\"groups\":\"admin\"}}");
1005
        Response idapConfigureResponse = getMockResponse(HttpStatus.NO_CONTENT, true, "{\"policies\":null}");
1006
        Response responseNoContent = getMockResponse(HttpStatus.NO_CONTENT, true, "");
1007
        Response response_404 = getMockResponse(HttpStatus.NOT_FOUND, true, "");
1008
        ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body("{\"erros\":[\"Group configuration failed.Please try again\"]}");
1009
 
1010
        when(ControllerUtil.areSafeGroupInputsValid(safeGroup)).thenReturn(true);
1011
        when(JSONUtil.getJSON(safeGroup)).thenReturn(jsonstr);
1012
        when(ControllerUtil.canAddPermission(path, token)).thenReturn(true);
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'response_404' is not final.
Critical
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'response_404' is not final.
Critical
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodNamingConventions   (kritika/PMD Java)
The JUnit 4 test method name 'test_getInfo_successfully' doesn't match '[a-z][a-zA-Z0-9]+'
Critical
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'iam_request_url' is not final.
Critical
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'iam_http_request_method' is not final.
Critical
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java MethodNamingConventions   (kritika/PMD Java)
The method method name 'setIam_request_headers' doesn't match '[a-z][a-zA-Z0-9]+'
Critical
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'updateMetadataResponse_404' is not final.
Critical
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'updateMetadataResponse_404' is not final.
Critical
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodNamingConventions   (kritika/PMD Java)
The JUnit 4 test method name 'test_createSafe_failure_invalid_safename' doesn't match '[a-z][a-zA-Z0-9]+'
Critical
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodNamingConventions   (kritika/PMD Java)
The JUnit 4 test method name 'test_createSafe_failure_description_too_long' doesn't match '[a-z][a-zA-Z0-9]+'
Critical
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java VariableNamingConventions   (kritika/PMD Java)
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'iam_request_url' is not final.
Critical
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java MethodNamingConventions   (kritika/PMD Java)
The method method name 'setIam_request_url' doesn't match '[a-z][a-zA-Z0-9]+'
Critical