{"$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":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"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"]},{"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":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"PALFunctions.ExportThresholdFileToPerfmonTemplate (cyclomatic 27): PALFunctions.ExportThresholdFileToPerfmonTemplate has cyclomatic complexity 27 (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. This shape REPEATS in the file: 2 other methods here (PALFunctions.ExportThresholdFileToLogmanCounterListFile, PALFunctions.ExportThresholdFileToDataCollectorTemplate) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: PALCommandObject.ConvertIntervalToSeconds (cyclomatic 37) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: PAL2/PALFunctions/PALFunctions.vb holds 3 of the 8 methods over the threshold \u2014 including the worst \u2014 and 36 of the 85 points over it (42%), 3.3\u00D7 the next-largest file (PAL2/PALWizard/frmAddDataSourceGenerated.vb 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ab25e7255c8d2d649cdd23d247fa4bda797ea4a6054a7df12782c072ef7e7b"}},{"ruleId":"D1","level":"warning","message":{"text":"PALFunctions.ExportThresholdFileToLogmanCounterListFile (cyclomatic 27): PALFunctions.ExportThresholdFileToLogmanCounterListFile has cyclomatic complexity 27 (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. This shape REPEATS in the file: 2 other methods here (PALFunctions.ExportThresholdFileToPerfmonTemplate, PALFunctions.ExportThresholdFileToDataCollectorTemplate) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: PALCommandObject.ConvertIntervalToSeconds (cyclomatic 37) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: PAL2/PALFunctions/PALFunctions.vb holds 3 of the 8 methods over the threshold \u2014 including the worst \u2014 and 36 of the 85 points over it (42%), 3.3\u00D7 the next-largest file (PAL2/PALWizard/frmAddDataSourceGenerated.vb 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"84125c63f03a888ec02598d09f4882714e7312434a68528af6579157fdd540ac"}},{"ruleId":"D1","level":"warning","message":{"text":"PALFunctions.ExportThresholdFileToDataCollectorTemplate (cyclomatic 27): PALFunctions.ExportThresholdFileToDataCollectorTemplate has cyclomatic complexity 27 (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. This shape REPEATS in the file: 2 other methods here (PALFunctions.ExportThresholdFileToPerfmonTemplate, PALFunctions.ExportThresholdFileToLogmanCounterListFile) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: PALCommandObject.ConvertIntervalToSeconds (cyclomatic 37) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: PAL2/PALFunctions/PALFunctions.vb holds 3 of the 8 methods over the threshold \u2014 including the worst \u2014 and 36 of the 85 points over it (42%), 3.3\u00D7 the next-largest file (PAL2/PALWizard/frmAddDataSourceGenerated.vb 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"e278b93eba1a18f54b920923e4587e8e0c010ff7f0047b1a2ee64f7bdcf2eae7"}},{"ruleId":"D1","level":"warning","message":{"text":"frmAddDataSourceGeneratedCounter.ListBoxThresholdVariables_SelectedIndexChanged (cyclomatic 26): frmAddDataSourceGeneratedCounter.ListBoxThresholdVariables_SelectedIndexChanged has cyclomatic complexity 26 (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":"PAL2/PALWizard/frmAddDataSourceGenerated.vb"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d433b01c01b505d76d75c68160e5b4c1bd5adf24f1900af3abb46414ac085f1"}},{"ruleId":"D1","level":"warning","message":{"text":"frmAddThreshold.ListBoxThresholdVariables_SelectedIndexChanged (cyclomatic 26): frmAddThreshold.ListBoxThresholdVariables_SelectedIndexChanged has cyclomatic complexity 26 (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":"PAL2/PALWizard/frmAddThreshold.vb"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5571008253a1926af5f455f8bbf6d1522a3c023df8ec76e688edf0b7e32e6f4"}},{"ruleId":"D1","level":"warning","message":{"text":"frmChart.ListBoxThresholdVariables_SelectedIndexChanged (cyclomatic 26): frmChart.ListBoxThresholdVariables_SelectedIndexChanged has cyclomatic complexity 26 (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":"PAL2/PALWizard/frmChart.vb"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2c6f0f004b0f10deb756075d1e39d24fa8c4d36dfb042a951659d8374eb357"}},{"ruleId":"D1","level":"warning","message":{"text":"frmEditThresholds.ListBoxThresholdVariables_SelectedIndexChanged (cyclomatic 26): frmEditThresholds.ListBoxThresholdVariables_SelectedIndexChanged has cyclomatic complexity 26 (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":"PAL2/PALWizard/frmEditThresholds.vb"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6415f5bf72ca2e73f0c4ae2de0701937484c67d125cc2def2d2d5c89934eda"}},{"ruleId":"D1","level":"warning","message":{"text":"frmPALExecutionWizard.RefreshAnalysisCollectionSection (cyclomatic 20): frmPALExecutionWizard.RefreshAnalysisCollectionSection has cyclomatic complexity 20 (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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1961d5e2829a68b36ebdc128d85113142978bde2359c60a2d1266c88c1dc76a"}},{"ruleId":"D2","level":"warning","message":{"text":"PALFunctions.ExportThresholdFileToPerfmonTemplate (cognitive 116): PALFunctions.ExportThresholdFileToPerfmonTemplate has cognitive complexity 116 (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. This shape REPEATS in the file: 2 other methods here (PALFunctions.ExportThresholdFileToLogmanCounterListFile, PALFunctions.ExportThresholdFileToDataCollectorTemplate) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: PAL2/PALFunctions/PALFunctions.vb holds 8 of the 17 methods over the threshold \u2014 including the worst \u2014 and 373 of the 671 points over it (56%), 6\u00D7 the next-largest file (PAL2/PALWizard/frmChart.vb at 62). 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d2994e1517f18e41b8f874362a6a862e2f5644ec927c95b426114c58b2e68e"}},{"ruleId":"D2","level":"warning","message":{"text":"PALFunctions.ExportThresholdFileToLogmanCounterListFile (cognitive 116): PALFunctions.ExportThresholdFileToLogmanCounterListFile has cognitive complexity 116 (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. This shape REPEATS in the file: 2 other methods here (PALFunctions.ExportThresholdFileToPerfmonTemplate, PALFunctions.ExportThresholdFileToDataCollectorTemplate) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: PAL2/PALFunctions/PALFunctions.vb holds 8 of the 17 methods over the threshold \u2014 including the worst \u2014 and 373 of the 671 points over it (56%), 6\u00D7 the next-largest file (PAL2/PALWizard/frmChart.vb at 62). 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f43e47988e02c74d40da8f2d5d1294ce6535069dc5f125975890cf1c57610c"}},{"ruleId":"D2","level":"warning","message":{"text":"PALFunctions.ExportThresholdFileToDataCollectorTemplate (cognitive 116): PALFunctions.ExportThresholdFileToDataCollectorTemplate has cognitive complexity 116 (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. This shape REPEATS in the file: 2 other methods here (PALFunctions.ExportThresholdFileToPerfmonTemplate, PALFunctions.ExportThresholdFileToLogmanCounterListFile) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: PAL2/PALFunctions/PALFunctions.vb holds 8 of the 17 methods over the threshold \u2014 including the worst \u2014 and 373 of the 671 points over it (56%), 6\u00D7 the next-largest file (PAL2/PALWizard/frmChart.vb at 62). 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"024281064aa81af5bd9f452b023cf390bc3f70db94c2908dba8397a2c7c85f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"frmAddDataSourceGeneratedCounter.ListBoxThresholdVariables_SelectedIndexChanged (cognitive 69): frmAddDataSourceGeneratedCounter.ListBoxThresholdVariables_SelectedIndexChanged has cognitive complexity 69 (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":"PAL2/PALWizard/frmAddDataSourceGenerated.vb"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8e5e6bdac0e5f4ccb29ddea723324b2214c1ce7d6caee25e85afbb55e6774a"}},{"ruleId":"D2","level":"warning","message":{"text":"frmAddThreshold.ListBoxThresholdVariables_SelectedIndexChanged (cognitive 69): frmAddThreshold.ListBoxThresholdVariables_SelectedIndexChanged has cognitive complexity 69 (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":"PAL2/PALWizard/frmAddThreshold.vb"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8912bd5dd0bdfd088a57ff170cb96b626abb43ebb7de661f0f7b544d679ec78"}},{"ruleId":"D2","level":"warning","message":{"text":"frmChart.ListBoxThresholdVariables_SelectedIndexChanged (cognitive 69): frmChart.ListBoxThresholdVariables_SelectedIndexChanged has cognitive complexity 69 (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":"PAL2/PALWizard/frmChart.vb"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5e223474dd1ebec10e166f69bca04b0b2f824120af2c803b8ba83536328cc7"}},{"ruleId":"D2","level":"warning","message":{"text":"frmEditThresholds.ListBoxThresholdVariables_SelectedIndexChanged (cognitive 69): frmEditThresholds.ListBoxThresholdVariables_SelectedIndexChanged has cognitive complexity 69 (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":"PAL2/PALWizard/frmEditThresholds.vb"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13cd0cacf4d5b8e993181f0fab11b14872457a010fbd60f15fe173f79ab5bdd"}},{"ruleId":"D2","level":"warning","message":{"text":"frmPALExecutionWizard.RefreshAnalysisCollectionSection (cognitive 58): frmPALExecutionWizard.RefreshAnalysisCollectionSection has cognitive complexity 58 (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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f7c44cdd50c78b42d7549e8296d3a103eee59d0f15037b42f7c233bf1032e7"}},{"ruleId":"D2","level":"warning","message":{"text":"PALFunctions.InheritFromThresholdFiles (cognitive 54): PALFunctions.InheritFromThresholdFiles has cognitive complexity 54 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: PAL2/PALFunctions/PALFunctions.vb holds 8 of the 17 methods over the threshold \u2014 including the worst \u2014 and 373 of the 671 points over it (56%), 6\u00D7 the next-largest file (PAL2/PALWizard/frmChart.vb at 62). 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1229def61510ded1a92a35b85ee1da305fe2da48a9fb2fbd46ab0d021ff6b2f0"}},{"ruleId":"D2","level":"warning","message":{"text":"frmAddCounters.btnAdd_Click (cognitive 39): frmAddCounters.btnAdd_Click has cognitive complexity 39 (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":"PAL2/PALWizard/frmAddCounters.vb"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88f3077c985f2e5b18e5cc84887420a8717abb684494ecd316d9fd516f3682e"}},{"ruleId":"D2","level":"warning","message":{"text":"PALCommandObject.BuildCommandLine (cognitive 28): PALCommandObject.BuildCommandLine has cognitive complexity 28 (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. This shape REPEATS in the file: one other method here (PALCommandObject.BuildQueryStyleCommandLine) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: PAL2/PALFunctions/PALFunctions.vb holds 8 of the 17 methods over the threshold \u2014 including the worst \u2014 and 373 of the 671 points over it (56%), 6\u00D7 the next-largest file (PAL2/PALWizard/frmChart.vb at 62). 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"037cf0fa263af91fec5933bac04ce15e90eba93fa92c8133b5c8df6792559529"}},{"ruleId":"D2","level":"warning","message":{"text":"PALCommandObject.BuildQueryStyleCommandLine (cognitive 28): PALCommandObject.BuildQueryStyleCommandLine has cognitive complexity 28 (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. This shape REPEATS in the file: one other method here (PALCommandObject.BuildCommandLine) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: PAL2/PALFunctions/PALFunctions.vb holds 8 of the 17 methods over the threshold \u2014 including the worst \u2014 and 373 of the 671 points over it (56%), 6\u00D7 the next-largest file (PAL2/PALWizard/frmChart.vb at 62). 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed931f76adefafa2f44c929e1c3037832b74eca4e515250bda2aa23e9c1e5fc"}},{"ruleId":"D2","level":"warning","message":{"text":"frmChart.PopulateForm (cognitive 23): frmChart.PopulateForm 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":"PAL2/PALWizard/frmChart.vb"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f9038c04bdc2868cbcc08456ff6b1ac965d0d662214206e64454b78cf5393e"}},{"ruleId":"D2","level":"warning","message":{"text":"frmAddCounters.EnumPerfCountersAndInstances (cognitive 19): frmAddCounters.EnumPerfCountersAndInstances has cognitive complexity 19 (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":"PAL2/PALWizard/frmAddCounters.vb"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6835114739c7fcd5f959ed38b12787bd66e6112c98e9a96020bc28cb48d5bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"PALFunctions.GetCounterObject (cognitive 18): PALFunctions.GetCounterObject has cognitive complexity 18 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: PAL2/PALFunctions/PALFunctions.vb holds 8 of the 17 methods over the threshold \u2014 including the worst \u2014 and 373 of the 671 points over it (56%), 6\u00D7 the next-largest file (PAL2/PALWizard/frmChart.vb at 62). 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2037cb661408236ae9f4b1a89a414c09b3fee9c0f140687ef8eca74b7fc1ca8"}},{"ruleId":"D2","level":"warning","message":{"text":"frmPALEditor.UpdateThreshold (cognitive 18): frmPALEditor.UpdateThreshold has cognitive complexity 18 (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":"PAL2/PALWizard/frmPALEditor.vb"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"707d3dff351937110558fd7b59b128a4145489a8c3dea8fa1e038b019678800f"}},{"ruleId":"D2","level":"warning","message":{"text":"PALCounterObject.GetCounterObject (cognitive 17): PALCounterObject.GetCounterObject has cognitive complexity 17 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: PAL2/PALFunctions/PALFunctions.vb holds 8 of the 17 methods over the threshold \u2014 including the worst \u2014 and 373 of the 671 points over it (56%), 6\u00D7 the next-largest file (PAL2/PALWizard/frmChart.vb at 62). 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec2c9753e674337b6266490e036e2d1872676b0ce24086b5288a74bf95a2181"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: frmPALExecutionWizard: TooManyMethods \u2014 1209 significant lines (blank, comment-only and punctuation-only lines excluded), 95 methods. The bar is 30 methods; this is 65 over it, 3.17\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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9d78060b421f03b422c3782a9debb70c7a89e3b409789881ee700e22c17dab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PALFunctions/PALFunctions.vb: FileTooLong \u2014 1292 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 792 over it, 2.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f0c90081341b79b50b69eed8db1542b85f2c7de7c5d86b3a3f988082864ac7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PALWizard/frmPALExecutionWizard.vb: FileTooLong \u2014 1213 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 713 over it, 2.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaf5cf6e69be185de7599e1ed4515577f65b14373ed63d5f20b73d1e8169ee6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: frmPALEditor: TooManyMethods \u2014 927 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods. The bar is 30 methods; this is 29 over it, 1.97\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":"PAL2/PALWizard/frmPALEditor.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"401211030c274952cbd333b74da10921079b15e0977ddea74d5ca0c977a6fbdc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PALWizard/frmPALEditor.vb: FileTooLong \u2014 967 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 467 over it, 1.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/frmPALEditor.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86b16e1287fa6e8d5d95d8e2a7de12814476177e50fd9009a969921f59b606c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PALFunctions: ClassTooLong \u2014 757 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 357 over it, 1.89\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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa7c7826e37dc80a939f0552e6f709bed8d3587aaf66cc3753f308adb394ca9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PALFunctions.ExportThresholdFileToPerfmonTemplate: MethodTooLong \u2014 ExportThresholdFileToPerfmonTemplate runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc770b5439074f9e78745006db1ca1be55272c7226cafb9c31b52077623df2e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PALFunctions.ExportThresholdFileToDataCollectorTemplate: MethodTooLong \u2014 ExportThresholdFileToDataCollectorTemplate runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c4f37d0a5439c3e93bb2fd2762cf9c83bbf80930040863710d5a75f221dd12"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PALFunctions.ExportThresholdFileToLogmanCounterListFile: MethodTooLong \u2014 ExportThresholdFileToLogmanCounterListFile runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ed66dfb1c61c26bdf1bc47091b889bdef268a7488c3a2db778c8d1f7c48bfe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: frmChart.ListBoxThresholdVariables_SelectedIndexChanged: MethodTooLong \u2014 ListBoxThresholdVariables_SelectedIndexChanged runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"PAL2/PALWizard/frmChart.vb"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1327483ff041428da311cd489524e4ed522aa2b0c65969066dfc4d336664a5b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: frmEditThresholds.ListBoxThresholdVariables_SelectedIndexChanged: MethodTooLong \u2014 ListBoxThresholdVariables_SelectedIndexChanged runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"PAL2/PALWizard/frmEditThresholds.vb"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc23c361024346916ca3907e661525535e222c8d0ae6ab01c0b60e4e2400d91d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: frmAddDataSourceGeneratedCounter.ListBoxThresholdVariables_SelectedIndexChanged: MethodTooLong \u2014 ListBoxThresholdVariables_SelectedIndexChanged runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"PAL2/PALWizard/frmAddDataSourceGenerated.vb"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"18181f8b8f11f179bf36737bf5022bbc23d2d78c4a4da60f886840a5a43813d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: frmAddThreshold.ListBoxThresholdVariables_SelectedIndexChanged: MethodTooLong \u2014 ListBoxThresholdVariables_SelectedIndexChanged runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"PAL2/PALWizard/frmAddThreshold.vb"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f050f206ef40b20ea761e265e224d6386cd793fe50298758c028ec6310b27bf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: frmPALExecutionWizard.RefreshAnalysisCollectionSection: MethodTooLong \u2014 RefreshAnalysisCollectionSection runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b57963279e726a6eae5b82d9422c6402da24602653508c76f465b9e2368250"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 113 shared lines): PAL2/PALFunctions/PALFunctions.vb:85-281 | PAL2/PALFunctions/PALFunctions.vb:286-433 | PAL2/PALFunctions/PALFunctions.vb:438-610 \u2014 These 3 members are variants of one another: a block of 113 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb18515718d2bed479473140cdf543e7040451701c444262194c7c095342562"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): PAL2/PALWizard/frmAddDataSourceGenerated.vb:159-277 | PAL2/PALWizard/frmAddThreshold.vb:166-284 | PAL2/PALWizard/frmChart.vb:193-307 | PAL2/PALWizard/frmEditThresholds.vb:187-307 \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":"PAL2/PALWizard/frmAddDataSourceGenerated.vb"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa598e08e18e0efb8919c40e45207fdb62800e2ce236bd0b343c5699530832c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): PAL2/PALFunctions/PALFunctions.vb:1163-1235 | PAL2/PALFunctions/PALFunctions.vb:1239-1308 \u2014 These two members are one piece of code written twice and then edited apart: 70 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d064bce77cc5ada9cfb8402064ebde3dc4b2562439432917582db128abbc67b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): PAL2/PALWizard/frmPALExecutionWizard.vb:66-102 | PAL2/PALWizard/frmPALExecutionWizard.vb:108-144 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f5f73e11092e1e665c149c8254ab60690f3cd95778ce03d424f3d241a17c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): PAL2/PALFunctions/PALFunctions.vb:684-732 | PAL2/PALFunctions/PALFunctions.vb:935-978 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"a570eec9fa774a3a34c28a06b82022c7d5c267c89d2eed454f0d7b7b5b8f5175"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): PAL2/PALFunctions/PALFunctions.vb:780-814 | PAL2/PALFunctions/PALFunctions.vb:1026-1059 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9460b07b435697eca18e42f11cc160af0ff79a9fc200e7e62a43055f8ee71b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): PAL2/PALWizard/frmPALEditor.vb:683-706 | PAL2/PALWizard/frmPALEditor.vb:821-850 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"PAL2/PALWizard/frmPALEditor.vb"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"1982867ab25f750690b6a5e8a96ec8ed40dbfd1f1864cb3723ed06ca97817cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): PAL2/PALWizard/frmAddCounters.vb:510-530 | PAL2/PALWizard/frmPALEditor.vb:937-951 \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":"PAL2/PALWizard/frmAddCounters.vb"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"05784da5325fcb6ec745e9f75a11c1880e1ae79c210b3a49942562df3a6c8d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): PAL2/PALWizard/frmPALExecutionWizard.vb:1158-1185 | PAL2/PALWizard/frmPALExecutionWizard.vb:1319-1345 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a67cb3bf6f4cfb8b1cffbec5a8e0a3a204815d11e827443e2d1ff026e6f05d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): PAL2/PALWizard/frmPALExecutionWizard.vb:1117-1130 | PAL2/PALWizard/frmPALExecutionWizard.vb:1135-1148 \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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"da991eba525f90acd17f342b4e52416cd28187979045561415e8c430dcacd5f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): PAL2/PALWizard/frmAddThreshold.vb:325-337 | PAL2/PALWizard/frmEditThresholds.vb:311-323 \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":"PAL2/PALWizard/frmAddThreshold.vb"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eea7cde1be1df07739fe53ecef6fc45f10d33f247f57a76c07dce76f381647"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): PAL2/PALWizard/frmPALExecutionWizard.vb:588-592 | PAL2/PALWizard/frmPALExecutionWizard.vb:849-854 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"7910bbf64cbfda1d34f5d24d99de94247128b58cf15c5c33de3e7dc3b61816cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): PAL2/PALWizard/frmPALExecutionWizard.vb:1273-1279 | PAL2/PALWizard/frmEditThresholdFileProperties.vb:95-98 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf7a1723028477b97d6497a939683ac91f6a815970f79664efd0264f1bc85b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): PAL2/PALWizard/frmPALExecutionWizard.vb:1297-1303 | PAL2/PALWizard/frmEditThresholdFileProperties.vb:102-105 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b49b80b31e1b95975044c9c17fcc0635441188ba5fba67b522787c0730f48c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): PAL2/PALWizard/frmAddDataSourceCounter.vb:28-36 | PAL2/PALWizard/frmNewAnalysis.vb:27-34 \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":"PAL2/PALWizard/frmAddDataSourceCounter.vb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c152ba778e5fe8080ae66492f23d2660431a1fd12a85f5e37ffceb7889682943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (107 lines \u00D7 4): PAL2/PALWizard/frmAddDataSourceGenerated.vb:171-277 | PAL2/PALWizard/frmAddThreshold.vb:178-284 | PAL2/PALWizard/frmChart.vb:201-307 | PAL2/PALWizard/frmEditThresholds.vb:201-307 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060PAL2/PALWizard/frmChart.vb:199\u0060 calls \u0060BindSelectedListBoxVariableItemToXML\u0060 and \u0060PAL2/PALWizard/frmAddDataSourceGenerated.vb:169\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":"PAL2/PALWizard/frmAddDataSourceGenerated.vb"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ecfd8990879a3dea27dc2fe522fd95829cc39a842b8103eda4142c6c232c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 3): PAL2/PALFunctions/PALFunctions.vb:177-226 | PAL2/PALFunctions/PALFunctions.vb:377-426 | PAL2/PALFunctions/PALFunctions.vb:522-571 \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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9221e1d2658c835158dd51f8c1879a9521ec89f840ac23875a6b8f1b8015f6a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201349 lines \u00D7 2): PAL2/PALFunctions/PALFunctions.vb:1163-1211 | PAL2/PALFunctions/PALFunctions.vb:1239-1283 \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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee2edd169b2dc5ffebe62029db64801acc94742f82b8c2f5e4b23c150ed326e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 3): PAL2/PALFunctions/PALFunctions.vb:133-172 | PAL2/PALFunctions/PALFunctions.vb:333-372 | PAL2/PALFunctions/PALFunctions.vb:480-519 \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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e821a4618d510e1e0379313fdc5750a58a91f4045c20154f3dc802a4aa3a8282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): PAL2/PALWizard/frmAddDataSourceGenerated.vb:126-155 | PAL2/PALWizard/frmAddThreshold.vb:133-162 \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":"PAL2/PALWizard/frmAddDataSourceGenerated.vb"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"336bb63ff4c28a3d2e624cc0f135957d188cd8a378c4405e31230251c9d290f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): PAL2/PALWizard/frmAddCounters.vb:782-808 | PAL2/PALWizard/frmPALEditor.vb:959-985 \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 \u0060PAL2/PALWizard/frmAddCounters.vb:782\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":"PAL2/PALWizard/frmAddCounters.vb"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d035d939f59e4df4a4b92ec470b8d6386cf49e5cae49fa06f21701321212b3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): PAL2/PALWizard/frmAddCounters.vb:446-469 | PAL2/PALWizard/frmAddCounters.vb:477-500 \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":"PAL2/PALWizard/frmAddCounters.vb"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"b604645428fd07a3ab5b388fff75e216939137ff27c3f125ad16f8bc20632290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): PAL2/PALFunctions/PALFunctions.vb:146-164 | PAL2/PALFunctions/PALFunctions.vb:197-215 | PAL2/PALFunctions/PALFunctions.vb:346-364 | PAL2/PALFunctions/PALFunctions.vb:397-415 | PAL2/PALFunctions/PALFunctions.vb:493-511 | PAL2/PALFunctions/PALFunctions.vb:542-560 \u2014 all 6 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a2b7231ba6d60ce86d2bf053f1ebe28e474c63d75bea1d124aa80ffdc7dbd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): PAL2/PALFunctions/PALFunctions.vb:100-122 | PAL2/PALFunctions/PALFunctions.vb:300-322 | PAL2/PALFunctions/PALFunctions.vb:450-472 \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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f406917ca001a3adccc6f36d6dbd8d31ab100f65aa4c499e7f69f27438b6dad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201321 lines \u00D7 2): PAL2/PALWizard/frmPALEditor.vb:1192-1212 | PAL2/PALWizard/frmPALEditor.vb:1377-1385 \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":"PAL2/PALWizard/frmPALEditor.vb"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"674ed496114ee108e5d708b5749c4cadc0b1230809c95823cb774c9d2d687382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): PAL2/PALFunctions/PALFunctions.vb:43-57 | PAL2/PALFunctions/PALFunctions.vb:62-76 \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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a53cc6df5924989d4b33230af75142acd8502e8cbff0ab442be0a48c75553c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): PAL2/PALWizard/frmAddDataSourceCounter.vb:9-24 | PAL2/PALWizard/frmAddDataSourceGenerated.vb:13-28 \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":"PAL2/PALWizard/frmAddDataSourceCounter.vb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb90ffc210a3d252f8b0733cf8f222e43e57b94526e8c6e516427c7fb868603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): PAL2/PALWizard/frmPALEditor.vb:1410-1422 | PAL2/PALWizard/frmPALEditor.vb:1473-1485 \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":"PAL2/PALWizard/frmPALEditor.vb"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"246669120bdc55988f2b3e339d9ea4e6500f9c80c412daf8ee77c0a541d3ca88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): PAL2/PALWizard/frmPALExecutionWizard.vb:77-88 | PAL2/PALWizard/frmPALExecutionWizard.vb:116-127 \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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb56e395f5a59cae01213bc268afb09ce173831072b5d7405fc6f5d3d79f92a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): PAL2/PALWizard/frmPALExecutionWizard.vb:45-56 | PAL2/PALWizard/frmPALExecutionWizard.vb:77-88 | PAL2/PALWizard/frmPALExecutionWizard.vb:116-127 \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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce77701e588b60d870cc6d63bc87df0e45e7a931e36f4190e1982ad8e87daf60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): PAL2/PALWizard/frmAddDataSourceCounter.vb:9-18 | PAL2/PALWizard/frmAddDataSourceGenerated.vb:13-22 | PAL2/PALWizard/frmEditDataSourceCounter.vb:8-17 \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":"PAL2/PALWizard/frmAddDataSourceCounter.vb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d53fef9b2ba670e5b060320d02eff0cb44c4565c290807b694429fd3bffaf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): PAL2/PALWizard/frmAddCounters.vb:815-825 | PAL2/PALWizard/frmPALEditor.vb:992-1002 \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 \u0060PAL2/PALWizard/frmAddCounters.vb:815\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":"PAL2/PALWizard/frmAddCounters.vb"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad268a773e015a33d81a30da5c4f30da8bd0fc9dc5a27920ca66af28b8cf796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): PAL2/PALWizard/frmAddCounters.vb:831-841 | PAL2/PALWizard/frmPALEditor.vb:1008-1018 \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":"PAL2/PALWizard/frmAddCounters.vb"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"9692e736ed6de2aab822ea57df84b87903850742c8220371b380a9b2b4ca3358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): PAL2/PALWizard/frmAddCounters.vb:521-530 | PAL2/PALWizard/frmPALEditor.vb:942-951 \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 \u0060PAL2/PALWizard/frmAddCounters.vb:521\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":"PAL2/PALWizard/frmAddCounters.vb"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"674243b6bc40eaca3278c20b1bccad513aea5705ad53473dea504aab03d34797"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): PAL2/PALWizard/frmAddThreshold.vb:325-334 | PAL2/PALWizard/frmEditThresholds.vb:311-320 \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":"PAL2/PALWizard/frmAddThreshold.vb"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9d15578f9cf823ec2c79cb659ecd683df79e053aaa04ed708ea106bd604a20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): PAL2/PALWizard/frmPALEditor.vb:1251-1259 | PAL2/PALWizard/frmPALEditor.vb:1413-1421 | PAL2/PALWizard/frmPALEditor.vb:1476-1484 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060PAL2/PALWizard/frmPALEditor.vb:1260\u0060 calls \u0060AppendChild\u0060 and \u0060PAL2/PALWizard/frmPALEditor.vb:1422\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":"PAL2/PALWizard/frmPALEditor.vb"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08625362631ea0697a50aeef61c6391a9b2da93a6d7aab17995744bfad9087a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): PAL2/PALWizard/frmPALEditor.vb:895-901 | PAL2/PALWizard/frmPALEditor.vb:1233-1239 \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":"PAL2/PALWizard/frmPALEditor.vb"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"170947f2ab80b1f03f365b68682f9e79b56e3b1af6c0c99d8e355b87133da910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): PAL2/PALWizard/frmPALEditor.vb:1207-1212 | PAL2/PALWizard/frmPALEditor.vb:1337-1341 | PAL2/PALWizard/frmPALEditor.vb:1381-1385 \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. 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":"PAL2/PALWizard/frmPALEditor.vb"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a077e43c4e2a635484c834c43656b0ec02bd6774f35f55bdd953bf0ca9f77b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): PAL2/PALWizard/frmChart.vb:126-134 | PAL2/PALWizard/frmEditThresholds.vb:152-160 \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":"PAL2/PALWizard/frmChart.vb"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2694c46cfa1ddf76775c42d9c53e44d9393b66772717281802c719a575ec55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): PAL2/PALWizard/frmEditThresholdFileProperties.vb:73-77 | PAL2/PALWizard/frmPALExecutionWizard.vb:1190-1194 \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 \u0060PAL2/PALWizard/frmEditThresholdFileProperties.vb:73\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":"PAL2/PALWizard/frmEditThresholdFileProperties.vb"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc93c93ab27223dcb2aef324d1330ba1736fd985d794320ba671b8a44d0b3b7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: frmPALExecutionWizard (LCOM4 9): frmPALExecutionWizard\u0027s methods fall into 9 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 9 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":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"212380c2f4d458ee839364b92c2c3672287d2759b013ae91f266b2cdbca08bbe"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PALFunctions (LCOM4 7): PALFunctions\u0027s methods fall into 7 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 7 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":"PAL2/PALFunctions/PALFunctions.vb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"340eb327b4b098f7c2619491a03846f35a96934f10397d265ec5e9657ab2d9b3"}},{"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. Start with the code you change most often: add a suite in a framework a runner can collect (xUnit, NUnit or MSTest), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"311021ca2db291fbf2a37317d1e66fe1df50bf67c19f96796dd17f1f33612fd2"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/frmPALExecutionWizard.vb"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1996ed0c9a5fdd91c7c6f983023f31b38686dbebf74020847b629703d0a38a"}},{"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 \u0060PAL2/PALWizard/PALWizard.vbproj\u0060 makes this repository a deployable product (line 9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/PALWizard.vbproj"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b5518ad8e0528b29fb2a3ab90bfbff2a78b94c12d32fa8b76406218eb78041"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022General Information about an assembly is controlled through the following set of attributes. Change these attribute values to modify the information associated  \u2026\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALFunctions/My Project/AssemblyInfo.vb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed08d05d1fb4618b4ded6a7fbb97ce52f69230a76fbbc6e47d02981153ed3aeb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Review the values of the assembly attributes\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALFunctions/My Project/AssemblyInfo.vb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"42191807adc188b79a038c577e61abc07d2f8de71abb974ccc4d718dfd52d660"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The following GUID is for the ID of the typelib if this project is exposed to COM\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALFunctions/My Project/AssemblyInfo.vb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"badebfd22487270ce77704fd3171aec6d2eac031c6851185a8f9395a9f53aec7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Version information for an assembly consists of the following four values: Major Version Minor Version Build Number Revision You can specify all the values or y \u2026\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALFunctions/My Project/AssemblyInfo.vb"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ebacb45cc4418e0db1d4bd6c5f3db9a4945ce6daaabd691a90d0af5091f93d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022General Information about an assembly is controlled through the following set of attributes. Change these attribute values to modify the information associated  \u2026\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/My Project/AssemblyInfo.vb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"37df20d5cdbd6e1805a5bdf4b333f95d6f38b60c3d961ac596b4794027bfa736"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Review the values of the assembly attributes\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/My Project/AssemblyInfo.vb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ed20d391805c8122f34c5fd33e0198f8db5b357df1ceedd22ed08d113951a5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The following GUID is for the ID of the typelib if this project is exposed to COM\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/My Project/AssemblyInfo.vb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f77b7ae67cf3ec7f2e3d10218653c71b999d7edcf244ecedaea9a628a724d7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Version information for an assembly consists of the following four values: Major Version Minor Version Build Number Revision You can specify all the values or y \u2026\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/My Project/AssemblyInfo.vb"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0e826de48e59fa78126c29865b161ff2121c177e50f3b707a2e340c2ddecca"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022This call is required by the Windows Form Designer.\u0022 is Visual Studio form constructor template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/frmAddCounters.vb"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdd6ada8bc68280a63d65538524a4aed5a16da645e9c7acf2e9cd34f5f6e1b4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add any initialization after the InitializeComponent() call\u0022 is Visual Studio form constructor template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/frmAddCounters.vb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d048c9951ae2dbb6065f69169fa8c9f7cfecfb3a3e7bf67cdbd65dc31f1964"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Required by the Windows Form Designer\u0022 is Visual Studio form constructor template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/frmAddCounters.vb"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"178bfc5c8c83f11d415a323af73f8c6940db21e897c4bc29443c7ffecc7db169"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Required by the Windows Form Designer\u0022 is Visual Studio form constructor template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/frmPALEditor.vb"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"52be5e1c25b414508cf3ba850afa06760998df764271fd893661db6b7d9edf08"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022// Remove all SERIES nodes. oXMLChart.RemoveAll()\u0022 repeats the code it sits on: 4 of its 5 words (series, nodes, xml, chart) are already in \u0060For Each oXmlSeriesNode In oXMLChart.SelectNodes(\u0022./SERIES\u0022)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PAL2/PALWizard/frmPALEditor.vb"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be6ebe4dca45d8b86627aa94f327f2256a86b8cad85fdf97e9ce01d2f980ba8"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add a Roslyn security analyzer package referenced from the project (the analyzer packages do analyse VB.NET), plus gitleaks for committed secrets \u2014 CodeQL has no VB.NET extractor, so its csharp pack would extract nothing from this tree and then report it clean \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}}],"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":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":0,"secretScannerRunsExcluded":0}}}]}