{"$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":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Module_Brushes.str_to_color (cyclomatic 113): Module_Brushes.str_to_color has cyclomatic complexity 113 (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":"CODE/Module_Brushes.vb"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadcef5eaef6a802c6c85c4ea33fa79419594e71240ef4dbf332d2ef7af92a9c"}},{"ruleId":"D1","level":"warning","message":{"text":"Config_Dated.load_trees (cyclomatic 89): Config_Dated.load_trees has cyclomatic complexity 89 (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":"CODE/Config_Dated.vb"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff5076c2d908aedf14eb994cd71bda5c7ee3f229813a60afcc7096042f4b490"}},{"ruleId":"D1","level":"warning","message":{"text":"Config_Dated.load_final_trees (cyclomatic 44): Config_Dated.load_final_trees has cyclomatic complexity 44 (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":"CODE/Config_Dated.vb"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bda112ce0c45352845a70b177cd748f8a91593f919ad49c62307036736952c"}},{"ruleId":"D1","level":"warning","message":{"text":"Config_Dated.Read_Poly_Tree (cyclomatic 41): Config_Dated.Read_Poly_Tree has cyclomatic complexity 41 (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":"CODE/Config_Dated.vb"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"213b10f22999b395d3d68d9c1314c1888e8980b6b6412241febc11e8e448144c"}},{"ruleId":"D1","level":"warning","message":{"text":"Config_Dated.make_final_trees (cyclomatic 38): Config_Dated.make_final_trees has cyclomatic complexity 38 (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":"CODE/Config_Dated.vb"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf9c11c5cce6a08c83b5fd7f2b129e13cf385e7c9b018321f9c6bbe489015e9"}},{"ruleId":"D1","level":"warning","message":{"text":"Config_Calculate.Button_Calculate_Click (cyclomatic 32): Config_Calculate.Button_Calculate_Click has cyclomatic complexity 32 (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":"CODE/Config_Calculate.vb"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"332ab8599eff782a99986afbd77342f76a2c98b3c78e51701edfcfe6a747b29f"}},{"ruleId":"D1","level":"warning","message":{"text":"Main_Form.do_combine (cyclomatic 28): Main_Form.do_combine has cyclomatic complexity 28 (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":"CODE/Main_Form.vb"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe118c0fc12ae306a32b08a3219ee30b8fef8c4e92aa891f15e06967cc0e945"}},{"ruleId":"D1","level":"warning","message":{"text":"Config_Dated.Swap_tree (cyclomatic 27): Config_Dated.Swap_tree 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Config_Dated.vb"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46d287d719be94158b4c147da1482e4f60248d3c8afa8bb0ffbc03b4c5f32c4"}},{"ruleId":"D1","level":"warning","message":{"text":"Config_CP.assemble_genome (cyclomatic 26): Config_CP.assemble_genome 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":"CODE/Config_CP.vb"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54a4dcb3695becd1c7f1e5f6806957e739d372b128b09a3d863201e6e45bb2d"}},{"ruleId":"D1","level":"warning","message":{"text":"Main_Form.Timer1_Tick (cyclomatic 24): Main_Form.Timer1_Tick has cyclomatic complexity 24 (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":"CODE/Main_Form.vb"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"9719c23f4ce776171404ef41d36f96c8fedf1fd65e8ed1188924fafb1c051b93"}},{"ruleId":"D1","level":"warning","message":{"text":"Main_Form.batch_consensus (cyclomatic 24): Main_Form.batch_consensus has cyclomatic complexity 24 (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":"CODE/Main_Form.vb"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a654981b7ed89f3c9a057e64ce3ee80d82cbef3ecfca077ccaa9ad68afdbb315"}},{"ruleId":"D1","level":"warning","message":{"text":"Config_Plasty.But4 (cyclomatic 22): Config_Plasty.But4 has cyclomatic complexity 22 (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":"CODE/Config_Plasty.vb"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2705499c23eaa5f4e362a991e98a5d7bcc86d08c140a98c0698672befdb0af6b"}},{"ruleId":"D1","level":"warning","message":{"text":"Config_CP.make_genus_dict (cyclomatic 19): Config_CP.make_genus_dict has cyclomatic complexity 19 (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":"CODE/Config_CP.vb"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0faa14f1a327f103078d969a5148ac50715325e6405d894e4e734f95e50b9d"}},{"ruleId":"D1","level":"warning","message":{"text":"Config_Dated.draw_tree (cyclomatic 19): Config_Dated.draw_tree has cyclomatic complexity 19 (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":"CODE/Config_Dated.vb"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"2084f886417499763e861ad7a0569095bda0c84fed18e28b49778d9fa53c137c"}},{"ruleId":"D1","level":"warning","message":{"text":"Main_Form.do_filter (cyclomatic 16): Main_Form.do_filter has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file\u0027s highest cyclomatic complexity: Main_Form.Basic_ConfirmClickedHandler (cyclomatic 20) 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfddcd88d5f7f959fbfe8027005817075f8d7f339d57e0247ef5d28157a6034"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Dated.load_trees (cognitive 372): Config_Dated.load_trees has cognitive complexity 372 (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: CODE/Config_Dated.vb holds 11 of the 43 methods over the threshold \u2014 including the worst \u2014 and 801 of the 1344 points over it (60%), 2.5\u00D7 the next-largest file (CODE/Main_Form.vb at 323). 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":"CODE/Config_Dated.vb"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be1e5b7db119529e3cc107f24fc68c3900d35e65294c9d0c010a7e447307f61"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Dated.make_final_trees (cognitive 141): Config_Dated.make_final_trees has cognitive complexity 141 (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: CODE/Config_Dated.vb holds 11 of the 43 methods over the threshold \u2014 including the worst \u2014 and 801 of the 1344 points over it (60%), 2.5\u00D7 the next-largest file (CODE/Main_Form.vb at 323). 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":"CODE/Config_Dated.vb"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"b837119af6b7ebc752907db2229c33b811f9472f85304b7563874ecc2ac2e5f3"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Dated.load_final_trees (cognitive 136): Config_Dated.load_final_trees has cognitive complexity 136 (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: CODE/Config_Dated.vb holds 11 of the 43 methods over the threshold \u2014 including the worst \u2014 and 801 of the 1344 points over it (60%), 2.5\u00D7 the next-largest file (CODE/Main_Form.vb at 323). 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":"CODE/Config_Dated.vb"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aeb238e4e118c4be8e479c93b45db51f23d6afcd928b7d9ec6080bbe5911829"}},{"ruleId":"D2","level":"warning","message":{"text":"Module_Brushes.str_to_color (cognitive 112): Module_Brushes.str_to_color has cognitive complexity 112 (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":"CODE/Module_Brushes.vb"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd3f58eb553f663e28022e84baca3dfe6d871a9809e885752f4bb30760a5467"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Dated.Read_Poly_Tree (cognitive 105): Config_Dated.Read_Poly_Tree has cognitive complexity 105 (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: CODE/Config_Dated.vb holds 11 of the 43 methods over the threshold \u2014 including the worst \u2014 and 801 of the 1344 points over it (60%), 2.5\u00D7 the next-largest file (CODE/Main_Form.vb at 323). 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":"CODE/Config_Dated.vb"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e0268ac262ec8538cefd39adeefaced2787d35101e0853008d82337b9bc5f4"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.batch_consensus (cognitive 92): Main_Form.batch_consensus has cognitive complexity 92 (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":"CODE/Main_Form.vb"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ca77846d83b38758a990d0f38b4224443e30e8741ef519bd1bfd3869e209b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.do_combine (cognitive 67): Main_Form.do_combine has cognitive complexity 67 (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":"CODE/Main_Form.vb"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"907e400203595f1d877d6a1c60a01d7dbfaf92949b81c1034c5be96fa4ae5edb"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.build_summary (cognitive 55): Main_Form.build_summary has cognitive complexity 55 (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":"CODE/Main_Form.vb"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"513609e4afa10c393115f44b2496cc2110dc751ad7c3471cdca76fff9bfc9321"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Plasty.But4 (cognitive 50): Config_Plasty.But4 has cognitive complexity 50 (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":"CODE/Config_Plasty.vb"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece7487ae6e46f709ba23f7cf4e88c9accbf99187e5f9675371dca9d00721f17"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Calculate.Button_Calculate_Click (cognitive 45): Config_Calculate.Button_Calculate_Click has cognitive complexity 45 (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":"CODE/Config_Calculate.vb"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9919fa450cb0f7bf779c5a14cc601f60370024b6b499b3fe90dc427281741052"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_CP.assemble_genome (cognitive 44): Config_CP.assemble_genome has cognitive complexity 44 (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":"CODE/Config_CP.vb"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"285e9307c324088ca24746a4d19fa514ea38350f914aef97f27dca04a6841073"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Dated.make_tree_xy (cognitive 43): Config_Dated.make_tree_xy has cognitive complexity 43 (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: CODE/Config_Dated.vb holds 11 of the 43 methods over the threshold \u2014 including the worst \u2014 and 801 of the 1344 points over it (60%), 2.5\u00D7 the next-largest file (CODE/Main_Form.vb at 323). 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":"CODE/Config_Dated.vb"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6d49ea2dbd56fc42f363d3f0ba12b327561795d41827306c17b12d1d7eaa1e"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Dated.Swap_tree (cognitive 39): Config_Dated.Swap_tree 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: CODE/Config_Dated.vb holds 11 of the 43 methods over the threshold \u2014 including the worst \u2014 and 801 of the 1344 points over it (60%), 2.5\u00D7 the next-largest file (CODE/Main_Form.vb at 323). 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":"CODE/Config_Dated.vb"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"50880ac8ddd7056df1d02499a8e5de5a96dcd25e2bc47bc4961940461b9b9215"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Dated.draw_tree (cognitive 33): Config_Dated.draw_tree has cognitive complexity 33 (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: CODE/Config_Dated.vb holds 11 of the 43 methods over the threshold \u2014 including the worst \u2014 and 801 of the 1344 points over it (60%), 2.5\u00D7 the next-largest file (CODE/Main_Form.vb at 323). 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":"CODE/Config_Dated.vb"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b72cc1c8c963316268610d44d8cab740d1db6480413cdd590303f750d74d45e"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.ref_assemble_result (cognitive 33): Main_Form.ref_assemble_result has cognitive complexity 33 (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":"CODE/Main_Form.vb"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71208a48b18f27f1853ef21bc94cf2c4ad51a669ea20652d2ace763576b93a5"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.Timer1_Tick (cognitive 28): Main_Form.Timer1_Tick 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"321632286eaadd171c8dc48d112a8a122b4b5b74b34b19bc85d8dc6eb0c44f4e"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.do_iteration (cognitive 28): Main_Form.do_iteration 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26f6d18eb37d688feeb60e87d743d42aed8d28fe7c79248a3ae3f079926cc33"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.\u6BD4\u5BF9ToolStripMenuItem_Click (cognitive 28): Main_Form.\u6BD4\u5BF9ToolStripMenuItem_Click 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":3238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62159901aae8b70716f674b08d82cfa87e14ad9da1a7ed8b5fe771b2eecea6a"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Dated.Load_result (cognitive 27): Config_Dated.Load_result has cognitive complexity 27 (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: CODE/Config_Dated.vb holds 11 of the 43 methods over the threshold \u2014 including the worst \u2014 and 801 of the 1344 points over it (60%), 2.5\u00D7 the next-largest file (CODE/Main_Form.vb at 323). 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":"CODE/Config_Dated.vb"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b931b1be460c4d53486d9b4fe8ef70933bee620dd905594a093db54f5efa79c"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.do_SplitFastqFile (cognitive 27): Main_Form.do_SplitFastqFile has cognitive complexity 27 (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":"CODE/Main_Form.vb"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0e743a0172c514b5b380f0fc703bf2ae6061bef079865c60d6122ed1967de8"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.do_filter (cognitive 26): Main_Form.do_filter has cognitive complexity 26 (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":"CODE/Main_Form.vb"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5559cce98d31c4b4d6034ba02408b2d38f729fc51f9123e5f11486db554fc099"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_CP.make_genus_dict (cognitive 25): Config_CP.make_genus_dict has cognitive complexity 25 (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":"CODE/Config_CP.vb"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6f8c115484162dad57f85a77825dda436722f0d03a12acb3749047cde6d551"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.menu_assemble (cognitive 25): Main_Form.menu_assemble has cognitive complexity 25 (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":"CODE/Main_Form.vb"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"426e66e471edb58ea695fc6d894f0e789fd03e8d017b693f407c82a6be31f762"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.Make_Coalescent_Tree (cognitive 25): Main_Form.Make_Coalescent_Tree has cognitive complexity 25 (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":"CODE/Main_Form.vb"},"region":{"startLine":3548}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab85bd6009a1b053f9b96398af9ddbf4db7a3eb44c25abd180f70ca18a3ed18"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Dated.SortNum (cognitive 24): Config_Dated.SortNum has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: CODE/Config_Dated.vb holds 11 of the 43 methods over the threshold \u2014 including the worst \u2014 and 801 of the 1344 points over it (60%), 2.5\u00D7 the next-largest file (CODE/Main_Form.vb at 323). 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":"CODE/Config_Dated.vb"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41853b5332f4ac61ea32de47a90e03e496583bf8512bda87a7d476261e46d6a"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Dated.McmctreeToolStripMenuItem_Click (cognitive 24): Config_Dated.McmctreeToolStripMenuItem_Click has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: CODE/Config_Dated.vb holds 11 of the 43 methods over the threshold \u2014 including the worst \u2014 and 801 of the 1344 points over it (60%), 2.5\u00D7 the next-largest file (CODE/Main_Form.vb at 323). 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":"CODE/Config_Dated.vb"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc4bd05199ea89bb88ca0382dc72d5acf397677498e0931ed04295a76f7b935"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Tree.Button1_Click (cognitive 24): Config_Tree.Button1_Click has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Config_Tree.vb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5326c25f3501015b9a6df66639937088618d006c0dc5aae95312551fcb4cbd87"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.\u91CD\u65B0\u62FC\u63A5ToolStripMenuItem_Click (cognitive 24): Main_Form.\u91CD\u65B0\u62FC\u63A5ToolStripMenuItem_Click has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"04df772c32b8d6f4d3aedd0cc466de6a804794f53a0d06c128a05472b219b9e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_CP.TextBox1_TextChanged (cognitive 22): Config_CP.TextBox1_TextChanged has cognitive complexity 22 (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":"CODE/Config_CP.vb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"505e0d83a7bf6382cc4c250420105d20683bb9c349e218bf147ac1775581e848"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_Dated.cale_relation (cognitive 22): Config_Dated.cale_relation has cognitive complexity 22 (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: CODE/Config_Dated.vb holds 11 of the 43 methods over the threshold \u2014 including the worst \u2014 and 801 of the 1344 points over it (60%), 2.5\u00D7 the next-largest file (CODE/Main_Form.vb at 323). 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":"CODE/Config_Dated.vb"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72eee5667ea19c5d768d1f582053c2218a8dae5b425d6f459044f3114a8d9e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.\u6D4B\u5E8F\u6587\u4EF6ToolStripMenuItem_Click (cognitive 22): Main_Form.\u6D4B\u5E8F\u6587\u4EF6ToolStripMenuItem_Click has cognitive complexity 22 (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":"CODE/Main_Form.vb"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"804084d1d325f90dc3cc8392a22f4312f6c829a2bbe49cf9f537f3468b9857e7"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.menu_auto_assemble (cognitive 22): Main_Form.menu_auto_assemble has cognitive complexity 22 (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":"CODE/Main_Form.vb"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"278f1f48bf6376c86c231f43f1ac38ae5c2c6aa388e885032cd43db9aca1e017"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.CalculateMaxDifference (cognitive 22): Main_Form.CalculateMaxDifference has cognitive complexity 22 (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":"CODE/Main_Form.vb"},"region":{"startLine":3792}}}],"partialFingerprints":{"codehealthFindingId/v1":"4995751459e12b866a8d5f5a5fd36e42551593807f7f7bdec7094c307426a3f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.\u624B\u52A8\u63D0\u53D6ToolStripMenuItem_Click (cognitive 20): Main_Form.\u624B\u52A8\u63D0\u53D6ToolStripMenuItem_Click has cognitive complexity 20 (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":"CODE/Main_Form.vb"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68092ff7328347217c8c7e5f7be0a7cd4db7d39b948249bddc77e2a0608a96b"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.Tree_ConfirmClickedHandler (cognitive 20): Main_Form.Tree_ConfirmClickedHandler has cognitive complexity 20 (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":"CODE/Main_Form.vb"},"region":{"startLine":3456}}}],"partialFingerprints":{"codehealthFindingId/v1":"976506756dcc90c0d53577db656d7c80b58711ab6ef26dacbe2043864dc6d120"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.ref_filter_result (cognitive 19): Main_Form.ref_filter_result 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":"CODE/Main_Form.vb"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbc0d30dcbfe0909fb8c511dd912056903138e6fcb72c2e8eb91b9449a16588"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.\u8F7D\u5165\u53C2\u8003\u5E8F\u5217ToolStripMenuItem_Click (cognitive 18): Main_Form.\u8F7D\u5165\u53C2\u8003\u5E8F\u5217ToolStripMenuItem_Click 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":"CODE/Main_Form.vb"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e06195f522b3502b889c3bc2a2bd1d83a5bd432f60d015874184bab9957c8f2"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.\u8F7D\u5165\u9879\u76EE\u6587\u4EF6ToolStripMenuItem_Click (cognitive 18): Main_Form.\u8F7D\u5165\u9879\u76EE\u6587\u4EF6ToolStripMenuItem_Click 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":"CODE/Main_Form.vb"},"region":{"startLine":4056}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77a48ee979990b56506379afe6a89286d628e59c4ccf6c9b7caae71fc47ee29"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.PPDToolStripMenuItem_Click (cognitive 17): Main_Form.PPDToolStripMenuItem_Click 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"409f22a5e9ca0e548c236c72c82d4cbf3bba65129fac0d34c650288bb4823ff0"}},{"ruleId":"D2","level":"warning","message":{"text":"Module_Function.refresh_file (cognitive 17): Module_Function.refresh_file 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Module_Function.vb"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c7d8b54be10b553bc4b286e6ca55bedf12a1c8bfb461b4c1b5c6f4341fde50"}},{"ruleId":"D2","level":"warning","message":{"text":"Config_CP.Button1_Click (cognitive 16): Config_CP.Button1_Click has cognitive complexity 16 (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":"CODE/Config_CP.vb"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8edd8342c21af0e48a8f440fb5263170d69fb67976d18a97762c6dc243dd9f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.menu_filter (cognitive 16): Main_Form.menu_filter has cognitive complexity 16 (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":"CODE/Main_Form.vb"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9058cefa3a825ef9f115bf6123afc592863197befda6bdaf3f86cd43cadd69"}},{"ruleId":"D2","level":"warning","message":{"text":"Main_Form.\u5BFC\u51FA\u6D4B\u5E8F\u6587\u4EF6ToolStripMenuItem_Click (cognitive 16): Main_Form.\u5BFC\u51FA\u6D4B\u5E8F\u6587\u4EF6ToolStripMenuItem_Click has cognitive complexity 16 (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":"CODE/Main_Form.vb"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9ec8638bdb4569e8e4adc87b2f9de8c59200dc5d1e51f71b1a695160250e87"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config_Dated.load_trees: MethodTooLong \u2014 load_trees runs 372 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 272 over it, 3.72\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":"CODE/Config_Dated.vb"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d091f1975d9f39c1deb058bf3e313922e8782e3896693c4a26373a7f99ae5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CODE/Config_Dated.vb: FileTooLong \u2014 1746 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1246 over it, 3.49\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":"CODE/Config_Dated.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ffb24ff1124b10f9339e886f0f7176f6e059f2a5b87436db38498f5a32a4a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Module_Brushes.str_to_color: MethodTooLong \u2014 str_to_color runs 339 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 239 over it, 3.39\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":"CODE/Module_Brushes.vb"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b08cd916a6a9c4cf092379770dd73f9114d6c295078ea897af92917d8cd46bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Module_Language.to_en: MethodTooLong \u2014 to_en runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.14\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":"CODE/Module_language.vb"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f315cf8b17f3b919ae41b21ac825471cfd245552de959e24efe56128ff7ee446"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Module_Language.to_ch: MethodTooLong \u2014 to_ch runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\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":"CODE/Module_language.vb"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ff4386c7eef3cf405becbacdb2404a48b04663a8d078c2c961173eb609938b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config_Dated.Read_Poly_Tree: MethodTooLong \u2014 Read_Poly_Tree runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\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":"CODE/Config_Dated.vb"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"732a4e0e0a45446d1cc25e60e8db17ab3c38067d3100aa2281bf01324a93e6ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config_Dated.load_final_trees: MethodTooLong \u2014 load_final_trees runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Config_Dated.vb"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecc58e2f76ec7ae9b5a4bc7442e66230af1bdac324c719dba1f5e39360f1de9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config_Dated.make_final_trees: MethodTooLong \u2014 make_final_trees runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"CODE/Config_Dated.vb"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea4a2b0dd2298a10f35eda6f1ee7fd255f24c306fe52c8ddc42b77efa37c2a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config_CP.assemble_genome: MethodTooLong \u2014 assemble_genome runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\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":"CODE/Config_CP.vb"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a07abb9ce3f7b7dbc76c6c6c30a678b9a34bf8a13741771df69480c48ac4af0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config_Dated.Swap_tree: MethodTooLong \u2014 Swap_tree runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"CODE/Config_Dated.vb"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece6d5c4e7eaf968c634bdeb22f6f0f55ef14ce8615550ad689cd114c1078684"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config_Calculate.Button_Calculate_Click: MethodTooLong \u2014 Button_Calculate_Click runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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":"CODE/Config_Calculate.vb"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7805e9ed996024a0fa13d1029f79d0acebc9471a62893ba00d7bac1f1c4988c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Config_CP: ClassTooLong \u2014 446 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 46 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Config_CP.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f078d55ad6fd82932d53bd5e4fd0c9931312ab689c93f0eba99a03537cd9ab48"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Module_Function: ClassTooLong \u2014 427 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 27 over it, 1.07\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":"CODE/Module_Function.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f4340c85cc3a935cab947bdeaee0f3196aa8e5925ea32f826b838e493221b9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Config_Dated: TooManyMethods \u2014 1742 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"CODE/Config_Dated.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d878cea95b54d2eda36eb93acc4deec845002b9140c9e793df44d65e92c2cd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Module_Language: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 25 over it, 1.06\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":"CODE/Module_language.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"791a42996c505c30ac2226a2d5d80d57944aaf5387200766b22109ddbd915fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): CODE/Config_Dated.vb:1006-1426 | CODE/Config_Dated.vb:1463-1639 \u2014 These two members are variants of one another: 45 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Config_Dated.vb"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb138d5aead89fc837eeb3e142e0efca323a8f48a0ad34f10c2eba498892430"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): CODE/Config_Combine.vb:11-26 | CODE/Config_Trim.vb:7-22 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Config_Combine.vb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a08d9058bdc4b36925f382239e97e380ff4d97e7faacd21fb7bb10db6982c5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): CODE/Main_Form.vb:678-730 | CODE/Main_Form.vb:738-783 | CODE/Main_Form.vb:805-840 | CODE/Main_Form.vb:863-908 | CODE/Main_Form.vb:1075-1127 | CODE/Main_Form.vb:1276-1313 | CODE/Main_Form.vb:1316-1357 | CODE/Main_Form.vb:1516-1534 | CODE/Main_Form.vb:2937-2955 | CODE/Main_Form.vb:3239-3271 | CODE/Main_Form.vb:3275-3304 | CODE/Main_Form.vb:3317-3362 | CODE/Main_Form.vb:3913-3931 \u2014 These 13 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 13 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 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4c346f99bc7470f3fe92518972f12cd35f224c377f6c60c9abefc93a4ac481"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): CODE/Main_Form.vb:515-525 | CODE/Main_Form.vb:1178-1199 | CODE/Main_Form.vb:1615-1800 | CODE/Main_Form.vb:2177-2331 | CODE/Main_Form.vb:2335-2378 | CODE/Main_Form.vb:2643-2696 | CODE/Main_Form.vb:2969-3021 | CODE/Main_Form.vb:3370-3424 | CODE/Main_Form.vb:4148-4182 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"664d343d33fcd75e649128d9a19fc7d65fbeccca2b454eb99d61a2106dbcf2e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): CODE/Main_Form.vb:1215-1247 | CODE/Main_Form.vb:1428-1474 | CODE/Main_Form.vb:2034-2075 | CODE/Main_Form.vb:2092-2157 | CODE/Main_Form.vb:2177-2331 | CODE/Main_Form.vb:2582-2627 | CODE/Main_Form.vb:2643-2696 | CODE/Main_Form.vb:3549-3623 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0756d8c09170984931239d241ea1498e056db63271e1fc381f8e2acb946159d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): CODE/Main_Form.vb:1406-1423 | CODE/Main_Form.vb:1566-1605 | CODE/Main_Form.vb:3114-3137 | CODE/Main_Form.vb:3186-3211 | CODE/Main_Form.vb:3215-3235 | CODE/Main_Form.vb:3370-3424 | CODE/Main_Form.vb:3457-3496 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b72dff7974b42680c8dee371bc466ddd3925d810c16f6e58fa1e273a786fa28"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): CODE/Config_CP.vb:122-151 | CODE/Config_CP.vb:154-181 | CODE/Config_CP.vb:184-229 | CODE/Config_CP.vb:232-388 \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":"CODE/Config_CP.vb"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0461732b4e8992231cab446338a7102a54d1b56b10a310cee0deb884dfda81b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): CODE/Config_Dated.vb:587-594 | CODE/Config_Dated.vb:598-605 | CODE/Config_Dated.vb:895-921 | CODE/Config_Dated.vb:1870-1886 \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":"CODE/Config_Dated.vb"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21663fcb8426bdc27890c5e619e23f1f850e6416a49269ea36655416e8a1ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): CODE/Main_Form.vb:1490-1513 | CODE/Main_Form.vb:3887-3910 \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":"CODE/Main_Form.vb"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"5881e2d2c1d8b835ed68c63fd0241d70e0fd463c503226380633a5e9acac728c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): CODE/Main_Form.vb:1038-1052 | CODE/Main_Form.vb:3939-3953 \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":"CODE/Main_Form.vb"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"92129eb873c7647394a8940014179bef630de4bc97840b8c24061d33a0a39746"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): CODE/Main_Form.vb:1966-1982 | CODE/Main_Form.vb:2527-2543 \u2014 These two members are one piece of code written twice and then edited apart: 17 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":"CODE/Main_Form.vb"},"region":{"startLine":1966}}}],"partialFingerprints":{"codehealthFindingId/v1":"b826d862c0aa02a428dd50afbe9e7c82d77994b0169c430360142bee620cc84c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): CODE/Main_Form.vb:1941-1955 | CODE/Main_Form.vb:2434-2448 | CODE/Main_Form.vb:2504-2518 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04a853928284a9698564d1f0a5192a9b688188c5a61d9f8ccb112bbec17034b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 15\u002B corresponding lines): CODE/Main_Form.vb:659-674 | CODE/Main_Form.vb:843-859 | CODE/Main_Form.vb:1055-1071 | CODE/Main_Form.vb:1259-1273 | CODE/Main_Form.vb:2918-2934 | CODE/Main_Form.vb:3097-3111 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d13138084cce161aa8f732316570e6ad0f4a12d211d8ec721cae1699fa1567c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): CODE/Main_Form.vb:2006-2015 | CODE/Main_Form.vb:2707-2716 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"855323923a9e8f409574fb352675312b27bac0e913d62fd2198737d77d7fe513"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): CODE/Main_Form.vb:4002-4030 | CODE/Main_Form.vb:4036-4053 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":4002}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b643cec5b3e03f6c08e8dbcd79a181339e56686d6a2beed5feb3aeb23219dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): CODE/Main_Form.vb:864-886 | CODE/Main_Form.vb:1077-1097 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:864\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":"CODE/Main_Form.vb"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fe1e5bfbe4d0f8d9aa538a331708b82de6258ef621081f9d1db19b32ae0beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): CODE/Main_Form.vb:2110-2131 | CODE/Main_Form.vb:2196-2218 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060CODE/Main_Form.vb:2219\u0060 calls \u0060Sleep\u0060 and \u0060CODE/Main_Form.vb:2131\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c2f33efe616e3f6134b7ba621dc248f2efb6a2e7bc81cbfd22ac20ae90ba32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): CODE/Config_CP.vb:423-442 | CODE/Config_CP.vb:445-464 \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":"CODE/Config_CP.vb"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f06e2c94e4b3816268fdb2c9b68092886ac1cb7c6261b7de5216813cc0229e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): CODE/Main_Form.vb:1282-1299 | CODE/Main_Form.vb:1323-1340 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:1282\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":"CODE/Main_Form.vb"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"995446bf5e87b7e6e31d153f1752074882644da0101c1c03cf039518cd852a5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): CODE/Main_Form.vb:3186-3200 | CODE/Main_Form.vb:3215-3230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:3186\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":"CODE/Main_Form.vb"},"region":{"startLine":3186}}}],"partialFingerprints":{"codehealthFindingId/v1":"391c8e1ebe7bbe34980cf3d15f6fad6c463735d7a351db9f4149acd3a36f8a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): CODE/Main_Form.vb:1516-1529 | CODE/Main_Form.vb:2937-2950 | CODE/Main_Form.vb:3913-3926 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:1516\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":"CODE/Main_Form.vb"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"94eb451c3afd538473c7a4791073b0f49888a9981ddb838cb7d0573e3a3304f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): CODE/Main_Form.vb:1113-1127 | CODE/Main_Form.vb:1301-1313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:1113\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":"CODE/Main_Form.vb"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7595121b1de88d90eb79f9003af10d0e5bafbc17414178986db689ade90ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): CODE/Main_Form.vb:2097-2108 | CODE/Main_Form.vb:2586-2597 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:2097\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":"CODE/Main_Form.vb"},"region":{"startLine":2097}}}],"partialFingerprints":{"codehealthFindingId/v1":"8caa6d89aa699eed182cf2da7a86cde3f1a200aa4126f60f4be758154f64edb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): CODE/Main_Form.vb:3430-3444 | CODE/Main_Form.vb:3855-3867 \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":"CODE/Main_Form.vb"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"4114993ab4b2dd1d0abd2398fc086bb131bdefc561e67891d971ba80cf9803bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 7): CODE/Main_Form.vb:712-725 | CODE/Main_Form.vb:766-779 | CODE/Main_Form.vb:822-835 | CODE/Main_Form.vb:890-903 | CODE/Main_Form.vb:1108-1121 | CODE/Main_Form.vb:1296-1308 | CODE/Main_Form.vb:1337-1349 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:712\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060CODE/Main_Form.vb:765\u0060 calls \u0060DeleteDir\u0060 and \u0060CODE/Main_Form.vb:710\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":"CODE/Main_Form.vb"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"1130592b0653349bfd87947123a2397d00fd949eb0f4a449b0c7c0b40a95d4de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): CODE/Config_Dated.vb:1564-1575 | CODE/Config_Dated.vb:1797-1808 \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":"CODE/Config_Dated.vb"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"08de19054a5e1a83a5c350abe4bb4adb9be94783d9246e1f93be7af677e8a376"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): CODE/Main_Form.vb:1490-1501 | CODE/Main_Form.vb:3887-3898 \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":"CODE/Main_Form.vb"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dd61f1d14022a53e4c08bcd838e6989835a92e6e04616d4a245a611c629448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): CODE/Main_Form.vb:2184-2195 | CODE/Main_Form.vb:2650-2662 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:2184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060CODE/Main_Form.vb:2650\u0060 calls \u0060safe_delete\u0060 and \u0060CODE/Main_Form.vb:2184\u0060 does not \u2014 after which the two agree again for 5 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":"CODE/Main_Form.vb"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5281da929d8120e669edb43914e14308f5cbc39064556bab0906a5f4f04b7d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): CODE/Main_Form.vb:1216-1227 | CODE/Main_Form.vb:1430-1441 | CODE/Main_Form.vb:2034-2045 | CODE/Main_Form.vb:2096-2108 | CODE/Main_Form.vb:2585-2597 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:1216\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":"CODE/Main_Form.vb"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86511ef674c5796f648a00db2480ff6943edadf355e762c744fafcdc9e3ece1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): CODE/Config_CP.vb:156-165 | CODE/Config_CP.vb:188-197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Config_CP.vb:156\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":"CODE/Config_CP.vb"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e90fffb8aee4e0e35b0285d61902ca83ee9cdfbb1e38d8d84ec7585c876a494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): CODE/Config_Dated.vb:1285-1295 | CODE/Config_Dated.vb:1310-1320 \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":"CODE/Config_Dated.vb"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"95183f3b891fec6cef02c2bff9eff3de75d0c607d43e9bc35ae61d9f3cac911e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): CODE/Config_Dated.vb:1673-1683 | CODE/Config_Dated.vb:1688-1698 \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":"CODE/Config_Dated.vb"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"785a5b444483d5359be6d465a52dbdce3cd4fe134367e3bb79eaab0de588b034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): CODE/Main_Form.vb:681-692 | CODE/Main_Form.vb:808-818 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:681\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060CODE/Main_Form.vb:693\u0060 calls \u0060Exists\u0060 and \u0060CODE/Main_Form.vb:819\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":"CODE/Main_Form.vb"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce0956e125d2510ac88f9a229a18e483b558029f114958a83c6361cb162adb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): CODE/Main_Form.vb:2063-2074 | CODE/Main_Form.vb:2143-2155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:2063\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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":"CODE/Main_Form.vb"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6810207384c25660a98bb9d3d3c484b7d74bdfea4d1f2fd717f7a42e966b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201312 lines \u00D7 6): CODE/Main_Form.vb:1655-1657 | CODE/Main_Form.vb:1729-1731 | CODE/Main_Form.vb:2340-2351 | CODE/Main_Form.vb:2353-2363 | CODE/Main_Form.vb:3408-3410 | CODE/Main_Form.vb:4158-4160 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:1655\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"604e9810d06fd367cdbab38e591c90be3b325bf8cee09088e791c2e6ef2f0eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CODE/Config_Dated.vb:204-212 | CODE/Config_Dated.vb:217-225 \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":"CODE/Config_Dated.vb"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec4e46ca4f10c80fa5318d1bb2bf9115dd2c4d153396a84cd1e39f8b0edb93b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): CODE/Config_Dated.vb:630-640 | CODE/Config_Dated.vb:781-791 \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":"CODE/Config_Dated.vb"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3e062e3a7e4b9bd45c2baa92d0a37b79a99146b1c9e9131fbd74795e867800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201311 lines \u00D7 4): CODE/Config_Dated.vb:1130-1140 | CODE/Config_Dated.vb:1339-1349 | CODE/Config_Dated.vb:1589-1592 | CODE/Config_Dated.vb:1754-1757 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Config_Dated.vb"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cfff965467a3eefa817b1be2d69b2e77a150d2a789592e2a23c196a639805c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): CODE/Main_Form.vb:1966-1975 | CODE/Main_Form.vb:2527-2536 \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":"CODE/Main_Form.vb"},"region":{"startLine":1966}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd9150c71e6ad13173a15a0aaa45476d371e70fce6aee74938458bec540febc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): CODE/Config_Dated.vb:1119-1127 | CODE/Config_Dated.vb:1327-1336 \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":"CODE/Config_Dated.vb"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa55afff323e45a1f6aa99824f372e913292e3fb63e6781b784a5b5a541e3e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): CODE/Main_Form.vb:1055-1064 | CODE/Main_Form.vb:1259-1268 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060CODE/Main_Form.vb:1065\u0060 calls \u0060If\u0060 and \u0060CODE/Main_Form.vb:1269\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a31b6637b0eabbcbcc9e6873ba27c9e90ed8f424ec47e4f201e4978089f2f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): CODE/Main_Form.vb:2095-2104 | CODE/Main_Form.vb:2184-2193 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:2095\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060CODE/Main_Form.vb:2106\u0060 calls \u0060Add\u0060 and \u0060CODE/Main_Form.vb:2194\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":"CODE/Main_Form.vb"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"af24d82012ba38a9312575570ef241ac539c0ff2d5cd5e2c200658840ce644d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): CODE/Main_Form.vb:3239-3248 | CODE/Main_Form.vb:3275-3284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:3239\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060CODE/Main_Form.vb:3249\u0060 calls \u0060safe_copy\u0060 and \u0060CODE/Main_Form.vb:3285\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":3239}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fa47a664f49258c17b7d63bd65189a4d24759d6978a78bc6cacc12c41af9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): CODE/Main_Form.vb:3240-3248 | CODE/Main_Form.vb:3276-3284 | CODE/Main_Form.vb:3317-3325 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:3240\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060CODE/Main_Form.vb:3249\u0060 calls \u0060safe_copy\u0060 and \u0060CODE/Main_Form.vb:3285\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":3240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18a2c466f616df3bbbfcf26bac5e4c5adca90803f10d85d05bb2b76b79fb811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CODE/Config_CP.vb:324-332 | CODE/Main_Form.vb:4338-4346 \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":"CODE/Config_CP.vb"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"6034a1d68af24dc82a0d003fc410ab50d0a3386a966a1357a8478f9166893488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CODE/Main_Form.vb:1238-1246 | CODE/Main_Form.vb:2616-2625 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:1238\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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":"CODE/Main_Form.vb"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66d6552d97feed007d1fc4fa8fe5491734d2181c6b85521f569f5adbab1d479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): CODE/Main_Form.vb:2258-2265 | CODE/Main_Form.vb:2290-2297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060CODE/Main_Form.vb:2287\u0060 calls \u0060make_out_name\u0060, \u0060GetFileNameWithoutExtension\u0060, \u0060Rows\u0060 and \u0060CODE/Main_Form.vb:2257\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":"CODE/Main_Form.vb"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9efc79ef83bac6ef87ce18c69cb2a6f841198ff4da48b9e754d7a651e2627f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): CODE/Config_Dated.vb:1068-1073 | CODE/Config_Dated.vb:1495-1500 | CODE/Config_Dated.vb:1704-1709 \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":"CODE/Config_Dated.vb"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fb4df0072df15a45cada1c03437275220064cb081eab0b9b8d3e1c9a1ca408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): CODE/Config_Dated.vb:1042-1047 | CODE/Config_Dated.vb:1472-1477 \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":"CODE/Config_Dated.vb"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3aed0ff5884d6616733009b2931207710bee690a5d97190eed107bc6b8bf59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): CODE/Config_Dated.vb:1051-1058 | CODE/Config_Dated.vb:1680-1687 \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":"CODE/Config_Dated.vb"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8fec94bd457212d109a12edea9024843b995c52f278a2f7022a53edf55c923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): CODE/Main_Form.vb:4136-4143 | CODE/Main_Form.vb:4168-4175 \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":"CODE/Main_Form.vb"},"region":{"startLine":4136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a8e54f68484213982e64427ba3e6b8e7ef77f6f30030ac8c756b37b7c86bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): CODE/Main_Form.vb:1221-1227 | CODE/Main_Form.vb:1435-1441 | CODE/Main_Form.vb:2039-2045 | CODE/Main_Form.vb:2101-2108 | CODE/Main_Form.vb:2590-2597 | CODE/Main_Form.vb:3558-3564 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:1221\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":"CODE/Main_Form.vb"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e5093d4b8942ac542f8432d7596d10cde1e811704f762fd2a7717cf2f7a1c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): CODE/Main_Form.vb:685-692 | CODE/Main_Form.vb:812-818 | CODE/Main_Form.vb:3243-3249 | CODE/Main_Form.vb:3320-3326 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:685\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060CODE/Main_Form.vb:693\u0060 calls \u0060Exists\u0060 and \u0060CODE/Main_Form.vb:819\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":"CODE/Main_Form.vb"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ae83e139d3092ad9f2eee121d1d9cec9f2893f0c2d67406eda39406510a2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): CODE/Main_Form.vb:1524-1529 | CODE/Main_Form.vb:2945-2950 | CODE/Main_Form.vb:3324-3329 | CODE/Main_Form.vb:3921-3926 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:1524\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":"CODE/Main_Form.vb"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca19db60f84379c352b7d3c9b44d9515d428637b6bf670f059ffbc35d239072"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CODE/Config_Dated.vb:1056-1062 | CODE/Config_Dated.vb:1483-1489 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060CODE/Config_Dated.vb:1491\u0060 calls \u0060Replace\u0060 and \u0060CODE/Config_Dated.vb:1064\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":"CODE/Config_Dated.vb"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8166a7ddeb6fd96fa43df7d833ab137b4513a64ddfd04946aa008765c073b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 4): CODE/Config_Dated.vb:1143-1149 | CODE/Config_Dated.vb:1352-1358 | CODE/Config_Dated.vb:1592-1594 | CODE/Config_Dated.vb:1757-1759 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060CODE/Config_Dated.vb:1140\u0060 calls \u0060Replace\u0060, \u0060f_t_name\u0060 and \u0060CODE/Config_Dated.vb:1590\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":"CODE/Config_Dated.vb"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd20673dba27c2136434773eb2d56d1195ffeda461edcdcd42eb4d5ba81e7fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 4): CODE/Config_Dated.vb:1159-1164 | CODE/Config_Dated.vb:1368-1374 | CODE/Config_Dated.vb:1614-1617 | CODE/Config_Dated.vb:1773-1775 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060CODE/Config_Dated.vb:1156\u0060 calls \u0060Replace\u0060, \u0060Item\u0060 and \u0060CODE/Config_Dated.vb:1770\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":"CODE/Config_Dated.vb"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e082f6fde7e6ac56e8cf761ebb8a5330c17c26bad271c79b3934407f465d4631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CODE/Main_Form.vb:96-102 | CODE/Main_Form.vb:130-136 \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":"CODE/Main_Form.vb"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a91a5f4eb8f8e7ea965426ffc1d8c2bf6534bf4bc305be6efccc772e6375363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): CODE/Main_Form.vb:1569-1575 | CODE/Main_Form.vb:3122-3127 | CODE/Main_Form.vb:3195-3200 | CODE/Main_Form.vb:3224-3230 | CODE/Main_Form.vb:3370-3375 | CODE/Main_Form.vb:3480-3485 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:1569\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":"CODE/Main_Form.vb"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7fe43de096d0e2054b06ad2176999bf138183c24ee25f43f045cd07793ecd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): CODE/Main_Form.vb:1524-1529 | CODE/Main_Form.vb:2945-2950 | CODE/Main_Form.vb:3247-3252 | CODE/Main_Form.vb:3324-3329 | CODE/Main_Form.vb:3921-3926 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:1524\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":"CODE/Main_Form.vb"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"281d65328e7640ddf614ca9782bc4a35ba12c173cfffeca5908d4fa0dc1f0313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): CODE/Config_Dated.vb:1050-1054 | CODE/Config_Dated.vb:1059-1063 | CODE/Config_Dated.vb:1486-1490 \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, \u0060CODE/Config_Dated.vb:1491\u0060 calls \u0060Replace\u0060 and \u0060CODE/Config_Dated.vb:1064\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":"CODE/Config_Dated.vb"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4f0c9e1cd03f95baf8ba98e15e9310d9533ecfeff1a67ef5112b1ad823a85d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 5): CODE/Config_Dated.vb:1152-1157 | CODE/Config_Dated.vb:1361-1366 | CODE/Config_Dated.vb:1603-1604 | CODE/Config_Dated.vb:1618-1620 | CODE/Config_Dated.vb:1767-1772 \u2014 all 5 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, \u0060CODE/Config_Dated.vb:1774\u0060 calls \u0060Replace\u0060, \u0060Item\u0060 and \u0060CODE/Config_Dated.vb:1622\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":"CODE/Config_Dated.vb"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa24d6c50b728859f1360a626319376b07bf350bcc010edd118bc94abfad901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): CODE/Main_Form.vb:816-822 | CODE/Main_Form.vb:884-890 | CODE/Main_Form.vb:1095-1100 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:816\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":"CODE/Main_Form.vb"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"028044809e68b080abece2a27bd9cd1b679725ce70ee54f4d40fd6869d468e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): CODE/Config_CP.vb:128-135 | CODE/Config_CP.vb:163-168 \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":"CODE/Config_CP.vb"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe181471f277a02137ac023342aa8d46932afa1d49dd72d0a14697e5b936b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): CODE/Main_Form.vb:392-397 | CODE/Main_Form.vb:443-449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060CODE/Main_Form.vb:442\u0060 calls \u0060RefreshEdit\u0060 and \u0060CODE/Main_Form.vb:391\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f808b9d223cad30334cb9be586094071d079b8d7eedb865907027169af905a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CODE/Main_Form.vb:702-708 | CODE/Main_Form.vb:1100-1106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:702\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":"CODE/Main_Form.vb"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d30466648a7f0e0955bff4193b8837c61d87077d7282c703f16af82b52c020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): CODE/Main_Form.vb:816-820 | CODE/Main_Form.vb:884-888 | CODE/Main_Form.vb:1095-1099 | CODE/Main_Form.vb:1524-1528 | CODE/Main_Form.vb:2945-2949 | CODE/Main_Form.vb:3247-3251 | CODE/Main_Form.vb:3324-3328 | CODE/Main_Form.vb:3921-3925 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:816\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":"CODE/Main_Form.vb"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"923925a5dc66fe9a6e116260a57450980e09b8a82baebc14ebbb476977141a7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): CODE/Config_Dated.vb:590-594 | CODE/Config_Dated.vb:601-605 | CODE/Config_Dated.vb:909-913 | CODE/Config_Dated.vb:1879-1883 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Config_Dated.vb"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"891bab29b487b08ac7285058cd34944c1fe64ece1360f667e49ab6c3f5d2121e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): CODE/Config_Dated.vb:1050-1054 | CODE/Config_Dated.vb:1059-1063 | CODE/Config_Dated.vb:1478-1482 | CODE/Config_Dated.vb:1486-1490 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060CODE/Config_Dated.vb:1491\u0060 calls \u0060Replace\u0060 and \u0060CODE/Config_Dated.vb:1064\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":"CODE/Config_Dated.vb"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1ec5844cbbb5caea2faf3fb6582fb0f0f62e3a6744cbd885b746796642b04b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 4): CODE/Config_Dated.vb:1146-1150 | CODE/Config_Dated.vb:1355-1359 | CODE/Config_Dated.vb:1605-1609 | CODE/Config_Dated.vb:1765-1766 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Config_Dated.vb"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52ea4c0cf10ff3d833b6520f8e984dd639cd3965de997e14a992560f6879764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): CODE/Config_Dated.vb:1479-1483 | CODE/Config_Dated.vb:1487-1491 | CODE/Config_Dated.vb:1695-1699 \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":"CODE/Config_Dated.vb"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d47386b5385f1dd597c4d403528a79133d21a5040c769c38f4e051774804f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): CODE/Main_Form.vb:1407-1411 | CODE/Main_Form.vb:3374-3378 | CODE/Main_Form.vb:3484-3488 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CODE/Main_Form.vb:1407\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CODE/Main_Form.vb"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0aff71de640edb2292a0a39451bc3ffceaed738d13814d87c42a8ea63d5d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): CODE/Config_CP.vb:163-167 | CODE/Config_CP.vb:239-243 \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":"CODE/Config_CP.vb"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c65788ec8945fa2c0a93f44ac913c301c06ad4809580548445aaae17f431f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 10): CODE/Main_Form.vb:517-518 | CODE/Main_Form.vb:1179-1180 | CODE/Main_Form.vb:1653-1655 | CODE/Main_Form.vb:1728-1729 | CODE/Main_Form.vb:2177-2181 | CODE/Main_Form.vb:2247-2251 | CODE/Main_Form.vb:2286-2287 | CODE/Main_Form.vb:2643-2646 | CODE/Main_Form.vb:2990-2993 | CODE/Main_Form.vb:4157-4158 \u2014 all 10 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, \u0060CODE/Main_Form.vb:2650\u0060 calls \u0060safe_delete\u0060 and \u0060CODE/Main_Form.vb:2185\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":"CODE/Main_Form.vb"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7952160957fa794ac92a4dd9fdda490e68a491f56023d3e111a08bf177ec24f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): CODE/Config_MCMC.vb:114-125 | CODE/Config_Plasty.vb:200-211 \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":"CODE/Config_MCMC.vb"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdca076d911153983025154bf9bbcced57ae5a32c3658c0dedc0c05ae52c2490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): CODE/Config_Combine.vb:12-16 | CODE/Config_Trim.vb:8-12 \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 \u0060CODE/Config_Combine.vb:12\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":"CODE/Config_Combine.vb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb2552a5a660ec2c4c32f3f091f6a4aa53b62fb3eb52236f8dfbf782fcdb603"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (168 corresponding lines): scripts/PPD.py:366-556 | scripts/PPD.py:562-729 \u2014 These two members are one piece of code written twice and then edited apart: 168 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":"scripts/PPD.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc21f8f703cd2ebbc8c4ab11a4dfb8bdd6b88f3a0f8b9e1249384057ef317c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): scripts/build_trimed.py:22-34 | scripts/build_trimed.py:38-48 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build_trimed.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f9b2e9acfbd2787d88dc8ceb45ba82c1b12108caaf28782b146ff8b4260b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): scripts/PPD.py:33-47 | scripts/PPD.py:342-359 \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":"scripts/PPD.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8891667d04aa66bcf63c086122c10cabc163ec137fa88219df86d6919e75847b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (105\u2013108 lines \u00D7 2): scripts/PPD.py:412-519 | scripts/PPD.py:592-696 \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":"scripts/PPD.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"3898324f39e76af2bf0c0d6b16fa15872c040921a52a8e9c3b05d0101e00de35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scripts/main_assembler.py:415-425 | scripts/main_refilter_new.py:166-176 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/main_assembler.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"5668e06bf3eaad815d6a9d7ecb4e13a86309bdd9f850b6520b8d9d1c4eda74ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scripts/split_genes.py:290-300 | scripts/split_genes.py:328-338 \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":"scripts/split_genes.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e56e2a0af273f2be94436f3b20913278ff0f3bfe1702a3e2d69dbfa5842b525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/unix_command.py:389-396 | scripts/unix_command.py:470-477 \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":"scripts/unix_command.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b81b369de403a2ae23dc9c76d07d68fdecf52c4aacaeeeb9db2a2601e09371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): scripts/PPD.py:876-883 | scripts/build_barcode.py:42-49 | scripts/build_consensus.py:314-321 | scripts/build_fq.py:23-30 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/PPD.py"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ddc86a03f2d1bb3e72ad7e8955acf39bff0048d944e5ea494f716770d1ec02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/build_fq.py:10-17 | scripts/main_assembler.py:73-80 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build_fq.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c912928a99cce23fa75cb6a8b731e21e735e2be69e36d0ee70a77bd396f0fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/build_gb.py:9-14 | scripts/split_genes.py:22-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build_gb.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30a66c1f58164b0ffbfea14a721622c3b12a35dd2cb9a0e9e418aa6b97154d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/main_refilter_new.py:190-194 | scripts/main_refilter_new.py:217-221 \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":"scripts/main_refilter_new.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"470396f50cedb7740d338af2a547c83176a2fd0b51f39f8cc37e729900c917f3"}},{"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":"CODE/Config_Dated.vb"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"865cf1e6b4e951ccd7eab48e2b3f6a2bd19ccceeeb3c6715ecf28069334ecf3e"}},{"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":"CODE/Config_Dated.vb"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c061780de2219617a40a98d85d4bdbfdb842cd4c09b2a572b24199d0845e901"}},{"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":"CODE/Main_Form.vb"},"region":{"startLine":3420}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa92cb2f2c60d6a219b9f01a9c8c7ea4a611b708b5f91a7ee31d71d8ea84b4c6"}},{"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":"CODE/Main_Form.vb"},"region":{"startLine":4178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cff3502a5fd9fb74bbd46a3fe3e2508036622a442d7d00851bafef6dcc9a30e"}},{"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":"CODE/Module_Function.vb"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbfa035fcebac4d0311b8fba13ebdd35161c9c6290261543faeb5f49c60c7ea"}},{"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":"CODE/Welcome.vb"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5718b5a53053ad7e2798159fc0d40fe23adbae796d5e70b1c3b5e35f77eef728"}},{"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 \u0060GeneMiner.vbproj\u0060 makes this repository a deployable product (line 4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"GeneMiner.vbproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a43bfdca77af2130d4d105085d434902f7f09c06c23f21bb3e82ad56ab32876"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET net6.0: GeneMiner.vbproj declares .NET net6.0 as this project\u0027s target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"GeneMiner.vbproj"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"833052aef8fed8fff4f2fedf55a392e3e58dc048b7b988c82a469d1d41453aa6"}},{"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"}}],"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}}}]}