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
349
 
350
    @Test
351
    public void test_getSafe_successfully() {
352
 
353
        String path = "shared/mysafe01";
354
        String _path = "metadata/"+path;
355
        String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
356
        String responseJson = "{  \"keys\": [ \"mysafe01\" ]}";
357
        Response response = getMockResponse(HttpStatus.OK, true, responseJson);
358
        ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body(responseJson);
359
        when(ControllerUtil.isValidSafePath(path)).thenReturn(true);
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
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