{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"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":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"C5","name":"Data-Subject Rights","shortDescription":{"text":"Data-Subject Rights"},"helpUri":"https://codehealth.canine.dev/dimensions/C5"},{"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":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"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":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM7","name":"Repository granularity","shortDescription":{"text":"Repository granularity"},"helpUri":"https://codehealth.canine.dev/dimensions/DM7"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"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":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"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":"D1","level":"warning","message":{"text":"FromDataPack.importBaseCocktails (cyclomatic 28): FromDataPack.importBaseCocktails has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: app/External/Import/FromDataPack.php holds 2 of the 8 methods over the threshold \u2014 including the worst \u2014 and 22 of the 45 points over it (49%), 2\u00D7 the next-largest file (app/Scraper/Concerns/ReadsLDJson.php at 11). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromDataPack.php"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6c4fe19b0be5fa9fcaabc30a5fcdb2d8bbeea9a2a8d4b5c7f2952e7f4e408e"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadsLDJson.readJSON (cyclomatic 26): ReadsLDJson.readJSON has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Concerns/ReadsLDJson.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7e4de6cbe57c940c92b194c55e8a8d43590acac0b0f74273f606a6438b8795"}},{"ruleId":"D1","level":"warning","message":{"text":"FromDataPack.importIngredients (cyclomatic 24): FromDataPack.importIngredients has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: app/External/Import/FromDataPack.php holds 2 of the 8 methods over the threshold \u2014 including the worst \u2014 and 22 of the 45 points over it (49%), 2\u00D7 the next-largest file (app/Scraper/Concerns/ReadsLDJson.php at 11). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromDataPack.php"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4ee2a03a45e13b1777ee1f92d8118ab67df555b72d806ee7415dc039e3eeeb"}},{"ruleId":"D1","level":"warning","message":{"text":"CocktailQueryFilter.__construct (cyclomatic 18): CocktailQueryFilter.__construct has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Filters/CocktailQueryFilter.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa64fa6e09f66b9059d5cd218ac98ad6967581aee18dcb54ad2e4add9cc2b0e1"}},{"ruleId":"D1","level":"warning","message":{"text":"IngredientQueryFilter.__construct (cyclomatic 18): IngredientQueryFilter.__construct has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Filters/IngredientQueryFilter.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"53741780947732a6958f6c5c63ee63cf77b5ef9ae2d69be69fc0fb252757967b"}},{"ruleId":"D1","level":"warning","message":{"text":"ScraperHttpClient.resolveDestination (cyclomatic 18): ScraperHttpClient.resolveDestination has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/ScraperHttpClient.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a74facf9e614bb95303a63bbb765eb59e0d9004afd07bdea0a515d486ce937"}},{"ruleId":"D1","level":"warning","message":{"text":"RecommendationScoringService.score (cyclomatic 17): RecommendationScoringService.score has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/Recommendation/RecommendationScoringService.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6bca15a3c338f5c6bba63a798d1db49209eb55e13cff16099762df37d69fef"}},{"ruleId":"D1","level":"warning","message":{"text":"IngredientService.getIngredientsOrderedByUnlockedCocktails (cyclomatic 16): IngredientService.getIngredientsOrderedByUnlockedCocktails has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Services/IngredientService.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97583c55b4ae3e54493c82a3dbe9a99b814416c2e3d948de693260bcebec8f7"}},{"ruleId":"D2","level":"warning","message":{"text":"FromDataPack.importBaseCocktails (cognitive 60): FromDataPack.importBaseCocktails has cognitive complexity 60 (threshold 15). Drivers by points: if/else 14 (33 pts), loops 11 (21 pts), ternaries 2 (6 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: app/External/Import/FromDataPack.php holds 3 of the 15 methods over the threshold \u2014 including the worst \u2014 and 83 of the 183 points over it (45%), 4\u00D7 the next-largest file (app/Services/Image/StarterMediaCatalogService.php at 21). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromDataPack.php"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3e35f4dd20740c215e4f93b422e835166a23475cf5b88ad0b1ab4341ab7164"}},{"ruleId":"D2","level":"warning","message":{"text":"FromDataPack.importIngredients (cognitive 46): FromDataPack.importIngredients has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 5 (9 pts), ternaries 3 (8 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: app/External/Import/FromDataPack.php holds 3 of the 15 methods over the threshold \u2014 including the worst \u2014 and 83 of the 183 points over it (45%), 4\u00D7 the next-largest file (app/Services/Image/StarterMediaCatalogService.php at 21). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromDataPack.php"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"12231700d6038ddb571c9df986edf0f3de0eabc4ef12504e6b2b2f6068e2987f"}},{"ruleId":"D2","level":"warning","message":{"text":"StarterMediaCatalogService.sourceObjects (cognitive 36): StarterMediaCatalogService.sourceObjects has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (21 pts), ternaries 2 (8 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Services/Image/StarterMediaCatalogService.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bd12771ad3df8d9a8e909ea2e0d488f4b3c5ee5ae60c5776449f533cd92796"}},{"ruleId":"D2","level":"warning","message":{"text":"RecommendationScoringService.score (cognitive 31): RecommendationScoringService.score has cognitive complexity 31 (threshold 15). Drivers by points: if/else 4 (12 pts), ternaries 5 (10 pts), loops 6 (8 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/Recommendation/RecommendationScoringService.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"575e807ad08dce6a86d0941d302048c6e410484b35209ae1687412217e476ed3"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadsLDJson.readJSON (cognitive 29): ReadsLDJson.readJSON has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 8, ternaries 2 (4 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Concerns/ReadsLDJson.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74c17a1d421758b51759013825f0b42cd8cfe8508c59cff1db40e6f33242e4b"}},{"ruleId":"D2","level":"warning","message":{"text":"IngredientService.getIngredientsOrderedByUnlockedCocktails (cognitive 27): IngredientService.getIngredientsOrderedByUnlockedCocktails has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 5 (10 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Services/IngredientService.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bebf391822664710fa60fd69c36589155d7738a27828caf1ea1bcea0fc93f81"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageController.store (cognitive 25): ImageController.store has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 2 (6 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/ImageController.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"37283bc31ed183f693da95c280747ddfe20b9bc4cdc86c954b94792e67596a21"}},{"ruleId":"D2","level":"warning","message":{"text":"RobotsTxtEvaluator.parse (cognitive 23): RobotsTxtEvaluator.parse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/RobotsTxtEvaluator.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdc9c0590b8248b33df6b5da9c338a35b3543c0f13e26dc0e202fa12bde24e8"}},{"ruleId":"D2","level":"warning","message":{"text":"FromDataPack.importGlasses (cognitive 22): FromDataPack.importGlasses has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (7 pts), ternaries 2 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: app/External/Import/FromDataPack.php holds 3 of the 15 methods over the threshold \u2014 including the worst \u2014 and 83 of the 183 points over it (45%), 4\u00D7 the next-largest file (app/Services/Image/StarterMediaCatalogService.php at 21). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromDataPack.php"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"5098f919e1b8959867c45db4cc12fbb0227f09fb2c7e9bc5e3bc2e6b0fd97213"}},{"ruleId":"D2","level":"warning","message":{"text":"CocktailQueryFilter.__construct (cognitive 20): CocktailQueryFilter.__construct has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Filters/CocktailQueryFilter.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"424eba630a8b4b94efb2efa7ede7a8520eed7276e3c1aed561a7f357a0ffa01a"}},{"ruleId":"D2","level":"warning","message":{"text":"IngredientQueryFilter.__construct (cognitive 19): IngredientQueryFilter.__construct has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 2, loops 2, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Filters/IngredientQueryFilter.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1702dbe31684295dd2d7985c49948bb2d2ca3e6501b857c7782537b87be98050"}},{"ruleId":"D2","level":"warning","message":{"text":"ScraperHttpClient.resolveDestination (cognitive 19): ScraperHttpClient.resolveDestination has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, loops 2, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/ScraperHttpClient.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b98e174d5bdcc76ec5d1a8c23a86f665d2b5bd6fda9bbdae751593e8aebdc0"}},{"ruleId":"D2","level":"warning","message":{"text":"FromSchema.process (cognitive 18): FromSchema.process has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (4 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromSchema.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c1ff182ea59e11b8c85ab5da88f634393e690ef7eb4c4cae1e0060b1cdfd6d"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadsHTMLSchema.readHTML (cognitive 17): ReadsHTMLSchema.readHTML has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Concerns/ReadsHTMLSchema.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7223af62c7e9094f5fdbd79866f778328a3c1c8e9633ca137b58373887d653b"}},{"ruleId":"D2","level":"warning","message":{"text":"ToRecipeType.dumpCocktails (cognitive 16): ToRecipeType.dumpCocktails has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Export/ToRecipeType.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a9ea2392801249e6883ebf948cdc853b016c34e4f457ccec85a468433f6b5d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CocktailQueryFilter.__construct: MethodTooLong \u2014 __construct runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Filters/CocktailQueryFilter.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8bdf1cc2022a792bae61ca64c38663a6d5d0d1cc327889a67c75b1d8ce4d88"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FromDataPack.importBaseCocktails: MethodTooLong \u2014 importBaseCocktails runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromDataPack.php"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde6e06f1c7b7cf362845e78a04da7e40a80a719bce57345f29d5afedb3ed99a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Ingredient: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/Ingredient.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1575e56739eaf2a9f87d3c32d002bb9e19f0ce13c69ce2ba0866c049b1cdc057"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Cocktail: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/Cocktail/Cocktail.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"858a76841bcd9a55a34f29fa1e2031b316d7847e664606aa129dfc29eb628d07"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Cocktail: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/Cocktail.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4deed594ad2e2228d8bdd8e47709c75a53a173cf4409e2841691025ea2ca54dc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FromDataPack: ClassTooLong \u2014 447 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 47 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromDataPack.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d64d3deab7118a5a3b94417bab4a1f490fb51694212c467c9f14e670685be2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FromSchema.process: MethodTooLong \u2014 process runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromSchema.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d7691aaf621d4db72accc5b48fd6de5827df945078c8cfbf0d6df38677bc16"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Ingredient: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/Ingredient/Ingredient.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"855714a94f23a461bce11c18210a2f4abcd2cee81f49aba36b460cec7f1cb9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): app/Infrastructure/EloquentCocktailCollectionRepository.php:34-71 | app/Infrastructure/EloquentCocktailMethodRepository.php:31-43 | app/Infrastructure/EloquentExportRepository.php:29-46 | app/Infrastructure/EloquentGlassRepository.php:34-55 | app/Infrastructure/EloquentIngredientReviewRepository.php:55-78 | app/Infrastructure/EloquentNoteRepository.php:31-50 | app/Infrastructure/EloquentReviewRepository.php:29-45 | app/Infrastructure/EloquentUtensilRepository.php:30-41 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentCocktailCollectionRepository.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6087ef4cebace5baa9dc36113033536412b3de1a8c4765f8e08c5966b70a1b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/Http/Controllers/IngredientRatingController.php:35-53 | app/Http/Controllers/IngredientRatingController.php:64-81 | app/Http/Controllers/IngredientReviewController.php:70-93 | app/Http/Controllers/ReviewController.php:67-88 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/IngredientRatingController.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"49847a521d9f989c245deff0cee3155aa5a587947db1b90fcaa88d9818eda7d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): app/Http/Controllers/CocktailController.php:181-244 | app/Http/Controllers/CocktailController.php:263-329 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/CocktailController.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01208d2eb1f4fe6462617f91531c5bb515746b424a2597f0ceddcbc37e75083"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): app/External/Export/ToDataPack.php:47-109 | app/External/Export/ToRecipeType.php:35-96 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Export/ToDataPack.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"46248fc77be6aa2fb19fd5bef52bd4121a39ac245f0a978ce1266e66c1249766"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): app/Http/Controllers/IngredientController.php:158-214 | app/Http/Controllers/IngredientController.php:230-286 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/IngredientController.php"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66a9ede781fdbe8249888953cf6bee737fcf9937d9addcaedb3569bd788cc77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/Infrastructure/EloquentRecommendationRepository.php:61-95 | app/Infrastructure/EloquentRecommendationRepository.php:133-167 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentRecommendationRepository.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2b70959a509d38e2f7bebd7d2b4cbe7a62120277a337a616380db722a54337"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/Infrastructure/EloquentBarInventoryRepository.php:37-74 | app/Infrastructure/EloquentMemberInventoryRepository.php:23-64 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentBarInventoryRepository.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3e44e376a3b58b1a77bdc2114af2b06c07791e03bfc584e5d8a4cb361dc5c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/Http/Controllers/CocktailController.php:106-139 | app/Http/Controllers/IngredientController.php:74-105 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/CocktailController.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0ad135a448abfef8f37aa3bd846a1e76a6efb30cdde4c4ada2c4097439579e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/Http/Controllers/GenerateController.php:219-242 | app/Http/Controllers/GenerateController.php:265-287 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/GenerateController.php"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e974e3e7854508a60b6216c00eac805052ef094fc06ee421b0c0bebf028a48f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/Http/Controllers/CalculatorController.php:72-93 | app/Http/Controllers/CalculatorController.php:109-132 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/CalculatorController.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b42ee3b4188b7f1cd613f59730bbdc73dda6c59b41ea4705c0c1855eadec4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/Models/Calculator.php:64-85 | src/Domain/Calculator/Calculator.php:147-185 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/Calculator.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"79af4dc3a4f6c2546a887056ab71b71615e7226f48d563b5ea9587693c1f3896"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): app/External/Matcher.php:31-50 | app/External/Matcher.php:55-78 | app/External/Matcher.php:83-102 | app/External/Matcher.php:107-126 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Matcher.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32c0673333b49c412679392460352d303cdc1fe71e2c3e761f4c145fa59edde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/Application/Matcher/GlassMatcher.php:24-42 | src/Application/Matcher/MethodMatcher.php:24-42 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Matcher/GlassMatcher.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ab67f3204cedf4f9e78f230dd094cbda834729c739815ce69a6d031b8cf653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/Http/Controllers/IngredientController.php:320-342 | app/Http/Controllers/IngredientController.php:357-374 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/IngredientController.php"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"875d3d6fe9c1410996c18e8da604a9992e3f2f4f6e1dc85b082cc0058377006c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/Domain/IngredientHierarchy/IngredientHierarchyManager.php:31-53 | src/Domain/IngredientHierarchy/IngredientHierarchyManager.php:63-86 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/IngredientHierarchy/IngredientHierarchyManager.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e219fbe68b8f022e2893e9f01529f9750a0d398d369b104c087c7a09b0c8f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): app/External/Export/ToDataPack.php:114-142 | app/External/Export/ToDataPack.php:147-161 | app/External/Export/ToDataPack.php:166-184 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Export/ToDataPack.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd32b462817c4cc6840e3bf4e6c1b5cba68b06da9f97aa35d90379104bee7779"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/External/Model/CocktailIngredient.php:54-80 | app/External/Model/CocktailIngredient.php:101-121 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Model/CocktailIngredient.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5510ee0bdafd3db4bc79ee1bd29ec05c52456d9cb89110c41b09f2203e6802"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/Application/Cocktail/GlassService.php:29-43 | src/Application/Cocktail/GlassService.php:48-66 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Cocktail/GlassService.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ccabc9f269e100cab3c1e46c2c1fa9ad1b2092ee453449d874afa92ca4be75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/Http/Controllers/TagController.php:100-114 | app/Http/Controllers/TagController.php:125-137 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/TagController.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7cf461559fdc1c8ce6062af8cf1bd50ef175b1566eed850f2e2f55c8596a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/Infrastructure/EloquentIngredientHierarchyRepository.php:33-46 | app/Infrastructure/EloquentIngredientHierarchyRepository.php:51-67 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentIngredientHierarchyRepository.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79d4db175885f1c9a68b4e6e0e6df34326e37028bcaefd757911f507ebed1d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/Domain/Cocktail/CocktailMethod.php:116-133 | src/Domain/Cocktail/Glass.php:99-116 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/Cocktail/CocktailMethod.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07b233724866528d55b25e34c898917b29bb2fbc3dd8ce5e469cde963deaf4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/Http/Controllers/BarInventoryController.php:120-132 | app/Http/Controllers/MemberInventoryController.php:286-297 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/BarInventoryController.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f87879adb228e5b3edb23d2789391916b9d044cbcaacccd8b11ad9e37d2d583"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/Http/Controllers/CocktailMethodController.php:71-84 | app/Http/Controllers/PriceCategoryController.php:68-82 | app/Http/Controllers/UtensilsController.php:69-81 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/CocktailMethodController.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6508932b84c2fa30a8ae1ebcd0bf63db3e22a03903231daab57d07d7bbc7588"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/Http/Controllers/RatingController.php:34-52 | app/Http/Controllers/RatingController.php:63-76 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/RatingController.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c699e63a5dbeb6e0b1c8c7965abaf11aa3cd188fefa7e84c46005b49ba1d901"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/Models/ValueObjects/MenuItem.php:30-44 | app/Models/ValueObjects/MenuItem.php:49-63 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/ValueObjects/MenuItem.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d6cb7ec1d1b7fee3b80052e90918948b66a8ca723291a5dcdf5ab235ac55ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/Http/Controllers/GlassController.php:72-87 | app/Http/Controllers/GlassController.php:103-120 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/GlassController.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4610006ac751af9286b7d3528b67d150a74a478c7ca89bc3a3799bb6dad073"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/Http/Controllers/IngredientReviewController.php:144-157 | app/Http/Controllers/ReviewController.php:100-113 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/IngredientReviewController.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96c234b0fd0229f1bfd0dd2554377f4428f02dc8ca22d2baaa0b1b5fe65260c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/GenAI/CocktailImageHandler.php:18-50 | app/GenAI/IngredientImageHandler.php:18-49 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/GenAI/CocktailImageHandler.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb555f8cdf614051a4ace13b27ff1af754f0c4faba2e58b7fcf0a21d4e763d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/Infrastructure/EloquentIngredientReviewRepository.php:129-139 | app/Infrastructure/EloquentReviewRepository.php:62-71 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentIngredientReviewRepository.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"15af5e3b6213f40d97f81a678912a42b26a0c1234181e6b35f02b895a742926e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/Http/Controllers/BarInventoryController.php:65-77 | app/Http/Controllers/BarInventoryController.php:95-107 | app/Http/Controllers/CollectionController.php:174-195 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/BarInventoryController.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ef722143a360aee48b81c01514e7cbe7d0c162ecd4b383ed1efbfac1f9f225"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/Infrastructure/EloquentCocktailMethodRepository.php:70-76 | app/Infrastructure/EloquentUtensilRepository.php:56-62 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentCocktailMethodRepository.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a3fb53dec1c83c986c89f4eed70cf29c2f64be5bf8037bffc328545cbffd2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/Application/Cocktail/DTO/CollectionResult.php:27-38 | src/Application/Cocktail/DTO/GlassResult.php:28-39 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Cocktail/DTO/CollectionResult.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"865ac2b556941523b4e33aef722a53ed2b8c80b9bdb741ccf4841a4462c02bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/Http/Controllers/CocktailController.php:387-400 | app/Http/Controllers/CocktailController.php:411-424 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/CocktailController.php"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"1617f44c584e11942d91e527718fbf2a95800aa717d3dc6af830be1bc631a325"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/Http/Controllers/MemberController.php:120-132 | app/Http/Controllers/MemberController.php:144-156 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/MemberController.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72db782b9c899d30515642270ae851b5f57f4a086841b442bce21d79ade58d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/Infrastructure/EloquentCocktailMatchRepository.php:21-33 | app/Infrastructure/EloquentIngredientMatchRepository.php:21-33 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentCocktailMatchRepository.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b99753d80fa5913ca10b945a903a5a8989420449e711d0fffe799470817dd9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/Scraper/Sites/ImbibeMagazine.php:156-165 | app/Scraper/Sites/SteveTheBartender.php:73-84 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/ImbibeMagazine.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"48335088b0d636e95c10008ad6996ba0fe3139e314d8e238087ebb7eb0342a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): src/Application/Cocktail/CocktailMethodService.php:49-62 | src/Application/Cocktail/CollectionService.php:48-61 | src/Application/Cocktail/UtensilService.php:40-52 | src/Application/Ingredient/PriceCategoryService.php:49-63 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Cocktail/CocktailMethodService.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10d4e613e599d2e8bf5f312ce99c0749dd728a39783017b5ba4a26b8f5efc57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/Http/Controllers/MemberInventoryController.php:73-84 | app/Http/Controllers/MemberInventoryController.php:104-115 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/MemberInventoryController.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58cea1931460522fcfad750326676c7e5897ae791420e398fe93e70e5575d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/Http/Controllers/IngredientReviewController.php:44-54 | app/Http/Controllers/ReviewController.php:41-51 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/IngredientReviewController.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedc838ffa3d973016fad15e13eab3a3a1234cec83d28c059f62db786113dd3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/Application/Bar/MemberInventoryService.php:76-87 | src/Application/Bar/MemberInventoryService.php:92-103 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Bar/MemberInventoryService.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b46f01dbf38469d540a231d31c5ebaaa8a536f2e1c414677f71681eba1bd5e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/Application/Export/DTO/ExportResult.php:24-32 | src/Application/Note/DTO/NoteResult.php:23-30 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Export/DTO/ExportResult.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14e5a335734cdf8f1771b0b513e70914fc0035c3a7c5c1b5367fe9f57333cb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/Application/Bar/InventoryService.php:26-35 | src/Application/Bar/InventoryService.php:40-49 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Bar/InventoryService.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"42883e2790b3193da759da37f77a8ec47687927db9b16aaa354303d27b8b3997"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/Http/Controllers/MemberInventoryController.php:177-189 | app/Http/Controllers/MemberInventoryController.php:209-221 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/MemberInventoryController.php"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b79b5352aba16306d303cd71eefc57c6a773b1c6ef448a6a7e9c05e70738d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/Application/Cocktail/CocktailMethodService.php:31-41 | src/Application/Cocktail/UtensilService.php:26-35 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Cocktail/CocktailMethodService.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf942a36d27c3512f9b0cff475cdecd8cf11c383574f9c337f334b50d9d25b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): src/Application/Bar/MemberService.php:58-66 | src/Application/Bar/ShoppingListService.php:23-32 | src/Application/Bar/ShoppingListService.php:37-46 | src/Application/User/UserService.php:114-120 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Bar/MemberService.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd96a52583883f60c48d50b72d5da25458a7222123c8e4a041aeb5be84552d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/Domain/Bar/Bar.php:208-218 | src/Domain/Cocktail/CocktailCollection.php:120-129 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/Bar/Bar.php"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea689930f8af97a52931b5c8de22fdcbb441f3f575641badcbda4953738484e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/Application/Cocktail/DTO/CocktailMethodResult.php:22-28 | src/Application/Cocktail/DTO/UtensilResult.php:21-26 | src/Application/Ingredient/DTO/PriceCategoryResult.php:22-28 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Cocktail/DTO/CocktailMethodResult.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"468451cfea0e09636a57f4819c60bc5436b58aab7d7ece0e674b639c569b2be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): app/Infrastructure/EloquentGlassRepository.php:70-79 | app/Infrastructure/EloquentIngredientRepository.php:35-43 | app/Infrastructure/EloquentPriceCategoryRepository.php:43-51 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentGlassRepository.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"132df3a86c1ef20cb3caee27e460650bb2d52eca9a9a797bd0703b476af4eec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/Utils.php:46-54 | src/Domain/Cocktail/Cocktail.php:179-189 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Utils.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6011a47e10a2b077af3bf1368e496aa03b1c1aa84ca36da13d7d21ab365b9057"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): app/Http/Controllers/CocktailController.php:340-348 | app/Http/Controllers/ImageController.php:131-139 | app/Http/Controllers/PATController.php:89-101 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/CocktailController.php"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adfc796cadab2406fd222d0460aede460eaadb42417587deb38f0dd459ef760"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/Models/CocktailReview.php:42-53 | app/Models/IngredientReview.php:49-60 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/CocktailReview.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a22e3aed71cbadf4634b9c669299bafea977fb8592fdb9a3fe27c7f8387f151"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/Policies/IngredientReviewPolicy.php:28-35 | app/Policies/ReviewPolicy.php:26-33 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Policies/IngredientReviewPolicy.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fbe69beb7c9603a6eb481303ba224dd12fbbf99276f66fed6c2d95fd7bef86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/Infrastructure/EloquentCocktailMethodRepository.php:58-65 | app/Infrastructure/EloquentIngredientRepository.php:148-156 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentCocktailMethodRepository.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f4cb4ca99ca9676f24b456a607fa46deea7a7a5b1638ef49463c8190cb9e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): app/Scraper/Sites/EricsCocktailGuide.php:52-57 | app/Scraper/Sites/HausAlpenz.php:80-85 | app/Scraper/Sites/MakeMeACocktail.php:20-26 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/EricsCocktailGuide.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dee839c8bb06c3494a1c84157eb7f2c5e08c755831e6ff5811dff872d672379"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): src/Application/Cocktail/CocktailMethodService.php:67-73 | src/Application/Cocktail/CollectionService.php:80-86 | src/Application/Cocktail/GlassService.php:71-77 | src/Application/Cocktail/UtensilService.php:57-63 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Cocktail/CocktailMethodService.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5fecb24bba25adb7cf01e7a26a892e94ddb0e8da8b918b2fad48dc5058b986"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/Application/Export/ExportService.php:46-52 | src/Application/Note/NoteService.php:45-51 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Export/ExportService.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7d5fb0ce0a42c6c125aeec374d707a0cd1976e06a115e00e887ef80a8b2128"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/Infrastructure/EloquentMenuRepository.php:102-111 | app/Infrastructure/EloquentUserRepository.php:30-35 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentMenuRepository.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dd1403e9b816cd3d4de59072e79c0c261cb46a6df97c9b7240fcbd46f11530"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/OpenAPI/Schemas/CocktailMethodRequest.php:22-28 | app/OpenAPI/Schemas/UtensilRequest.php:20-25 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/OpenAPI/Schemas/CocktailMethodRequest.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"da210d66b0cc7fbcdf032ce6d0ec7da688cedc53ec3009413d7ae2acbb54eefb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): app/Http/Controllers/CocktailController.php:189-221 | app/Http/Controllers/CocktailController.php:273-305 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/Http/Controllers/CocktailController.php:269\u0060 calls \u0060input\u0060, \u0060ResourceBelongsToBar\u0060, \u0060validate\u0060 and \u0060app/Http/Controllers/CocktailController.php:187\u0060 does not \u2014 after which the two agree again for 2 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":"app/Http/Controllers/CocktailController.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b834166302d017d88e752a5d453a2291b5945b9c75e858a18ee24eda27791b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): app/External/Import/FromDataPack.php:390-419 | app/External/Import/FromDataPack.php:555-583 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/External/Import/FromDataPack.php:390\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/External/Import/FromDataPack.php:422\u0060 calls \u0060table\u0060, \u0060insert\u0060, \u0060array_values\u0060 and \u0060app/External/Import/FromDataPack.php:587\u0060 does not \u2014 after which the two agree again for 2 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":"app/External/Import/FromDataPack.php"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d5b0f240ea7358a4ad263b617db084e7d6d9f6c55e8325677a8b8ff0942e94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/External/Export/ToDataPack.php:81-109 | app/External/Export/ToRecipeType.php:68-96 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/External/Export/ToDataPack.php:81\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Export/ToDataPack.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7bc0a9e7ea81950ed9c63f55cb4daa78ce295d46e95721af0f102e1aec43ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Application/Cocktail/CocktailService.php:71-93 | src/Application/Cocktail/CocktailService.php:149-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Application/Cocktail/CocktailService.php:71\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Cocktail/CocktailService.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6905d3620dae962a5ecded0b30c76f6a8ef2bf759cc022264a54546916337ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/Http/Controllers/IngredientController.php:169-189 | app/Http/Controllers/IngredientController.php:243-263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/IngredientController.php"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6fdcaa513bfc5ed2cab62b2733d999d162e61953ab2499811a7af2a42eaabb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): app/External/Export/ToDataPack.php:47-63 | app/External/Export/ToRecipeType.php:35-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Export/ToDataPack.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8212fd99647160676476a9f0908cdd42aab62b2721741217b9af15fc5177783c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/Http/Controllers/CocktailController.php:224-242 | app/Http/Controllers/CocktailController.php:309-327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Http/Controllers/CocktailController.php:224\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"app/Http/Controllers/CocktailController.php"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8563e364f29dd1630b262e65d2e8d35ac86233ea06e96aea4c0ceb4fdfb56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/External/Import/FromSchema.php:138-155 | app/External/Import/FromSchema.php:162-179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromSchema.php"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a2913f3b2c76e87ed8b36d1edf0ae7c5885e99fb6f9fb9f7711a696d74e17d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/Infrastructure/EloquentRecommendationRepository.php:100-117 | app/Infrastructure/EloquentRecommendationRepository.php:265-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentRecommendationRepository.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"df59db699df1d952927f4058d82ceeb97453bd4b873f4b9da22cbb5b411367f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/Http/Controllers/IngredientController.php:194-210 | app/Http/Controllers/IngredientController.php:268-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Http/Controllers/IngredientController.php:194\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"app/Http/Controllers/IngredientController.php"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"62642e28ade1529693de8a7fbef2c0f5685666d9e1fd53f7de15df20425fa3a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/Infrastructure/EloquentRecommendationRepository.php:245-260 | app/Infrastructure/EloquentRecommendationRepository.php:275-290 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Infrastructure/EloquentRecommendationRepository.php:245\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentRecommendationRepository.php"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fd581ee93faf2c04c5c4767f0beea5b52b11c4025f460b6e76ee788f769079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): app/Services/Image/CocktailImageGenerationService.php:46-61 | app/Services/Image/IngredientImageGenerationService.php:63-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Services/Image/CocktailImageGenerationService.php:46\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Services/Image/CocktailImageGenerationService.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c95829c2ce7b31f39725782ce76f1841877ab2514450009738f190e6b86b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/Infrastructure/EloquentRecommendationRepository.php:135-149 | app/Infrastructure/EloquentRecommendationRepository.php:174-188 | app/Infrastructure/EloquentRecommendationRepository.php:230-244 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Infrastructure/EloquentRecommendationRepository.php:135\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":"app/Infrastructure/EloquentRecommendationRepository.php"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba871f8b1f419acc570e575c390f31839f90c1e2dbecf213da1cb7e28bd1b0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/External/Import/FromDataPack.php:279-293 | app/External/Import/FromDataPack.php:407-421 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/External/Import/FromDataPack.php:279\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromDataPack.php"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b148fcc4eca17488f7b01ca0f15bd7f9e19ccdb620ceeafb8e0a762e137eb7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/Infrastructure/EloquentRecommendationRepository.php:71-85 | app/Infrastructure/EloquentRecommendationRepository.php:238-252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/Infrastructure/EloquentRecommendationRepository.php:253\u0060 calls \u0060orderBy\u0060 and \u0060app/Infrastructure/EloquentRecommendationRepository.php:86\u0060 does not \u2014 after which the two agree again for 2 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":"app/Infrastructure/EloquentRecommendationRepository.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7376e88e50a5915fa0d70b5aeaeca1791e570837b0f68526e79640daff571757"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/External/Import/FromDataPack.php:279-293 | app/External/Import/FromDataPack.php:407-421 | app/External/Import/FromDataPack.php:572-585 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/External/Import/FromDataPack.php:279\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/External/Import/FromDataPack.php:295\u0060 calls \u0060table\u0060, \u0060insert\u0060, \u0060where\u0060 and \u0060app/External/Import/FromDataPack.php:587\u0060 does not \u2014 after which the two agree again for 2 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":"app/External/Import/FromDataPack.php"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"24763b92f714dee0fc4b011de0765a4508ffcc83c550391485042aefba696adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/Models/ValueObjects/AmountValueObject.php:22-35 | src/Domain/Common/AmountWithUnits.php:27-40 \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":"app/Models/ValueObjects/AmountValueObject.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"524c89e83ca05555335345c1ebc9dce09548ebd2653f3de1b1ac7932afc72d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/Infrastructure/EloquentRecommendationRepository.php:70-81 | app/Infrastructure/EloquentRecommendationRepository.php:142-153 | app/Infrastructure/EloquentRecommendationRepository.php:237-248 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentRecommendationRepository.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a89048e4868fd50803590b59c5350790a234c1521da3cb9efc5ac88db338d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/External/Export/ToDataPack.php:131-142 | app/External/Export/ToDataPack.php:173-184 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/External/Export/ToDataPack.php:131\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Export/ToDataPack.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b381cac2e77965f7558070e463e413eda0f0c0835a21ae2262873cfc8f80e3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/Http/Controllers/CalculatorController.php:80-91 | app/Http/Controllers/CalculatorController.php:119-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Http/Controllers/CalculatorController.php:80\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"app/Http/Controllers/CalculatorController.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca69a57bd59aa61cefe1b6aea8c93c1359c11eb6194964a9a70165fa98eec35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/Http/Controllers/IngredientController.php:320-331 | app/Http/Controllers/IngredientController.php:357-368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"app/Http/Controllers/IngredientController.php"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"7342e7f32b903e2604da1e7fbda07d79754f28e5aec7db7b3e5411569a01c34f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Domain/IngredientHierarchy/IngredientHierarchyManager.php:42-53 | src/Domain/IngredientHierarchy/IngredientHierarchyManager.php:75-86 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/IngredientHierarchy/IngredientHierarchyManager.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e75111c217d7491238a730d077c3e9d717aca956153d496d8d0f7a5c737d452"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/Models/Relations/HasManyAncestors.php:42-55 | app/Models/Relations/HasManyDescendants.php:46-59 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/Relations/HasManyAncestors.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dda9b4aa6d64353038f5a2bf33be90958d4bef9322be7e038a155892f76efe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): app/Infrastructure/EloquentRecommendationRepository.php:26-35 | app/Infrastructure/EloquentRecommendationRepository.php:133-142 | app/Infrastructure/EloquentRecommendationRepository.php:172-181 | app/Infrastructure/EloquentRecommendationRepository.php:228-237 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/Infrastructure/EloquentRecommendationRepository.php:143\u0060 calls \u0060where\u0060 and \u0060app/Infrastructure/EloquentRecommendationRepository.php:36\u0060 does not \u2014 after which the two agree again for 2 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":"app/Infrastructure/EloquentRecommendationRepository.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6d51df8c315c25c3e8f38bbeb1c4984964991324504e34959e67fd02f6ef8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/Http/Controllers/IngredientRatingController.php:35-44 | app/Http/Controllers/IngredientRatingController.php:64-73 | app/Http/Controllers/IngredientReviewController.php:70-79 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/IngredientRatingController.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc2331a2b8425f25a2c02cd65f7758c4e7b9001cda150affaba303b9de6b243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/Http/Controllers/IngredientRatingController.php:66-75 | app/Http/Controllers/IngredientReviewController.php:72-81 | app/Http/Controllers/ReviewController.php:69-78 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Http/Controllers/IngredientRatingController.php:66\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":"app/Http/Controllers/IngredientRatingController.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5245536102596938005e60edfc1cdc96e87c43f29fbf53a29e6c7b402f5b642a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/Http/Controllers/GenerateController.php:102-111 | app/Http/Controllers/GenerateController.php:268-277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/GenerateController.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8076825886478f60835513135b7444586890cef76669ff012409ca31c96837a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/Http/Controllers/IngredientReviewController.php:112-121 | app/Http/Controllers/IngredientReviewController.php:144-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/IngredientReviewController.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b0a66eba30c7e1b1d7311d99021da83190a424f9ef3240f6a8036c4107584d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/Http/Controllers/RatingController.php:34-43 | app/Http/Controllers/RatingController.php:63-72 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/RatingController.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c9029b3b57b615a812295947f3418cebc6df0baa29fde2091970096b39340d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/Infrastructure/EloquentRecommendationRepository.php:86-95 | app/Infrastructure/EloquentRecommendationRepository.php:119-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentRecommendationRepository.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3271fa0a8728ea5ea35fa23cd078793468802e7d0e1a9755c3a7c58192d555d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Application/Calculator/CalculatorService.php:36-45 | src/Application/Calculator/CalculatorService.php:69-78 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Application/Calculator/CalculatorService.php:36\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"src/Application/Calculator/CalculatorService.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f360b18ee5fee0e947b284dabd5a451e71f4d567fa02b0e83eae9808f1405697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/Http/Controllers/CocktailController.php:120-127 | app/Http/Controllers/IngredientController.php:86-93 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/CocktailController.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cc28ac16aed56fd77401046d945fa9fa45c5a34f9ce820b45107bc8ef9ca29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Application/Ingredient/IngredientService.php:68-75 | src/Application/Ingredient/IngredientService.php:108-115 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Ingredient/IngredientService.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"559ca8b6c4f4b08247f58b4d42a2d82bc4bd902c39d8cb1a13206d80d53a20ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): app/Infrastructure/EloquentCocktailCollectionRepository.php:42-48 | app/Infrastructure/EloquentExportRepository.php:36-42 | app/Infrastructure/EloquentNoteRepository.php:40-46 | app/Infrastructure/EloquentReviewRepository.php:35-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Infrastructure/EloquentCocktailCollectionRepository.php:42\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":"app/Infrastructure/EloquentCocktailCollectionRepository.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"32eb2135f36344cf3356d7985bbd96585cf87533c8a0ded018be6d3932068d90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/External/Import/FromDataPack.php:141-147 | app/External/Import/FromDataPack.php:161-167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromDataPack.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a6be8e39444331f3fc2a08ed639dab10cf130368356eb79659646a22063ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/Infrastructure/EloquentCocktailMethodRepository.php:36-43 | app/Infrastructure/EloquentUtensilRepository.php:34-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/Infrastructure/EloquentCocktailMethodRepository.php:35\u0060 calls \u0060getDilution\u0060, \u0060toFloat\u0060 and \u0060app/Infrastructure/EloquentUtensilRepository.php:33\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":"app/Infrastructure/EloquentCocktailMethodRepository.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a0847353047ecb5f472f0a36060fcba726a32983a50bae2b055ce987c76926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/Infrastructure/EloquentBarRepository.php:69-74 | app/Infrastructure/EloquentCocktailRepository.php:117-122 | app/Infrastructure/EloquentGlassRepository.php:47-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentBarRepository.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"095c42d43fbf3cbbd9afe6aeeaf736dc7930e61cb7bcedf82f9fa81169d66080"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): app/Infrastructure/EloquentCocktailCollectionRepository.php:40-46 | app/Infrastructure/EloquentCocktailMethodRepository.php:37-41 | app/Infrastructure/EloquentExportRepository.php:34-40 | app/Infrastructure/EloquentNoteRepository.php:38-44 | app/Infrastructure/EloquentUtensilRepository.php:35-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/Infrastructure/EloquentCocktailMethodRepository.php:35\u0060 calls \u0060getDilution\u0060, \u0060toFloat\u0060 and \u0060app/Infrastructure/EloquentUtensilRepository.php:33\u0060 does not \u2014 after which the two agree again for 3 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":"app/Infrastructure/EloquentCocktailCollectionRepository.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1b7800a2bf0581283a823b2d2fc630c5ce6371b8a92dd3c4587bedee60cf9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): app/Infrastructure/EloquentCocktailCollectionRepository.php:40-46 | app/Infrastructure/EloquentExportRepository.php:34-40 | app/Infrastructure/EloquentGlassRepository.php:41-45 | app/Infrastructure/EloquentNoteRepository.php:38-44 | app/Infrastructure/EloquentReviewRepository.php:33-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentCocktailCollectionRepository.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4621568a608f7588d96f6b75a0a456406245b787b425f65cac47fd1bead738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/External/Import/FromDataPack.php:259-266 | app/External/Import/FromDataPack.php:386-393 | app/External/Import/FromDataPack.php:551-558 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/External/Import/FromDataPack.php:259\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":"app/External/Import/FromDataPack.php"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d521a2ee1fbf43780007a59d9c2b9e75843458140bec158e5136a7e7da32c99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/Infrastructure/EloquentCocktailRepository.php:164-168 | src/Application/Cocktail/CocktailService.php:68-74 | src/Application/Cocktail/CocktailService.php:148-152 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Infrastructure/EloquentCocktailRepository.php:164\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Application/Cocktail/CocktailService.php:147\u0060 calls \u0060removeAllIngredients\u0060, \u0060foreach\u0060 and \u0060src/Application/Cocktail/CocktailService.php:68\u0060 does not \u2014 after which the two agree again for 3 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":"app/Infrastructure/EloquentCocktailRepository.php"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"634c04a14f4cd2d7eab8e9e2f7a44d9bd02694a53d1f890d3a0e14b68d28db50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/Infrastructure/EloquentGlassRepository.php:41-45 | app/Infrastructure/EloquentIngredientReviewRepository.php:61-67 | app/Infrastructure/EloquentReviewRepository.php:33-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/Infrastructure/EloquentIngredientReviewRepository.php:60\u0060 calls \u0060getRecommendation\u0060 and \u0060app/Infrastructure/EloquentReviewRepository.php:32\u0060 does not \u2014 after which the two agree again for 2 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":"app/Infrastructure/EloquentGlassRepository.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e2478ebd04165f80f0893c540506d4ae353968d07a1bce30cce3a79c6893f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Console/Commands/BarMergeIngredient.php:43-48 | app/Console/Commands/BarMergeIngredient.php:60-65 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Console/Commands/BarMergeIngredient.php:43\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"app/Console/Commands/BarMergeIngredient.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd74a0cf87364cd54dd56439ee60bf55e7758ec3285e897a33c330dee7ec41e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/External/Import/FromDataPack.php:308-313 | app/External/Import/FromDataPack.php:640-645 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/External/Import/FromDataPack.php:308\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromDataPack.php"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f14460f18af4a47289eb8b45d4d48dfffc12bd302dece82b1415eb709307fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/Infrastructure/EloquentCocktailRepository.php:55-61 | app/Infrastructure/EloquentImageRepository.php:45-51 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentCocktailRepository.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ea263c3ddefb49e5f29133f451a5004a083434bb1bc73f0f04be41529c3d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/Infrastructure/EloquentGlassRepository.php:85-89 | app/Infrastructure/EloquentUtensilRepository.php:57-61 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentGlassRepository.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf543c5c4eeb50bc36513d09819957b3290cf2a2e8b0c8d3b1df4f88d7099cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): app/Models/ValueObjects/UnitValueObject.php:24-72 | src/Domain/Common/Unit.php:31-84 \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 \u0060app/Models/ValueObjects/UnitValueObject.php:24\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/ValueObjects/UnitValueObject.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d1d25bd716976551bd17650e6586a5ebb2e6da608cd8489a1d2835f87a122a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): app/Policies/CalculatorPolicy.php:17-32 | app/Policies/CocktailMethodPolicy.php:17-32 | app/Policies/GlassPolicy.php:17-32 | app/Policies/TagPolicy.php:17-32 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Policies/CalculatorPolicy.php:17\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Policies/CalculatorPolicy.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c54f04264565b8c60da6858f2166de0a7b5ecc4abf3bda1182457fa62dfd445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/Infrastructure/EloquentCocktailMethodRepository.php:20-26 | app/Infrastructure/EloquentMemberRepository.php:66-71 | app/Infrastructure/EloquentUtensilRepository.php:19-25 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. 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":"app/Infrastructure/EloquentCocktailMethodRepository.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"57516487464061f18263a34b5dc84196b0f953ce1d0987318c8a3720d392ac6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/Infrastructure/EloquentIngredientReviewRepository.php:24-30 | app/Infrastructure/EloquentReviewRepository.php:18-24 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"app/Infrastructure/EloquentIngredientReviewRepository.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"380e16aac828843c6f79cd9d6ce8950abd3f1f29977f027cfd807ec18a5f6ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/Models/MenuCocktail.php:54-66 | app/Models/MenuIngredient.php:54-66 \u2014 before extracting anything, compare \u0060app/Models/MenuCocktail.php\u0060 and \u0060app/Models/MenuIngredient.php\u0060 as WHOLE FILES: 83% 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/MenuCocktail.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c811de90c37f9659b3bf948b79c1a9fa61acf9e02bf53bbe8d80241b29899a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/Models/ValueObjects/AmountValueObject.php:40-49 | src/Domain/Common/AmountWithUnits.php:45-54 \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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/ValueObjects/AmountValueObject.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a783aa98fc2d5b0bca72c08a3791740c9caa34d0f5b0eab716c8200283c6ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/Models/ValueObjects/MaterializedPath.php:59-63 | src/Domain/Ingredient/MaterializedPath.php:104-108 \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":"app/Models/ValueObjects/MaterializedPath.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc9f5a9d52b27eede39bee886390a8b9473843d17fdde72a23d3329240778bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Domain/Bar/BarInventory.php:55-60 | src/Domain/Bar/MemberInventory.php:106-111 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/Bar/BarInventory.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b14ce0998b24755b91db4ddde34d159681507b41bd098b3fd955923a3545fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/Http/Controllers/CalculatorController.php:49-55 | app/Http/Controllers/CocktailMethodController.php:48-54 | app/Http/Controllers/TagController.php:52-58 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/CalculatorController.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd80288dfefb66760f683b27a55f18640fa6de47a11d08f3e5a56104fee11bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/Http/Controllers/CalculatorController.php:143-151 | app/Http/Controllers/ExportController.php:79-87 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/CalculatorController.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ff8c89c72bb1b401f0b36f25e79dcfb2453ddddfebd66d9cf099fca49079ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): app/Http/Controllers/CocktailMethodController.php:126-134 | app/Http/Controllers/CollectionController.php:206-214 | app/Http/Controllers/GlassController.php:131-139 | app/Http/Controllers/IngredientController.php:297-305 | app/Http/Controllers/UtensilsController.php:122-130 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/CocktailMethodController.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"998718666905463886d513464c3f26387a6332495eef887d801be20af8ac3c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Infrastructure/EloquentGlassRepository.php:23-29 | app/Infrastructure/EloquentMemberInventoryRepository.php:74-79 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentGlassRepository.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b90e107cd1efe149b9a1d862b7e71df72ba09b8751f4a1b9e22aa7c7ec2c24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/Listeners/ActivateBars.php:15-26 | app/Listeners/DeactivateBars.php:15-26 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Listeners/ActivateBars.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"607b7714998531be32f60ba6d5fc49fd5a09e2e346064a839d9788c09b1c998f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/Models/ValueObjects/MaterializedPath.php:34-41 | src/Domain/Ingredient/MaterializedPath.php:48-55 \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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/ValueObjects/MaterializedPath.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada406bced8d316e2e4defb82b7d37d12d10ad7519555229d7f604d9485223c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Application/Bar/BarService.php:103-110 | src/Application/Calculator/CalculatorService.php:89-96 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Bar/BarService.php"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d78570d439fa65ec216e4184a91945504f38b2a8a424aafb93e4e0ebee5d489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Application/Review/IngredientReviewService.php:64-70 | src/Application/Review/ReviewService.php:48-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Application/Review/IngredientReviewService.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8569ed3cccca8b283e200cf7550953dd3131e987cad1d68800e5f051345f00c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Domain/Cocktail/Cocktail.php:286-294 | src/Domain/Common/Traits/HasImages.php:24-32 \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":"src/Domain/Cocktail/Cocktail.php"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9acf5e88eea90ff193cb2f1b70e3f249af9fccd473b20e24c029998a23c0942"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/Domain: src/Domain: abstractness 0.24, instability 0.00, distance 0.76 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c522b5243f0a171a563720fa58345ac1df06ad106004420cfc6fffac3103d1a7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Bar (LCOM4 5): Bar\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/Bar/Bar.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"318f5f023ecd642ef8fc527d5bd3b5d01e045bd5dd68a864be80b1a83cbd1f4f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Calculator (LCOM4 4): Calculator\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/Calculator/Calculator.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"243135e090643e535d09dbbcb00256857689244d45db88eee4de655a4b630956"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Ingredient (LCOM4 4): Ingredient\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/Ingredient/Ingredient.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8eadc906394ee36568de459d3b804ce07e6cc8242b6d02414e802013e29b6b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: joomla/string: \u0060joomla/string\u0060 4.0.0 is in the production \u0060packages\u0060 list of this repository\u0027s composer.lock \u2014 what a \u0060composer install --no-dev\u0060 puts in vendor/ \u2014 and every licence it declares is one this policy bans (\u0060GPL-2.0-or-later\u0060). Where a package declares several licences it is charged only when all of them are banned. Replace the package, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"517f4a54dda611aeccb5fa055442c47c80cf6982c297b46fcacd5f0c0da0e3be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Http/Filters/CocktailQueryFilter.php: app/Http/Filters/CocktailQueryFilter.php changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CocktailQueryFilter.__construct at line 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:58:04 \u002B01:00\u0027 --until=\u00272026-11-14 16:58:04 \u002B01:00\u0027 --full-history --no-merges -- app/Http/Filters/CocktailQueryFilter.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Filters/CocktailQueryFilter.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca60f6714b7679ad7adc45bd88b6c98c38f0356d369335616c7a28ce5af0333d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/External/Import/FromDataPack.php: app/External/Import/FromDataPack.php changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in FromDataPack.importBaseCocktails at line 447. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:58:04 \u002B01:00\u0027 --until=\u00272026-11-14 16:58:04 \u002B01:00\u0027 --full-history --no-merges -- app/External/Import/FromDataPack.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromDataPack.php"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"f499e162764e1539a383fefdf3591a980a984949ce70f4bc45fb15a9f83508de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Http/Filters/IngredientQueryFilter.php: app/Http/Filters/IngredientQueryFilter.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in IngredientQueryFilter.__construct at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:58:04 \u002B01:00\u0027 --until=\u00272026-11-14 16:58:04 \u002B01:00\u0027 --full-history --no-merges -- app/Http/Filters/IngredientQueryFilter.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Filters/IngredientQueryFilter.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"559982e212545931b253431c759e550cdc3d8d615d720ff724404bbe005c89d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move to laravel signed URLs, but confirmation is not a big deal for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Services/Auth/RegisterUserService.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce714b0094fce75e5f290b7e8d865a1e5ea5ce8de97dbe1d1ee82a68c2ffd4be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Change... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Infrastructure/EloquentCocktailRepository.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a45ccab5c9e065aacf89f4b5cf6baf640df4bb2c9c561f326d3b821265169ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // \u0027throttle\u0027 =\u003E \\Illuminate\\Routing\\Middleware\\ThrottleRequestsWithRedis::class, // TODO: Fix tests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Kernel.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fec8cd0e6cddb11c17c5fdb8b1511d0b3fbbd4e76d702dfbaea85bcf6c37b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Deprecate this filter in favor of favorited_by_user \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Filters/CocktailQueryFilter.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4309185d11b6e7708962c2078e94b3a62089fe702ea71d07c8287dbfac1bceeb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move to sqlite LIKE ANY when supported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Filters/IngredientQueryFilter.php"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a1c78b257773d15b03f8ccb72e0c09d5b430cc55be823a4afb25b85034a042"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement strength mapping \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Import/FromSchema.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c112118c1bb38eef6f49b367c5853c1f7b4e9dd0dd02f6e374ed3330a178c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Reset \u0022stuck\u0022 bar status \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Console/Commands/BarImportRecipes.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd82f40db971c9d89e72814155ac1ff7648919d37319cffc92de021042c15d3b"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060artisan\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"artisan"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"383ce5c2f50513c0081d7db0c42bffed032ba5dd9fc27a6e7129843a032f1c1f"}},{"ruleId":"D29","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":"213c2f75b3ef1099422c54c43a8971c02fcf77c72bd5cdcc4b36a5faa4405aa2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"03a80e54f32c3a5e83a4f724e29c409ff59627cf371caf17cb7a3b12bf71599a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"5d90ee9b5d1da1578647c696064a8b6cb75927f04b1cd145ca6d6d3fac3645ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"c4de8bf9261b7002454552ac54060d1b308f0e87ea9d2f3eece4f6a90a9035da"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"a4197995a2060ef79b8bdb90ed1023c05ab633f25ea6120631a7d7b480bdbd09"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","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":"04e741646c128ade32c74ac770d1cd94d3d0f3c05dc6ed009a3ed41d41248ae5"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","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":"b70e81b265fbab306fcbe7457943920be4106e21a6da0f716236b257242bf2e9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"af25a37b501dc5a10079501b0971f815ade3d15f207a6c878845af93fd2606c5"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","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":"fcb039aa3e8ac32577e674ae3b6397ecdb89ca122323cc82495ee5e271930673"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"895c90c8f759cda0f49a3c12438916974106180bdce87ff24044ad62a76c84e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"89d6a533a84397f134923e9faabc408fb6bdd2b79ea07b6af3784862bbc384bd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"57959a580339006944936a0cd4f2ec2609d3fe7b35ff7e0682fc30858ffdc988"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"eb51c63802e44ad13baa50b9e10ab7f04171eb76056bd6b76e3ec16a0abf3fb4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"1884a75a8434b457106f78706b56b801c7aaf66d4a716b898ba9e64c04d91dca"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"81f9714b65eb3d04be8b015f62a6f84b1a4fe419c7ac114081dc49ac647c7f5a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","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":"4aef3e3bb6f0ae133f86783ea64b1624858e694899649bbd8950c196b4bde3a5"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","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":"483a87df72ff133afe3cd3778b28a696191b5373b5e0facf8edfc42f977a93ca"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"7dfdd991c911b0430dda4f17efed4f939ad2fda19f45f5f3344e339076686529"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","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":"2ed80c2bb0aebb5deef9e3c7115440df3d0fe1455bce8d6fcb48a8829ff6022d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"542ca131f189b831f1900ee0b2fedadfc291be633ef7b4a31202b7e731751e2f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"502d30cd329a109ab6a7ade4b616c1003135afcaf73742952b4d6e31a4616a1a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"3720a61680af5a728711521a1dc4d4791cbf5e2ef496343edd5f2d5ecc5ae694"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"ae46190e01060b13c0d0d0ad3eb465d116f1a3981086c7f943602c68d4f10b07"},"taxa":[{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"557c2caaabe773f9b2852476cee2135c51fdf04f34e83dff911e6a6a94443b9e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"958e001dfc0fa2973e3c992a45c22452383f99a20b3133949d8f6a06a975f8a8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","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":"62ba3f391b97d680ac34e630794a6a7fc0f3b16bd44bab9e323085ff4fa2c944"}},{"ruleId":"D31","level":"warning","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":"c622bab8f3dace0cacee804422dc55592a6dcb7fd3b196d5086cd478627fe00f"}},{"ruleId":"D31","level":"warning","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":"e4f07e06b6d5870b029d68a82a0f36e56e1b4be8f28f32d20cd9adfb9d38e889"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","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":"0037f43a5c78f626ec84c02bdefa243fff4ddb767e5482c4d5aeb2b9100acb57"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CocktailController.php \u2194 CocktailIngredientResource.php: \u0060app/Http/Controllers/CocktailController.php\u0060 and \u0060app/Http/Resources/CocktailIngredientResource.php\u0060 change together 60% of the time (18 of the 30 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 18 shared commits counted here, the most recent 3 are \u00607d5af029\u0060 Move more stuff to resources; \u0060b78f192d\u0060 Optimized similar cocktails queries; \u0060dbd98bd9\u0060 Move to custom relation \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/CocktailController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03ca8c8acfbb296f61aef79a9bd11721856eaaaf90ece2aa64dd7e4f098ff61"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ToRecipeType.php \u2194 CocktailIngredient.php: \u0060app/External/Export/ToRecipeType.php\u0060 and \u0060app/External/Model/CocktailIngredient.php\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00605a4f2f7e\u0060 Save export files as a stream; \u0060ea96b72e\u0060 Create correct ingredient parent on import; \u00604e981315\u0060 Remove ingredient categories \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Export/ToRecipeType.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"096c2bc075b654000d531a97c4dc692bbe43587fcd68f7ccc559342cf2bf60a9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ToDataPack.php \u2194 ToRecipeType.php: \u0060app/External/Export/ToDataPack.php\u0060 and \u0060app/External/Export/ToRecipeType.php\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00605a4f2f7e\u0060 Save export files as a stream; \u0060c43769c1\u0060 Use interface for exports; \u0060434e6560\u0060 Downgrade larastan \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/External/Export/ToDataPack.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36aab1a058aa4f3144f7b9c0b954bb021aed7be5250f20468ab44eb9e6bb4211"}},{"ruleId":"D36","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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","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":"4ad69240a1ecda858c5a8c0fa923541eb97b44855d5faf4d1b5b6ccec3ffeabf"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","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":"a5f4d3c5369f21bceb3382a801c5f40f4abb0fd19e8d0750891fdecce85763e3"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","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":"b5d85ecf46d403bbc066ec37b0cf8e8ad52397f05de2a5120a067943a5293363"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Celements-api\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"resources/views/elements.blade.php"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9f2de004f85b027db051597681c3a61b4ff6b719ce742133ce3a2086cd16e7"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"resources/views/scalar.blade.php"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"32faa15d422a51da8178e155ae9708b3ac967c37969a02d6913e76c6374386ef"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"resources/views/scalar.blade.php"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8d6e5a3ae1b8d03c9f4946c1842820b726b0601389154de23c329ae1f58343"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"resources/views/swagger.blade.php"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ff5a681a9b4d6f98b86aa16fe6e70740cc3d0496a4361259223321b8c2f409"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"resources/views/swagger.blade.php"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"672a24b5e285d410c5952c5adcda7406e5daf08b4bd3cada02a8729980c73673"}},{"ruleId":"C5","level":"note","message":{"text":"Partial data-subject-rights support: Corroborated rights: erasure \u2713 \u00B7 export \u2717 \u00B7 consent \u2717. Each tick means this scan found code in the repository implementing that right \u2014 a deletion/anonymisation path for erasure, a data-export or portability path for export, and consent state recorded alongside the personal data it authorises. A \u2717 therefore means no such code was recognised HERE, not that the right is unsupported: a capability provided by a platform, a manual runbook, or code spelled in a way this scan does not match is not visible to it. Confirm before treating a cross as a gap; where it is one, the right has to be fulfilled manually."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4f30fc8e725e23f01c9d247a7d5d9dbfb00ef6c5536867cbc625b447fb7951f2"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PriceCategory: \u0060PriceCategory\u0060\u0027s public constructor takes \u0060description\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PriceCategory\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Domain/Ingredient/PriceCategory.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bc36e101bccb33a1249bbb2bca783786cf20c2605ce37fecb1c9c6c29fec40"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BarIngredient: \u0060BarIngredient\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/BarIngredient.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c95a0f9bfc0b48f0eae0ce2f343841616a44cc9160e2b507147a3232027ac0c"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CalculatorBlock: \u0060CalculatorBlock\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/CalculatorBlock.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b0f0c0718f2faaec10e130bedce9e1288dfe9d4ef74d6cbbc5c8c54676ac8f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CocktailIngredient: \u0060CocktailIngredient\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/CocktailIngredient.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8962e46a74545aacea01effc0dad008164fea22fea589ffff656e74b45a1b75"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CocktailIngredientSubstitute: \u0060CocktailIngredientSubstitute\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/CocktailIngredientSubstitute.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"59caa8062467e918f104a854feca8c56a42af757c11e6f86794d5c04a4da1669"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ComplexIngredient: \u0060ComplexIngredient\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/ComplexIngredient.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"379f33f96976b0b8370244ecee5c5c9a25bc9a047c52fb98a4ec5ed5c10c26b4"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Ingredient: \u0060Ingredient\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/Ingredient.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de6e50d67082e4d664f352284275f70ec850f6f4a2dab4779f79d0944cf2c4e"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: MemberInventory: \u0060MemberInventory\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/MemberInventory.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"221f222017cfd15d8bcb2ff8c5868c759d0cf6e4d72712ac44d3ffb9ef455df7"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: MemberInventoryIngredient: \u0060MemberInventoryIngredient\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/MemberInventoryIngredient.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"caff7b4d38b6e751aeff566a2eb247c3cc51305e1cb94869fc76bf3d65930d9b"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Menu: \u0060Menu\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/Menu.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d88541b165fd80abc7d23d36c480d0fd1832f23918588a3007221a074264699"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: MenuCategory: \u0060MenuCategory\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/MenuCategory.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ea351bebff9c2298dfc8532d307b69387a121b4dda629aef6cd27ad4332e14"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: MenuCocktail: \u0060MenuCocktail\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/MenuCocktail.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3dd24f2dade4b4fb1959e1a6bd7a27d68f1e1629bf5607a5ce73b21aefe420"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: MenuIngredient: \u0060MenuIngredient\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/MenuIngredient.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"815372614c028f81c405525260896396e51aba58a22461515f326d4454919342"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: OauthCredential: \u0060OauthCredential\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/OauthCredential.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e15ad059f77613d442c35630f923ed9baaf153ec9ab49bff6d014863c8e082"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PriceCategory: \u0060PriceCategory\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/PriceCategory.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c612d6ab176c896c97a94de3a120cd85bd85228bf22549afbc5c8a4f5a1d9a1"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Tag: \u0060Tag\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/Tag.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae5a1b555c26d7d6771610031cd63332627106d2ccb4e2b21ab85f60787e98a"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: TasteDescriptor: \u0060TasteDescriptor\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/TasteDescriptor.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c9a8a0cf716b09b0b81f77cbc0ebb63ec84ffc9542f67e0069d577456e33dc"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: UserIngredient: \u0060UserIngredient\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/UserIngredient.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"254125ef2cb76fbd7fdd07c226e472d2b061f5efa7b9654814bf413d3c712760"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: UserShoppingList: \u0060UserShoppingList\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/UserShoppingList.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"230907b8ddbe4ee894d556ce532e9ba63aa7774e696f7a23085083b5ef9fa05b"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: BarIngredient: \u0060BarIngredient\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/BarIngredient.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5607e318dd37db256bfe0510d14a99600246b959c95102f328eaf297dc81eab3"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: CalculatorBlock: \u0060CalculatorBlock\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/CalculatorBlock.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1021616d45978e43dd7d8ae8ad8605ec092837a336996f12c5d99301d2384b34"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: CocktailIngredient: \u0060CocktailIngredient\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/CocktailIngredient.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ea3a97f9b78368c47226c393adab2ed7faa4d84d2fad6030eaae1a07dfbc29"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: CocktailIngredientSubstitute: \u0060CocktailIngredientSubstitute\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/CocktailIngredientSubstitute.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5569a9f3176762ed9e1c9c048ecc5ef9709939e48a9c1b072fbbaf068af67e0d"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: ComplexIngredient: \u0060ComplexIngredient\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/ComplexIngredient.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2eb19a2d50e9f926df69bc4e6ab2a938fd78a2493d55d9c1738ad7b4141def4"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: MemberInventory: \u0060MemberInventory\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/MemberInventory.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1d3a0e0882b9fdef1f53f070dad558ea0391c29e06c597135aae6843651f77"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: MemberInventoryIngredient: \u0060MemberInventoryIngredient\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/MemberInventoryIngredient.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcec8894dcd3b89e88451baf9db310ed7937d94951f15a941378a3aa52ec8c09"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: MenuCategory: \u0060MenuCategory\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/MenuCategory.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"96aa1fa5649e28d7a4fdb03a9125b5088e047bb3c1605a846cdd3275df7d98c9"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: MenuCocktail: \u0060MenuCocktail\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/MenuCocktail.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0319188dec67b019a61891782f57039c4ec6cf2c98cc939cbd7812b2cf864def"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: MenuIngredient: \u0060MenuIngredient\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/MenuIngredient.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b868b47b48c8e30de8019fb9a57b3e8af87e5992d0c6a4812174fce027ecbad9"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: PriceCategory: \u0060PriceCategory\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/PriceCategory.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6257529a1861da79368d3ddde5191a37d3dbf0e66aa376b661c19ac7ac67b1d0"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: Tag: \u0060Tag\u0060 exposes publicly writable state (timestamps, fillable)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/Tag.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e17a2fce9fd63d91dde6383f8ef7f03b0fc338cdfb551d3ab69a45b42a9fe0"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: UserIngredient: \u0060UserIngredient\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/UserIngredient.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f474f43bcf657231173df43784ac0706ebaf8d184c335c9ffe9b6d31f23272a1"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: UserShoppingList: \u0060UserShoppingList\u0060 exposes publicly writable state (timestamps)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/UserShoppingList.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1384db40674bca54e119bc932638a28f98da3711ddec326b82455282e28bdf6"}},{"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":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://unpkg.com/swagger-ui-dist@4.15.5/swagger-ui-bundle.js\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"resources/views/swagger.blade.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0349b0ebaaa775735b288aa24571b1b8a38cdf9d29f32d4d13d8f9d93d6843c"}},{"ruleId":"S1","level":"note","message":{"text":"Security headers incomplete: Set: X-Content-Type-Options, X-Frame-Options. Missing: Content-Security-Policy, Strict-Transport-Security \u2014 the four headers that carry the points of this card\u0027s security-headers term (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options), 0.5 each. (\u22121.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"resources/docker/localdev/nginx.conf"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b8e739f9f106ee5ca749190a48b467a97e8281c85e3da225bba186ef9d3fa2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060str_contains($this-\u003Evalue, \u0027spoon\u0027) || in_array($this-\u003Evalue, $matches, true)\u0060 appears character-identically in 2 files \u2014 app/Models/ValueObjects/UnitValueObject.php, src/Domain/Common/Unit.php. 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":"app/Models/ValueObjects/UnitValueObject.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae965605421732c1401c52e3c50483906d0a49df4567ed19a758a629aecf846"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060str_contains($this-\u003Evalue, \u0027topup\u0027) || str_contains($this-\u003Evalue, \u0027to top\u0027)\u0060 appears character-identically in 2 files \u2014 app/Models/ValueObjects/UnitValueObject.php, src/Domain/Common/Unit.php. 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":"app/Models/ValueObjects/UnitValueObject.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"223a134e4fd7dd3468dd76a3a41900df18a286a037e25cc636c46d8a6b6b4383"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Services/Image/ImageCleanupService.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6383efe02c91ae88db00ec0878249d6774b9b6af08229f396d966faa79196344"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Services/Image/ImageValidatorService.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f72eec32ec833fb0e7c5ff74d3f7cf1f89aa6472844579410077d0435271dbb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/CocktailParty.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b279a46c05da7eb412d43f9fe21ae4a343ed2138ed0fb0df62c009497d8899"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/DefaultScraper.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"be31123d132bf5a2c76b7237095d510ce7b4138766b41293b96e10da094c8764"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/DefaultScraper.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"510ee139c1b448c83f5a896fccd719661cf239aea238b3bc590e243e8c3ced7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/ImbibeMagazine.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df41661e808ef35f683148e7d887dedc0c1433bcb1e35f7e108c3117b87e140"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/ImbibeMagazine.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a220d85741d3571fef20b898e114378a43ff30199c95649a9fe75443207ded"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/KindredCocktails.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"29db4abb1c5773f09ad1aed0d3953860ad79e698f6a0fc893ae46533819a3443"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/KindredCocktails.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eafef81635fc19973d5692ef546ed29c834d4a9f82fbd2e134c9dc885537fa3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/KindredCocktails.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69627da79e9f8a1ee847320f029b2d856cda78594732014e9e8c468880773e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/LiberAndCo.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1e5ee84e2892e811fe4d6609b4c2ae987fdd3a805a7a369ecb0d8316068483"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/LiberAndCo.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0534801d05f82c67d080ca99e19bca7b64f90e6fe9b8138452d0edcd988d87dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/LiberAndCo.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3cb6bf7c9c6be307e72f09baac49d5798ab426e2228283d9ae5da2010e2ad1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Scraper/Sites/LiberAndCo.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6c414f447f1adae59fbd30c201d32460e7d0b4c1079d9a3be22ed9a6d7a500"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Models/CocktailIngredient.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc65c2693db21e3bf11560a45214e9ba608f3018813a032a437d9c9370fd2f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Resources/SubscriptionResource.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6322740997e1f3c55c928c423e3dc2e0aef447615818a8fea32c2ce36bf0b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 38 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Services/Image/CocktailImageGenerationService.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"671834c0aafc1e878e88fac9de831d1a462306e2034abb8cf1067478a1e38a6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 38 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Services/Image/IngredientImageGenerationService.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"deed88f417f2ac45a0da29d7eb458d18d5a075af06fc388ee68c76b605d2eed2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 64 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/GenerateController.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f4e149f69c6ecf161a28ebd1a823337a591e3192901d607329bf7b0b82e87e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 134 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Http/Controllers/GenerateController.php"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"348931c5bed3cbc2f767cc16a423ad98924195ff0676c41ace53cc996d2025f1"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":38,"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."]}]}