Filter by:
File Violation Severity
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "mysafe01" appears 24 times in this file; the first occurrence is on line 198
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "shared/mysafe01" appears 72 times in this file; the first occurrence is on line 121
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "arn:aws:iam::877677878:instance-profile/exampleinstanceprofile" appears 8 times in this file; the first occurrence is on line 111
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "ami-fce3c696" appears 8 times in this file; the first occurrence is on line 109
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "ec2" appears 8 times in this file; the first occurrence is on line 109
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "1234567890123" appears 8 times in this file; the first occurrence is on line 110
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "subnet-1122aabb" appears 8 times in this file; the first occurrence is on line 110
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "us-east-2" appears 8 times in this file; the first occurrence is on line 110
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "vpc-2f09a348" appears 8 times in this file; the first occurrence is on line 110
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "arn:aws:iam::8987887:role/test-role" appears 8 times in this file; the first occurrence is on line 111
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "5PDrOhsy4ig8L3EpsJZSLAMg" appears 15 times in this file; the first occurrence is on line 93
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "\",\"data\":{\"default\":\"default\"}}" appears 4 times in this file; the first occurrence is on line 152
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "\"}" appears 5 times in this file; the first occurrence is on line 127
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "{\"path\":\"" appears 8 times in this file; the first occurrence is on line 127
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "My first safe" appears 10 times in this file; the first occurrence is on line 198
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "youremail@yourcompany.com" appears 13 times in this file; the first occurrence is on line 198
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "safe1" appears 5 times in this file; the first occurrence is on line 259
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "My first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safe" appears 16 times in this file; the first occurrence is on line 274
Warning
269
 
270
    @Test
271
    public void test_createSafe_failure_description_too_long() {
272
        String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
273
        SafeBasicDetails safeBasicDetails = new SafeBasicDetails("mysafe01", "youremail@yourcompany.com", null, "My first safe My first safe" +
274
                "My first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safe" +
275
                "My first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safe" +
276
                "My first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safe" +
277
                "My first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safe" +
278
                "My first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safe" +
279
                "My first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safeMy first safe" +
tvaultapi/src/test/java/com/...i/utils/PolicyUtilsTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "{\"data\":{\"policies\":\"s_shared_mysafe01,s_shared_mysafe02\"}}" appears 6 times in this file; the first occurrence is on line 107
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java AvoidDuplicateLiterals   (kritika/PMD Java)
The String literal "5PDrOhsy4ig8L3EpsJZSLAMg" appears 55 times in this file; the first occurrence is on line 109
Warning