{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}}]}},"results":[{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Warehouse.ViewModelComposition/ShoppingCartItemsLoadedSubscriber.cs:19-30 | src/Shipping.ViewModelComposition/ShoppingCartItemsLoadedSubscriber.cs:19-30 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Warehouse.ViewModelComposition/ShoppingCartItemsLoadedSubscriber.cs:19\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":"src/Warehouse.ViewModelComposition/ShoppingCartItemsLoadedSubscriber.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd198114bc057fd9e97a7bb0ad03ca2ebe672d8fc8ce03401e9e616416d781c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Warehouse.Service/Handlers/ShoppingCartGotInactiveHandler.cs:18-28 | src/Shipping.Service/Handlers/ShoppingCartGotInactiveHandler.cs:18-28 \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/Warehouse.Service/Handlers/ShoppingCartGotInactiveHandler.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c5eb9315ef3d930fd4998d41aabb161c52b8d0582c91291e8a4ce70fdf1fa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Warehouse.Api/Controllers/ShoppingCartController.cs:19-28 | src/Shipping.Api/Controllers/ShoppingCartController.cs:19-28 \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 \u0060src/Warehouse.Api/Controllers/ShoppingCartController.cs:19\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":"src/Warehouse.Api/Controllers/ShoppingCartController.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"51024532cc2f5fb2b42a9ede063f36dbab04ca8cac49c9b3a1917dc75ab99e6c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Sales.Data: Sales.Data: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a0e0c4587e4d5115ae287e9492d5d3e64a5b4fa58ad08ba68fe4fc0bb0755834"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Marketing.Data: Marketing.Data: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a5dd53b2b5d1f06bf2bf8af46c1100a0453d4f036b951b8cebcbe4819edb4f57"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Marketing.ViewModelComposition.Events: Marketing.ViewModelComposition.Events: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"52b6413d5cbca13a5a466484b09ade7d3bf8a89cf94f54dc769d1fee8057feda"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: NServiceBus.Shared: NServiceBus.Shared: abstractness 0.00, instability 0.00, distance 1.00 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c3e2f9a8ebde825ea940339d01a5fa584e7945b922aae1306258cd0ccfd0ba83"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Warehouse.Data: Warehouse.Data: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"514662192292844e886d668c69b43999cd044943de980486b4700bf1bf24cc93"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ITOps.ViewModelComposition: ITOps.ViewModelComposition: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c0f8b69c910d7bea5035abd8a6e53c8f62db88749ff0855058f452f9f1261e96"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Shipping.Data: Shipping.Data: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c91f4c815738864a44d9c5684d25fc8727a5ea2af2c2098316eb6765120e940f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Sales.Messages: Sales.Messages: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"66457dd308b4a1dfcad157b49fd0716c8c849251c62738fa4682d1a387a6ad8d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Warehouse.Messages: Warehouse.Messages: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e66427a1db1e3338be5a07cc17c39f5f5de2223167f0177db974b2aff140b5f4"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Shipping.Messages: Shipping.Messages: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2df13d2f1f3da4adc03b0b5e55adedd37b81fe4bc6cc965cef90457f4cdb6a75"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Sales.ViewModelComposition.Events: Sales.ViewModelComposition.Events: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b178cdde07c028bb5d1ae4127f6dc7d932b5d0319edb87cae284da23ab05b8ea"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ITOps.Middlewares: ITOps.Middlewares: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a1ea2184c902121e13ce0f26bf2aaf85b9a68a242aa4ac0bbdaf0279a4502387"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: JsonUtils: JsonUtils: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"12184bd932e4adf4198a89a0904acb2414cd6596c0c1ed19f84cfb2774341719"}},{"ruleId":"D16","level":"warning","message":{"text":"dormant codebase \u2014 no living knowledge left to concentrate: All 2 significant source file(s) were last meaningfully changed so long ago that no living knowledge remains \u2014 nothing since has been substantial enough to re-establish ownership (a broad, mechanical sweep that touches many files shallowly does not count, and neither does no activity at all). There is no concentration to measure, so the bus factor is not scored. This is not a clean bill: nobody currently holds working knowledge of this code (see D34 Knowledge Freshness)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"569d55ea5cb0330f13c125b289d07e5abdfcceac947a2c2645277937942e7d5f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AvailableProductsGetHandler: NamedType AvailableProductsGetHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Marketing.ViewModelComposition/AvailableProductsGetHandler.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c81ed217395056e17e9bded126cf62fb3f263f969daf0f2e0e24879e0ce2311"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AvailableProductsLoadedSubscriber: NamedType AvailableProductsLoadedSubscriber \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Marketing.ViewModelComposition/AvailableProductsLoadedSubscriber.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd41934f9d09362eee34cee8df0004c40f37d1e72c6039e22ec38d1c79d2012"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ProductDetailsGetHandler: NamedType ProductDetailsGetHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Marketing.ViewModelComposition/ProductDetailsGetHandler.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a3dc8afc3a835fba9a76ccdd33abcdb5caa012e9ebfd5544d2b5e59600e07c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AvailableProductsLoadedSubscriber: NamedType AvailableProductsLoadedSubscriber \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sales.ViewModelComposition/AvailableProductsLoadedSubscriber.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded15966af5fa1f9a4ddb8f69b40b4f35c284b268a93fb911f8df6c5091f7d99"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ProductDetailsGetHandler: NamedType ProductDetailsGetHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sales.ViewModelComposition/ProductDetailsGetHandler.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc2682f66844b4fed02d784b48ad2393e0fa0ba7fc39e101e97e827e26fb7f4"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ShoppingCartAddPostHandler: NamedType ShoppingCartAddPostHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sales.ViewModelComposition/ShoppingCartAddPostHandler.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"758ccbcc7e0d32e6c53c1333d74c896698b352e4cd1f3c2e88e377e0b792fe2e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ShoppingCartGetHandler: NamedType ShoppingCartGetHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sales.ViewModelComposition/ShoppingCartGetHandler.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b475b863f0b611436af080822acf4832b5a927ca0d7eb371f1a49ded9c95ef"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ProductDetailsGetHandler: NamedType ProductDetailsGetHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Warehouse.ViewModelComposition/ProductDetailsGetHandler.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4aca3fbfcc1cbb68c24939d40d38b84c5f11b8c14348943901a3b82ec6f713e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: IdSetterViewModelPreviewHandler: NamedType IdSetterViewModelPreviewHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ITOps.ViewModelComposition/IdSetterViewModelPreviewHandler.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31c85eb13d756a8e70c31446433c95091da9aa9bfc3d4dfcea01046f9432cd7"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ProductDetailsGetHandler: NamedType ProductDetailsGetHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shipping.ViewModelComposition/ProductDetailsGetHandler.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"820c8bb11084fb9562c4e3b5407a0eb8ca907a765f15e82a47aa4c3ea6b64ed9"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AddItemToCartHandler: NamedType AddItemToCartHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sales.Service/Handlers/AddItemToCartHandler.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3bbd2554a3d44d1b92b116d2b0272b526bf76a7f2366b6d1787f4bad8e1bbd"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ShoppingCartGotInactiveHandler: NamedType ShoppingCartGotInactiveHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sales.Service/Handlers/ShoppingCartGotInactiveHandler.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9055c5d933eba44911c8ef5e359c1a2e31e0f68d69dd98db74100add9bb839"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AddItemToCartHandler: NamedType AddItemToCartHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Warehouse.Service/Handlers/AddItemToCartHandler.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbf27c4cc41e3d9d19e836af1cf1fd1ce74724ee24e6118a32045cc05698823"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ShoppingCartGotInactiveHandler: NamedType ShoppingCartGotInactiveHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Warehouse.Service/Handlers/ShoppingCartGotInactiveHandler.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"212671f00bc8a954bdddf56a140dde5fc436bdc8897b4beb3d51e9665808acd7"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AddItemToCartHandler: NamedType AddItemToCartHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shipping.Service/Handlers/AddItemToCartHandler.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c49514ad0ce828ef4e49f173d594b2bb547199ada5a713a36cd4de5d321b31c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ShoppingCartGotInactiveHandler: NamedType ShoppingCartGotInactiveHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shipping.Service/Handlers/ShoppingCartGotInactiveHandler.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70f0c7a20e308b8e6ff3c9d67628c0d05a249dbd8b948073f8b77758ecf1072"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MyCustomCheck: NamedType MyCustomCheck \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Shipping.Service/MyCustomCheck.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61fc14b46bc73e0f0b87019d5723f5bc49a16068f05341e644ba7094aa14e2d"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ShoppingCartGotInactiveHandler: NamedType ShoppingCartGotInactiveHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Marketing.Service/Handlers/ShoppingCartGotInactiveHandler.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2942b7a089d7e28e9be319219e29598b5cc8c4cc2808c1c7fa9e49cafbc231"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ShoppingCartGotStaleHandler: NamedType ShoppingCartGotStaleHandler \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Marketing.Service/Handlers/ShoppingCartGotStaleHandler.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daf0ce8a5e79069b139cf9d189940047de83d4d64c3b31701d553c5d8b5016b"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Marketing.ViewModelComposition.Events: \u0060Marketing.ViewModelComposition.Events\u0060 contributes only 8 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Marketing.ViewModelComposition.Events/Marketing.ViewModelComposition.Events.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ace2bdf8a9e82dd6c356c4218c6f2f5886c150e37709a349f991ad158647e35"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: 7 project(s) carry only a thin slice of real code (e.g. \u0060Sales.Messages\u0060 with 11 significant line(s)). The mean analysable-surface weight is 76 %, lowering Solution Shape by about 1.95 point(s). Consolidate thin projects or grow them into substantial, well-scoped assemblies."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dd0b92fd965c2065080f16843920964ee00f7696ea03d87cdf61aed4cd2c746a"}},{"ruleId":"D21","level":"note","message":{"text":"Ambiguous pluralization: \u0027ShoppingCart\u0027 is used for the aggregate root, while \u0027ShoppingCartItem\u0027 is used for the line item. However, in other parts of the codebase (e.g., \u0060Sales.Data.SalesContext.ShoppingCarts\u0060), the plural form \u0027ShoppingCarts\u0027 is used for a collection of carts, while \u0060Sales.Data.Models.ShoppingCartItem\u0060 is a single item. The inconsistency lies in the naming of the line item: \u0060ShoppingCartItem\u0060 vs potentially \u0060CartLine\u0060 or \u0060CartItem\u0060 elsewhere. More critically, \u0060Sales.Data.Models.ShoppingCart\u0060 is the entity, but \u0060Sales.Data.SalesContext.ShoppingCarts\u0060 suggests a DbSet. The main inconsistency is between \u0060ShoppingCart\u0060 (the container) and \u0060ShoppingCartItem\u0060 (the content). While distinct, the term \u0027ShoppingCart\u0027 is used for both the aggregate and the collection property \u0060ShoppingCarts\u0060, which can be confusing. A more significant inconsistency is the use of \u0060ShoppingCartItem\u0060 in \u0060Sales.Data.Models\u0060 but \u0060Shipping.Data.Models.ShoppingCartItem\u0060 in other namespaces, implying a potential duplication or mismatch in model definitions across bounded contexts.: Ensure \u0027ShoppingCartItem\u0027 is consistently named across all bounded contexts (Sales, Shipping, Warehouse) if they represent the same concept. Consider if \u0027LineItem\u0027 or \u0027CartLine\u0027 is a more precise term than \u0027ShoppingCartItem\u0027. (symbols: Sales.Data.Models.ShoppingCart, Sales.Data.Models.ShoppingCartItem)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8863af1744378aeb1aa61af720bd6cfdb2bb91093d282425a2a535314f825ce9"}},{"ruleId":"D21","level":"note","message":{"text":"Inconsistent event naming for state changes: \u0027ShoppingCartGotInactive\u0027 and \u0027ShoppingCartGotStale\u0027 use different verbs (\u0027Inactive\u0027 vs \u0027Stale\u0027) to describe potentially similar or related lifecycle states. This makes it unclear if these are distinct states or if one should be renamed to match the other\u0027s pattern (e.g., \u0027ShoppingCartExpired\u0027 or \u0027ShoppingCartTimedOut\u0027).: Standardize the verb used for state changes. If \u0027Inactive\u0027 and \u0027Stale\u0027 represent different states, ensure the names clearly distinguish them. If they are similar, align the terminology (e.g., \u0027ShoppingCartExpired\u0027 and \u0027ShoppingCartTimedOut\u0027). (symbols: Sales.Messages.Events.ShoppingCartGotInactive, Sales.Messages.Events.ShoppingCartGotStale)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5f7917248d42a489665a9ea97e9a2ad8847c5ec036546a065857f6ecd1188a0b"}},{"ruleId":"D21","level":"note","message":{"text":"Command duplication: \u0027AddItemToCart\u0027 is defined in multiple namespaces (Sales, Shipping, Warehouse, Marketing). While each may have different payloads, the command name is identical. This can cause confusion when debugging or tracing messages across services.: Consider namespacing the command or using a more specific name like \u0027SalesAddItemToCart\u0027 or \u0027CartAddItemCommand\u0027 to distinguish between the different contexts. (symbols: Sales.Messages.Commands.AddItemToCart, Shipping.Messages.Commands.AddItemToCart, Warehouse.Messages.Commands.AddItemToCart, Marketing.Messages.Commands.AddItemToCart)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce252b0bf278a81907f0f12070463b0ea2f770a42e162886049e4beb43f25059"}},{"ruleId":"D21","level":"note","message":{"text":"Inconsistent naming for policy/timeout concepts: \u0027ShoppingCartLifecyclePolicy\u0027 is a saga/policy, while \u0027CartGettingStaleTimeout\u0027 is a timeout state or configuration. The naming convention differs: one uses \u0027Policy\u0027 and the other uses \u0027Timeout\u0027 or \u0027State\u0027.: Align naming conventions for policy-related classes. If \u0027ShoppingCartLifecyclePolicy\u0027 is the saga, ensure related timeout configurations are named consistently, e.g., \u0027ShoppingCartStaleTimeout\u0027. (symbols: Sales.Service.Policies.ShoppingCartLifecyclePolicy, Sales.Service.Policies.CartGettingStaleTimeout)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5f9bca8e656488b5e70e0c97b09a9e52abf517e6aa78f1302508b1ab5b907c43"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 2216 LoC across 30 projects the codebase is both large and multi-module, so explicit bounded contexts are warranted. Name this codebase\u0027s bounded contexts (\u22652 module groups, e.g. per subsystem) so cross-boundary type coupling can be assessed. Declare them in \u0060.codehealth/config.yaml\u0060 at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it \u2014 e.g. \u0060architecture:\u0060 \u2192 \u0060contexts:\u0060 \u2192 \u0060Billing: [\u0022src/billing\u0022, \u0022Acme.Billing\u0022]\u0060, \u0060Catalog: [\u0022src/catalog\u0022, \u0022Acme.Catalog\u0022]\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}},{"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":"104c431d6e27e6e048441dee895a5f0b24e65e84349ea4deae43581eb5e229f4"},"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"}}]},{"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":"bb1144ffc45455e74364ff830312ead39b2a5bb86c46a57a72a49e028549622f"},"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"}}]},{"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":"dedbe96e47a724ce3f73f426c0ce04257e217d12dc98a74ab14111303aecc2ec"},"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"}}]},{"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":"0eefd2b01fcf679442495e940ab25f499583168f6cf1b93abaf88ee677553780"},"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"}}]},{"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":"d3a8501fe763cdd9f9a7933662d3631840f09efc91c8f6de1ee80cc9fac1a3d0"},"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"}}]},{"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":"9b40f2d09603ac68cc7fef1cc7583f06d4e1fc55f3dd2c49997275f79f56fc56"},"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"}}]},{"ruleId":"D29","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":"3f058c95dea091c4977cf2cc8bdac6d22534caf0309ac61e4c5745dfd66be348"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"8a83ecf37f7e6cb88585e974b194ac0e9873682a9f67d942917bc53cf25973d7"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"79e3e63dbbfb575cb5c10226f817c251c6aaf4e3018f742027aabbf01b44d944"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"ad0074322215eb0451e633552c1582accd3771af48b0e96592d206867ab8e9c5"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 3 of 3 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: src/JsonUtils/PascalCaseExpandoObjectConverter.cs, src/Shipping.Data/ShippingContext.cs, src/NServiceBus.Shared/CommonEndpointSettings.cs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"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"}},{"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"}},{"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"}},{"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"}}],"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-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-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"CWE-209","shortDescription":{"text":"CWE-209"},"helpUri":"https://cwe.mitre.org/data/definitions/209.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":"CWE-353","shortDescription":{"text":"CWE-353"},"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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"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-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"CWE-862","shortDescription":{"text":"CWE-862"},"helpUri":"https://cwe.mitre.org/data/definitions/862.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":14,"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."]}]}