Filter by:
File Violation Severity
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'responseEntity' (lines '128'-'131').
Notice
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'responseEntity' (lines '205'-'208').
Notice
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DU'-anomaly for variable 'responseEntity' (lines '232'-'233').
Notice
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'responseEntity' (lines '259'-'265').
Notice
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'responseEntity' (lines '309'-'312').
Notice
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'responseEntity' (lines '331'-'333').
Notice
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'responseEntity' (lines '362'-'365').
Notice
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'reqparams' (lines '206'-'208').
Notice
201
        String metadatajson = "{\"path\":\"metadata/shared/mysafe03\",\"data\":{\"name\":\"mysafe03\",\"owner\":\"youremail@yourcompany.com\",\"type\":\"\",\"description\":\"My first safe\"}}";
202
        Response responseNoContent = getMockResponse(HttpStatus.NO_CONTENT, true, "");
203
 
204
        ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body("{\"messages\":[\"Safe and associated read/write/deny policies created \"]}");
205
 
206
        Map<String,Object> reqparams = null;
207
        try {
208
            reqparams = new ObjectMapper().readValue(jsonStr, new TypeReference<Map<String, Object>>(){});
209
        } catch (IOException e) {
210
            e.printStackTrace();
211
        }
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'reqparams' (lines '303'-'305').
Notice
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'reqparams' (lines '333'-'335').
Notice
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'reqparams' (lines '398'-'400').
Notice
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'reqparams' (lines '440'-'442').
Notice
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'reqparams' (lines '464'-'466').
Notice
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'reqparams' (lines '493'-'495').
Notice
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'reqparams' (lines '523'-'525').
Notice
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DU'-anomaly for variable 'responseNoContent' (lines '588'-'627').
Notice
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DU'-anomaly for variable 'responseNoContent' (lines '588'-'627').
Notice
tvaultapi/src/test/java/com/...ator/TokenValidatorTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DU'-anomaly for variable 'lookupDetails' (lines '174'-'179').
Notice
tvaultapi/src/test/java/com/...ator/TokenValidatorTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DU'-anomaly for variable 'lookupDetails' (lines '150'-'155').
Notice
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java DataflowAnomalyAnalysis   (kritika/PMD Java)
Found 'DD'-anomaly for variable 'responseEntity' (lines '227'-'232').
Notice