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
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
393
 
394
        Response responseNoContent = getMockResponse(HttpStatus.NO_CONTENT, true, "");
395
        Response readResponse = getMockResponse(HttpStatus.OK, true, "{\"data\":{\"description\":\"My first safe\",\"name\":\"mysafe01\",\"owner\":\"youremail@yourcompany.com\",\"type\":\"\"}}");
396
        ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body("{\"messages\":[\"Safe updated \"]}");
397
 
398
        Map<String,Object> reqparams = null;
399
        try {
400
            reqparams = new ObjectMapper().readValue(jsonStr, new TypeReference<Map<String, Object>>(){});
401
        } catch (IOException e) {
402
            e.printStackTrace();
403
        }
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