{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM7","name":"Repository granularity","shortDescription":{"text":"Repository granularity"},"helpUri":"https://codehealth.canine.dev/dimensions/DM7"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java:68-82 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java:111-125 \u2014 before extracting anything, compare \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java\u0060 and \u0060restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df9bbb60bd342ba81f2120e6ab729818592e15c0024824e4c6fea8a5bbc2f64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/repository/OrderRepositoryProjector.java:48-56 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java:153-164 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: \u0060OrderItem\u0060 names \u0060com.ivanfranchin.foodorderingservice.order.model.OrderItem\u0060 in one and \u0060com.ivanfranchin.restaurantservice.model.OrderItem\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/repository/OrderRepositoryProjector.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa5654c3c58ae4e89d9451d8948a713d0d07b379d9a31fb42c83b539872e631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/rest/dto/OrderResponse.java:25-34 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/rest/dto/RestaurantOrderResponse.java:21-30 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: \u0060Order\u0060 names \u0060com.ivanfranchin.foodorderingservice.order.model.Order\u0060 in one and \u0060com.ivanfranchin.restaurantservice.model.Order\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/rest/dto/OrderResponse.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0f7bcced1692d011a7fed768994be1b906730c5602e784beb941b45f73a3bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java:52-60 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java:94-102 \u2014 before extracting anything, compare \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java\u0060 and \u0060restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Dish\u0060 names \u0060com.ivanfranchin.foodorderingservice.restaurant.model.Dish\u0060 in one and \u0060com.ivanfranchin.restaurantservice.model.Dish\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java:103\u0060 calls \u0060setRestaurant\u0060 and \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java:61\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc84b3a1233420f26388d16a3bc63d29c8fe19895a8ceffba87029b3414f801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java:86-94 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java:129-137 \u2014 before extracting anything, compare \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java\u0060 and \u0060restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d28ae789343e99f19709cf80a88f5e418f92d29784b72f583460890e0b639e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): customer-service/src/main/java/com/ivanfranchin/customerservice/repository/CustomerRepositoryProjector.java:88-92 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java:152-159 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/repository/CustomerRepositoryProjector.java:88\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/repository/CustomerRepositoryProjector.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab10dc1a339de436dbbc4c5d3c30d095e9a6f24d986c5880adb28c6ce3ed3f3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/rest/dto/RestaurantResponse.java:15-19 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/rest/dto/RestaurantResponse.java:15-19 \u2014 before extracting anything, compare \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/rest/dto/RestaurantResponse.java\u0060 and \u0060restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/rest/dto/RestaurantResponse.java\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/rest/dto/RestaurantResponse.java:15\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Restaurant\u0060 names \u0060com.ivanfranchin.foodorderingservice.restaurant.model.Restaurant\u0060 in one and \u0060com.ivanfranchin.restaurantservice.model.Restaurant\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/rest/dto/RestaurantResponse.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f9dd5959c76c5c8ddf9ee895360d91a2d0821799b02a9f6d4d31c68d9691ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): customer-service/src/main/java/com/ivanfranchin/customerservice/config/AxonConfig.java:1-29 | food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/config/AxonConfig.java:1-29 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/config/AxonConfig.java:1-29 \u2014 before extracting anything, compare \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/config/AxonConfig.java\u0060 and \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/config/AxonConfig.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/config/AxonConfig.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060CommandLoggingDispatchInterceptor\u0060 names \u0060com.ivanfranchin.customerservice.interceptor.CommandLoggingDispatchInterceptor\u0060 in one and \u0060com.ivanfranchin.foodorderingservice.order.interceptor.CommandLoggingDispatchInterceptor\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/config/AxonConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40accd7513bc9aaf69f61daf4b050766f023c20bf445172abb966a9a221fb5f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): customer-service/src/main/java/com/ivanfranchin/customerservice/config/ErrorAttributesConfig.java:1-25 | food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/config/ErrorAttributesConfig.java:1-25 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/config/ErrorAttributesConfig.java:1-25 \u2014 before extracting anything, compare \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/config/ErrorAttributesConfig.java\u0060 and \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/config/ErrorAttributesConfig.java\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/config/ErrorAttributesConfig.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/config/ErrorAttributesConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8d4f0d68c8e7cde943690e1e6a2b31de944cdb2a3fcdc6b57790f0d3a2d368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): customer-service/src/main/java/com/ivanfranchin/customerservice/model/Order.java:1-51 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/model/Order.java:1-52 \u2014 before extracting anything, compare \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/model/Order.java\u0060 and \u0060restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/model/Order.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/model/Order.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/model/Order.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64082674f3514286ada5cfab1fbbc9fa55f06bd2ca7f3a704642e2eed1d1cfee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): customer-service/src/main/java/com/ivanfranchin/customerservice/rest/dto/CustomerResponse.java:1-9 | food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/customer/rest/dto/CustomerResponse.java:1-9 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/rest/dto/CustomerResponse.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060Customer\u0060 names \u0060com.ivanfranchin.customerservice.model.Customer\u0060 in one and \u0060com.ivanfranchin.foodorderingservice.customer.model.Customer\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/rest/dto/CustomerResponse.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa981eb72d575ff6fe87a0cd45e7db6441f5010db9e938a1cc9248949e2737c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): customer-service/src/main/java/com/ivanfranchin/customerservice/websocket/WebSocketConfig.java:1-22 | food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/websocket/WebSocketConfig.java:1-22 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/websocket/WebSocketConfig.java:1-22 \u2014 before extracting anything, compare \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/websocket/WebSocketConfig.java\u0060 and \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/websocket/WebSocketConfig.java\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/websocket/WebSocketConfig.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/websocket/WebSocketConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14cf4a32874cb9ee3f021cf1fb50e70e82546e9a68ffdbd834506e8c4e8ad03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 3): customer-service/src/main/java/com/ivanfranchin/customerservice/websocket/WebSocketHandler.java:1-42 | food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/websocket/WebSocketHandler.java:1-84 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/websocket/WebSocketHandler.java:1-56 \u2014 before extracting anything, compare \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/websocket/WebSocketHandler.java\u0060 and \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/websocket/WebSocketHandler.java\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/websocket/WebSocketHandler.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/websocket/WebSocketHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"463587a11e6bcb5aa22134c27c82c0bdd130e15bce919c0ddd5ed8b4611784c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/websocket/WebSocketHandler.java:1-84 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/websocket/WebSocketHandler.java:1-56 \u2014 before extracting anything, compare \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/websocket/WebSocketHandler.java\u0060 and \u0060restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/websocket/WebSocketHandler.java\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/websocket/WebSocketHandler.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/websocket/WebSocketHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b18ff65b32cf61c97478c2e751fc0505140638509b1b4651dbc7b5bed6ed97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): customer-service/src/main/java/com/ivanfranchin/customerservice/repository/CustomerRepositoryProjector.java:48-55 | food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/customer/repository/CustomerRepositoryProjector.java:20-27 \u2014 before extracting anything, compare \u0060customer-service/src/main/java/com/ivanfranchin/customerservice/repository/CustomerRepositoryProjector.java\u0060 and \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/customer/repository/CustomerRepositoryProjector.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060Customer\u0060 names \u0060com.ivanfranchin.customerservice.model.Customer\u0060 in one and \u0060com.ivanfranchin.foodorderingservice.customer.model.Customer\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/repository/CustomerRepositoryProjector.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb42e563a46064f21a0849337e94d9c6a216abaadb38e106cf223bdc5f3f9331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java:24-30 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java:66-72 \u2014 before extracting anything, compare \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java\u0060 and \u0060restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060Restaurant\u0060 names \u0060com.ivanfranchin.foodorderingservice.restaurant.model.Restaurant\u0060 in one and \u0060com.ivanfranchin.restaurantservice.model.Restaurant\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fd5edb12d95c10db579b4ad7eec5fbf3b54bcd49f4068d81c9cbe885d71ac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java:33-42 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java:75-84 \u2014 before extracting anything, compare \u0060food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java\u0060 and \u0060restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/restaurant/repository/RestaurantRepositoryProjector.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0eb00caca33c32c02e16315373c5d3f2db195b789627b8828a272920c40a78c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): axon-event-commons/src/main/java/com/ivanfranchin/axoneventcommons/customer/CustomerDeletedEvent.java:24-29 | axon-event-commons/src/main/java/com/ivanfranchin/axoneventcommons/restaurant/RestaurantDeletedEvent.java:24-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"axon-event-commons/src/main/java/com/ivanfranchin/axoneventcommons/customer/CustomerDeletedEvent.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecbb9054f9c7681c8f99aac28cfee1aac0521011dba7aee3765b1d0bf22faf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): customer-service/src/main/java/com/ivanfranchin/customerservice/repository/CustomerRepositoryProjector.java:36-40 | food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/repository/OrderRepositoryProjector.java:31-35 | restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepositoryProjector.java:42-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060query\u0060 to \u0060GetCustomerQuery\u0060 in one and \u0060GetOrderQuery\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/repository/CustomerRepositoryProjector.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"09defda5f4d26092e4eaa2e0d6dc7248fea0a36f164c93fc7f6ba69704ef4bdb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAddCustomer: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/aggregate/CustomerAggregateTest.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ce3c6e1c3ef411189ae8342367d1ef694fab758b355f3ee120005c2e59db22"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteCustomer: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/aggregate/CustomerAggregateTest.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0ef17f4e956d23a8b74a8a0d2b18eea07a27c28529f9ebcc0c705ced512d6d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateCustomer: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/aggregate/CustomerAggregateTest.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee51d85a1af4c8b47785f113d8074d829772830df290b7fc78a2fcdd4033c0b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateCustomer_whenAllFieldsNull_keepsOriginalValues: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/aggregate/CustomerAggregateTest.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4977d75ebb20187797c20ee3a3daef6bd787b387747f4b1f6d9337a1283d02de"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAddCustomer: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/rest/CustomerControllerWebMvcTest.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"210cee2577b1d6302b25e69c70857fb29fb29035696d7e65e0285c644fcd213b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAddCustomer_whenInvalidRequest_returnsBadRequest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/rest/CustomerControllerWebMvcTest.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b61c06a7ee9d59eb53d808fec3f7b284b01ac164a2c3c11fb09e25bb07e696"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteCustomer: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/rest/CustomerControllerWebMvcTest.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd7882638d1f81ff03cac5a327be5c0e7b6ca0ddade760182f31bf802f9509b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetCustomer: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/rest/CustomerControllerWebMvcTest.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff4669923ac96e9c8349e2c6edffe17c7683d51705094b79287d9e3bdbd9578"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetCustomerOrders: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/rest/CustomerControllerWebMvcTest.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9bce39bb97cf00669b1cc15aa84717242dc9b71c6af8e32d9538b774714588"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetCustomers: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/rest/CustomerControllerWebMvcTest.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8409f15a9219faca24762ed179f1142f2ea3a37b0f01716ff6fa960e5c563937"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateCustomer: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/rest/CustomerControllerWebMvcTest.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e246de292bbda245f1762d175c95e19552bef67b4cfde70ec6e083d812ec8c6"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): contextLoads: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/CustomerServiceApplicationTests.java"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"95934d227ccad3b95060db3189c7f159751a5bf9e44f443b2ca6304ca5627d27"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetCustomers: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/test/java/com/ivanfranchin/foodorderingservice/customer/rest/CustomerControllerWebMvcTest.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30e8d6dbbcc35c6bf30536b93f0deb436e892cf2c6ac46cc9324a0b3a37438b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateOrder: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/test/java/com/ivanfranchin/foodorderingservice/order/aggregate/OrderAggregateTest.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c6db9ff78bdc57160ee2b8936544da48ef147511354f8f4945a4dc1d0fd3a4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateOrder_withZeroTotal: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/test/java/com/ivanfranchin/foodorderingservice/order/aggregate/OrderAggregateTest.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bc7c64e3952a3af5240a898852624bc16fdbd89a6760e1acd1fee6a0aa3858"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateOrder: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/test/java/com/ivanfranchin/foodorderingservice/order/rest/OrderControllerWebMvcTest.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68ff2df3da9d6171a7fef33fb2e09cb7bbbbb6aa05f9da59b1b95b65cf34520"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateOrder_whenInvalidRequest_returnsBadRequest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/test/java/com/ivanfranchin/foodorderingservice/order/rest/OrderControllerWebMvcTest.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7328989630760170f8e1f9304b01fa12370049996458d1830b93e5bf6ad379"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetOrder: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/test/java/com/ivanfranchin/foodorderingservice/order/rest/OrderControllerWebMvcTest.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92500d4a5fe7993da87e8d1da8d101ec3670c9a26e1eb6f6218e649be597aba"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetOrders: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/test/java/com/ivanfranchin/foodorderingservice/order/rest/OrderControllerWebMvcTest.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a9408b2eeba9f0bf9898a2af69e9b5f2b09a382780a0d719f49eace47c75dc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetRestaurants: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/test/java/com/ivanfranchin/foodorderingservice/restaurant/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb08b81aa9154bb0d3717476961377524771d047bacea04f56b0a208ee630201"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): contextLoads: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/test/java/com/ivanfranchin/foodorderingservice/FoodOrderingServiceApplicationTests.java"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a8e694cc69aa271d1edd1ca89faa6c5cc38e661f60d5d3c143f352caec7572"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testAddRestaurant: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/aggregate/RestaurantAggregateTest.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7ea82472d65bb2cba76dc0307a48b4ea3dfd9ed9707f6d405ba5fb9a5f9a70"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testAddRestaurantDish: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/aggregate/RestaurantAggregateTest.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9de04955e8ea81907d85bab9e844b4ea65dc2fec70a85f23890729ef8f656f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testDeleteRestaurant: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/aggregate/RestaurantAggregateTest.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2bd44760e8ed3b79b1617b3286c3007a785a89e94456535b3f9b5b1eadb029"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testDeleteRestaurantDish: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/aggregate/RestaurantAggregateTest.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6082a87902803dc0afb13fab11caf2f96b7de3eacc9397d7c60cc958f53c8340"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testDeleteRestaurantDish_whenDishNotFound_throwsException: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/aggregate/RestaurantAggregateTest.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5e2a418803bfd99e5cc52c907289600a5f11189a5cf7b3a0ede26a5dfd5960"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testUpdateRestaurant: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/aggregate/RestaurantAggregateTest.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"033e15b6231ab2fee9c999748958eb85ee2bc4ed63785640599c8ea82d898fd4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testUpdateRestaurantDish: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/aggregate/RestaurantAggregateTest.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4944387079e8f7f3ee8947367c7302a08d0084b52dff63fd4334cc1fbfbc6a88"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testUpdateRestaurantDish_whenDishNotFound_throwsException: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/aggregate/RestaurantAggregateTest.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c04b6169ad92afd0951b3cbda735b5e2ed8b2d924cf6c7e80db8d2e5ef2bd5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testUpdateRestaurantDish_whenNameNull_keepsOriginalName: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/aggregate/RestaurantAggregateTest.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf3e82ec294fa9dd7f052e8952f7a4ba3e514323626a959868f9b1116920133"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testUpdateRestaurantDish_whenPriceNull_keepsOriginalPrice: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/aggregate/RestaurantAggregateTest.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef45465599948259a81ecc218acaed6d449f16229c6bc0cfffa5d91e51de70b8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testAddRestaurant: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"56df8025ad33fda3d69ec9b4f4b7b0897989136c9c57b34274a6aa8f31cf2884"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testAddRestaurantDish: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"727015473e673149c9a8b896265e45526ecb3baebd30ce2df27b9ba32638230a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testAddRestaurantDish_whenInvalidRequest_returnsBadRequest: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8088c7a7c3c48fe9b0f1443f0fce3fc464eddcc7daaac1587ff99d428d6fc1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testAddRestaurant_whenInvalidRequest_returnsBadRequest: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"669a86da451eb722a2829cd3d260d2a3621f29861d83a759fe28882a6c52ef9a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testDeleteRestaurant: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"567027f52e0a0f77d68ac9f617a25a2c94f973ab46c54d1a775ae1abac55904c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testDeleteRestaurantDish: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f24ebad2b156e6889bfe00985bbfa760b1d03dcb340ad8ec34c27ef4de5050"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testGetRestaurant: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"54930b7ef9ff4915aa1a3e0c8476c88a49d33e57892b9ab37f6588ec5afcb100"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testGetRestaurantDish: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a202598d830042bbfbdeb0192c85837a00ec5e89e9e9f1ef34c0afafa6953c11"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testGetRestaurantOrders: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74ee048a89db554e8d6f5ebc9d3dae74df92fd619421a21d74855a6e9508c2e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testGetRestaurants: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6521902f807cecd5f4dc87cb9c34f9680eec2b49734bdfaaf2a7799d3278ba"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testUpdateRestaurant: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a22e6f8a6a846801d4d935989546d5797327e17c541e2cb545b5920c312b7bf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testUpdateRestaurantDish: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/rest/RestaurantControllerWebMvcTest.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"313c81bb52d10ae0f89c7cab59afef7f1a006d7a3a56f028849d0707290058b0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: contextLoads: No conventional assertion call was detected, and 23 of 36 tests in \u0060restaurant-service\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/RestaurantServiceApplicationTests.java"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaa1084e2dcc99aa74312ce53e5a305ccbe5e312a79d31263c16f90ad52a1e6"}},{"ruleId":"D16","level":"note","message":{"text":"Small-team knowledge concentration: 1 file(s) are concentrated to one author \u2014 the ambient state with 2 active author(s), not 1 separate risks. The signal becomes meaningful as ownership spreads; no per-file action implied now."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8aa75b6daa18f1b578387fa04036c50b3163d47f957c8f5601bf083ed4489b0c"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b854f1d357377cc1111101f23ae7143595aa248db48c56611bda938c836a5a20"},"properties":{"commitSha":"35c2f02ade6a4ba84195fae3724706bed2392f4c"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 9 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 9 of the 118 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/aggregate/OrderAggregate.java. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/java/com/ivanfranchin/foodorderingservice/order/aggregate/OrderAggregate.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d0f079cc4e75c5160d00471db43f1935218bc2686995813ab03cc4b5be2f64"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/resources/templates/index.html"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b19e9d01f4381335001bbd3da88c5e322e0ce2379c536ca3c2fa8434cee28c5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/resources/templates/index.html"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cb4f4ee2b85e2e5a2835937efce199eea0b4a95846404f58d0a55c752adba2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/resources/templates/index.html"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b42e18fc4982a42def191ffde39054901d8c157b34cf68ad3fb3e57233b09cb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/resources/templates/index.html"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb694ca0e2e52b8d4d0c947e76c86071eb14ccf9a284a50bc9d977913774856b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/resources/templates/index.html"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"77abb1f1536e409fefd822393138f8419c95ba8428427739742c400e0f029b03"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/resources/templates/index.html"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e0576753fd658f59ac7484d76f2285f7aeeacfc1837cae038b917d5322926f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d58b38cc7551be06ddc44c5838e0d45cdcee492626fc0fbd37f457edeb08f1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ba19b7b00316d7433703cec7c1482eb33071324e84c176212cc989507761e9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ec97d51f942057797fbae84431b48e00ee15b69c14c619393ccfa7cf1432de"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8e076c828dbb5cd3810b8d87dfc62df2e5386ec2117da2695fdb5bc5930598"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3846342b7e31ec72a7b0053f4ea35b4548b3b1e98548d9c1cb7c7e554b91a2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d18a907a9571a1983876682860359641a6f8a77c0690c817313156b8301473"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e28a972779fd42f2cc7fa53a09febf0fdf24884c2adb7188afc9fa1bd04f60"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b2fba9093ba7a9ca30f038de040700f995f782989fe99ac5d70db514836229"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd71517760fa94050f0edb7185ffa6ac258748f77229da374b774c0866fdeb9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"128539aa9ef76358d39734a364f9bf32880935696ca4064f61e54f15a9e4431e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c1f275de71fc8351f588a5cccbfaeac5d6fc9d778811d9d43b45f045f6be27"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"32af8b1e4db99e04020773bbe163b3566e59766b6aef81ce5f61271a6373162f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/resources/templates/index.html"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83ed4a7f7c6b7314b9344814f608bc7ac6ba1c99921c74b8bf9560b5acf8568"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.5:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/resources/templates/index.html"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1739dd1071275fab1819744f6303bdae17cda0d16768dbc3916ac7d37d0e53"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.5:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/resources/templates/index.html"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec785c4be9d3cffc9cc931a6d0a8d0aea74973699097d5a0e1cdfbf14a3ef96a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.9:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/resources/templates/index.html"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2440fd1f5e62fd01d417b7ce1b958547c2478b1ac0e1391cc5200a855ada291e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.9:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/resources/templates/index.html"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc6ea05d73b89915e278066499cb1dc747c4963f12c901b543142338ca596db"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.9:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/resources/templates/index.html"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d7ceb6255de1dd3d9823240c74f4370ed7bf2829e040e387f7e4efcd1ab805"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.5:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/main/resources/templates/index.html"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a4097c4cf771dc7f24eeb67db3aec2414e218d53462b634279d641241e301e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2599f83b9348177ce01daef0a889860fa326c12fcf50c41f2cb90519cf4c5c7a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.5:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b432413541b1202a45facf4828c68a46e43eb7d1175e635abb605415d8510ce8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22414cef2ac7cc040df8dc461305ce62c513a572329fb2b5de04acdf86d7683"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bd34e20f9da5354780f1dbe29d5254d37ef94eb1685673d184e7877b108aca"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.5:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/templates/index.html"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98b22042b6eb7c5a6e94c995d2fde4c6fcad757f9de6e66d7dc84255e1b3821"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no accessibility linting at author time and no automated accessibility check in tests or CI. Add your UI toolkit\u0027s own accessibility assertion to the test suite (Flutter \u0060meetsGuideline\u0060, Espresso \u0060AccessibilityChecks\u0060, XCTest \u0060performAccessibilityAudit\u0060), then gate that test in the pipeline. What was searched, so you can tell an absence from a miss: the 3 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Dish: \u0060Dish\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/model/Dish.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ff0ab420d6e1f59fcad7158bf753b16c398ea5bcfe9c70a5ed55df657fc5b5"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Order: \u0060Order\u0060 is an aggregate/entity with 8 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/model/Order.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b35113010c7bef1b468f289f8266f6f2c96097308c98834578e2e6d69d2788"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Restaurant: \u0060Restaurant\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/model/Restaurant.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8571109e631c07c2e41cf889be0a58f9cfe697e4ea5e5c7b6a38c4898e5f1b5d"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Customer: \u0060Customer\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/model/Customer.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b260b443f8016c50e85f7772fa2f453ecd3477ada1530e6328757a43e209eae"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Order: \u0060Order\u0060 is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/model/Order.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"072567bf1b04fed680bc3c6afa994d1a46e6c033f1c3380f65c143a6e2266474"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: OrderRepository \u2192 Order: \u0060OrderRepository\u0060 is a repository over \u0060Order\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Order\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/OrderRepository.java"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63882fa6235ecd2f0d2be9b9132756788444d31491d4e0df332f6188308e2c4"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: RestaurantRepository \u2192 Restaurant: \u0060RestaurantRepository\u0060 is a repository over \u0060Restaurant\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Restaurant\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/java/com/ivanfranchin/restaurantservice/repository/RestaurantRepository.java"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf312382076b64f13f43d7b747ce89a355c4d237e038f9048a763a7956033db4"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: CustomerRepository \u2192 Customer: \u0060CustomerRepository\u0060 is a repository over \u0060Customer\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Customer\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/repository/CustomerRepository.java"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"552944b40856730f8bb23d28a274fa338417468110aa42e1b2dfb86ec66fb2d5"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: OrderRepository \u2192 Order: \u0060OrderRepository\u0060 is a repository over \u0060Order\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Order\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/java/com/ivanfranchin/customerservice/repository/OrderRepository.java"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"309f81f4e477e326c39698f2091a7c7003ddbc104935cff92750232ee4da46a3"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/test/java/com/ivanfranchin/customerservice/CustomerServiceApplicationTests.java"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"025c57194ded46e3ed3d429ee623d4f8ea4b246e0f782b8ae80d9599bf6bb184"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"food-ordering-service/src/test/java/com/ivanfranchin/foodorderingservice/FoodOrderingServiceApplicationTests.java"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e417f215728ba7812cf11564fe4fcbaf580e128ea06afcf126facf77991dfdcf"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/test/java/com/ivanfranchin/restaurantservice/RestaurantServiceApplicationTests.java"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72f610f50deac5dab0b2093585eaf4166b83bd3c784dad2933009a1960eae03"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by Hibernate ddl-auto (no migration path): Hibernate ddl-auto builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt Flyway or Liquibase, with \u0060ddl-auto\u0060 set to \u0060validate\u0060, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restaurant-service/src/main/resources/application.properties"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"22511f3743cf489a62087e77e358a7999f5bc7babfa0b046d2cbc85373cebc1f"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by Hibernate ddl-auto (no migration path): Hibernate ddl-auto builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt Flyway or Liquibase, with \u0060ddl-auto\u0060 set to \u0060validate\u0060, so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/resources/application.properties"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f505c0d01a96b929eee26c1c2a4bd9a830f4be1b1a604dae91cab776d1f8c0d"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://cdn.tailwindcss.com\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository. 18 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"customer-service/src/main/resources/templates/index.html"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cf51fe6d9884bba9cab62aa7d8557c869137723b8c6caea37f377620d0962e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Objects.equals(id, that.id) \u0026\u0026 Objects.equals(name, that.name)\u0060 appears character-identically in 2 files \u2014 axon-event-commons/src/main/java/com/ivanfranchin/axoneventcommons/restaurant/RestaurantAddedEvent.java, axon-event-commons/src/main/java/com/ivanfranchin/axoneventcommons/restaurant/RestaurantUpdatedEvent.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"axon-event-commons/src/main/java/com/ivanfranchin/axoneventcommons/restaurant/RestaurantAddedEvent.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2269d1ef906dd23392f355d91479f7fe674a6b8a28ab52e19a7ae1b7317c664b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Objects.equals(id, that.id) \u0026\u0026 Objects.equals(name, that.name) \u0026\u0026 Objects.equals(address, that.address)\u0060 appears character-identically in 2 files \u2014 axon-event-commons/src/main/java/com/ivanfranchin/axoneventcommons/customer/CustomerAddedEvent.java, axon-event-commons/src/main/java/com/ivanfranchin/axoneventcommons/customer/CustomerUpdatedEvent.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"axon-event-commons/src/main/java/com/ivanfranchin/axoneventcommons/customer/CustomerAddedEvent.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafc96d883a69f2276be1bc044714a821f9308110ca715abb95ce7436c1d56fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Objects.equals(restaurantId, that.restaurantId) \u0026\u0026 Objects.equals(dishId, that.dishId) \u0026\u0026 Objects.equals(dishName, that.dishName) \u0026\u0026 Objects\u2026\u0060 appears character-identically in 2 files \u2014 axon-event-commons/src/main/java/com/ivanfranchin/axoneventcommons/restaurant/RestaurantDishAddedEvent.java, axon-event-commons/src/main/java/com/ivanfranchin/axoneventcommons/restaurant/RestaurantDishUpdatedEvent.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"axon-event-commons/src/main/java/com/ivanfranchin/axoneventcommons/restaurant/RestaurantDishAddedEvent.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bc317f229b6ea41c877f58a38070f03bc2e5b144e0929b718ad3dccf0484a8"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/53 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":2,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}