Repository Analysis

iluwatar/java-design-patterns

Design patterns implemented in Java

0.2 Likely human-written View on GitHub
0.2
Adjusted Score
0.2
Raw Score
100%
Time Factor
2026-05-08
Last Push
94,067
Stars
Java
Language
224,782
Lines of Code
2617
Files
23
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 3MEDIUM 1LOW 18

Pattern Findings

23 matches across 6 categories. Click a row to expand file-level details.

Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippet
HIGHcombinator/README.md0it was many and many a year ago, in a kingdom by the sea, that a maiden there lived whom you may know by the name of ann
HIGH…src/test/java/com/iluwatar/combinator/FindersTest.java0it was many and many a year ago, in a kingdom by the sea, that a maiden there lived whom you may know by the name of ann
HIGH…c/main/java/com/iluwatar/combinator/CombinatorApp.java0it was many and many a year ago, in a kingdom by the sea, that a maiden there lived whom you may know by the name of ann
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICAL…main/java/com/iluwatar/servicetoworker/GiantModel.java48 this.model = new com.iluwatar.model.view.controller.GiantModel(health, fatigue, nourishment);
Fake / Example Data10 hits · 10 pts
SeverityFileLineSnippet
LOWnotification/README.md81 var form = new RegisterWorkerForm("John Doe", "Engineer", LocalDate.of(1990, 1, 1));
LOW…src/test/java/com/iluwatar/RegisterWorkerFormTest.java41 registerWorkerForm = new RegisterWorkerForm("John Doe", "Engineer", LocalDate.of(1990, 1, 1));
LOW…src/test/java/com/iluwatar/RegisterWorkerFormTest.java52 assertEquals("John Doe", registerWorkerForm.worker.getName());
LOW…atar/hexagonal/database/MongoTicketRepositoryTest.java78 var details = new PlayerDetails("foo@bar.com", "123-123", "07001234");
LOW…atar/hexagonal/database/MongoTicketRepositoryTest.java88 assertEquals("foo@bar.com", ticket.playerDetails().email());
LOW…java/com/iluwatar/hexagonal/test/LotteryTestUtils.java40 return createLotteryTicket("foo@bar.com", "12231-213132", "+99324554", Set.of(1, 2, 3, 4));
LOW…st/java/com/iluwatar/monolithic/MonolithicAppTest.java109 User mockUser = new User(1L, "John Doe", "john@example.com", "password123");
LOW…st/java/com/iluwatar/monolithic/MonolithicAppTest.java181 User mockUser = new User(1L, "John Doe", "john@example.com", "password123");
LOW…st/java/com/iluwatar/monolithic/MonolithicAppTest.java241 .thenReturn(new User(1L, "John Doe", "john@example.com", "password123"));
LOW…st/java/com/iluwatar/monolithic/MonolithicAppTest.java248 new User(1L, "John Doe", "john@example.com", "password123"),
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippet
LOWcaching/docker-compose.yml1#
LOWlocalization/pt/facade/README.md181// Dwarf cart operator goes to the mine.
LOWlocalization/zh/bridge/README.md161enchantedSword.unwield();
LOWlocalization/zh/facade/README.md161// Dwarf cart operator wakes up.
LOWlocalization/ar/facade/README.md181// Dwarven tunnel digger goes to the mine.
LOWlocalization/ko/facade/README.md181// Dwarven tunnel digger wakes up.
LOWlocalization/es/facade/README.md181// Dwarven tunnel digger goes to the mine.
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM…t/src/main/java/com/iluwatar/component/GameObject.java77 * simply a duplicate of update() without the key event for demonstration purposes.
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippet
LOWlocalization/zh/chain/README.md64public abstract class RequestHandler {