{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"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":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"WorkflowEngine.submit_new_jobs (cyclomatic 41): WorkflowEngine.submit_new_jobs has cyclomatic complexity 41 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 37 methods over the threshold \u2014 including the worst \u2014 and 94 of the 323 points over it (29%), 2.5\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 38). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f44428ada8f8768f6ec4e36a713b2a2706f73aa8e7c22b820190cf3031aff3"}},{"ruleId":"D1","level":"warning","message":{"text":"SLURMBatchSystem.submit (cyclomatic 40): SLURMBatchSystem.submit has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/slurmbatchsystem.rb"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe9d8d8d894cde1217c15d7e78950fa3bbeeb62569377cbaf39e8db99bd68f4"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowEngine.boot (cyclomatic 39): WorkflowEngine.boot has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 37 methods over the threshold \u2014 including the worst \u2014 and 94 of the 323 points over it (29%), 2.5\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 38). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2062b3c97137702ccf7e0d201e5be77e593aeab9805ddc525f5e8fd49581e36"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowEngine.update_active_jobs (cyclomatic 33): WorkflowEngine.update_active_jobs has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 37 methods over the threshold \u2014 including the worst \u2014 and 94 of the 323 points over it (29%), 2.5\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 38). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"021ec35b55a7be34322d7637f62a68395fe1ce25323bf7f81f5816adc98d6dd2"}},{"ruleId":"D1","level":"warning","message":{"text":"LSFCRAYBatchSystem.submit (cyclomatic 31): LSFCRAYBatchSystem.submit has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfcraybatchsystem.rb"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28abc9c9cc039fc699ba3b866a6621821339f1a2839ebc3bb2516c4446e1f99"}},{"ruleId":"D1","level":"warning","message":{"text":"LSFBatchSystem.submit (cyclomatic 30): LSFBatchSystem.submit has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfbatchsystem.rb"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cc68c542de9180a83cfeb9afdb7c0bf0b6baf83f953bf66a99c7973cd67dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"PBSPROBatchSystem.refresh_jobacct (cyclomatic 30): PBSPROBatchSystem.refresh_jobacct has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/pbsprobatchsystem.rb"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"608dab3dc613d4176f7461161bc5d9166ede35f0bedf66db53b514621bf5dd30"}},{"ruleId":"D1","level":"warning","message":{"text":"LSFBatchSystem.run_bhist_bjobs (cyclomatic 29): LSFBatchSystem.run_bhist_bjobs has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfbatchsystem.rb"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfc8f8782287ed6a4f0b5db7f95262ab42449ba89bf857efe14adef5f84dcf8"}},{"ruleId":"D1","level":"warning","message":{"text":"PBSPROBatchSystem.submit (cyclomatic 28): PBSPROBatchSystem.submit has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/pbsprobatchsystem.rb"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaa9fb3a49ffc6ba48e51cf6bd3ff1cff398a9499cffb0e5dce0f86094658cb"}},{"ruleId":"D1","level":"warning","message":{"text":"TORQUEBatchSystem.refresh_jobqueue (cyclomatic 27): TORQUEBatchSystem.refresh_jobqueue has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/torquebatchsystem.rb"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad534c053ec64e0565cb0fd42617b878be78247561f2bbb72ec278523dfb61ae"}},{"ruleId":"D1","level":"warning","message":{"text":"Lockfile.lock (cyclomatic 26): Lockfile.lock has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3b365516035ea6118640a5d5d398fa11ffe5a60ac5303dcbc2450fd5dc9cb9"}},{"ruleId":"D1","level":"warning","message":{"text":"Lockfile.lock (cyclomatic 26): Lockfile.lock has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile.rb"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab74a392c4d4cb02649955de7dc801f0430a4c5854ff1479d36c986b99347d12"}},{"ruleId":"D1","level":"warning","message":{"text":"CycleCron.next (cyclomatic 24): CycleCron.next has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cycledef.rb"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24b2d6527bde19ce8094423729353342a2988a5ce0248863cc9371c4c9716e2"}},{"ruleId":"D1","level":"warning","message":{"text":"CycleCron.previous (cyclomatic 24): CycleCron.previous has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cycledef.rb"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c74ac7ce4e63c801a66bf5178336ac292d1cbbf957a597f8f93f61b4b0f84fa"}},{"ruleId":"D1","level":"warning","message":{"text":"SLURMBatchSystem.refresh_jobacct (cyclomatic 24): SLURMBatchSystem.refresh_jobacct has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/slurmbatchsystem.rb"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cfab1bcdf891a2f262fa9f3aed80fb2aad002c8230781cb241d529833faa33"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowEngine.rewind! (cyclomatic 24): WorkflowEngine.rewind! has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 37 methods over the threshold \u2014 including the worst \u2014 and 94 of the 323 points over it (29%), 2.5\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 38). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b69be7b22ab2d421d43523cc5e41acee6bd37db8b9fa585326b7db116cd28c"}},{"ruleId":"D1","level":"warning","message":{"text":"COBALTBatchSystem.refresh_jobqueue (cyclomatic 23): COBALTBatchSystem.refresh_jobqueue has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cobaltbatchsystem.rb"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f7ffe2cee10ad7b455218887e67d75da85435f4369222c8053665048c5de98"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowXMLDoc.tasks (cyclomatic 23): WorkflowXMLDoc.tasks has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowdoc.rb"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c32065d9fb71e991033848153fda9ce95faba2f690cb3230f056eafcc6e12a"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowSelection.handle_task_selection (cyclomatic 23): WorkflowSelection.handle_task_selection has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowselection.rb"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8873deb39032811a9005a4bf7feccfc4e4cc8abe17dc5e3878f509a338502d2f"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowReport.submit_new_jobs (cyclomatic 22): WorkflowReport.submit_new_jobs has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowreport.rb"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"e171bb3b3f328c3c077693bf5847c1a84a10d46c01fd4a3c3e1d69c64f92c24c"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusEngine.print_status (cyclomatic 21): StatusEngine.print_status has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wfmstat/statusengine.rb"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccf052e64fa1cda8cae1573bf15c9491084497b8badd6011d6f1e96297762fc"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowEngine.deactivate_done_cycles (cyclomatic 21): WorkflowEngine.deactivate_done_cycles has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 37 methods over the threshold \u2014 including the worst \u2014 and 94 of the 323 points over it (29%), 2.5\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 38). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b00289076ac68c55c53551ecb8dd3ea304c9b37ed034c942c48632d58ee0ad"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowEngine.complete! (cyclomatic 20): WorkflowEngine.complete! has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 37 methods over the threshold \u2014 including the worst \u2014 and 94 of the 323 points over it (29%), 2.5\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 38). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec8302802a6d2039691ca0a09922894c100970239209845441c831572a94f03"}},{"ruleId":"D1","level":"warning","message":{"text":"COBALTBatchSystem.submit (cyclomatic 19): COBALTBatchSystem.submit has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cobaltbatchsystem.rb"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"55801142f70abe751ed2653781969fdc20d792f480c9cc130cea0ee20500218d"}},{"ruleId":"D1","level":"warning","message":{"text":"MOABBatchSystem.submit (cyclomatic 19): MOABBatchSystem.submit has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/moabbatchsystem.rb"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfb213ebfaa324b7f23edad2edeb756ede6a3972892d0d41f933aa1394f036b"}},{"ruleId":"D1","level":"warning","message":{"text":"SLURMBatchSystem.refresh_jobqueue (cyclomatic 19): SLURMBatchSystem.refresh_jobqueue has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/slurmbatchsystem.rb"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2e60e75a8f61a3c41ae9316a919cc8b285b1d9c714c3323519f44473f16c56"}},{"ruleId":"D1","level":"warning","message":{"text":"TORQUEBatchSystem.submit (cyclomatic 19): TORQUEBatchSystem.submit has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/torquebatchsystem.rb"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55378a9abb8e110d881265ca3f3029e7dda07d5c725d7c304c651fda0d25aa9"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowEngine.harvest_pending_jobids (cyclomatic 19): WorkflowEngine.harvest_pending_jobids has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 37 methods over the threshold \u2014 including the worst \u2014 and 94 of the 323 points over it (29%), 2.5\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 38). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff574f4772875bd5fa7b6c0afc3fc9b014eafed53f68669626dacb85adfe18a6"}},{"ruleId":"D1","level":"warning","message":{"text":"COBALTBatchSystem.refresh_jobacct (cyclomatic 18): COBALTBatchSystem.refresh_jobacct has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cobaltbatchsystem.rb"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2663cb539c0d6dc4865770bfc01061daa5d9940b774d5cff0e1f9170c1b22b8"}},{"ruleId":"D1","level":"warning","message":{"text":"NoBatchSystem.find_all_jobs (cyclomatic 18): NoBatchSystem.find_all_jobs has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/nobatchsystem.rb"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f7984fa6e1587af9578720c575becd06d53d36a5150f414d4912c2bd904b11"}},{"ruleId":"D1","level":"warning","message":{"text":"Lockfile.initialize (cyclomatic 17): Lockfile.initialize has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b14bd16e649d21ea748efff7f426d7b53fdab7551299683f89ea1163a5b1bc"}},{"ruleId":"D1","level":"warning","message":{"text":"Lockfile.initialize (cyclomatic 17): Lockfile.initialize has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile.rb"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4723c5e4014fd3ff5ef6b500fd7e08dc653a0e0bef840f800b06cd06a6a5e813"}},{"ruleId":"D1","level":"warning","message":{"text":"MOABBatchSystem.refresh_jobqueue (cyclomatic 17): MOABBatchSystem.refresh_jobqueue has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/moabbatchsystem.rb"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa756d74e027d6726132865af21d2470c4fae5885e153932364ed37a2b1d462b"}},{"ruleId":"D1","level":"warning","message":{"text":"MOABTORQUEBatchSystem.refresh_jobqueue (cyclomatic 17): MOABTORQUEBatchSystem.refresh_jobqueue has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/moabtorquebatchsystem.rb"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6542bba4391b492158d12a2e2bd22728ebb6f9fe0f371421068b8a717617c23"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowEngine.with_locked_db (cyclomatic 17): WorkflowEngine.with_locked_db has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 37 methods over the threshold \u2014 including the worst \u2014 and 94 of the 323 points over it (29%), 2.5\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 38). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ffcc7663f34ab0aeb1a9cf7a4625d9020e062ea419abeefc508bbbf9fc14a2"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowSubset.selected? (cyclomatic 17): WorkflowSubset.selected? has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowsubset.rb"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"78574fa1b186c7c67c5a13993d3ee78d1859af169438017c56e33f6ff856efb6"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowReport.harvest_pending_jobids (cyclomatic 16): WorkflowReport.harvest_pending_jobids has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowreport.rb"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b849254456cfc50a3b704960505c514eb7358efd6c8631bd106e4d7b3b70a8"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEngine.boot (cognitive 70): WorkflowEngine.boot has cognitive complexity 70 (threshold 15). Drivers by points: if/else 41 (62 pts), boolean chains 5, error handling 1, match/switch 1, ternaries 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 42 methods over the threshold \u2014 including the worst \u2014 and 202 of the 543 points over it (37%), 3.9\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 52). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b125e5f12c0082cd6b058122f5169c00809cc518efb1009ae3922f3089080154"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEngine.update_active_jobs (cognitive 50): WorkflowEngine.update_active_jobs has cognitive complexity 50 (threshold 15). Drivers by points: if/else 26 (37 pts), boolean chains 10, ternaries 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 42 methods over the threshold \u2014 including the worst \u2014 and 202 of the 543 points over it (37%), 3.9\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 52). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d754c15e9af16bf7e51347695e538f4765bf8700f6609360a69efd40445211f"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEngine.submit_new_jobs (cognitive 50): WorkflowEngine.submit_new_jobs has cognitive complexity 50 (threshold 15). Drivers by points: if/else 33 (41 pts), boolean chains 7, error handling 1, match/switch 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 42 methods over the threshold \u2014 including the worst \u2014 and 202 of the 543 points over it (37%), 3.9\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 52). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dbdca6f33f49f50fa89253c736187c215dbb584f6675e14aeeda60cc4367c0"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusEngine.print_status (cognitive 45): StatusEngine.print_status has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (30 pts), ternaries 4 (8 pts), match/switch 2 (6 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wfmstat/statusengine.rb"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd78a4b767d7e960a0cf9db5b6868228d8091fe49cef362985f12298fa9bc38"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEngine.deactivate_done_cycles (cognitive 40): WorkflowEngine.deactivate_done_cycles has cognitive complexity 40 (threshold 15). Drivers by points: if/else 23 (40 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 42 methods over the threshold \u2014 including the worst \u2014 and 202 of the 543 points over it (37%), 3.9\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 52). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc74e4201df3f93ae42e2333d956c37496bc98e13d5808a884c5d74d3663ac60"}},{"ruleId":"D2","level":"warning","message":{"text":"SLURMBatchSystem.submit (cognitive 39): SLURMBatchSystem.submit has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (29 pts), match/switch 3 (5 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/slurmbatchsystem.rb"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1db9ff6a346b7cf89449a7170f04e61c7be4328984a679a1e7de872260d7fa5"}},{"ruleId":"D2","level":"warning","message":{"text":"CycleCron.next (cognitive 38): CycleCron.next has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (32 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cycledef.rb"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a703f2ff0f09d9494066b831c93e921f2b87d37981cb7f67874cf4f03a5c133a"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEngine.complete! (cognitive 38): WorkflowEngine.complete! has cognitive complexity 38 (threshold 15). Drivers by points: if/else 24 (36 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 42 methods over the threshold \u2014 including the worst \u2014 and 202 of the 543 points over it (37%), 3.9\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 52). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95f74ebbfbd87219e864b8195ff294a99d75ebacce66123e240eb0f067c06f6"}},{"ruleId":"D2","level":"warning","message":{"text":"Lockfile.lock (cognitive 37): Lockfile.lock has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 7 (10 pts), boolean chains 4, match/switch 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4121f388e5a7e6856cd91558f33cf072462b07f4f86cd89639670e815710477"}},{"ruleId":"D2","level":"warning","message":{"text":"Lockfile.lock (cognitive 37): Lockfile.lock has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 7 (10 pts), boolean chains 4, match/switch 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile.rb"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13309952b715282b7482f1565d94ae84349b5d894aec8d5a2887dfb57ef957e"}},{"ruleId":"D2","level":"warning","message":{"text":"CycleCron.previous (cognitive 37): CycleCron.previous has cognitive complexity 37 (threshold 15). Drivers by points: if/else 20 (30 pts), loops 3 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cycledef.rb"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f14697a459259084ac3332b7361431df2cda093db20a73ccd2ad3a2e12ec899"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowSelection.handle_task_selection (cognitive 33): WorkflowSelection.handle_task_selection has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowselection.rb"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ab1c4dd90c3c5fe51d14da2b53f4cfd986b39acc0ac6ea2d1c1a29f0099b68"}},{"ruleId":"D2","level":"warning","message":{"text":"PBSPROBatchSystem.submit (cognitive 32): PBSPROBatchSystem.submit has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 1, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/pbsprobatchsystem.rb"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56b71d4ee3f4e08992e9ce8383b9931d33e74301dd78676e6e0a8598d226241"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEngine.rewind! (cognitive 32): WorkflowEngine.rewind! has cognitive complexity 32 (threshold 15). Drivers by points: if/else 24 (30 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 42 methods over the threshold \u2014 including the worst \u2014 and 202 of the 543 points over it (37%), 3.9\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 52). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"181bdea5668aa98358a4f74410c50ed5c76d25b3471a0ff66b9e15ec74e8f999"}},{"ruleId":"D2","level":"warning","message":{"text":"SLURMBatchSystem.refresh_jobacct (cognitive 30): SLURMBatchSystem.refresh_jobacct has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 2, error handling 1, match/switch 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/slurmbatchsystem.rb"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8b87cc558ee5a3cefee634711b5ecf2ecca2cedf9c1b0f380335d2b74d0b85"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowIOProxy.initialize (cognitive 28): WorkflowIOProxy.initialize has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (22 pts), error handling 4 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowioproxy.rb"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acb955be35f88ec7ee23363ef8d5d08f810247d7a212c050c35cfaa65b0d7c0"}},{"ruleId":"D2","level":"warning","message":{"text":"LSFCRAYBatchSystem.submit (cognitive 27): LSFCRAYBatchSystem.submit has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (20 pts), match/switch 3 (4 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfcraybatchsystem.rb"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c07dffdf92e758a986e97dacaaf8684ea312b4f915c669c16e527acbb0c5af7"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowXMLDoc.tasks (cognitive 27): WorkflowXMLDoc.tasks has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 5 (9 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowdoc.rb"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76cf76cd5a28a86c3024ce0e51232740a78d751bfd15f8779579003cf02ca1d"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowReport.submit_new_jobs (cognitive 26): WorkflowReport.submit_new_jobs has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 5, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowreport.rb"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6eb760e315d2f5b98e12015934f2394db9efd15677c001481d86c6b5b5b6b4"}},{"ruleId":"D2","level":"warning","message":{"text":"LSFBatchSystem.run_bhist_bjobs (cognitive 25): LSFBatchSystem.run_bhist_bjobs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfbatchsystem.rb"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3ac93b11cb688e076d8f80a693c5319df27623f3305f8e9cc0098e18aebeec"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowDBSelection.db_query_cycles (cognitive 25): WorkflowDBSelection.db_query_cycles has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowdbselection.rb"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2027cbdaeef7a5b4e53dd075f2e64e47e78a84fed9878c142d8e6a3fe6515b"}},{"ruleId":"D2","level":"warning","message":{"text":"LSFBatchSystem.submit (cognitive 23): LSFBatchSystem.submit has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 3 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfbatchsystem.rb"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"424c8b9db23b1231a8e2756aa9ee0324e55cbbf6c57202227cb2e097f18b94ac"}},{"ruleId":"D2","level":"warning","message":{"text":"PBSPROBatchSystem.refresh_jobacct (cognitive 23): PBSPROBatchSystem.refresh_jobacct has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 2 (5 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/pbsprobatchsystem.rb"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cefd4fcb327afe5c2d58ef56d184facc2945653d74c173be4854d1d9fb20d0"}},{"ruleId":"D2","level":"warning","message":{"text":"SLURMBatchSystem.refresh_jobqueue (cognitive 23): SLURMBatchSystem.refresh_jobqueue has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 1, error handling 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/slurmbatchsystem.rb"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf4daaeb3ebedf421a23dc2a9d6a48868fc6fac43efbe48d9db22117850b2aa"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEngine.harvest_pending_jobids (cognitive 23): WorkflowEngine.harvest_pending_jobids has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), error handling 3, boolean chains 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 42 methods over the threshold \u2014 including the worst \u2014 and 202 of the 543 points over it (37%), 3.9\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 52). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"859de84cb7f635faa0ee23ac3d9dde0b50efd2b8ff8224bdf9cc1d2c144c12e6"}},{"ruleId":"D2","level":"warning","message":{"text":"NoBatchSystem.find_all_jobs (cognitive 22): NoBatchSystem.find_all_jobs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 9, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/nobatchsystem.rb"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8d02d356a9b19b022048cfa5c389dd2ffb405ab53db32d7c5cb23c2dacc69e"}},{"ruleId":"D2","level":"warning","message":{"text":"TORQUEBatchSystem.refresh_jobqueue (cognitive 22): TORQUEBatchSystem.refresh_jobqueue has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, error handling 2 (3 pts), match/switch 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/torquebatchsystem.rb"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc824a84b65140abd363ce932f601959b90edf105d5d4fb6d9789b79be991852"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowReport.harvest_pending_jobids (cognitive 22): WorkflowReport.harvest_pending_jobids has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowreport.rb"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ea0815dd0231236cc8be3ce1b23e26f7a4c8b6906a330f2372e1ee44438da0"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowSQLite3DB.lock_workflow (cognitive 21): WorkflowSQLite3DB.lock_workflow has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 4 (9 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowdb.rb"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d72e9ba64e2ca61846ecb41b8ccc20796c9ad068e92de47b0fbeb044d09bee1"}},{"ruleId":"D2","level":"warning","message":{"text":"SLURMBatchSystem.statuses (cognitive 20): SLURMBatchSystem.statuses has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/slurmbatchsystem.rb"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"37607a5b5917a81b6884c4610048fae06da33d7f499a9cce2480cd79b1b54928"}},{"ruleId":"D2","level":"warning","message":{"text":"NoBatchSystem.find_job (cognitive 19): NoBatchSystem.find_job has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (15 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/nobatchsystem.rb"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dc7aa21f5b9f174612a94886d072ec96ac0f1bef285c5a391f15e3a3bdeae1"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEngine.with_locked_db (cognitive 19): WorkflowEngine.with_locked_db has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/workflowmgr/workflowengine.rb holds 8 of the 42 methods over the threshold \u2014 including the worst \u2014 and 202 of the 543 points over it (37%), 3.9\u00D7 the next-largest file (lib/workflowmgr/slurmbatchsystem.rb at 52). 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e5c26129baad484d6cc08357a932baccbdb8e479bb8e43db999c65a4a88dcf"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowReport.update_active_jobs (cognitive 19): WorkflowReport.update_active_jobs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowreport.rb"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a24e2bf3192d3300b5d5243a18957834da9bdee6f68bb341ef54cc87eb17b99"}},{"ruleId":"D2","level":"warning","message":{"text":"LSFBatchSystem.status (cognitive 18): LSFBatchSystem.status has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfbatchsystem.rb"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5806e25ae6ad041cb1dd7889197f8303a49aabc38c722de2b523d213005238ec"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowSQLite3DB.verify_permissions (cognitive 18): WorkflowSQLite3DB.verify_permissions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowdb.rb"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca138664d86bd7fdd2b498b301c22ddbb04bf2741fd71490390e5fc89171b5e"}},{"ruleId":"D2","level":"warning","message":{"text":"Lockfile.initialize (cognitive 17): Lockfile.initialize has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 13, error handling 1 (2 pts), if/else 1, ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a3da847f46d1270780f5f095f18d8e63d4c2e724bd17af9918d60d4a8ed016"}},{"ruleId":"D2","level":"warning","message":{"text":"Lockfile.initialize (cognitive 17): Lockfile.initialize has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 13, error handling 1 (2 pts), if/else 1, ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile.rb"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"997bd8fe3628ec5d5b1ee68602e0057e9e03e15eba39e874c1c75453e7a06c38"}},{"ruleId":"D2","level":"warning","message":{"text":"COBALTBatchSystem.refresh_jobqueue (cognitive 17): COBALTBatchSystem.refresh_jobqueue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, match/switch 2 (3 pts), error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cobaltbatchsystem.rb"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab5362c7d184df0b180d8218037511228925e528ff1f48fd133bb17e62b8570"}},{"ruleId":"D2","level":"warning","message":{"text":"DBProxy.initialize (cognitive 16): DBProxy.initialize has cognitive complexity 16 (threshold 15). Drivers by points: error handling 5 (9 pts), if/else 4 (7 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/dbproxy.rb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"721ebfd2fe99b21a7a0db6b83f029799e11bf9576dd7b2a1684c26ea911c325b"}},{"ruleId":"D2","level":"warning","message":{"text":"MOABTORQUEBatchSystem.status (cognitive 16): MOABTORQUEBatchSystem.status has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/moabtorquebatchsystem.rb"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a769f4506bd8cedee657ecede0c5178a0bf73bc597f46387f751ff0e26727f0"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowMgr.log (cognitive 16): WorkflowMgr.log has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/utilities.rb"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4a5013d42edbb23ee7fe3f758d79c80a5de0af2fbd8e6c6c5a35b77f919cf5"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowXMLDoc.pre_parse (cognitive 16): WorkflowXMLDoc.pre_parse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, ternaries 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowdoc.rb"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"381dc87eeaad836d29db19696f54265abb5d70864eddc37690886ecf3de25a36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflowmgr/workflowengine.rb: FileTooLong \u2014 1169 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 669 over it, 2.34\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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55db513fda5ae57bfd75df36870ba492a19bb76b5ec455aa21383765fe1b4206"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflowmgr/workflowdoc.rb: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 124 over it, 1.25\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":"lib/workflowmgr/workflowdoc.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e9da61f1ecf37757b41df123ff6319be486da76416b404db1c2ef4ce041c0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflowmgr/workflowdb.rb: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 106 over it, 1.21\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":"lib/workflowmgr/workflowdb.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74be4b6688af82c89f1f6b2ae247a27301950116485e3580854bc555d9157293"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkflowSQLite3DB: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"lib/workflowmgr/workflowdb.rb"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa60944f5d0dfa48aa2771ec7396a31eeef0238c8c6d364f33b2cd76abbc351d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkflowXMLDoc: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowdoc.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af5782f8f07a06468617c174c404fd3b81770612fe453771b558adf13cefc0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 27 shared lines): lib/workflowmgr/moabbatchsystem.rb:215-290 | lib/workflowmgr/moabbatchsystem.rb:300-365 | lib/workflowmgr/moabtorquebatchsystem.rb:154-228 | lib/workflowmgr/moabtorquebatchsystem.rb:238-302 | lib/workflowmgr/torquebatchsystem.rb:201-297 \u2014 These 5 members are variants of one another: a block of 27 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/moabbatchsystem.rb"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2b4094fcc660ffd2488d5e273a2fab14b69487331d5ebb3f140fa69646db8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/workflowmgr/lsfbatchsystem.rb:67-84 | lib/workflowmgr/moabbatchsystem.rb:56-73 | lib/workflowmgr/moabtorquebatchsystem.rb:59-76 | lib/workflowmgr/torquebatchsystem.rb:50-67 \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":"lib/workflowmgr/lsfbatchsystem.rb"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d926a4438e3b8e284fa42e941c77746f045ea1994ee0d6f2c22ca5b42e799cce"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/workflowmgr/workflowdb.rb:289-302 | lib/workflowmgr/workflowdb.rb:313-331 | lib/workflowmgr/workflowdb.rb:341-362 | lib/workflowmgr/workflowdb.rb:373-386 \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":"lib/workflowmgr/workflowdb.rb"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba95782d70eed05a984492bbe8eac946a136c708b9638eece470cef8c883ffed"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/workflowmgr/workflowengine.rb:1490-1636 | lib/workflowmgr/workflowengine.rb:1696-1948 | lib/workflowmgr/workflowreport.rb:590-672 | lib/workflowmgr/workflowreport.rb:731-850 \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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cbef8b99db464b46dd56cf21d7c7cce59cfe2a261a10df42d9ac2a914437b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (158 corresponding lines): lib/workflowmgr/cycledef.rb:94-253 | lib/workflowmgr/cycledef.rb:263-420 \u2014 These two members are one piece of code written twice and then edited apart: 158 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":"lib/workflowmgr/cycledef.rb"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61c1105730cd995a4c89d4c15ddcd544a1558dafd0110da98ba0162c34fe019"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): lib/workflowmgr/workflowengine.rb:1059-1139 | lib/workflowmgr/workflowreport.rb:239-318 \u2014 These two members are one piece of code written twice and then edited apart: 80 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d80fbbaa7de52c9d3416e876d7378e0316e36ce76865c0760963f470b2abad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lib/wfmstat/statusengine.rb:31-68 | lib/workflowmgr/workflowengine.rb:32-78 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wfmstat/statusengine.rb"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"394df78b9a8199e1f1827ef506bf262e3284a7c3504f826b54717427dfb27f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): lib/workflowmgr/bqsproxy.rb:26-82 | lib/workflowmgr/dbproxy.rb:24-89 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/bqsproxy.rb"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe15d54da0b4372e036b2ceadb8fc8a71ecd916095aeee7c394e8f903442f573"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): lib/workflowmgr/bqsproxy.rb:94-133 | lib/workflowmgr/dbproxy.rb:101-138 | lib/workflowmgr/workflowioproxy.rb:196-234 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 38 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":"lib/workflowmgr/bqsproxy.rb"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebe92558b1fbf159e02378d82d47bb858abb3c418e133eef76ae69ef70c459f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lib/wfmstat/statusengine.rb:78-115 | lib/wfmstat/statusengine.rb:183-218 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"lib/wfmstat/statusengine.rb"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a12609edd44e9a66aa4985644d8b48c6719c77b6f2c0bc222661537deea3f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lib/workflowmgr/workflowengine.rb:1645-1686 | lib/workflowmgr/workflowreport.rb:681-721 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"7857f4a425b819fd3851b7dc132b1d7e879f5473b3240ebd15910b7385386614"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lib/workflowmgr/workflowengine.rb:882-922 | lib/workflowmgr/workflowreport.rb:127-161 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e0f4538b69c0209eb59b1b0a9f6cfefbe08ec83d4ec6ea08d82232b555c3e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/workflowmgr/cycledef.rb:623-647 | lib/workflowmgr/cycledef.rb:657-677 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cycledef.rb"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01c0d2c190a8ebdefc3f00157ebb30523ed701f56735d3f5da506b6327dbd99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/workflowmgr/nobatchsystem.rb:310-340 | lib/workflowmgr/nobatchsystem.rb:350-380 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"lib/workflowmgr/nobatchsystem.rb"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfd327fe52d59edfecafc6e28ab5a32b2cde5c66e8da9164ad0e9d198fdd8ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/wfmstat/statusengine.rb:424-448 | lib/workflowmgr/dependency.rb:740-756 \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":"lib/wfmstat/statusengine.rb"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"def2c9fdad441612735f22aef8f583bac46fe84042a09dc75f40298d346dc290"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/workflowmgr/workflowdb.rb:949-973 | lib/workflowmgr/workflowdb.rb:984-1009 \u2014 These two members are one piece of code written twice and then edited apart: 25 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":"lib/workflowmgr/workflowdb.rb"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d18df3c78c935556cf2b666be3cca5c960a590df2dd15d87640ee8557a469e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/workflowmgr/cobaltbatchsystem.rb:76-94 | lib/workflowmgr/moabbatchsystem.rb:82-100 | lib/workflowmgr/torquebatchsystem.rb:76-88 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cobaltbatchsystem.rb"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"626eb8b373a9a665d7edbb3881adf488119b40859a04e0b947fa680407509073"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): lib/workflowmgr/dependency.rb:370-379 | lib/workflowmgr/dependency.rb:416-422 | lib/workflowmgr/dependency.rb:459-465 | lib/workflowmgr/dependency.rb:502-508 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/dependency.rb"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed2e6fdb1dc40cafa4c0327b9c06c02900f2ba095569c0a391a49c3dc1fde22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): sbin/rocotocomplete.rb:17-22 | sbin/rocotorun.rb:18-23 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sbin/rocotocomplete.rb"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5243a8fbb5ae349609765b27d7ef6fd5d43226cebb9fa2c4512b366fdb37d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (102 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:171-272 | lib/lockfile/lib/lockfile.rb:171-272 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd58b80166283a46742d3e93995dbe4e7300adeae1df5060bee440d663f2dd9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52\u201353 lines \u00D7 2): lib/workflowmgr/moabbatchsystem.rb:238-290 | lib/workflowmgr/moabtorquebatchsystem.rb:177-228 \u2014 before extracting anything, compare \u0060lib/workflowmgr/moabbatchsystem.rb\u0060 and \u0060lib/workflowmgr/moabtorquebatchsystem.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/workflowmgr/moabbatchsystem.rb:238\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":"lib/workflowmgr/moabbatchsystem.rb"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfa88c13b8eb277dc00713c687821dcf7eae4457cadfc751646f6cef8ff0478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): lib/workflowmgr/moabbatchsystem.rb:141-186 | lib/workflowmgr/torquebatchsystem.rb:128-173 \u2014 before extracting anything, compare \u0060lib/workflowmgr/moabbatchsystem.rb\u0060 and \u0060lib/workflowmgr/torquebatchsystem.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/moabbatchsystem.rb"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"04adeb8bec4791f9d3347cd88676dc20f636750ab74a95e56121a9797e5d1307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): lib/workflowmgr/lsfbatchsystem.rb:254-294 | lib/workflowmgr/lsfcraybatchsystem.rb:169-209 \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":"lib/workflowmgr/lsfbatchsystem.rb"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"1703845e60f7e9ffe457a64672b59e92ea1dbeb8bfcd01f413893742a56bac49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:277-311 | lib/lockfile/lib/lockfile.rb:277-311 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07fc9ca133723bfe99519d4e86a915812da0c67823877a277603be6f0fe8b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): lib/workflowmgr/moabbatchsystem.rb:146-177 | lib/workflowmgr/pbsprobatchsystem.rb:183-214 | lib/workflowmgr/torquebatchsystem.rb:133-164 \u2014 before extracting anything, compare \u0060lib/workflowmgr/moabbatchsystem.rb\u0060 and \u0060lib/workflowmgr/torquebatchsystem.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/workflowmgr/moabbatchsystem.rb:146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/moabbatchsystem.rb"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea728ee8bed265ba00b2bc75500f8890aba09bbb4cc7212275acdd371fcc93ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 5): lib/workflowmgr/moabbatchsystem.rb:217-243 | lib/workflowmgr/moabbatchsystem.rb:305-333 | lib/workflowmgr/moabtorquebatchsystem.rb:156-182 | lib/workflowmgr/moabtorquebatchsystem.rb:243-270 | lib/workflowmgr/torquebatchsystem.rb:201-228 \u2014 before extracting anything, compare \u0060lib/workflowmgr/moabbatchsystem.rb\u0060 and \u0060lib/workflowmgr/moabtorquebatchsystem.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/workflowmgr/moabbatchsystem.rb:215\u0060 calls \u0060getpwuid\u0060 and \u0060lib/workflowmgr/torquebatchsystem.rb:200\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":"lib/workflowmgr/moabbatchsystem.rb"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f231dd061e590c8926ffffb0424d5dd6f1bf3bbebb7df385b7004e2951e3632e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:139-166 | lib/lockfile/lib/lockfile.rb:139-166 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1c59a9e9c46b548f13f4383a4d1ac2b9d56124ea4c1a732735d71645cdcf9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/workflowmgr/workflowengine.rb:1021-1044 | lib/workflowmgr/workflowreport.rb:201-224 \u2014 before extracting anything, compare \u0060lib/workflowmgr/workflowengine.rb\u0060 and \u0060lib/workflowmgr/workflowreport.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The 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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"536afad360457b25d01f7b83f9ecd567c7c8006b80cbe54d4c8a0fe67445d3e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): lib/workflowmgr/workflowengine.rb:828-849 | lib/workflowmgr/workflowreport.rb:96-115 \u2014 before extracting anything, compare \u0060lib/workflowmgr/workflowengine.rb\u0060 and \u0060lib/workflowmgr/workflowreport.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f5926a8d75ebd3a1924c8a91e77cc15b7c4e8b181e44fe1bc3f2709c7c6655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/wfmstat/statusengine.rb:31-51 | lib/workflowmgr/workflowengine.rb:32-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wfmstat/statusengine.rb"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b749bb9d6348fb50465c25d9bcb22216d6813d10ba715eb32daa979d27fe06d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/workflowmgr/workflowengine.rb:1059-1079 | lib/workflowmgr/workflowreport.rb:239-259 \u2014 before extracting anything, compare \u0060lib/workflowmgr/workflowengine.rb\u0060 and \u0060lib/workflowmgr/workflowreport.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"093399e63606cc2efc0fde4dc1476f5c4d1b0306ed66946ffdad0c6cfe0f83eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/wfmstat/statusengine.rb:97-115 | lib/wfmstat/statusengine.rb:200-218 \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":"lib/wfmstat/statusengine.rb"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0937c25a1dd8aa3a7d6881fb4fd33a3aed2f0315ec12daea9f9681da9533ad3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/workflowmgr/lsfbatchsystem.rb:224-242 | lib/workflowmgr/lsfcraybatchsystem.rb:82-100 \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 \u0060lib/workflowmgr/lsfbatchsystem.rb:224\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfbatchsystem.rb"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c8bfd2ac5caf5ba6f9e2263eed95ab5ca719c2e5adcb9f882264048ad33a3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): lib/workflowmgr/lsfbatchsystem.rb:67-84 | lib/workflowmgr/moabbatchsystem.rb:56-73 | lib/workflowmgr/moabtorquebatchsystem.rb:59-76 | lib/workflowmgr/torquebatchsystem.rb:50-67 \u2014 before extracting anything, compare \u0060lib/workflowmgr/moabbatchsystem.rb\u0060 and \u0060lib/workflowmgr/moabtorquebatchsystem.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfbatchsystem.rb"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86dc329c5de66e4193d099eb65c843a8807b11551c171a92bed93252d0e4718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/workflowmgr/moabbatchsystem.rb:341-365 | lib/workflowmgr/moabtorquebatchsystem.rb:278-302 \u2014 before extracting anything, compare \u0060lib/workflowmgr/moabbatchsystem.rb\u0060 and \u0060lib/workflowmgr/moabtorquebatchsystem.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/moabbatchsystem.rb"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"9901d64206eaabc2dcf4ab5ee7dd07accdd478e6d01cf745fc9ab7e868a9cf98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lib/workflowmgr/bqsproxy.rb:34-50 | lib/workflowmgr/dbproxy.rb:31-47 | lib/workflowmgr/workflowioproxy.rb:39-55 \u2014 before extracting anything, compare \u0060lib/workflowmgr/bqsproxy.rb\u0060 and \u0060lib/workflowmgr/dbproxy.rb\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/bqsproxy.rb"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3290d8df037472121340398aae1963c2442c2706878d996c8d8f94be742837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): lib/workflowmgr/cobaltbatchsystem.rb:221-235 | lib/workflowmgr/pbsprobatchsystem.rb:270-286 \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":"lib/workflowmgr/cobaltbatchsystem.rb"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f621fd1d28159a4c19fb069fec9be8ae162bbd65879fe9c990e125c85c4863f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:341-356 | lib/lockfile/lib/lockfile.rb:341-356 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24c4f34ea7d1cb1c23ebfeceb3bc46085296429b9a00ec90161aa74c897e45a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:376-390 | lib/lockfile/lib/lockfile.rb:376-390 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"663dba00e44e9adc548a0709642d9f58dff34dd7f9af91231e470712aa2172fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/wfmstat/statusengine.rb:310-330 | lib/wfmstat/statusengine.rb:369-389 \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":"lib/wfmstat/statusengine.rb"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be4726b1e4fe12c35b9ebe7ce966f33329ea576fc982fc2caa9b94503ee3e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): lib/workflowmgr/bqsproxy.rb:121-133 | lib/workflowmgr/dbproxy.rb:127-138 | lib/workflowmgr/workflowioproxy.rb:222-234 \u2014 before extracting anything, compare \u0060lib/workflowmgr/bqsproxy.rb\u0060 and \u0060lib/workflowmgr/dbproxy.rb\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/workflowmgr/bqsproxy.rb:121\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/bqsproxy.rb"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51f297b6c89e4b9ef9f8e8fb23abd943fdcbe8e2fab9f0ad91e18d814eb90b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lib/workflowmgr/dependency.rb:742-754 | lib/workflowmgr/dependency.rb:770-781 \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":"lib/workflowmgr/dependency.rb"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf442651eec9d66b8c30d58988085e3f8fd1dfa0570a7a20806cc6467d64221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/workflowmgr/workflowengine.rb:509-520 | lib/workflowmgr/workflowengine.rb:1882-1893 \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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6ac7417667eb75f859495bda9b624feabb26a3d0065eb64d9a3cfd1ec1eeb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/workflowmgr/workflowengine.rb:1747-1757 | lib/workflowmgr/workflowreport.rb:749-759 \u2014 before extracting anything, compare \u0060lib/workflowmgr/workflowengine.rb\u0060 and \u0060lib/workflowmgr/workflowreport.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9848636ab409c4fa7ce3c5bc250a3338bb6d27276aa188caaa1f0bdd9466783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/workflowmgr/workflowdoc.rb:824-832 | lib/workflowmgr/workflowdoc.rb:897-905 \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":"lib/workflowmgr/workflowdoc.rb"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba1d3a3f10e147cc923a3b7e87cce463bcf99e598a4fcc42033dba4f9a5ae86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/workflowmgr/workflowengine.rb:1520-1528 | lib/workflowmgr/workflowengine.rb:1562-1570 \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":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b768170d4c5f21be8ec7eb38e6d4a65fa5ed382c6e2cbb597d2e0a82cc2f142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): lib/workflowmgr/workflowengine.rb:1516-1523 | lib/workflowmgr/workflowengine.rb:1558-1565 | lib/workflowmgr/workflowengine.rb:1750-1757 | lib/workflowmgr/workflowreport.rb:606-613 | lib/workflowmgr/workflowreport.rb:752-759 \u2014 before extracting anything, compare \u0060lib/workflowmgr/workflowengine.rb\u0060 and \u0060lib/workflowmgr/workflowreport.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"e695d509330e201db0b3162b339d317d14887a92a7e1f25c7357b77ec6c499ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/wfmstat/statusengine.rb:61-68 | lib/wfmstat/statusengine.rb:98-105 | lib/wfmstat/statusengine.rb:201-208 | lib/workflowmgr/workflowengine.rb:821-828 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/wfmstat/statusengine.rb:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wfmstat/statusengine.rb"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5e44bca7ac41a238bcba09faa7393efc976fd3b734ff8b52027b3203a6f071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:27-34 | lib/lockfile/lib/lockfile.rb:27-34 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e447b0d5bea9419d83aad66ae97d5782ef5a0f911196a422960a30ac31c677ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/workflowmgr/workflowdb.rb:289-295 | lib/workflowmgr/workflowdb.rb:373-379 \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 \u0060lib/workflowmgr/workflowdb.rb:289\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":"lib/workflowmgr/workflowdb.rb"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"af98871f788e79cc0f01e0628a302b860c699a9d4383da3f8ea87f9f1fe5f7e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/workflowmgr/workflowdb.rb:290-295 | lib/workflowmgr/workflowdb.rb:319-324 | lib/workflowmgr/workflowdb.rb:374-379 \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 \u0060lib/workflowmgr/workflowdb.rb:290\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowdb.rb"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"766b375124ee0fac180e82de42da89cf7d615a06ee7fabafb1191f61186dc57d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 4): lib/workflowmgr/workflowdb.rb:297-302 | lib/workflowmgr/workflowdb.rb:326-331 | lib/workflowmgr/workflowdb.rb:354-355 | lib/workflowmgr/workflowdb.rb:381-386 \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 \u0060lib/workflowmgr/workflowdb.rb:297\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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, \u0060lib/workflowmgr/workflowdb.rb:297\u0060 calls \u0060at\u0060 and \u0060lib/workflowmgr/workflowdb.rb:354\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":"lib/workflowmgr/workflowdb.rb"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"975fa790212d8e349bf68916092b2ae0f7bcf75601b5973f192dcb0cdfec3fdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): lib/wfmstat/statusengine.rb:62-67 | lib/wfmstat/statusengine.rb:99-104 | lib/wfmstat/statusengine.rb:202-207 | lib/workflowmgr/bqsproxy.rb:126-131 | lib/workflowmgr/dbproxy.rb:131-136 | lib/workflowmgr/workflowengine.rb:822-827 | lib/workflowmgr/workflowioproxy.rb:227-232 \u2014 there are 7 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wfmstat/statusengine.rb"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"939d28e919e93c32511a3dbc40805b922e07bc8428fa2913b8a0ae43bc6a63f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/wfmstat/statusengine.rb:292-299 | lib/wfmstat/statusengine.rb:354-360 \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":"lib/wfmstat/statusengine.rb"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"07df632e79da7ce9b8eb9ad6a14655e4fe299e5a69433e1f020035e2dfb73604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:87-103 | lib/lockfile/lib/lockfile.rb:87-103 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3bcf7a2efc931d9cb9759e92d27aa4591abff51bb482b3f117eae58c8fb846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:327-336 | lib/lockfile/lib/lockfile.rb:327-336 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae5988b0612be3eac23b7b7be42073c54789eae3efaf54b1e3110b7d079cddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:361-371 | lib/lockfile/lib/lockfile.rb:361-371 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The 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":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"68128e35eac1400da0d04ba90572baa2e65eaabb1d856120448542579825c9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:395-407 | lib/lockfile/lib/lockfile.rb:395-407 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac50f311f423bfb0d4b7ec8e7557709bb779c1ee6c40e423676ab7ba62b4361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:436-444 | lib/lockfile/lib/lockfile.rb:436-444 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fe208b3818f022b082f613c3812fee0113d1c5e6db458b58023e720dc8a42d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:449-454 | lib/lockfile/lib/lockfile.rb:449-454 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a622a36a5dea3caaa992c254e2ba3979fdb476dfd0d11ef872545864c39f38a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/lockfile/lib/lockfile-1.3.0.rb:459-467 | lib/lockfile/lib/lockfile.rb:459-467 \u2014 before extracting anything, compare \u0060lib/lockfile/lib/lockfile-1.3.0.rb\u0060 and \u0060lib/lockfile/lib/lockfile.rb\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"87644357d25b91286a3df6072211768f1788e34a0c5aed3398bad7164ac7acc2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/lockfile/install.rb: 0.0% line coverage (0/84)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/install.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef59754fbc5fd327449787984d65734c7deba45f4d5173790466667bd46af6a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/lockfile/lib/lockfile-1.3.0.rb: 0.0% line coverage (0/310)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d14255ac4f47c0de59d96ad8b44d53202895fe9c03a129edb14aebdb6fa9e6d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/lockfile/lib/lockfile.rb: 0.0% line coverage (0/310)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d58b1b40420606cda387e5d2f9b05a2653c99740e3b99b23a25d8b825c5fb4d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/lockfile/samples/a.rb: 0.0% line coverage (0/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/samples/a.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3f73db3f64f498a0ca7833cf9d038d39c6c2fdb0d5345f768ebe203d970d84"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/lockfile/samples/nfsstore.rb: 0.0% line coverage (0/114)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/samples/nfsstore.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8070d9a1848edd27ed5918420db1875d1c516e3abe54940560e6a6f550d424"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/wfmstat/job.rb: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wfmstat/job.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e0175efe1d40976549355a0564c6644efe9eb76321fc10fc87762970b859e9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/wfmstat/statusengine.rb: 0.0% line coverage (0/233)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wfmstat/statusengine.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60bbd5f59c3bbf6d849b885ada0fc7e4d8d0deb0e0d4581a7ab0aca74e972d1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/wfmstat/wfmstatoption.rb: 0.0% line coverage (0/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wfmstat/wfmstatoption.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"525753350b630187ad645667b28c849a0aaff95d02c9772c6a26d3eebb2152ab"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/bqsproxy.rb: 17.5% line coverage (10/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/bqsproxy.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa14bd08d9f5c7867ceb8bf984f23975472d467380adee0dc064d5f258fcb0c4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/cobaltbatchsystem.rb: 10.8% line coverage (17/158)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cobaltbatchsystem.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ef45a19e5be9fdad5951507ed41c93af57676bc0cad7cb088afcfec626e002"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/compoundtimestring.rb: 47.6% line coverage (10/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/compoundtimestring.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a1d9732ff110418dcb87538609195aac7c21b45c1e886e19dff4cbb1dc15b5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/cycle.rb: 23.1% line coverage (21/91)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cycle.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f1dc799423ac90fc576e8d2b386ac5a5fec09167b1e3e2a7c4fe0449e60dea"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/cyclestring.rb: 37.5% line coverage (9/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cyclestring.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e724fc696d31ee148eb6f08eb5704b1648baeae1cab9d6c94324661fc442dc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/dbproxy.rb: 13.3% line coverage (8/60)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/dbproxy.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a408c6de9b4ec86443bb7b6410c9fc681c1c79b03ac6af186e73ac75fab14b69"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/dependency.rb: 26.6% line coverage (77/290)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/dependency.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c5a7d3b98e7d1fea66ed8ad11622c9e82b322797e86cc86fa66a1a64099196"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/job.rb: 40.0% line coverage (10/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/job.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7933f8b616652762a1df4df7d41fc4c8822e062e9137930c2d7fd06d0d2865af"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/launchserver.rb: 23.1% line coverage (6/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/launchserver.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a27e20041189c016cbd472d2d54590dde5ada2769d39c4204c3d236ada890b0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/lsfbatchsystem.rb: 8.1% line coverage (26/322)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfbatchsystem.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84da9f1348728956e7a6bf249e462e4f64ed8b9de25d7260e5f83eb01bdb23fc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/lsfcraybatchsystem.rb: 10.9% line coverage (12/110)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfcraybatchsystem.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"715305d1e044a8aa774d17e1e97a070d58aabcc741d66e3770c12ccc0ffbdeac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/moabbatchsystem.rb: 10.8% line coverage (17/158)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/moabbatchsystem.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c758b64a3adcc6abf09d113b1d1b2400f1cb4e4d2b98ef1d164233600b41319"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/moabtorquebatchsystem.rb: 13.9% line coverage (17/122)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/moabtorquebatchsystem.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b25c19ff1d3b49a6fbfe41e2029a22c6aac6a8850dc2571ea5ce8aaeff0124"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/pbsprobatchsystem.rb: 9.3% line coverage (14/151)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/pbsprobatchsystem.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0d7fbcef618230beabcaf6d772fcc0ae9f555f2875657c4fef4f4f4fe494a5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/reportoption.rb: 0.0% line coverage (0/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/reportoption.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d0f3e1b98144e532a196bb0b4199e2c1186f7553a745224ddb96f7bf45eeed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/slurmbatchsystem.rb: 7.2% line coverage (19/265)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/slurmbatchsystem.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7e165b1d74a3664c5a16534ed68ddf95078afbc97d8edeb6ddc399e8f7efaf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/stringevaluator.rb: 17.7% line coverage (22/124)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/stringevaluator.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6728dd8860700db9ae32992bccbfe37d3380bb3cbc61a0a01ebef8adf3ae9286"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/task.rb: 22.6% line coverage (14/62)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/task.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"474abecae0618d9d167a6a74096292d900d1662719b969c504c80a75cf454479"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/torquebatchsystem.rb: 13.1% line coverage (16/122)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/torquebatchsystem.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4854500ec9cef31678fa335d508cedf09a78c210aae6c9d7b5446f1fc7cff37b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowconfig.rb: 25.0% line coverage (9/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowconfig.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8b9c51d681bb654d0e2de44b7a4e123a311502f7ef6977945806648c45c092"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowdb.rb: 39.6% line coverage (137/346)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowdb.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1803bf00086ea53c3c26157b31c6d01d823b42b6701f59375d2dcfb1acd4f603"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowdbselection.rb: 0.0% line coverage (0/62)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowdbselection.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb19f529204dcfc4b58fd3264ecf58dff525e3095700c27f0381e1ec00bdceb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowdbsubset.rb: 0.0% line coverage (0/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowdbsubset.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7814208f342c37169b1528bdadf5ebe11da8fa05d1320506762a2481231b73a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowdoc.rb: 11.5% line coverage (50/436)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowdoc.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e45dc1d19f74feb28f0227a25c9ae4195f76d23a2d1bd57d1fc2046719c4098"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowengine.rb: 4.9% line coverage (38/771)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b8e356f0621f82c89c3e8fcd329b7b48e46e8c9008e5a33c1faf219a69bc41"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowio.rb: 37.8% line coverage (14/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowio.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ddb34df009416812a963705f46920a303b5981019e67d84abb8e784f42f47b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowioproxy.rb: 9.6% line coverage (9/94)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowioproxy.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c025b3d24bd7342ff584244b621b6122447a215048599f1e2e49bfa3c4fd2f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowlog.rb: 43.8% line coverage (7/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowlog.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d02cae84eae2ef14ab09caf518d300210ec04110288ed21f3782b15b72a0e38"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowreport.rb: 0.0% line coverage (0/321)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowreport.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6223e8e36dd5f20d3f69b7e502d26730d6b2fa8af20bd08309d74fa1024b287"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowselection.rb: 9.7% line coverage (11/113)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowselection.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a4d7021ea10142b4d73570ed8350f7731152236ebdcdbdc221271483e17fe7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowserver.rb: 0.0% line coverage (0/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowserver.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"857547fdf8aed624e9233c8eb4b55e6019e95223beb8edbcec917e4f8067016c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowstate.rb: 24.5% line coverage (13/53)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowstate.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3582c6b9608e568167a01abbcd095ba50fdadd1daa88f85c1fb102342fb196"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowsubset.rb: 37.8% line coverage (14/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowsubset.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bfb5fd1d712bfe25d232f40ab209e7820f8317bb54ef183e8209ff25d7f9c0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowsubsetoptions.rb: 22.1% line coverage (15/68)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowsubsetoptions.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c27cda5b26236b5e08f87e81df2f80d6ebc41d18ac2e72f25765dc8787ec2cb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lib/workflowmgr/workflowvacuumoption.rb: 0.0% line coverage (0/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowvacuumoption.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c15cd9b3decf147ecfb56eb6a8493e11b18be8dc9b6f6fdd80e06f4096e94de"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sbin/rocotoboot.rb: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sbin/rocotoboot.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7514f425656586b0a0a3895d5c48b3b782d42a4e6bc6145f2c0c751e98035f99"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sbin/rocotocheck.rb: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sbin/rocotocheck.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7e3839708f8227c5853e1236930b493ee5c15682ae76e5fdcfa1e2689f1837"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sbin/rocotocomplete.rb: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sbin/rocotocomplete.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba916e0b40fcd8eb52f476d443a084b9f64413c7c21a76898cb4eb09d25ac3d8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sbin/rocotorewind.rb: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sbin/rocotorewind.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"806c968b9863a2daae5f8c6bbeea947119d48648055f1fbc96509ef9943e0997"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sbin/rocotorun.rb: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sbin/rocotorun.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b2a2d5c7f705de79b3bc8f9560477ce2062c9796de3f8abd2a18b4d16d84b1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sbin/rocotostat.rb: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sbin/rocotostat.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbda2a24e9bc76ea61d400865fb306bd79a4896738ad3bf4d296a9ea52bce3f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sbin/rocotovacuum.rb: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sbin/rocotovacuum.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b93e58c9033f8ab6c6bf4b37de5c9964b2599c05dcc7b24a04c8d5beff73a7"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: local_ip: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Flaky test with race conditions - needs redesign with proper IPC instead of sleep-based timing\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/workflowmgr/workflowdb_spec.rb"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"af505b400bd30fad8fc9cd8a9019bae470db3c6818fd6e7dd4b3bb2d96c75868"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 5 significant file(s) lose their only recent owner: lib/workflowmgr/workflowdb.rb, lib/rocoto_actor/future.rb, lib/rocoto_actor/protocol.rb, lib/rocoto_actor/transport.rb, lib/rocoto_actor/handle.rb. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44a617cf8b386ad579461ec6c1201a4f079edbdfb5837b2c3f7bf5605b376432"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c751be9ac91b87ba1d58cedf0e43fd43f7f6f895406e17c49a1900f61cee514c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07a65b7b24702a90876b859e5559ef801f33ca0dc9dc4fe66cd04b7e4e4d4d03"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33d24072e6d6420265f75e7d249bb0c95c562245d53d7081dc476d626ef9100d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4a80cd68b6aaf23da615c1fb2f69e1349e8013f5846671ad9e84875609c32fd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81d4999bba918e20834d26e6d8a9d0518cce720220859c87571806e056066170"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d8119580d4dc5595f7463f42c80678ac7531be130eea8e8d81d36b1e39b9957"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"864edbe48e013b87fafa1f86fd5a4310a0a76a6576310c2c41fd2b4789c1d116"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a3b4702b1403f91cd9315e866cd1fdeccf775ba5c97ae070c2d4754ba12a604"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05f34ca4b31fd275f337bcc03993d4d42c1dccd69ac85f83e837b26eac7b6974"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f36d49fa2c9c7a36bc878e732f12fae7beaef4e2e61b0850367e2454c250ef2e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d77cd355e7915509c45ab392d25a53cfe0b609a4d46dbe48b654858e3f278e7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ca8800356f4e8dc10f2f5118a91559091ed3ad20e3e012ba749d31d132c88af"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa835455c2157cd4de8fea4478a2a3374a5620864980e0430b4871a1f132ec86"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"869508ff68d9756c99e02eda485411a79f3d90bdf15b0f03dff15698be509b77"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e984c709a4dc3a4924ce5c6f034dc18882d9199f396d3a789a84471f753c181"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33617bde164a7a74c4555b8efe61404b75db9e34fe85f93765bfd58564c15e46"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ebaddea70f286defc0cbc73c2af86dfc38997cf6bb5032181a2843b4da0a0fc"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbaaa6180254fda4e1a87e746fede9cb5f6e43ef704f5278c9fb80df493f4df1"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20ccd838534b3eab2bbc05cd870338bee24697273b73b7d80b12ee5136fb67d2"},"properties":{"dependency":{"package":"nokogiri","version":"1.19.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.19.4","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9dc14223e4136be2d81ac0be91cf80f9c514220fe2e6523f875846e192ffa51a"},"properties":{"dependency":{"package":"sqlite3","version":"2.9.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.10.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a04b349ced306ce5538f8142a6cbe1d3a14d4b9faec1377747a8b8a371eaf2ce"},"properties":{"dependency":{"package":"json","version":"2.19.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"2.19.9","reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 3 of 42 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 42 of the 66 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: lib/lockfile/lib/lockfile-1.3.0.rb, lib/lockfile/lib/lockfile.rb, lib/lockfile/install.rb. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d380a8a2d9265e4f2bfd718d0d0fc405004bffce107b550f3e232749cf6315e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d9683085d584785c8871b22250a7571e1eb15287fb8562e57680da175b2a72"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/install.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03eda5cea165e788c7decaf77be777a3cf51e8a79f8784aabf252f6c9a91544"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08a18a96211b6844ad9da8b433391edff85176f0f9f15f4be616082932dafce4"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ded81cc3945f0b78a344c3c81136276b665e630aa6b9c8f098ef261e731e686"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1130ff4f9887e2e3eda8f1be6c965ff0ed5598db6d5d29281a1b2f9a70854231"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5967be4e3d7bf9f95de960536b1af2e6d46acf75547fb1886798351b5d9fc1d"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"314199fb1187db19f6901a2249bcf42b9bed18cdcca3c7038098b7009f86bdf0"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/workflowmgr/workflowdb_spec.rb"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de0c2904ecba4384602a3c37b553e21bf9a5ae396057eebba4a4ec0f17dedbf"}},{"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":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 68 Ruby production file(s) this check read across 1 module(s). Each was searched for its ecosystem\u0027s logging libraries (Ruby: Rails.logger, Logger.new, SemanticLogger, Lograge) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"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 brakeman for Rails apps, otherwise \u0060semgrep --config=auto\u0060 or CodeQL\u0027s ruby pack as a CI step. What was searched, so you can tell an absence from a miss: the 1 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":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/test-suite.yaml"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!(@bq_server.nil? || !@config.BatchQueueServer || WorkflowMgr.dryrun_mode?) \u0026\u0026 !@bq_server.running?\u0060 appears character-identically in 2 files \u2014 lib/workflowmgr/workflowengine.rb, lib/workflowmgr/workflowreport.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db5ec0cd02f3876d8c2a416c2eea19ed361d0f8a0c971d270b670d2b1e24f9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!@workflow_io_server.nil? \u0026\u0026 @config.WorkflowIOServer \u0026\u0026 !WorkflowMgr.dryrun_mode?\u0060 appears character-identically in 2 files \u2014 lib/workflowmgr/workflowengine.rb, lib/workflowmgr/workflowreport.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"882d8c9e6a67830ae6887cbcfacec393afbc491b7db6f5902131cef50300e04e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \[e-mail redacted] \u0026\u0026 !WorkflowMgr.dryrun_mode?\u0060 appears character-identically in 3 files \u2014 lib/workflowmgr/bqsproxy.rb, lib/workflowmgr/workflowengine.rb, lib/workflowmgr/workflowreport.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/bqsproxy.rb"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef45726a96a2ac7a6760fc924dcf9324b320aa62658f580edcfb195d2b9f366"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \[e-mail redacted] || WorkflowMgr.dryrun_mode?\u0060 appears character-identically in 2 files \u2014 lib/workflowmgr/workflowengine.rb, lib/workflowmgr/workflowreport.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"5988c7c3c6394591142b208530845cc6553ad24c547e5132b5c926973566dc29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \[e-mail redacted] \u0026\u0026 !WorkflowMgr.dryrun_mode?\u0060 appears character-identically in 3 files \u2014 lib/workflowmgr/dbproxy.rb, lib/workflowmgr/workflowengine.rb, lib/workflowmgr/workflowreport.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/dbproxy.rb"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef5c4136605a6fba4fd2419e605e89177693863c849693e6191daa42d4d51b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060@opts[key] || @opts[key.to_s] || @opts[key.to_s.intern]\u0060 appears character-identically in 2 files \u2014 lib/lockfile/lib/lockfile-1.3.0.rb, lib/lockfile/lib/lockfile.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ede3e074f1384925930220fd4d4bdb9edcf1684723c8d6a7eabb9b61607f43d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dbcycledef.group == cycledef.group \u0026\u0026 dbcycledef.cycledef == cycledef.cycledef\u0060 appears character-identically in 2 files \u2014 lib/workflowmgr/workflowengine.rb, lib/workflowmgr/workflowreport.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a084554bcf28603ecaa773468c26e490b37ae8cdd7175bca304dd9b95749e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.is_a?(ArgumentError) || e.is_a?(NameError) || e.is_a?(TypeError)\u0060 appears character-identically in 5 files \u2014 lib/wfmstat/statusengine.rb, lib/workflowmgr/bqsproxy.rb, lib/workflowmgr/dbproxy.rb, lib/workflowmgr/workflowengine.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wfmstat/statusengine.rb"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"10649ffc60152573cbccfc3071849437289cafbbf4224e3902bb1b663182a815"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getopt(\u0027dont_clean\u0027) || @klass.dont_clean\u0060 appears character-identically in 2 files \u2014 lib/lockfile/lib/lockfile-1.3.0.rb, lib/lockfile/lib/lockfile.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9885308b35437129833e8db56aebc6e460230aa48134011245b674ed5d4c6342"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getopt(\u0027dont_sweep\u0027) || @klass.dont_sweep\u0060 appears character-identically in 2 files \u2014 lib/lockfile/lib/lockfile-1.3.0.rb, lib/lockfile/lib/lockfile.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"75738f1f4be960b2eb2356969a8e6a6e84e41e1234e13e2b7027f43870007e6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getopt(\u0027poll_max_sleep\u0027) || @klass.poll_max_sleep\u0060 appears character-identically in 2 files \u2014 lib/lockfile/lib/lockfile-1.3.0.rb, lib/lockfile/lib/lockfile.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eec45645e6e17d1a219f92f8e21c96e49d7a198322c5f683c4cab7747e61a4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getopt(\u0027poll_retries\u0027) || @klass.poll_retries\u0060 appears character-identically in 2 files \u2014 lib/lockfile/lib/lockfile-1.3.0.rb, lib/lockfile/lib/lockfile.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf96856ea81b4a4317e96ae79ee91308251286c0bbab4c325809f42759ba13c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job[\u0027State\u0027] =~ /^Removed/ || job[\u0027CompletionCode\u0027] =~ /^CNCLD/\u0060 appears character-identically in 2 files \u2014 lib/workflowmgr/moabbatchsystem.rb, lib/workflowmgr/moabtorquebatchsystem.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/moabbatchsystem.rb"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"117ef6ed0f3ff782572a8cf6d002360786cc67ec53a1f239b4aed9aab6e45856"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record[:state] == \u0022UNKNOWN\u0022 \u0026\u0026 !record[:exit_status].nil?\u0060 appears character-identically in 3 files \u2014 lib/workflowmgr/cobaltbatchsystem.rb, lib/workflowmgr/pbsprobatchsystem.rb, lib/workflowmgr/torquebatchsystem.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cobaltbatchsystem.rb"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8dcfec15c62f6961a0b402d4aa20fab1b6ab3b44399a7ea7da6322ae37fa3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record[:state] == \u0022UNKNOWN\u0022 || ([\u0022SUCCEEDED\u0022, \u0022FAILED\u0022].include?(record[:state]) \u0026\u0026 (record[:start_time].nil? || record[:end_time].nil?))\u0060 appears character-identically in 2 files \u2014 lib/workflowmgr/cobaltbatchsystem.rb, lib/workflowmgr/torquebatchsystem.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cobaltbatchsystem.rb"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdc8919b6ac191c2c8bc3d93b39232d79c79ee0b2c4014a605f1120bc50baf5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060socket \u0026\u0026 RocotoActor.broker_client(socket)\u0060 appears character-identically in 2 files \u2014 lib/rocoto_actor/handle.rb, lib/rocoto_actor/timer.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/rocoto_actor/handle.rb"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f93ef2dab5cab07e8a1fb05ea04eba116d010f1108a82bd10c9595820d5fe3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tmp_stat.rdev == lock_stat.rdev and tmp_stat.ino == lock_stat.ino\u0060 appears character-identically in 2 files \u2014 lib/lockfile/lib/lockfile-1.3.0.rb, lib/lockfile/lib/lockfile.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3da9f031f8ae0f99ed7a70b2edf7339b169260eb413093cfd4d757f933b5d0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workflowdoc.cyclelifespan || WorkflowMgr.ddhhmmss_to_seconds(\u0022365:00:00:00\u0022)\u0060 appears character-identically in 2 files \u2014 lib/workflowmgr/workflowengine.rb, lib/workflowmgr/workflowreport.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/workflowengine.rb"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ff84654c09926195f1f74b5b3933c79ca3b38a29a853ae0e4ca27d07198bee"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Tempfile.new\u0060 is called here without a block, so it hands back an open descriptor the caller must close \u2014 and its first and only use reads \u0060.path\u0060 through it and drops it. Nothing closes it: it stays open until the garbage collector happens to finalize it, which is one leaked descriptor per call (a child process too, for \u0060IO.popen\u0060), \u0060Errno::EMFILE\u0060 under load, and for a written file data that is not flushed when the program next reads it. Use the block form, which closes on every path including a raise (\u0060Tempfile.new(\u2026) { |io| \u2026 }\u0060), or the one-call reader/writer (\u0060File.read\u0060, \u0060File.write\u0060, \u0060File.foreach\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/cobaltbatchsystem.rb"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b478b549b7cfd6de8381a53001ec94fd23652d28d4c17eec49d6571cb21ea721"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Tempfile.new\u0060 is called here without a block, so it hands back an open descriptor the caller must close \u2014 and it is held in \u0060tf\u0060, and every later use of \u0060tf\u0060 in \u0060submit\u0060 reads a member through it \u2014 it is never closed, returned, passed, yielded or stored. Nothing closes it: it stays open until the garbage collector happens to finalize it, which is one leaked descriptor per call (a child process too, for \u0060IO.popen\u0060), \u0060Errno::EMFILE\u0060 under load, and for a written file data that is not flushed when the program next reads it. Use the block form, which closes on every path including a raise (\u0060Tempfile.new(\u2026) { |io| \u2026 }\u0060), or the one-call reader/writer (\u0060File.read\u0060, \u0060File.write\u0060, \u0060File.foreach\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfbatchsystem.rb"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff33390709aed48607eee9ad80a7d01b2eae4a48d4a450dc17f2464b965b487"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Tempfile.new\u0060 is called here without a block, so it hands back an open descriptor the caller must close \u2014 and it is held in \u0060tf\u0060, and every later use of \u0060tf\u0060 in \u0060submit\u0060 reads a member through it \u2014 it is never closed, returned, passed, yielded or stored. Nothing closes it: it stays open until the garbage collector happens to finalize it, which is one leaked descriptor per call (a child process too, for \u0060IO.popen\u0060), \u0060Errno::EMFILE\u0060 under load, and for a written file data that is not flushed when the program next reads it. Use the block form, which closes on every path including a raise (\u0060Tempfile.new(\u2026) { |io| \u2026 }\u0060), or the one-call reader/writer (\u0060File.read\u0060, \u0060File.write\u0060, \u0060File.foreach\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/lsfcraybatchsystem.rb"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bda170be0c3b238a43f329a0d80bed5ebbf8159e9b61fc19b6fd72f7aafb2f5"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Tempfile.new\u0060 is called here without a block, so it hands back an open descriptor the caller must close \u2014 and it is held in \u0060tf\u0060, and every later use of \u0060tf\u0060 in \u0060submit\u0060 reads a member through it \u2014 it is never closed, returned, passed, yielded or stored. Nothing closes it: it stays open until the garbage collector happens to finalize it, which is one leaked descriptor per call (a child process too, for \u0060IO.popen\u0060), \u0060Errno::EMFILE\u0060 under load, and for a written file data that is not flushed when the program next reads it. Use the block form, which closes on every path including a raise (\u0060Tempfile.new(\u2026) { |io| \u2026 }\u0060), or the one-call reader/writer (\u0060File.read\u0060, \u0060File.write\u0060, \u0060File.foreach\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/moabbatchsystem.rb"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d5da38206686175cfa390ce8f0b4209ce8ddbcae6c13bb2bbb900b080e16e0"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Tempfile.new\u0060 is called here without a block, so it hands back an open descriptor the caller must close \u2014 and it is held in \u0060tf\u0060, and every later use of \u0060tf\u0060 in \u0060submit\u0060 reads a member through it \u2014 it is never closed, returned, passed, yielded or stored. Nothing closes it: it stays open until the garbage collector happens to finalize it, which is one leaked descriptor per call (a child process too, for \u0060IO.popen\u0060), \u0060Errno::EMFILE\u0060 under load, and for a written file data that is not flushed when the program next reads it. Use the block form, which closes on every path including a raise (\u0060Tempfile.new(\u2026) { |io| \u2026 }\u0060), or the one-call reader/writer (\u0060File.read\u0060, \u0060File.write\u0060, \u0060File.foreach\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/pbsprobatchsystem.rb"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1b722f231b151b164c9e3f1cf27bafb0370d9d2b3cf64d03ea4379a0e245fe"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Tempfile.new\u0060 is called here without a block, so it hands back an open descriptor the caller must close \u2014 and it is held in \u0060tf\u0060, and every later use of \u0060tf\u0060 in \u0060submit\u0060 reads a member through it \u2014 it is never closed, returned, passed, yielded or stored. Nothing closes it: it stays open until the garbage collector happens to finalize it, which is one leaked descriptor per call (a child process too, for \u0060IO.popen\u0060), \u0060Errno::EMFILE\u0060 under load, and for a written file data that is not flushed when the program next reads it. Use the block form, which closes on every path including a raise (\u0060Tempfile.new(\u2026) { |io| \u2026 }\u0060), or the one-call reader/writer (\u0060File.read\u0060, \u0060File.write\u0060, \u0060File.foreach\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/slurmbatchsystem.rb"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddacf6b9985d5de9989243d28ffe968822f9ea844d7d0d5bd2ca8afa0d8a06a"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Tempfile.new\u0060 is called here without a block, so it hands back an open descriptor the caller must close \u2014 and it is held in \u0060tf\u0060, and every later use of \u0060tf\u0060 in \u0060submit\u0060 reads a member through it \u2014 it is never closed, returned, passed, yielded or stored. Nothing closes it: it stays open until the garbage collector happens to finalize it, which is one leaked descriptor per call (a child process too, for \u0060IO.popen\u0060), \u0060Errno::EMFILE\u0060 under load, and for a written file data that is not flushed when the program next reads it. Use the block form, which closes on every path including a raise (\u0060Tempfile.new(\u2026) { |io| \u2026 }\u0060), or the one-call reader/writer (\u0060File.read\u0060, \u0060File.write\u0060, \u0060File.foreach\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workflowmgr/torquebatchsystem.rb"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"463c6617ff008c595d764af438720dc023946202287ccfc0590ca97cc5fb5d39"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/rocoto_actor/error_reporting.rb"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"720cc98a150fa7c96c1cb2f9c627c3e300e1e674ef2ffd30e26526d4c548c1ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue StandardError\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/rocoto_actor/future.rb"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8811047cb604c0d2e20086b1d240fedbd90aabbc16d8f5f2e3aa01cb6504cbbc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe445690c7d4933c67253d04a871e83ab57fb77f9206bda20936d3f33acbe62"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1617f02ad6b87a46b55b5e29c1707d62adafee0a04a46a1322dc5e7d9c8c815b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile-1.3.0.rb"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bee42a5f7f2e5a6d9fc7fe5042a60a1d9c1c3575471f97b7007b4f248d2bfd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile.rb"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fc3f1b7b838a793e8fcc2c39d4bb10bb4c758acdb6793d6a16a0bbb819ba26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile.rb"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a80bab5fdf5c62cd2ae4d1867b0ad5aafd831c13d0b6222010221fd1a1e1b22"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lockfile/lib/lockfile.rb"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"885d3c9fa44b8fe0b0cddb97c38c79c35277f18d61b42ee45f699a57dd222244"}},{"ruleId":"X5","level":"note","message":{"text":"Ruby\u0027s type checker does not check nil everywhere: This repository commits no Sorbet configuration (\u0060sorbet/config\u0060) and no \u0060Steepfile\u0060, so nothing type-checks its 66 Ruby product file(s): a nilable value reaches a method call silently and raises \u0060NoMethodError: undefined method \u2026 for nil\u0060 the first time it is nil. A \u0060# typed:\u0060 sigil does nothing without a \u0060sorbet/config\u0060 beside the code; a Steep run configured only on a command line is not something this check can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32b27113b1bc22f400935e8620d19eae7fd3ef145cc36018609c445ea8cd4af1"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1265","guid":"9bfc5711-f2f2-6252-bd2e-ff21a1e98a6c","name":"CWE-1265","shortDescription":{"text":"CWE-1265"},"helpUri":"https://cwe.mitre.org/data/definitions/1265.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"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":27,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}