{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"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":"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":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AppDbContext.OnBeforeSaveChanges (cyclomatic 16): AppDbContext.OnBeforeSaveChanges has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS.Persistence/Context/AppDbContext.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"126db42fef10117b25eec1ab0bd56d4ab878144d360e288440d65b4013392c3b"}},{"ruleId":"D2","level":"warning","message":{"text":"POSViewModel.ExecuteAcceptCommand (cognitive 24): POSViewModel.ExecuteAcceptCommand has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/POSViewModel.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a73e5984379f119d3ad6233a26d439a7eb8a429312948ca2f4b81f98270245"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDbContext.OnBeforeSaveChanges (cognitive 23): AppDbContext.OnBeforeSaveChanges has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS.Persistence/Context/AppDbContext.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"806f664284619bbd124c0e9a0ffa88e19a4fd520dd7446e38825eb32f41720d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/InventoryViewModel.cs: FileTooLong \u2014 916 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"156374fd040ab07c6462940bdc8defd87509b7b5b65b6bd3b72d4aa1e4490c44"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InventoryViewModel: TooManyMethods \u2014 900 lines, 37 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4438d2eec8bc37a72562eb803c1492b80a59386c8367058d7080be8931351e64"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BaseProductsViewModel: ClassTooLong \u2014 402 lines, 15 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/Base/BaseProductsViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c3bb3950122489346194b4404eefa51163aa5386283c1a1d408926cebf0443"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 4): POS/ViewModels/AddCategoriesDialogViewModel.cs:262-290 | POS/ViewModels/AddCustomersDialogViewModel.cs:493-521 | POS/ViewModels/AddSuppliersDialogViewModel.cs:493-521 | POS/ViewModels/AddWarehousesDialogViewModel.cs:325-353 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/AddCategoriesDialogViewModel.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"091edb82ad036353a38c59891fa525eaf901969ea573165adfc0471260c6a557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5): POS/ViewModels/AddCategoriesDialogViewModel.cs:318-340 | POS/ViewModels/AddCustomersDialogViewModel.cs:549-571 | POS/ViewModels/AddSuppliersDialogViewModel.cs:549-571 | POS/ViewModels/AddWarehousesDialogViewModel.cs:256-278 | POS/ViewModels/CompanyInfoDialogViewModel.cs:383-405 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/AddCategoriesDialogViewModel.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e364f74929c909617dc618f587437c9b686d05c2da8e7ede4ff387f017eb94ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): POS/ViewModels/AddCustomersDialogViewModel.cs:368-384 | POS/ViewModels/AddSuppliersDialogViewModel.cs:368-384 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/AddCustomersDialogViewModel.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf29452f43718c7e3c72af1d4685871ba57ce51c34f470ccb5fed283454eb60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): POS/ViewModels/AddCustomersDialogViewModel.cs:416-432 | POS/ViewModels/AddSuppliersDialogViewModel.cs:416-432 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/AddCustomersDialogViewModel.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"7707a7e7e98adb97933254080d1ea730d9098c610d4fbb621d2601807ee42d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): POS/ViewModels/POSViewModel.cs:48-62 | POS/ViewModels/PriceQuotationViewModel.cs:47-61 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/POSViewModel.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f3a2934fa13ed5c853104aef2db2e0676b2e6b461b773695f09910ae04111e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): POS/Views/HomeWindow.xaml.cs:92-121 | POS/Views/HomeWindow.xaml.cs:184-198 \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":"POS/Views/HomeWindow.xaml.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b087b446941bf697dbb95d515b0e6aeb3d9d9911be19aee59e2466747c17ad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): POS/ViewModels/AddCategoriesDialogViewModel.cs:117-129 | POS/ViewModels/AddCustomersDialogViewModel.cs:294-306 | POS/ViewModels/AddSuppliersDialogViewModel.cs:294-306 | POS/ViewModels/AddWarehousesDialogViewModel.cs:131-144 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/AddCategoriesDialogViewModel.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad2c99e6f862485250433a33dd78a95ca57f6e1cd326ee7564d51d564c5647d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): POS/ViewModels/POSViewModel.cs:255-267 | POS/ViewModels/PriceQuotationViewModel.cs:228-240 | POS/ViewModels/PurchaseProductsViewModel.cs:209-221 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/POSViewModel.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8c6d911638b31a126de65a8b3baab2fd0e32c5a39e34a58635793cc99a7193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): POS/ViewModels/AddCustomersDialogViewModel.cs:317-329 | POS/ViewModels/AddSuppliersDialogViewModel.cs:317-329 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/AddCustomersDialogViewModel.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3138104792c50cf4adaf07ed24739d082d37d4bfde84cf7ce6210acf6f4199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): POS/ViewModels/AddCategoriesDialogViewModel.cs:146-157 | POS/ViewModels/AddCustomersDialogViewModel.cs:337-348 | POS/ViewModels/AddSuppliersDialogViewModel.cs:337-348 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/AddCategoriesDialogViewModel.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0484aa532abab710e649d5bc678600ab396413ddb3f39930938569d8a23814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): POS/ViewModels/AddCategoriesDialogViewModel.cs:183-194 | POS/ViewModels/AddCustomersDialogViewModel.cs:393-404 | POS/ViewModels/AddSuppliersDialogViewModel.cs:393-404 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/AddCategoriesDialogViewModel.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7929ebad9929a773e95280b93b7be13e9d834fdd70012daae1546f1c2dcd9df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): POS/ViewModels/AddCustomersDialogViewModel.cs:460-471 | POS/ViewModels/AddSuppliersDialogViewModel.cs:460-471 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/AddCustomersDialogViewModel.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed38b863b8a31b94c7ddf8d70621de652382fd9fa1c6cf50fb4b3043e5619e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): POS/ViewModels/POSViewModel.cs:145-155 | POS/ViewModels/PriceQuotationViewModel.cs:144-154 | POS/ViewModels/PurchaseProductsViewModel.cs:104-114 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/POSViewModel.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7a5dd811e453fa5949c4fcaaa3f3f487abc09afeef0c9e8114d38d1ce2f719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): POS/ViewModels/UserMangmentViewModel.cs:200-210 | POS/ViewModels/UserMangmentViewModel.cs:265-275 \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":"POS/ViewModels/UserMangmentViewModel.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51dc5105ff9c9a64b0b4a9b86e5f595642e9cee604068709c55410f7d118f0f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: POS.Domain: POS.Domain: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and heavily depended-on, so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e31512d55720f269a130f339dc13b3f9ae291e20644a0910cc33fb00557472ad"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: POS.Infrustructure: POS.Infrustructure: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and heavily depended-on, so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b62da28fc83606edf21f22c921c9329255a3348752e143c9a62433ca2c5c41fd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HomeWindow (LCOM4 7): HomeWindow\u0027s methods form 7 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/Views/HomeWindow.xaml.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c026694f37713516ac2ab847120aad122fbcdd34aca83e9814b8da781b7ffa89"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InventoryViewModel (LCOM4 5): InventoryViewModel\u0027s methods form 5 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb27e460c9176f77ab19fa8fb6fba4d00d3c2275397bc2e3343234456b849f4"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite was found in this repository."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Microsoft.AspNetCore.Identity: Microsoft.AspNetCore.Identity 2.2.0 \u2014 Other,Legacy"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9192f631de4685bd270902754ea53e838e4060a03b9d6d9c28fe168732d4ec74"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS.Domain/Models/Products/Product.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3c44d6a14b6fd724c341711256c685ec061139dab671332d10bd4b77171ae0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/ViewEditInvoiceViewModel.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"045169d952f2fb276f02b0d5a2cab9c155e052b0bbdb59c56e24742ac95e5151"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS.Domain/Models/Products/Product.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad0844071059049d514cbe7822c99581bf099047efdc2e85d960b189a17fb27"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 15 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS.Domain/Models/Products/Product.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c39d359bc6e945cf28dc44069dde8169d5d193f1287dbe0d84d27ebc0714be"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/App.xaml.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2df418ccbf18c44e1247ee3bc4c68f88055d70c115e4aece2a8f2e85bffe18e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/AuthenticationService.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"af717fdbc4bacaf7fdcb938d2dce5cb3c9820f8045cf3a27ee559b8e6170304b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/Base/BaseProductsViewModel.cs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca529e3832c55a4b98ef4bcd9a4f07c3f60e58b1c6308e5d186d3ada8e8ed9ef"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/Base/BaseProductsViewModel.cs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caf4fc3e05926de2aaef6e4f827b496f21cd1f12c2602934050770951c2501f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"42de795b9fb0917ede2ecae24ad45c208811f05f1907f26294de79501fa3c032"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1657764e2d9f6be2a83aeba47ef0e939ede84a3367b9ed6cbab330e299ae13"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/Components/WindowHeader.xaml.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"767a206684d01521095c9ed78d326fb7ee1066e61c161252800b13cf6ec72795"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/Components/WindowHeader.xaml.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25d011f90073e852f8abca1d73d64a673cac1844b7d0e3087e7950a632c66a3"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/Components/WindowHeader.xaml.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"437d00007915da1f58ba6b0260c6ae4d951ce881c5c121ebfae7ca449f220ad7"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/Components/WindowHeader.xaml.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1e895c3ffb2fbc53a05d8378819fb9414811cc7b90e5ba00b71ef9c0f2c86c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/Components/WindowHeader.xaml.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4604f10b12a4446429a659e672867de5b0d15129f327509b29e24cce449e2ebb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/SaleCalculator.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b16b20941b45cd6d5204d6696c89782a57781ae790eb34f9354750e0f2ffb6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/Base/BaseProductsViewModel.cs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f046156950b0a07461382550a89aaf2d05ddf18fb66994b13faa80b2850a64c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/Base/BaseProductsViewModel.cs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"d914368118b60c7a26c85cc183838a076b4d502500efe34fcfe6c8ad7cad603a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"730b59e88a55ebc4d2d2b515eb24dc61ee4495f6ee5694dd6c028b8c24420290"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f0e72ebb06d3a4edea92b35d3902cad8a2a546bc90eff5cd36313af5ebd450"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bac325a9443ac5dbf7e51f3fd38c5dacad10c4e556c17495b3e6f666650c56b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7de7d00cf76a2cc96e01386af786ccd6670753d2d38fc2a0249cf54abfb7e3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b709e2c9d678fd3743f7d32cdff2691031bc49d2185bb334606df1bf94f19f48"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed099365dcee44d210951c4fb25f3e84358efb5df3f2289b77a3688731fb0169"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/SalesHistoryViewModel.cs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"3054c3acb21225566ffa6e195358dcf339cc70217cef51b16544bb4bdbf58df8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"def8ae118b7d484a39454538a62583dd19d91780c29e70fcb21ae35ef718fedb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/InventoryViewModel.cs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fb16806145a3ade3b9463084ac2b07890505f4f48829b26e32eaf2c2f2975d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"POS/ViewModels/UserMangmentViewModel.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89e1032e38fd9d47cf5d7244bb167cc980a230ca2be39fe867a93b816aefe26"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: 2 project(s) carry only a thin slice of real code (e.g. \u0060POS.Application\u0060 with 11 significant line(s)). The mean analysable-surface weight is 61 %, lowering Solution Shape by about 3.1 point(s). Consolidate thin projects or grow them into substantial, well-scoped assemblies."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dd0b92fd965c2065080f16843920964ee00f7696ea03d87cdf61aed4cd2c746a"}},{"ruleId":"D19","level":"note","message":{"text":"Prerequisites (e.g. .NET SDK version) and installation steps are missing from the visible text.: Add a Prerequisites section listing required .NET versions, NuGet packages, and any platform-specific setup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"716ea947b54210542a5435ff1bde043cabd0baf6a95a24c63d15ad93fec23b8f"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found at common paths; consider documenting architectural decisions in Docs/ADL/ or similar."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D21","level":"note","message":{"text":"The word \u0027Management\u0027 is misspelled as \u0027Mangment\u0027 in the class name and potentially other related symbols.: Rename \u0027UserMangment\u0027 to \u0027UserManagement\u0027 to correct the spelling. (symbols: POS.ViewModels.UserMangmentViewModel, POS.ViewModels.UserMangmentViewModel.Email, POS.ViewModels.UserMangmentViewModel.Password, POS.ViewModels.UserMangmentViewModel.EditCommand, POS.ViewModels.UserMangmentViewModel.UserName, POS.ViewModels.UserMangmentViewModel.Add, POS.ViewModels.UserMangmentViewModel.Edit)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5764f956f0ead9b49c9273204ff6fe4fe13432cdf682230907e3789ea0054f33"}},{"ruleId":"D21","level":"note","message":{"text":"Inconsistent naming for product types. \u0027Product\u0027 is used for the base/general entity, while specific types use \u0027Product\u0027 as a suffix (PurchaseProduct, SaleProduct) or prefix (QuotedProduct).: Consider a consistent naming convention, such as \u0027PurchaseProduct\u0027, \u0027SaleProduct\u0027, \u0027QuotedProduct\u0027 (all suffixes) or \u0027Purchase\u0027, \u0027Sale\u0027, \u0027Quotation\u0027 (all prefixes). (symbols: POS.Domain.Models.Products.Product, POS.Domain.Models.Products.PurchaseProduct, POS.Domain.Models.Products.QuotedProduct, POS.Domain.Models.Products.SaleProduct)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdb0fea8867f55e6fb2106beeb572255605b567925d1f5ffe5aaefdb7681a680"}},{"ruleId":"D21","level":"note","message":{"text":"The concept of a \u0027Contact\u0027 or \u0027Contact Person\u0027 is represented by \u0027ContactName\u0027 in Supplier and CompanyInfo, but \u0027Customer\u0027 and \u0027Supplier\u0027 entities likely have their own contact details. The naming \u0027ContactName\u0027 is specific, but the lack of a unified \u0027Contact\u0027 entity or consistent \u0027Contact\u0027 property names across all business entities is an inconsistency.: Ensure all business entities (Customer, Supplier, Company) have a consistent \u0027Contact\u0027 or \u0027ContactDetails\u0027 property or entity. (symbols: POS.Domain.Models.Customer, POS.Domain.Models.Supplier, POS.Domain.Models.CompanyInfo)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2f54735bc54744d0720c50f3b7dfa4580c5902393e30c688d4910f8bbbfdb3ed"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 13204 LoC spread over 5 projects the codebase is large and multi-module, so explicit bounded contexts are needed. 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 namespace prefixes that belong to it \u2014 e.g. \u0060architecture:\u0060 \u2192 \u0060contexts:\u0060 \u2192 \u0060Billing: [\u0022Acme.Billing\u0022]\u0060, \u0060Catalog: [\u0022Acme.Catalog\u0022]\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-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":0,"secretScannerRunsExcluded":0}}}]}