Repository Analysis

eugenp/tutorials

Getting Started with Spring Boot 3:

2.1 Likely human-written View on GitHub
2.1
Adjusted Score
2.1
Raw Score
100%
Time Factor
2026-05-28
Last Push
37,345
Stars
Java
Language
1,832,506
Lines of Code
30961
Files
1387
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 126HIGH 43MEDIUM 393LOW 825

Pattern Findings

1387 matches across 17 categories. Click a row to expand file-level details.

Hallucination Indicators126 hits · 1365 pts
SeverityFileLineSnippet
CRITICAL…ava/com/gateway/security/DomainUserDetailsService.java61 return new org.springframework.security.core.userdetails.User(user.getLogin(), user.getPassword(), grantedAuthor
CRITICAL…ldung/jhipster8/security/DomainUserDetailsService.java60 return new org.springframework.security.core.userdetails.User(user.getLogin(), user.getPassword(), grantedAuthor
CRITICAL…/src/main/java/com/baeldung/jwt/AuthenticationApi.java47 @io.swagger.v3.oas.annotations.parameters.RequestBody(content = @io.swagger.v3.oas.annotations.media.Content(mediaTy
CRITICAL…/com/baeldung/springdoc/controller/BookController.java92 public Book createBook(@io.swagger.v3.oas.annotations.parameters.RequestBody(
CRITICAL…aeldung/springdoc/tagorderexample/BooksController.java31 @io.swagger.v3.oas.annotations.parameters.RequestBody(required = true)
CRITICAL…ldung/springdoc/tagorderexample/BooksController_2.java38 @io.swagger.v3.oas.annotations.parameters.RequestBody(required = true)
CRITICAL…g/apache/avro/SerializeAndDeserializeDateUnitTest.java129 Conversion<LocalDate> dateConversion = new org.apache.avro.data.TimeConversions.DateConversion();
CRITICAL…g/apache/avro/SerializeAndDeserializeDateUnitTest.java133 Conversion<Instant> timestampConversion = new org.apache.avro.data.TimeConversions.TimestampMillisConversion();
CRITICAL…java/com/baeldung/reactive/concurrency/Controller.java70 .observeOn(io.reactivex.rxjava3.schedulers.Schedulers.trampoline())
CRITICAL…a/com/baeldung/serialization/protocols/UserProtos.java117 return com.baeldung.serialization.protocols.UserProtos.internal_static_protobuf_User_fieldAccessorTable.ensu
CRITICAL…a/com/baeldung/serialization/protocols/UserProtos.java332 return com.baeldung.serialization.protocols.UserProtos.internal_static_protobuf_User_fieldAccessorTable.
CRITICAL…a/com/baeldung/serialization/protocols/UserProtos.java336 // Construct using com.baeldung.serialization.compare.UserProtos.User.newBuilder()
CRITICAL…a/com/baeldung/serialization/protocols/UserProtos.java368 return com.baeldung.serialization.protocols.UserProtos.User.getDefaultInstance();
CRITICAL…a/com/baeldung/serialization/protocols/UserProtos.java382 com.baeldung.serialization.protocols.UserProtos.User result = new com.baeldung.serialization.protocols.U
CRITICAL…a/com/baeldung/serialization/protocols/UserProtos.java430 if (other == com.baeldung.serialization.protocols.UserProtos.User.getDefaultInstance())
CRITICAL…a/com/baeldung/serialization/protocols/UserProtos.java591 DEFAULT_INSTANCE = new com.baeldung.serialization.protocols.UserProtos.User();
CRITICAL…a/com/baeldung/serialization/protocols/UserProtos.java630 descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(descriptorData, new c
CRITICAL…est/java/com/baeldung/base64/EncodeDecodeUnitTest.java68 byte[] encoded = org.apache.commons.codec.binary.Base64.encodeBase64(inFileBytes);
CRITICAL…est/java/com/baeldung/base64/EncodeDecodeUnitTest.java70 byte[] decoded = org.apache.commons.codec.binary.Base64.decodeBase64(encoded);
CRITICAL…m/baeldung/springaop/unittest/ExecutionTimeAspect.java16 @Around("execution(* com.baeldung.springaop.unittest.ArraySorting.sort(..))")
CRITICAL…baeldung/assertregexmatch/AssetRegexMatchUnitTest.java32 org.assertj.core.api.Assertions.assertThat("Linux at Baeldung").matches(".* at Baeldung$");
CRITICAL…baeldung/assertregexmatch/AssetRegexMatchUnitTest.java33 org.assertj.core.api.Assertions.assertThat("something unrelated").doesNotMatch(".* at Baeldung$");
CRITICAL…aeldung/restassured/RestAssuredXMLIntegrationTest.java35 stubFor(com.github.tomakehurst.wiremock.client.WireMock.post(urlEqualTo(EVENTS_PATH))
CRITICAL…/baeldung/restassured/RestAssured2IntegrationTest.java36 stubFor(com.github.tomakehurst.wiremock.client.WireMock.get(urlEqualTo(ODDS_PATH))
CRITICAL…eldung/restassured/RestAssuredXML2IntegrationTest.java33 stubFor(com.github.tomakehurst.wiremock.client.WireMock.get(urlEqualTo(EVENTS_PATH))
CRITICAL…m/baeldung/restassured/RestAssuredIntegrationTest.java35 stubFor(com.github.tomakehurst.wiremock.client.WireMock.get(urlEqualTo(EVENTS_PATH))
CRITICAL…ng/assertj/custom/AssertJCustomAssertionsUnitTest.java28 org.assertj.core.api.Assertions.assertThat(e).hasMessage("Expected person to be adult");
CRITICAL…ng/assertj/custom/AssertJCustomAssertionsUnitTest.java41 org.assertj.core.api.Assertions.assertThat(e).hasMessage("Expected person to have nickname John");
CRITICAL…/baeldung/restassured/RestAssured2IntegrationTest.java36 stubFor(com.github.tomakehurst.wiremock.client.WireMock.get(urlEqualTo(EVENTS_PATH))
CRITICAL…m/baeldung/restassured/RestAssuredIntegrationTest.java33 stubFor(com.github.tomakehurst.wiremock.client.WireMock.get(urlEqualTo(EVENTS_PATH))
CRITICAL…meter-2/test-plans/outcome/content/js/jquery-ui.min.js6(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){function e(t){for(var e=
CRITICAL…va/com/baeldung/monkey/patching/aop/LoggingAspect.java13 @Before("execution(* com.baeldung.monkey.patching.converter.MoneyConverter.convertEURtoUSD(..))")
CRITICAL…va/com/baeldung/monkey/patching/aop/LoggingAspect.java18 @After("execution(* com.baeldung.monkey.patching.converter.MoneyConverter.convertEURtoUSD(..))")
CRITICAL…om/baeldung/nullconversion/NullConversionUnitTest.java97 String actual = com.google.common.base.Optional.fromNullable(givenValue).or(defaultValue);
CRITICAL…ldung/jhipster6/security/DomainUserDetailsService.java59 return new org.springframework.security.core.userdetails.User(user.getLogin(),
CRITICAL…ldung/filetofrombytearray/FileToByteArrayUnitTest.java58 byte[] byteArray = com.google.common.io.Files.toByteArray(new File(FILE_NAME));
CRITICAL…c/test/java/com/baeldung/java/md5/JavaMD5UnitTest.java61 HashCode hash = com.google.common.io.Files.hash(new File(filename), Hashing.md5());
CRITICAL…/test/java/com/baeldung/classloader/ForkedService.java31 var cache = com.google.common.cache.CacheBuilder.newBuilder()
CRITICAL…om/baeldung/orelseoptional/OrElseOptionalUnitTest.java66// com.google.common.base.Optional<String> stringOptional = com.google.common.base.Optional.of(name);
CRITICAL…om/baeldung/orelseoptional/OrElseOptionalUnitTest.java72// assertEquals(com.google.common.base.Optional.of("Name not provided"), OptionalUtils.getOptionalGuavaName(com.g
CRITICAL…in/java/com/baeldung/orelseoptional/OptionalUtils.java24 return com.google.common.base.Optional.of("Name not provided");
CRITICAL…om/baeldung/writebytearray/WriteByteArrayUnitTest.java51 com.google.common.io.Files.write(dataForWriting, outputFile);
CRITICAL…om/baeldung/writebytearray/WriteByteArrayUnitTest.java58 ByteSink byteSink = com.google.common.io.Files.asByteSink(outputFile);
CRITICAL…/test/java/com/baeldung/rename/RenameFileUnitTest.java54 com.google.common.io.Files.move(fileToMove, targetFile);
CRITICAL…est/java/com/baeldung/size/JavaFolderSizeUnitTest.java75 final Iterable<File> files = com.google.common.io.Files.fileTraverser().breadthFirst(folder);
CRITICAL…/com/baeldung/contains/CaseInsensitiveWorkarounds.java75 return org.apache.commons.lang3.StringUtils.containsIgnoreCase(src, dest);
CRITICAL…/test/java/com/baeldung/date/StringToDateUnitTest.java111 org.joda.time.format.DateTimeFormatter formatter = org.joda.time.format.DateTimeFormat.forPattern("dd/MM/yyyy HH
CRITICAL…nt/synchronizestatic/SychronizeStaticDataUnitTest.java27 new com.baeldung.concurrent.synchronizestatic.none.Employee(finalI, "John", "Smith");
CRITICAL…nt/synchronizestatic/SychronizeStaticDataUnitTest.java40 new com.baeldung.concurrent.synchronizestatic.synchronizedmethod.Employee(finalI, "John", "Smith");
CRITICAL…nt/synchronizestatic/SychronizeStaticDataUnitTest.java53 new com.baeldung.concurrent.synchronizestatic.synchronizedclass.Employee(finalI, "John", "Smith");
CRITICAL…nt/synchronizestatic/SychronizeStaticDataUnitTest.java66 new com.baeldung.concurrent.synchronizestatic.synchronizedblock.Employee(finalI, "John", "Smith");
CRITICAL…nt/synchronizestatic/SychronizeStaticDataUnitTest.java86 new com.baeldung.concurrent.synchronizestatic.reentrantlock.Employee(finalI, "John", "Smith");
CRITICAL…ldung/printstreamtostring/PrintStreamToStringUtil.java30 org.apache.commons.io.output.ByteArrayOutputStream outputStream = new org.apache.commons.io.output.ByteArrayOutp
CRITICAL…c/main/java/com/baeldung/lines/NumberOfLineFinder.java114 List<String> lineItems = com.google.common.io.Files.readLines(Paths.get(fileName)
CRITICAL…java/com/baeldung/xtoreader/JavaXToReaderUnitTest.java60 com.google.common.io.Files.touch(initialFile);
CRITICAL…java/com/baeldung/xtoreader/JavaXToReaderUnitTest.java61 final Reader targetReader = com.google.common.io.Files.newReader(initialFile, Charset.defaultCharset());
CRITICAL…java/com/baeldung/readertox/JavaReaderToXUnitTest.java64 com.google.common.io.Files.touch(targetFile);
CRITICAL…java/com/baeldung/readertox/JavaReaderToXUnitTest.java65 final CharSink charSink = com.google.common.io.Files.asCharSink(targetFile, Charset.defaultCharset(), FileWriteM
CRITICAL…ung/absolutetorelative/AbsoluteToRelativeUnitTest.java24 org.assertj.core.api.Assertions.assertThat(result)
CRITICAL…ung/absolutetorelative/AbsoluteToRelativeUnitTest.java33 org.assertj.core.api.Assertions.assertThat(result)
66 more matches not shown…
Decorative Section Separators344 hits · 1266 pts
SeverityFileLineSnippet
MEDIUM…-app/src/test/resources/config/application-testdev.yml1# ===================================================================
MEDIUM…-app/src/test/resources/config/application-testdev.yml9# ===================================================================
MEDIUM…app/src/test/resources/config/application-testprod.yml1# ===================================================================
MEDIUM…app/src/test/resources/config/application-testprod.yml9# ===================================================================
MEDIUM…vice/car-app/src/test/resources/config/application.yml1# ===================================================================
MEDIUM…vice/car-app/src/test/resources/config/application.yml8# ===================================================================
MEDIUM…vice/car-app/src/test/resources/config/application.yml10# ===================================================================
MEDIUM…vice/car-app/src/test/resources/config/application.yml14# ===================================================================
MEDIUM…vice/car-app/src/test/resources/config/application.yml59# ===================================================================
MEDIUM…vice/car-app/src/test/resources/config/application.yml63# ===================================================================
MEDIUM…vice/car-app/src/test/resources/config/application.yml87# ===================================================================
MEDIUM…vice/car-app/src/test/resources/config/application.yml94# ===================================================================
MEDIUM…car-app/src/main/resources/config/application-prod.yml1# ===================================================================
MEDIUM…car-app/src/main/resources/config/application-prod.yml8# ===================================================================
MEDIUM…car-app/src/main/resources/config/application-prod.yml10# ===================================================================
MEDIUM…car-app/src/main/resources/config/application-prod.yml14# ===================================================================
MEDIUM…car-app/src/main/resources/config/application-prod.yml73# ===================================================================
MEDIUM…car-app/src/main/resources/config/application-prod.yml91# ===================================================================
MEDIUM…car-app/src/main/resources/config/application-prod.yml100# ===================================================================
MEDIUM…car-app/src/main/resources/config/application-prod.yml104# ===================================================================
MEDIUM…car-app/src/main/resources/config/application-prod.yml135# ===================================================================
MEDIUM…car-app/src/main/resources/config/application-prod.yml142# ===================================================================
MEDIUM…/car-app/src/main/resources/config/application-dev.yml1# ===================================================================
MEDIUM…/car-app/src/main/resources/config/application-dev.yml8# ===================================================================
MEDIUM…/car-app/src/main/resources/config/application-dev.yml10# ===================================================================
MEDIUM…/car-app/src/main/resources/config/application-dev.yml14# ===================================================================
MEDIUM…/car-app/src/main/resources/config/application-dev.yml79# ===================================================================
MEDIUM…/car-app/src/main/resources/config/application-dev.yml83# ===================================================================
MEDIUM…/car-app/src/main/resources/config/application-dev.yml116# ===================================================================
MEDIUM…/car-app/src/main/resources/config/application-dev.yml123# ===================================================================
MEDIUM…/car-app/src/main/resources/config/application-tls.yml1# ===================================================================
MEDIUM…/car-app/src/main/resources/config/application-tls.yml9# ===================================================================
MEDIUM…ervice/car-app/src/main/resources/config/bootstrap.yml1# ===================================================================
MEDIUM…ervice/car-app/src/main/resources/config/bootstrap.yml4# ===================================================================
MEDIUM…vice/car-app/src/main/resources/config/application.yml1# ===================================================================
MEDIUM…vice/car-app/src/main/resources/config/application.yml9# ===================================================================
MEDIUM…vice/car-app/src/main/resources/config/application.yml11# ===================================================================
MEDIUM…vice/car-app/src/main/resources/config/application.yml15# ===================================================================
MEDIUM…vice/car-app/src/main/resources/config/application.yml207# ===================================================================
MEDIUM…vice/car-app/src/main/resources/config/application.yml211# ===================================================================
MEDIUM…vice/car-app/src/main/resources/config/application.yml240# ===================================================================
MEDIUM…vice/car-app/src/main/resources/config/application.yml247# ===================================================================
MEDIUM…e/car-app/src/main/resources/config/bootstrap-prod.yml1# ===================================================================
MEDIUM…e/car-app/src/main/resources/config/bootstrap-prod.yml3# ===================================================================
MEDIUM…-app/src/test/resources/config/application-testdev.yml1# ===================================================================
MEDIUM…-app/src/test/resources/config/application-testdev.yml9# ===================================================================
MEDIUM…/gateway-app/src/test/resources/config/application.yml1# ===================================================================
MEDIUM…/gateway-app/src/test/resources/config/application.yml8# ===================================================================
MEDIUM…/gateway-app/src/test/resources/config/application.yml10# ===================================================================
MEDIUM…/gateway-app/src/test/resources/config/application.yml14# ===================================================================
MEDIUM…/gateway-app/src/test/resources/config/application.yml62# ===================================================================
MEDIUM…/gateway-app/src/test/resources/config/application.yml66# ===================================================================
MEDIUM…/gateway-app/src/test/resources/config/application.yml90# ===================================================================
MEDIUM…/gateway-app/src/test/resources/config/application.yml97# ===================================================================
MEDIUM…way-app/src/main/resources/config/application-prod.yml1# ===================================================================
MEDIUM…way-app/src/main/resources/config/application-prod.yml8# ===================================================================
MEDIUM…way-app/src/main/resources/config/application-prod.yml10# ===================================================================
MEDIUM…way-app/src/main/resources/config/application-prod.yml14# ===================================================================
MEDIUM…way-app/src/main/resources/config/application-prod.yml75# ===================================================================
MEDIUM…way-app/src/main/resources/config/application-prod.yml93# ===================================================================
284 more matches not shown…
Fake / Example Data475 hits · 550 pts
SeverityFileLineSnippet
LOW…s-apache-commons-2/src/test/resources/compress/new.txt1lorem ipsum
LOW…s-apache-commons-2/src/test/resources/compress/new.txt2dolor sit amet
LOW…n/webapp/app/account/register/register.service.spec.ts31 const email = 'test@test.com';
LOW…assword-reset/init/password-reset-init.service.spec.ts29 const mail = 'test@test.com';
LOW…n/webapp/app/account/register/register.service.spec.ts31 const email = 'test@test.com';
LOW…assword-reset/init/password-reset-init.service.spec.ts29 const mail = 'test@test.com';
LOW…rc/main/java/com/baeldung/caffeine/AddressService.java25 return "123 Main St";
LOW…rc/main/java/com/baeldung/caffeine/AddressService.java35 String address = "123 Main St";
LOW…a/com/baeldung/spring/jms/ArticleListenerLiveTest.java42 articlePublisher.publish("Foo", "John Doe");
LOW…a/com/baeldung/spring/jms/ArticleListenerLiveTest.java43 articlePublisher.publish("Bar", "Jane Doe");
LOW…dung/spring/resttestclient/RestTestClientUnitTest.java49 .isEqualTo(new Person(1L, "John Doe"));
LOW…dung/spring/resttestclient/RestTestClientUnitTest.java93 .isEqualTo("John Doe");
LOW…dung/spring/resttestclient/RestTestClientUnitTest.java109 .name()).isEqualTo("John Doe");
LOW…dung/spring/resttestclient/RestTestClientUnitTest.java142 return id == 1 ? ResponseEntity.ok(new Person(1L, "John Doe")) : ResponseEntity.noContent()
LOW…dung/spring/resttestclient/RestTestClientUnitTest.java149 new Person(1L, "John Doe"),
LOW…ain/java/com/baeldung/spring/jms/ArticlePublisher.java22 publish("Understanding JMS in Spring Boot", "John Doe");
LOW…ostman/controller/PostmanUploadControllerUnitTest.java27 JsonRequest request = new JsonRequest(1, "John Doe");
LOW…src/main/java/com/baeldung/swagger2/SwaggerConfig.java41 ApiInfo apiInfo = new ApiInfo("My REST API", "Some custom description of API.", "API TOS", "Terms of service", n
LOW…ith/externalization/EventsExternalizationLiveTest.java66 var article = new Article("introduction-to-spring-boot", "Introduction to Spring Boot", "John Doe", "<p> Spring
LOW…ith/externalization/EventsExternalizationLiveTest.java86 var article = new Article(null, "Introduction to Spring Boot", "John Doe", "<p> Spring Boot is [...] </p>");
LOW…ith/externalization/EventsExternalizationLiveTest.java97 .containsExactly("Introduction to Spring Boot", "John Doe");
LOW…baeldung/entitydtodifferences/entity/UserUnitTest.java19 User user = new User("John", "Doe", "123 Main St", Arrays.asList(book1, book2));
LOW…baeldung/entitydtodifferences/entity/UserUnitTest.java24 assertEquals("123 Main St", user.getAddress());
LOW…baeldung/entitydtodifferences/entity/UserUnitTest.java35 User user = new User("John", "Doe", "123 Main St", Arrays.asList(book1, book2, book3));
LOW…baeldung/entitydtodifferences/entity/UserUnitTest.java45 User user = new User("John", "Doe", "123 Main St", Collections.emptyList());
LOW…ng/entitydtodifferences/mapper/UserMapperUnitTest.java23 User user = new User("John", "Doe", "123 Main St", Arrays.asList(book1, book2));
LOW…ferences/controller/UserControllerIntegrationTest.java47 User savedUser = userRepository.save(new User("John", "Doe", "123 Main St", Arrays.asList(book1, book2)));
LOW…eldung/swagger2boot/configuration/SpringFoxConfig.java32 new Contact("John Doe", "www.example.com", "myeaddress@company.com"),
LOW…ak-adapters/src/main/resources/templates/external.html11 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam
LOW…ak-adapters/src/main/resources/templates/external.html11 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam
LOW…loak-adapters/src/main/resources/templates/layout.html17 <p>Copyright: Lorem Ipsum</p>
LOW…/com/baeldung/swaggerexample/config/SwaggerConfig.java21 .contact(new Contact().name("John Doe")
LOW…ava/com/baeldung/jsondateformat/ContactController.java21 Contact contact1 = new Contact("John Doe", "123 Sesame Street", "123-456-789", LocalDate.now(), LocalDateTime.no
LOW…ava/com/baeldung/jsondateformat/ContactController.java36 ContactWithJavaUtilDate contact1 = new ContactWithJavaUtilDate("John Doe", "123 Sesame Street", "123-456-789", n
LOW…ava/com/baeldung/jsondateformat/ContactController.java51 PlainContact contact1 = new PlainContact("John Doe", "123 Sesame Street", "123-456-789", LocalDate.now(), LocalD
LOW…ava/com/baeldung/jsondateformat/ContactController.java66 PlainContactWithJavaUtilDate contact1 = new PlainContactWithJavaUtilDate("John Doe", "123 Sesame Street", "123-4
LOW…ung/springvalidator/UserControllerIntegrationTest.java35 User validUser = new User("John Doe", "john@example.com", 30);
LOW…ung/springvalidator/UserControllerIntegrationTest.java67 User validUser = new User("John Doe", "john@example.com", 30);
LOW…/baeldung/commons/beanutils/CourseServiceUnitTest.java54 student.setName("John Doe");
LOW…/baeldung/commons/beanutils/CourseServiceUnitTest.java60 assertEquals("John Doe", enrolledStudent.getName());
LOW…o/deserialization/exception/AvroMagicByteLiveTest.java80 return new Article(title, "John Doe", List.of("avro", "kafka", "spring"));
LOW…c/test/java/com/baeldung/feign/soap/FeignLiveTest.java54 user.setName("John Doe");
LOW…c/test/java/com/baeldung/feign/soap/FeignLiveTest.java82 user.setName("John Doe");
LOW…om/baeldung/spring/zipwhen/UserControllerUnitTest.java25 User user = new User(userId, "John Doe");
LOW…ring-reactive-exceptions/src/test/resources/390KB.json9243 "about": "Laboris labore ad velit culpa minim nulla aute nulla reprehenderit aute culpa. Enim elit eu proident mag
LOW…ring-reactive-exceptions/src/test/resources/390KB.json10728 "about": "Consequat eu tempor velit veniam ipsum. Sit labore et excepteur deserunt voluptate Lorem incididunt elit
LOW…ring-reactive-exceptions/src/test/resources/390KB.json11673 "about": "Lorem ipsum eiusmod deserunt anim magna occaecat ipsum deserunt excepteur incididunt. Lorem excepteur ut
LOW…ring-reactive-exceptions/src/main/resources/390KB.json9243 "about": "Laboris labore ad velit culpa minim nulla aute nulla reprehenderit aute culpa. Enim elit eu proident mag
LOW…ring-reactive-exceptions/src/main/resources/390KB.json10728 "about": "Consequat eu tempor velit veniam ipsum. Sit labore et excepteur deserunt voluptate Lorem incididunt elit
LOW…ring-reactive-exceptions/src/main/resources/390KB.json11673 "about": "Lorem ipsum eiusmod deserunt anim magna occaecat ipsum deserunt excepteur incididunt. Lorem excepteur ut
LOW…om/deserialization/OrderControllerIntegrationTest.java138 .queryParam("address", "123 Main St", "456 Oak Ave", "789 Pine Rd")
LOW…om/deserialization/OrderControllerIntegrationTest.java149 assertThat(address).containsExactly("123 Main St", "456 Oak Ave", "789 Pine Rd");
LOW…flux/exceptionhandeling/repository/UserRepository.java15 userDatabase.put("1", new User("1", "John Doe"));
LOW…vavr/src/test/java/com/baeldung/vavr/VavrUnitTest.java273 Validation<Seq<String>, Person> valid = personValidator.validatePerson("John Doe", 30);
LOW…Collections/mapper/EmployeeFullNameMapperUnitTest.java24 assertThat(result.get(0).getFullName()).isEqualTo("John Doe");
LOW…/test/java/com/baeldung/mapper/BookMapperUnitTest.java20 assertEquals("John Doe", dto.getAuthor());
LOW…/test/java/com/baeldung/mapper/BookMapperUnitTest.java30 assertEquals("John Doe", dto.getAuthor());
LOW…/test/java/com/baeldung/mapper/BookMapperUnitTest.java40 assertEquals("John Doe", dto.getAuthor());
LOW…lator/ParameterMessageInterpolaterIntegrationTest.java33 person.setName("John Doe");
LOW…test/java/com/baeldung/cxf/spring/StudentLiveTest.java15 String response = baeldungProxy.hello("John Doe");
415 more matches not shown…
Over-Commented Block224 hits · 212 pts
SeverityFileLineSnippet
LOW…vice/car-app/src/test/resources/config/application.yml1# ===================================================================
LOW…vice/car-app/src/test/resources/config/application.yml81 # This token must be encoded using Base64 (you can type `echo 'secret-key'|base64` on your command line)
LOW…ce/car-app/src/main/docker/jhipster-control-center.yml1## How to use JHCC docker compose
LOW…vice/car-app/src/main/docker/prometheus/prometheus.yml21 # scheme defaults to 'http' enable https in case your application is server via https
LOW…car-app/src/main/resources/config/application-prod.yml1# ===================================================================
LOW…car-app/src/main/resources/config/application-prod.yml81#
LOW…car-app/src/main/resources/config/application-prod.yml141# https://www.jhipster.tech/common-application-properties/
LOW…/car-app/src/main/resources/config/application-dev.yml1# ===================================================================
LOW…/car-app/src/main/resources/config/application-dev.yml81#
LOW…/car-app/src/main/resources/config/application-dev.yml121# More documentation is available at:
LOW…vice/car-app/src/main/resources/config/application.yml1# ===================================================================
LOW…vice/car-app/src/main/resources/config/application.yml201
LOW…vice/car-app/src/main/resources/config/application.yml241# Application specific properties
LOW…/gateway-app/src/test/resources/config/application.yml1# ===================================================================
LOW…/gateway-app/src/test/resources/config/application.yml81 security:
LOW…ateway-app/src/main/docker/jhipster-control-center.yml1## How to use JHCC docker compose
LOW…/gateway-app/src/main/docker/prometheus/prometheus.yml21 # scheme defaults to 'http' enable https in case your application is server via https
LOW…way-app/src/main/resources/config/application-prod.yml1# ===================================================================
LOW…way-app/src/main/resources/config/application-prod.yml81#
LOW…way-app/src/main/resources/config/application-prod.yml141# https://www.jhipster.tech/common-application-properties/
LOW…eway-app/src/main/resources/config/application-dev.yml1# ===================================================================
LOW…eway-app/src/main/resources/config/application-dev.yml121 port: 5000
LOW…/gateway-app/src/main/resources/config/application.yml1# ===================================================================
LOW…/gateway-app/src/main/resources/config/application.yml201#
LOW…e/dealer-app/src/test/resources/config/application.yml1# ===================================================================
LOW…e/dealer-app/src/test/resources/config/application.yml81 # This token must be encoded using Base64 (you can type `echo 'secret-key'|base64` on your command line)
LOW…dealer-app/src/main/docker/jhipster-control-center.yml1## How to use JHCC docker compose
LOW…e/dealer-app/src/main/docker/prometheus/prometheus.yml21 # scheme defaults to 'http' enable https in case your application is server via https
LOW…ler-app/src/main/resources/config/application-prod.yml1# ===================================================================
LOW…ler-app/src/main/resources/config/application-prod.yml81#
LOW…ler-app/src/main/resources/config/application-prod.yml141# https://www.jhipster.tech/common-application-properties/
LOW…aler-app/src/main/resources/config/application-dev.yml1# ===================================================================
LOW…aler-app/src/main/resources/config/application-dev.yml81#
LOW…aler-app/src/main/resources/config/application-dev.yml121# More documentation is available at:
LOW…e/dealer-app/src/main/resources/config/application.yml1# ===================================================================
LOW…e/dealer-app/src/main/resources/config/application.yml201
LOW…e/dealer-app/src/main/resources/config/application.yml241# Application specific properties
LOW…8-monolithic/src/test/resources/config/application.yml1# ===================================================================
LOW…monolithic/src/main/docker/jhipster-control-center.yml1## How to use JHCC docker compose
LOW…8-monolithic/src/main/docker/prometheus/prometheus.yml21 # scheme defaults to 'http' enable https in case your application is server via https
LOW…olithic/src/main/resources/config/application-prod.yml1# ===================================================================
LOW…olithic/src/main/resources/config/application-prod.yml61#
LOW…olithic/src/main/resources/config/application-prod.yml121# More documentation is available at:
LOW…nolithic/src/main/resources/config/application-dev.yml1# ===================================================================
LOW…nolithic/src/main/resources/config/application-dev.yml101# More documentation is available at:
LOW…8-monolithic/src/main/resources/config/application.yml1# ===================================================================
LOW…8-monolithic/src/main/resources/config/application.yml201 security:
LOW…t-mvc-3/src/main/java/com/baeldung/etag/WebConfig.java21 }
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js961
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js1101// For IE8 and IE9.
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js1121 }
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js6821 if (newlineEatingTags[this._tag] && ret.charAt(0) === '\n') {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js16881
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js17201var emptyFunction = _dereq_(136);
LOWspring-boot-modules/spring-boot-cli/bash/setup.sh21# sdk default springboot dev
LOW…com/baeldung/elementleftunbound/ServiceProperties.java21 }
LOW…t-modules/spring-boot-react/frontend/src/setupTests.js1// jest-dom adds custom jest matchers for asserting on DOM nodes.
LOW…ng-boot-angular/src/main/js/ecommerce/src/polyfills.ts21/** IE9, IE10 and IE11 requires all of the following polyfills. **/
LOW…-boot-angular/src/main/js/application/src/polyfills.ts21/** IE9, IE10 and IE11 requires all of the following polyfills. **/
LOW…es/spring-boot-testing-spock/gradle/libs.versions.toml1# This file was generated by the Gradle 'init' task.
164 more matches not shown…
Slop Phrases41 hits · 106 pts
SeverityFileLineSnippet
LOW…roservice/car-app/src/main/resources/static/index.html132 <span>If you like JHipster, don't forget to give us a star on</span>
LOW…ervice/dealer-app/src/main/resources/static/index.html132 <span>If you like JHipster, don't forget to give us a star on</span>
MEDIUM…-boot-openapi/src/main/resources/openApi2/swagger.json4 "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io]
MEDIUM…t/java/com/baeldung/petstore/client/model/TagTest.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…/java/com/baeldung/petstore/client/model/UserTest.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…t/java/com/baeldung/petstore/client/model/PetTest.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…java/com/baeldung/petstore/client/model/OrderTest.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…a/com/baeldung/petstore/client/model/CategoryTest.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…eldung/petstore/client/model/ModelApiResponseTest.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…java/com/baeldung/petstore/client/api/UserApiTest.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…ava/com/baeldung/petstore/client/api/StoreApiTest.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…/java/com/baeldung/petstore/client/api/PetApiTest.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…aeldung/petstore/client/invoker/RFC3339DateFormat.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…ain/java/com/baeldung/petstore/client/model/Order.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…m/baeldung/petstore/client/model/ModelApiResponse.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…/main/java/com/baeldung/petstore/client/model/Tag.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…/main/java/com/baeldung/petstore/client/model/Pet.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…/java/com/baeldung/petstore/client/model/Category.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…main/java/com/baeldung/petstore/client/model/User.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…com/baeldung/petstore/client/api/StoreApiLiveTest.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…a/com/baeldung/petstore/client/api/PetApiLiveTest.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…/com/baeldung/petstore/client/api/UserApiLiveTest.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…aeldung/petstore/client/invoker/RFC3339DateFormat.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…ain/java/com/baeldung/petstore/client/model/Order.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…m/baeldung/petstore/client/model/ModelApiResponse.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…/main/java/com/baeldung/petstore/client/model/Tag.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…/main/java/com/baeldung/petstore/client/model/Pet.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…/java/com/baeldung/petstore/client/model/Category.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…main/java/com/baeldung/petstore/client/model/User.java3 * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.i
MEDIUM…/java/com/baeldung/junit5/timeout/TimeoutUnitTest.java73// just for demonstration purposes
LOW…-monolith/src/main/webapp/app/home/home.component.html38 <span>If you like JHipster, don't forget to give us a star on</span> <a href="https://github.com/jhipster/ge
LOW…-modules/java-native/src/main/cpp/generateNativeLib.sh7# Don't forget to set java.library.path to point to the folder where you have the libnative you're loading.
LOW…tive/src/main/cpp/unsatisfiedlink/generateNativeLib.sh4# Don't forget to set java.library.path to point to the folder where you have the lib you're loading.
MEDIUM…m/baeldung/streams/emptylists/StreamFromEmptyList.java53 // This method may return null for demonstration purposes
MEDIUM…/java/com/baeldung/async/config/SpringAsyncConfig.java39 // Creating a new one for demonstration purposes.
MEDIUM…a/com/baeldung/springai/advisors/SpringAILiveTest.java188 .contains("I'm unable to respond to that due to sensitive content");
LOW…ipster-uaa/quotes/src/main/resources/static/index.html98 <span>If you like JHipster, don't forget to give us a star on</span> <a href="https://github.com/jhipster/genera
LOW…a/gateway/src/main/webapp/app/home/home.component.html38 <span jhiTranslate="home.like">If you like JHipster, don't forget to give us a star on</span> <a href="https
LOW…jhipster-uaa/gateway/src/main/webapp/i18n/en/home.json16 "like": "If you like JHipster, don't forget to give us a star on",
MEDIUM…g/hibernate/criteria/HqlToCriteriaIntegrationTest.java50 // Log results for demonstration purposes
LOW…ndra-reactive/src/test/resources/cassandra-server.yaml438# Warning: before enabling this property make sure to ntp is installed
Cross-File Repetition20 hits · 100 pts
SeverityFileLineSnippet
HIGH…ice/car-app/src/main/java/com/cars/app/CarsappApp.java0---------------------------------------------------------- \tapplication '{}' is running! access urls: \tlocal: \t\t{}:/
HIGH…/gateway-app/src/main/java/com/gateway/GatewayApp.java0---------------------------------------------------------- \tapplication '{}' is running! access urls: \tlocal: \t\t{}:/
HIGH…ealer-app/src/main/java/com/dealers/app/DealerApp.java0---------------------------------------------------------- \tapplication '{}' is running! access urls: \tlocal: \t\t{}:/
HIGH…ava/com/baeldung/jhipster8/Jhipster8MonolithicApp.java0---------------------------------------------------------- \tapplication '{}' is running! access urls: \tlocal: \t\t{}:/
HIGH…dung/parametrizedtypereference/ApiServiceUnitTest.java0[ {"id": 1, "name": "john doe", "email": "john@example.com", "department": "engineering"}, {"id": 2, "name": "jane smith
HIGH…dung/parametrizedtypereference/ApiServiceUnitTest.java0[ {"id": 1, "name": "john doe", "email": "john@example.com", "department": "engineering"}, {"id": 2, "name": "jane smith
HIGH…dung/parametrizedtypereference/ApiServiceUnitTest.java0[ {"id": 1, "name": "john doe", "email": "john@example.com", "department": "engineering"}, {"id": 2, "name": "jane smith
HIGH…-7/src/test/java/com/baeldung/jena/RDFXMLUnitTest.java0<rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:j.0="https://schema.org/"> <rdf:description rdf:a
HIGH…-7/src/test/java/com/baeldung/jena/RDFXMLUnitTest.java0<rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:j.0="https://schema.org/"> <rdf:description rdf:a
HIGH…-7/src/test/java/com/baeldung/jena/RDFXMLUnitTest.java0<rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:j.0="https://schema.org/"> <rdf:description rdf:a
HIGH…est/java/com/baeldung/manifold/SimpleUserUnitTest.java0{ "username": "testuser", "name": "test user", "email": "testuser@example.com" }
HIGH…est/java/com/baeldung/manifold/SimpleUserUnitTest.java0{ "username": "testuser", "name": "test user", "email": "testuser@example.com" }
HIGH…est/java/com/baeldung/manifold/SimpleUserUnitTest.java0{ "username": "testuser", "name": "test user", "email": "testuser@example.com" }
HIGH…/com/baeldung/jsonunit/JsonUnitAssertionsUnitTest.java0{ "name": "a guide to spring boot", "tags": ["java", "spring boot", "backend"] }
HIGH…/com/baeldung/jsonunit/JsonUnitAssertionsUnitTest.java0{ "name": "a guide to spring boot", "tags": ["java", "spring boot", "backend"] }
HIGH…/com/baeldung/jsonunit/JsonUnitAssertionsUnitTest.java0{ "name": "a guide to spring boot", "tags": ["java", "spring boot", "backend"] }
HIGH…/com/baeldung/jsonunit/JsonUnitAssertionsUnitTest.java0{ "name": "a guide to spring boot", "tags": ["java", "spring boot", "backend"] }
HIGH…/com/baeldung/jsonunit/JsonUnitAssertionsUnitTest.java0{ "name": "a guide to spring boot", "tags": ["java", "spring boot", "backend"] }
HIGH…/com/baeldung/jsonunit/JsonUnitAssertionsUnitTest.java0{ "name": "a guide to spring boot", "tags": ["java", "spring boot", "backend"] }
HIGH…/com/baeldung/jsonunit/JsonUnitAssertionsUnitTest.java0{ "name": "a guide to spring boot", "tags": ["java", "spring boot", "backend"] }
Hyper-Verbose Identifiers92 hits · 75 pts
SeverityFileLineSnippet
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js3026function accumulateDirectDispatchesSingle(event) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js3032function accumulateTwoPhaseDispatches(events) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js3036function accumulateTwoPhaseDispatchesSkipTarget(events) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js3040function accumulateEnterLeaveDispatches(leave, enter, fromID, toID) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js3044function accumulateDirectDispatches(events) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js211function isFallbackCompositionStart(topLevelType, nativeEvent) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js320function getNativeBeforeInputChars(topLevelType, nativeEvent) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js374function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js958function manualDispatchChangeEvent(nativeEvent) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js996function getTargetIDForChangeEvent(topLevelType, topLevelTarget, topLevelTargetID) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js1042function startWatchingForValueChange(target, targetID) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js1058function stopWatchingForValueChange() {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js1102function handleEventsForInputEventIE(topLevelType, topLevelTarget, topLevelTargetID) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js1125function getTargetIDForInputEventIE(topLevelType, topLevelTarget, topLevelTargetID) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js2843function executeDispatchesInOrderStopAtTrueImpl(event) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js2870function executeDispatchesInOrderStopAtTrue(event) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js2971function accumulateDirectionalDispatches(domID, upwards, event) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js2990function accumulateTwoPhaseDispatchesSingle(event) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js2999function accumulateTwoPhaseDispatchesSingleSkipTarget(event) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js3457function getDeclarationErrorAddendum(owner) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js4283function mapSingleChildIntoContext(bookKeeping, child, childKey) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js4303function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js4836function mixStaticSpecIntoComponent(Constructor, statics) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js4862function mergeIntoWithNoDuplicateKeys(one, two) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js4882function createMergedResultFunction(one, two) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js5386function getDeclarationErrorAddendum(component) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js6285function getDeclarationErrorAddendum(internalInstance) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js6389function checkAndWarnForMutatedStyle(style1, style2, component) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js7745function updateOptionsIfPendingUpdateAndMounted() {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js7758function getDeclarationErrorAddendum(owner) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js8427function ReactDefaultBatchingStrategyTransaction() {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js9276function getDeclarationErrorAddendum() {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js9617function deregisterNullComponentID(id) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js9792function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js9822function handleTopLevelWithoutPath(bookKeeping) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js10675function getReactRootElementInContainer(container) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js10811function findDeepestCachedAncestorImpl(ancestorID) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js10825function findDeepestCachedAncestor(targetID) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js10872function batchedMountComponentIntoNode(componentInstance, rootID, container, shouldReuseMarkup, context) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js12021function getComponentClassForElement(element) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js12513function createChainableTypeChecker(validate) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js12534function createPrimitiveTypeChecker(expectedType) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js12586function createInstanceTypeChecker(expectedClass) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js12621function createObjectOfTypeChecker(typeChecker) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js12888function ReactReconcileTransaction(forceHTML) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js13307function ReactServerRenderingTransaction(renderToStaticMarkup) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js13374function getInternalInstanceReadyForUpdate(publicInstance, callerName) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js13668function ReactUpdatesFlushTransaction() {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js14863function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js16014function escapeTextContentForBrowser(text) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js16091function flattenSingleChildIntoContext(traverseContext, child, name) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js16469function getNodeForCharacterOffset(root, offset) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js16556function getDeclarationErrorAddendum(owner) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js16584function instantiateReactComponent(node) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js16798function quoteAttributeValueForBrowser(value) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js16978function shouldUpdateReactComponent(prevElement, nextElement) {
LOW…ing-boot-nashorn/src/main/resources/static/js/react.js18215function getUnboundedScrollPosition(scrollable) {
LOW…c/main/java/com/baeldung/telegram/ResponseHandler.java15public class ResponseHandler {
LOW…ung/netty/http2/server/Http2ServerResponseHandler.java17public class Http2ServerResponseHandler extends ChannelDuplexHandler {
LOW…ung/netty/http2/client/Http2ClientResponseHandler.java21public class Http2ClientResponseHandler extends SimpleChannelInboundHandler<FullHttpResponse> {
32 more matches not shown…
Cross-Language Confusion (JS/TS)13 hits · 72 pts
SeverityFileLineSnippet
HIGHjava-nashorn/src/main/resources/js/no_such.js3 print("Accessed non-existing property: " + propName);
HIGHjava-nashorn/src/main/resources/js/no_such.js7 print("Invoked non-existing method: " + methodName);
HIGHjava-nashorn/src/main/resources/js/trim.js1print(" hello world".trimLeft());
HIGHjava-nashorn/src/main/resources/js/trim.js2print("hello world ".trimRight());
HIGHjava-nashorn/src/main/resources/js/math_module.js10 print("String thrown: " + e);
HIGHjava-nashorn/src/main/resources/js/math_module.js13 print("this shouldn't happen!");
HIGHjava-nashorn/src/main/resources/js/typed_arrays.js4 print(javaIntArray[0]);
HIGHjava-nashorn/src/main/resources/js/typed_arrays.js5 print(javaIntArray[1]);
HIGHjava-nashorn/src/main/resources/js/typed_arrays.js6 print(javaIntArray[2]);
HIGHjava-nashorn/src/main/resources/js/locations.js1print(__FILE__, __LINE__, __DIR__);
HIGHjava-nashorn/src/main/resources/js/bind.js12print(first.volume);
HIGHjava-nashorn/src/main/resources/js/bind.js15print(first.volume);
HIGH…ata-arangodb/src/live-test/resources/arangodb-setup.js3print('creating database: baeldung-database & user: baeldung');
Magic Placeholder Names8 hits · 40 pts
SeverityFileLineSnippet
HIGH…ring-ai-chat-stream/src/main/resources/application.yml4 api-key: "<YOUR-API-KEY>"
HIGH…ring-ai-chat-stream/src/main/resources/application.yml4 api-key: "<YOUR-API-KEY>"
HIGH…s/spring-ai-2/src/main/resources/application-image.yml4 api-key: "<YOUR-API-KEY>"
HIGH…s/spring-ai-2/src/main/resources/application-image.yml4 api-key: "<YOUR-API-KEY>"
HIGH…ing-ai-3/src/main/resources/application-embeddings.yml4 api-key: "<YOUR-API-KEY>"
HIGH…ing-ai-3/src/main/resources/application-embeddings.yml4 api-key: "<YOUR-API-KEY>"
HIGH…/spring-ai-4/src/main/resources/application-memory.yml4 api-key: "<YOUR-API-KEY>"
HIGH…/spring-ai-4/src/main/resources/application-memory.yml4 api-key: "<YOUR-API-KEY>"
Verbosity Indicators17 hits · 35 pts
SeverityFileLineSnippet
LOW…ersions-4/EBCDIC_to_ASCII/step_by_step_conversion.java10 // Step 0: Example EBCDIC bytes ("HELLO" in Cp037)
LOW…ersions-4/EBCDIC_to_ASCII/step_by_step_conversion.java12 // Step 1: Decode from EBCDIC (Cp037) to Unicode string
LOW…ersions-4/EBCDIC_to_ASCII/step_by_step_conversion.java14 // Step 2: Encode from Unicode string to ASCII bytes
LOW…ersions-4/EBCDIC_to_ASCII/step_by_step_conversion.java16 // Step 3: Log final ASCII string
LOW…g-conversions-4/EBCDIC_to_ASCII/practical_example.java11 // Step 1: Read raw EBCDIC bytes from file
LOW…g-conversions-4/EBCDIC_to_ASCII/practical_example.java16 // Step 2: Decode EBCDIC bytes to Unicode string
LOW…g-conversions-4/EBCDIC_to_ASCII/practical_example.java19 // Step 3: Encode Unicode string to ASCII bytes
LOW…g-conversions-4/EBCDIC_to_ASCII/practical_example.java22 // Step 4: Log final ASCII string
LOW…src/main/java/com/baeldung/xlsxtocsv/ConvertToCSV.java16 // Step 1: Extract data from XLSX file
LOW…src/main/java/com/baeldung/xlsxtocsv/ConvertToCSV.java18 // Step 2: Write data to CSV file using Apache Commons CSV
LOW…src/main/java/com/baeldung/xlsxtocsv/ConvertToCSV.java30 // Step 1: Extract data from XLSX file
LOW…src/main/java/com/baeldung/xlsxtocsv/ConvertToCSV.java32 // Step 2: Write data to CSV file using OpenCSV
LOW…g/hibernate/criteria/HqlToCriteriaIntegrationTest.java31 // Step 1: Get the CriteriaBuilder from the session
LOW…g/hibernate/criteria/HqlToCriteriaIntegrationTest.java34 // Step 2: Create a CriteriaQuery using HQL (as a string)
LOW…g/hibernate/criteria/HqlToCriteriaIntegrationTest.java39 // Step 3: Mutate the CriteriaQuery
LOW…g/hibernate/criteria/HqlToCriteriaIntegrationTest.java44 // Step 4: Execute the query and get the result list
LOW…g/hibernate/criteria/HqlToCriteriaIntegrationTest.java47 // Step 5: Simple assertion to check if the result is not empty
AI Slop Vocabulary11 hits · 29 pts
SeverityFileLineSnippet
MEDIUM…ing-boot-nashorn/src/main/resources/static/js/react.js13689 // Essentially calls `this.reconcileTransaction.perform(method, scope, a)`
MEDIUM…ing-boot-nashorn/src/main/resources/static/js/react.js16896 // children. Definitely want to avoid this.
MEDIUM…spring-boot-crud/src/main/resources/css/shards.min.css1@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600|Roboto+Mono);:root{--blue:#007bff;--indigo:#
MEDIUM…spring-boot-crud/src/main/resources/css/shards.min.css1@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600|Roboto+Mono);:root{--blue:#007bff;--indigo:#
MEDIUM…boot-persistence/src/main/resources/css/shards.min.css1@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600|Roboto+Mono);:root{--blue:#007bff;--indigo:#
MEDIUM…boot-persistence/src/main/resources/css/shards.min.css1@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600|Roboto+Mono);:root{--blue:#007bff;--indigo:#
MEDIUM…pm/new-relic/newrelic-monitoring/newrelic/newrelic.yml252 # Agent versions 5.10.0+ utilize both the newrelic header and W3C Trace Context headers for distributed tracing.
MEDIUM…pm/new-relic/newrelic-monitoring/newrelic/newrelic.yml255 # If you do not want to utilize the newrelic header, setting this to true will result in the agent excluding the new
MEDIUM…apm/new-relic/currency-converter/newrelic/newrelic.yml293 # Agent versions 5.10.0+ utilize both the newrelic header and W3C Trace Context headers for distributed tracing.
MEDIUM…apm/new-relic/currency-converter/newrelic/newrelic.yml296 # If you do not want to utilize the newrelic header, setting this to true will result in the agent excluding the new
MEDIUM…ebsockets/src/main/webapp/resources/js/sockjs-0.3.4.js1529// The simplest and most robust transport, using the well-know cross
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippet
MEDIUM…sion-controller/src/test/terraform/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".
MEDIUM…/baeldung/netflix/genie/docker/run_spark_submit_job.py34# Create a job instance and fill in the required parameters
MEDIUM…dules/java-native/src/main/cpp/generateNativeLibMac.sh1# Create the header with javac -h . ClassName.java
MEDIUM…-modules/java-native/src/main/cpp/generateNativeLib.sh1# Create the header with javac -h . ClassName.java
MEDIUM…tive/src/main/cpp/unsatisfiedlink/generateNativeLib.sh2# Create the header with javac -h . ClassName.java
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippet
HIGH…ison/src/main/resources/scripts/The Grinder/grinder.py30 result = request1.POST("http://localhost:8080/transactions/add", "{"'"customerRewardsId"'":null,"'"customerId"'"
HIGH…ison/src/main/resources/scripts/The Grinder/grinder.py40 result = request1.POST("http://localhost:8080/transactions/add", "{"'"id"'":" + txnId + ","'"customerRewardsId"'
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippet
LOW…pm/new-relic/newrelic-monitoring/newrelic/newrelic.yml182 # Set this to true to log SQL statements instead of recording them.
LOW…pm/new-relic/newrelic-monitoring/newrelic/newrelic.yml206 # Set this to 0 to always report the slowest transaction trace.
LOW…apm/new-relic/currency-converter/newrelic/newrelic.yml222 # Set this to true to log SQL statements instead of recording them.
LOW…apm/new-relic/currency-converter/newrelic/newrelic.yml246 # Set this to 0 to always report the slowest transaction trace.
Unused Imports2 hits · 2 pts
SeverityFileLineSnippet
LOW…ison/src/main/resources/scripts/The Grinder/grinder.py3
LOW…ison/src/main/resources/scripts/The Grinder/grinder.py4
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippet
LOW…-1.0.7/bower_components/flot.tooltip/js/jquery.flot.js1083 function processData() {
LOW…me/sbadmin2-1.0.7/bower_components/flot/jquery.flot.js1083 function processData() {
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippet
MEDIUM…/com/baeldung/web/error/CustomAccessDeniedHandler.java19 response.getOutputStream().print("Error Message Goes Here");