{"$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":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"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":"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"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":"X31","name":"Test-only surface in a production module","shortDescription":{"text":"Test-only surface in a production module"},"helpUri":"https://codehealth.canine.dev/dimensions/X31"},{"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ErlTerm.decode_term (cyclomatic 41): ErlTerm.decode_term has cyclomatic complexity 41 (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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"702b7cbe656022ce9d4c4aa7e46779de929f545ed1b30b679b9383f48f063622"}},{"ruleId":"D1","level":"warning","message":{"text":"ErlTerm.decode_term (cyclomatic 40): ErlTerm.decode_term 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":"priv/ruby1.9/erlport/erlterms.rb"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebd1064ccf39ad5193256fdbac673476e12e204d2a8f254b17bc00612c83b71"}},{"ruleId":"D1","level":"warning","message":{"text":"erlterms.decode_term (cyclomatic 39): erlterms.decode_term 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python3/erlport/erlterms.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"85771e99c7e69822432902fe4cefab6ceef68d32a33cc39f9f12cf9d7b7b8ff2"}},{"ruleId":"D1","level":"warning","message":{"text":"ErlTerm.encode_term (cyclomatic 33): ErlTerm.encode_term 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7f54314d315df3cd2aac0625dae13a04851826c85e576325598aea2448ec4d"}},{"ruleId":"D1","level":"warning","message":{"text":"ErlTerm.encode_term (cyclomatic 32): ErlTerm.encode_term has cyclomatic complexity 32 (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":"priv/ruby1.9/erlport/erlterms.rb"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"73521c759088de5b2a92610c800c397d98c67d1520368a353886d6e8e08f2cc8"}},{"ruleId":"D1","level":"warning","message":{"text":"erlterms.encode_term (cyclomatic 29): erlterms.encode_term 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":"priv/python3/erlport/erlterms.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4c43b8877af639d211cf0d43d4f994ed32bb6720f77ff1ab771d841725c0d3"}},{"ruleId":"D1","level":"warning","message":{"text":"erlport_options.parse (cyclomatic 25): erlport_options.parse has cyclomatic complexity 25 (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":"src/erlport_options.erl"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6394e7afd5e042096af03a29047ac7616d4ddc15c7916032ff29361cfa2705"}},{"ruleId":"D2","level":"warning","message":{"text":"ErlTerm.decode_term (cognitive 65): ErlTerm.decode_term has cognitive complexity 65 (threshold 15). Drivers by points: if/else 26 (56 pts), loops 2 (5 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 34). 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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ec97ab8f29240da8db402cbfbc2bfa355dd18667017c806a7c64da84db3b63"}},{"ruleId":"D2","level":"warning","message":{"text":"ErlTerm.decode_term (cognitive 65): ErlTerm.decode_term has cognitive complexity 65 (threshold 15). Drivers by points: if/else 26 (56 pts), loops 2 (5 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 34). 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":"priv/ruby1.9/erlport/erlterms.rb"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d672c79cbf32a042f13b57a5313b174db9841105d507b0e46bb4f3c735910c2"}},{"ruleId":"D2","level":"warning","message":{"text":"erlterms.decode_term (cognitive 63): erlterms.decode_term has cognitive complexity 63 (threshold 15). Drivers by points: if/else 27 (57 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 33). 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":"priv/python3/erlport/erlterms.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d766c7576b11abaff993e87ef1d597f3138007a60b44f522ac6138f75c28e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"ErlTerm.encode_term (cognitive 34): ErlTerm.encode_term has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 4, loops 1 (2 pts), error handling 1, match/switch 1 (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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9a4e7ed7c566fc12650280f0743f11964678a0841515da5e5bee2f96133fbc"}},{"ruleId":"D2","level":"warning","message":{"text":"ErlTerm.encode_term (cognitive 34): ErlTerm.encode_term has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 4, loops 1 (2 pts), error handling 1, match/switch 1 (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":"priv/ruby1.9/erlport/erlterms.rb"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0366769edd956fe3a12076c2859cd1312813642b8557c1edd980fdec7b5413"}},{"ruleId":"D2","level":"warning","message":{"text":"erlterms.encode_term (cognitive 24): erlterms.encode_term has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 2 (4 pts), loops 1 (2 pts), boolean chains 1 (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":"priv/python3/erlport/erlterms.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"f175409244c01ce04391e29158381a76a7dd2cbe349779efe8633bea85c268f1"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageHandler._receive (cognitive 21): MessageHandler._receive has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 3 (8 pts), boolean chains 1, loops 1 (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":"priv/python2/erlport/erlang.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f324015f71b2d04a1533dfa031ed44142ab5107f972d986ce2f1bdf7cf6400c1"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageHandler._receive (cognitive 21): MessageHandler._receive has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 3 (8 pts), boolean chains 1, loops 1 (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":"priv/python3/erlport/erlang.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b241c334f24a5a5e419251d82ccff4035602c145f8d6f30004170a93c19674a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Erlang._receive (cognitive 21): Erlang._receive has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (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":"priv/ruby1.8/erlport/erlang.rb"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1d608695a94c43b1c08e1c87dce83ffca3c11a96c370263a45d52fec5454e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (100 shared lines): priv/ruby1.8/erlport/erlterms.rb:225-327 | priv/ruby1.9/erlport/erlterms.rb:215-316 \u2014 These two members are variants of one another: 100 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb90dda53ded7d2ebb12ed0e8747f69c93a42efadb4270240afef4fcebaa97f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (90 corresponding lines): priv/ruby1.8/erlport/erlterms.rb:332-421 | priv/ruby1.9/erlport/erlterms.rb:321-410 \u2014 These two members are one piece of code written twice and then edited apart: 90 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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce35e23b8fd4d991e0675312d0b92a8a38b1ed7e6e69cf1344c3ef064402fa24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): src/python_options.erl:65-101 | src/ruby_options.erl:64-100 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/python_options.erl"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f543bb520e6c636b5d1c237b477ae3ab2f7d2318253b4dd07e392e46838def"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/python_options.erl:113-127 | src/ruby_options.erl:112-126 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/python_options.erl"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c254974d2bbcd334beaa2c2047439cb0364d08bf51269d1854a2880dd3f4b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/python.erl:182-201 | src/ruby.erl:182-201 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"src/python.erl"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e272a72b8ee64947a5b757de2c09b9d597ebc14501baf13ef140f7d3a196b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/python.erl:167-180 | src/ruby.erl:167-180 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/python.erl"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff9fac7a728fa7ce2b2807764bafb96d00c26fb92b172f2e184dd9c6f5be3ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/python_options.erl:176-190 | src/ruby_options.erl:176-192 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/python_options.erl"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5ddfc1f5234320d75117f021ee25c861f843c629cd5792af16cae98920ebce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): priv/python2/erlport/erlang.py:233-245 | priv/python3/erlport/erlang.py:232-244 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlang.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8041c63ed2df869357449ed02e7dca73f301ea7dbd0909f85d89247f0c9580c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): priv/python2/erlport/erlang.py:206-220 | priv/python3/erlport/erlang.py:203-218 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlang.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"21de1d518ba1f8267694b734653ddb6211dabcc48143ab313c0b56b07d9bd21a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/python_options.erl:154-167 | src/ruby_options.erl:153-167 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/python_options.erl"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00707b1194d5394606a6810eb6c19acdc9d740057838ac0e48dab60e446da26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): priv/python2/erlport/erlang.py:223-230 | priv/python3/erlport/erlang.py:221-229 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlang.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"50de430eb31e94574e0e3d3f7a9d680a0f2cf5126e62f72c7245a0de69d51972"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/python_options.erl:169-174 | src/ruby_options.erl:169-174 \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":"src/python_options.erl"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe3b75929d52b1b616ccacd163c86cc97cc1ed3154745e59c7c460cd94f12ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): priv/python2/erlport/erlang.py:64-67 | priv/python3/erlport/erlang.py:60-63 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlang.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"87347b71500c64e810fd6456a5b3e4ad63297d008314681637d75ee956f11924"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): priv/python2/erlport/erlang.py:198-200 | priv/python3/erlport/erlang.py:194-197 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"priv/python2/erlport/erlang.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"435dfd1bf9eedec5a47971c02a1ae0dc15aea9133f143c600a15acc5eb548ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/python.erl:75-78 | src/ruby.erl:75-78 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/python.erl"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"054b6dc4dcf71e171a97c3aa124d05d0516e7067c99aaa306239da04dcc65e93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/python.erl:107-110 | src/ruby.erl:107-110 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/python.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b32c2aec9b237b5a7fd05f2c4c5652c6419ab1d749c46bf5bdd425807c16e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): priv/python2/erlport/erlang.py:264-270 | priv/python3/erlport/erlang.py:263-269 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlang.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e80a170a0f5790f6f79c63fd195059cabb913529c25334fcafc021847e3ceab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/python.erl:190-201 | src/ruby.erl:190-201 \u2014 before extracting anything, compare \u0060src/python.erl\u0060 and \u0060src/ruby.erl\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060src/python.erl:190\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":"src/python.erl"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dd1a460b9b24d5419f702b031d4d0467ed4e1feef26fa8911edb449ec5c886"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/python.erl:170-180 | src/ruby.erl:170-180 \u2014 before extracting anything, compare \u0060src/python.erl\u0060 and \u0060src/ruby.erl\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"src/python.erl"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71974f4a5ba52d021bf8fcdff100383ed19444176b244e27f2604e9694d89fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/python_options.erl:73-82 | src/ruby_options.erl:72-81 \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":"src/python_options.erl"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e47ee080fedb151514a5f5eddeeee7ba483fe65a2cb286e153d9f98f9e5822a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/python_options.erl:107-111 | src/ruby_options.erl:106-110 \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":"src/python_options.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b6f5da880e7d39bc8517c571b33b4aabe4b90cc4ef6ea5149c6063462ca630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): priv/python2/erlport/erlang.py:150-181 | priv/python3/erlport/erlang.py:146-177 \u2014 before extracting anything, compare \u0060priv/python2/erlport/erlang.py\u0060 and \u0060priv/python3/erlport/erlang.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlang.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0e2546a4fb4c96af2407a775893e48bceee31397cc7e5a9b7901a558edc543"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): priv/python2/erlport/erlproto.py:53-73 | priv/python3/erlport/erlproto.py:51-71 \u2014 before extracting anything, compare \u0060priv/python2/erlport/erlproto.py\u0060 and \u0060priv/python3/erlport/erlproto.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlproto.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"860a622531633729fb0099ca7631589d14e7f6c221d8268d80373f9d0e691807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): priv/python2/erlport/erlproto.py:100-115 | priv/python3/erlport/erlproto.py:98-113 \u2014 before extracting anything, compare \u0060priv/python2/erlport/erlproto.py\u0060 and \u0060priv/python3/erlport/erlproto.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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":"priv/python2/erlport/erlproto.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f0a8f48cc321349406636f8a516dcaeae1838da9acae09d6e73386a3af2633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): priv/python2/erlport/erlang.py:248-261 | priv/python3/erlport/erlang.py:247-260 \u2014 before extracting anything, compare \u0060priv/python2/erlport/erlang.py\u0060 and \u0060priv/python3/erlport/erlang.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlang.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fc5b4b5710f17f8ce8334375d13983ad23918f2ed0fa9d5af874651967f490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): priv/python2/erlport/erlproto.py:87-97 | priv/python3/erlport/erlproto.py:85-95 \u2014 before extracting anything, compare \u0060priv/python2/erlport/erlproto.py\u0060 and \u0060priv/python3/erlport/erlproto.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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":"priv/python2/erlport/erlproto.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7049fd2345860f64b21f0a31d91651ffd9d65aa6dee135448db025b98507cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): priv/python2/erlport/erlang.py:224-230 | priv/python3/erlport/erlang.py:223-229 \u2014 before extracting anything, compare \u0060priv/python2/erlport/erlang.py\u0060 and \u0060priv/python3/erlport/erlang.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlang.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb400f87f3ef489dbbb29d4e36fc41ac34d3b77b7573aa3277764a7a3e3786e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): priv/python2/erlport/erlang.py:76-82 | priv/python3/erlport/erlang.py:72-78 \u2014 before extracting anything, compare \u0060priv/python2/erlport/erlang.py\u0060 and \u0060priv/python3/erlport/erlang.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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":"priv/python2/erlport/erlang.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe4ae588aa2769764a4ba0cd05828ab0f5182ef2de019e7f38bd98e1b4f730e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): priv/python2/erlport/erlang.py:85-96 | priv/python3/erlport/erlang.py:81-92 \u2014 before extracting anything, compare \u0060priv/python2/erlport/erlang.py\u0060 and \u0060priv/python3/erlport/erlang.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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":"priv/python2/erlport/erlang.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5849bf38dcaf3845d6c65aaf0b21d00a4fbde1458afc1402a55a593b03247e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): priv/python2/erlport/erlang.py:102-107 | priv/python3/erlport/erlang.py:98-103 \u2014 before extracting anything, compare \u0060priv/python2/erlport/erlang.py\u0060 and \u0060priv/python3/erlport/erlang.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlang.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"377de5ed1c294947ee458ecd82a69b92d6fe648225c594291f1fca9558ee0dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): priv/python2/erlport/erlang.py:135-141 | priv/python3/erlport/erlang.py:131-137 \u2014 before extracting anything, compare \u0060priv/python2/erlport/erlang.py\u0060 and \u0060priv/python3/erlport/erlang.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlang.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c206555288a1938504dddcf1499694e8f97202dcdfb7386834fc9e05383d0514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): priv/python2/erlport/erlang.py:189-195 | priv/python3/erlport/erlang.py:185-191 \u2014 before extracting anything, compare \u0060priv/python2/erlport/erlang.py\u0060 and \u0060priv/python3/erlport/erlang.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlang.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5c5bdc69a8e3190fe863fc78cbfa2ffa1289ec34c26a8a12202473e1ef677d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): priv/python2/erlport/erlproto.py:76-84 | priv/python3/erlport/erlproto.py:74-82 \u2014 before extracting anything, compare \u0060priv/python2/erlport/erlproto.py\u0060 and \u0060priv/python3/erlport/erlproto.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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":"priv/python2/erlport/erlproto.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47a1f8fd372bce9192febf13b1406227e14fb649347a6c264b1a52cacdb2049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 2): priv/ruby1.8/erlport/erlterms.rb:287-327 | priv/ruby1.9/erlport/erlterms.rb:275-316 \u2014 before extracting anything, compare \u0060priv/ruby1.8/erlport/erlterms.rb\u0060 and \u0060priv/ruby1.9/erlport/erlterms.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060priv/ruby1.8/erlport/erlterms.rb:287\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. 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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbb427b14563892bf6de2dd680ca6fb45871a47eafa4ab49e3fd3bdc49df67b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): priv/ruby1.8/erlport/erlterms.rb:380-421 | priv/ruby1.9/erlport/erlterms.rb:369-410 \u2014 before extracting anything, compare \u0060priv/ruby1.8/erlport/erlterms.rb\u0060 and \u0060priv/ruby1.9/erlport/erlterms.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e4a9fcead8650607891b105574d7a004d1a7cb475defb3454b90c9a79450e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): priv/ruby1.8/erlport/erlterms.rb:332-365 | priv/ruby1.9/erlport/erlterms.rb:321-353 \u2014 before extracting anything, compare \u0060priv/ruby1.8/erlport/erlterms.rb\u0060 and \u0060priv/ruby1.9/erlport/erlterms.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060priv/ruby1.8/erlport/erlterms.rb:332\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. 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"184d7c34acd0b54bcf1c4e6b19c336d2a35b8773a001827270141f3188bac757"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): priv/ruby1.8/erlport/erlterms.rb:260-285 | priv/ruby1.9/erlport/erlterms.rb:248-273 \u2014 before extracting anything, compare \u0060priv/ruby1.8/erlport/erlterms.rb\u0060 and \u0060priv/ruby1.9/erlport/erlterms.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11cfe7a65b44848feee4d678000ef5df80f142ff826aeb0988993e6fbf57628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): priv/ruby1.8/erlport/erlterms.rb:179-196 | priv/ruby1.9/erlport/erlterms.rb:169-186 \u2014 before extracting anything, compare \u0060priv/ruby1.8/erlport/erlterms.rb\u0060 and \u0060priv/ruby1.9/erlport/erlterms.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060priv/ruby1.9/erlport/erlterms.rb:168\u0060 calls \u0060force_encoding\u0060 and \u0060priv/ruby1.8/erlport/erlterms.rb:178\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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d090d63b651f423cff52718fe6d255051b575a4817ccb5d02f32138274c86b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): priv/ruby1.8/erlport/erlterms.rb:201-218 | priv/ruby1.9/erlport/erlterms.rb:191-208 \u2014 before extracting anything, compare \u0060priv/ruby1.8/erlport/erlterms.rb\u0060 and \u0060priv/ruby1.9/erlport/erlterms.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"266fba023c06ad7e04bd6c5be4ebc12640c0616c7f3c7852d2bd938bd3362d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): priv/ruby1.8/erlport/erlterms.rb:225-241 | priv/ruby1.9/erlport/erlterms.rb:215-231 \u2014 before extracting anything, compare \u0060priv/ruby1.8/erlport/erlterms.rb\u0060 and \u0060priv/ruby1.9/erlport/erlterms.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"661f2f108fce6c4c9ca5f08e4edefb449e3d221c9a7f3cd39bfbdad0eb83703f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): priv/ruby1.8/erlport/erlterms.rb:244-259 | priv/ruby1.9/erlport/erlterms.rb:232-246 \u2014 before extracting anything, compare \u0060priv/ruby1.8/erlport/erlterms.rb\u0060 and \u0060priv/ruby1.9/erlport/erlterms.rb\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7bfc8429e574e40738c0c37081b45fe62db62d83fc6aa3d0718a9f93d3ffd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Timeout? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/erlport.erl"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffde6f1bc54797787de41bfd4a87d651a9d8d5c51f9862b82e4a1f156c0414eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Should we flush old messages as in gen_fsm? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/erlport_utils.erl"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"129d8ff56fa7b5e058ce1a1e25a93fa1c836aa7f80f8bf689450bb6c1470c19a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Optimize list(map()) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python3/erlport/erlang.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"864cf1a10f33ca0d0086b8d7b3b60c3ad61e48b5a0865d15a3a9df5e66916420"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack to turn globals into locals \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python3/erlport/erlterms.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f24e5392f7f0782d900252c4019d93a1cdf486dbd20bd305f397c13299bfbd"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack to turn globals into locals \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python3/erlport/erlterms.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b69b89da851b314e1e4f3a2cb6342e02eee4f96e7dbedb6ac570906fdbb4f74"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack to turn globals into locals \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlterms.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3dbb88f2658418389ff0289191ebe0d28af80150b063758510adb3c69be178"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack to turn globals into locals \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/erlterms.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"23755ff234d43ffd2d0207fbdcc0db9646607c255f2b9f8388fe661cc64e6d1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Base class should be extracted so we can use it for Ruby class too \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/python.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20699d2a37da1ed774fdc82d2544d9311f69d066f8d4234dd060ecc2da6a7a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Handle \u0027node\u0027 option with \u0027rpc\u0027 module \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/python.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b291ec6b59d9e3195cf4592b8ea58606fae7e8e2cd5add93d6d297096126a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Fix exception \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/python.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9381e2d7be28d8453b833934cbb5fe16d7e2f616b4d9554ae2ae0b272f5d6f37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Fix exception \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/python.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"43847d0286acff7917d0d41171fb86f1046b47ba61695bf579578e97cf00bb73"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Parse options \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/python.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12188e53e06cce8f4fbaa9d742d3907edf8db8e4d1acc9a1603f6ec7d75c64a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Check all arguments \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/python.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c4d8d042691506dbcd6a80d94fcf5660a812ba1884796c57e589f97edb2756"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Reraise Python related exceptions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/python.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75c9ee93d88d4a977907eb46fcb90485f7f994d17e327313da39e5a7afb88ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Check result \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/python2/erlport/python.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e435c0930671111a84d2afa7651ecf6bc1d61bdddd8ef283e8bc99858a6d325e"}},{"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":"9184f627052c7f08d37898bbba3e42b9e20f7a26159fa921b6fd6ec39ea24b60"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"14b4ce5a114560848ca0c1bac1ec77936ce1adc5a1e529fd9f02aa87ee54d177"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 24 of 24 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 24 separate risks. Counted over 24 of the 28 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"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":"priv/python2/erlport/erlterms.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0489e9bd803e16edc79d59143c63320534b8de9c047aa27adbe7f6c69fa0b50"}},{"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":"priv/python3/erlport/erlterms.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85167cfe7626e4f68a94d793bd0786dac67bb5acb78258d3ff1882be487ce6a"}},{"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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"338c11d77e3c08f52157992d9a5c64d9ef8650e9b8d5b969c1d619e01e6cfb5e"}},{"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":"priv/ruby1.9/erlport/erlterms.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddba61376126451a033788c3ed6ada964d04d217afb786eeead4b476c8766f9"}},{"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":"src/erlport.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d85b2796a8505a9e37880f603f4edfcde898d91dbd266f595ec519e335c230"}},{"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":"priv/python3/erlport/erlang.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62e2ad44d295ef5d366e66325f444e0203c4495d0d90eb5e169becd9f90e7bf"}},{"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":"priv/python2/erlport/erlang.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f2927bbfa941901a1c69cc7126a0a781256c8560a6914c4fe9d40ceb47ff67"}},{"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":"src/erlport_options.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4846b264a5d4b5fb802d28ff259cd3b3f4d74c87872d93ee742b41f6e0702ae7"}},{"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":"priv/ruby1.8/erlport/erlang.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3efcc8c125cea8fce73190ded3061f2efc033add656c51a8679050a7bcba686"}},{"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":"src/python_options.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f4240eaff652bd4165865db8334330d49f077f95c5dce5d1d858d5a6dd8729"}},{"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":"src/ruby_options.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e759d60ff51800c28456bf0833c4a2b30e26ff6cc39f4f79c40a2e915871038b"}},{"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":"src/python.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba7613e1bef1e02ca9db43399feedd4d718c7d3cefc22d4f538147ee36fe398"}},{"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":"src/ruby.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33018fd601effbaecba268d62189832db8f0b761c3a3db183e0479d6a5ad62a9"}},{"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":"src/erlport_utils.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"031aa8d7e89c76639747e71a81c7a02512dfd16879a8567be3030ff2e319f86f"}},{"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":"priv/python2/erlport/stdio.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a55ec02d3163657768c466a18ea571def7178d8e076e2509e51080c76c3e62"}},{"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":"priv/ruby1.8/erlport/erlproto.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aead433516d3ab4b9f77497a6ee76692387b290cdab4c62b407a3d942bf6dd2"}},{"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":"priv/python2/erlport/erlproto.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc61b4a78c0d98f1cb81933efd3d9aa6496c7ca45bdcf480ebad15b52e6e5d1"}},{"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":"priv/python3/erlport/erlproto.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9d42b1aa449485a14d8aef10ca5ebf21a3010e8bbe90cba2f635dab9abbeb7"}},{"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":"priv/ruby1.8/erlport/cli.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"318284e201c808435cc4035a7f1f2272599a65bd14a2ad82edaf656781c04fc4"}},{"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":"priv/python2/erlport/cli.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb722fd0b12f7ee018adf13e782fdfd291840bee5c9859d317ef4bf87520cf67"}},{"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":"priv/python3/erlport/stdio.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a50a84c0332080eb92f7b0cae746a98c6893bc90b1a60f2b69f70556b21244"}},{"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":"priv/python2/erlport/python.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ddc3d365e1bf0ad11f6a3c85f64d83a51d24d2e95a827d975da4d3e64c04f4"}},{"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":"src/python.hrl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa95b49ebbee4839cd630c1a577489ed30f756f1b07c890241e65c191ef43c9"}},{"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":"src/ruby.hrl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a38d681f343b28c7e38b2b7fd220374b2ad932988858d6832c9a8172163fa0"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type(self) == type(other) and list(self) == list(other) and self.tail == other.tail\u0060 appears character-identically in 2 files \u2014 priv/python2/erlport/erlterms.py, priv/python3/erlport/erlterms.py. 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":"priv/python2/erlport/erlterms.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"091f918498524ac4aad0ee09bb0cc86e49c020fca0375a3dedccb63732ea9440"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type(self) == type(other) and self.language == other.language and self.data == other.data\u0060 appears character-identically in 2 files \u2014 priv/python2/erlport/erlterms.py, priv/python3/erlport/erlterms.py. 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":"priv/python2/erlport/erlterms.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccedd08c1e9d0722412e227db64503520863f197ec9952f6087a0c816843313"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lst.length == 3 and lst[0] == OpaqueObject::MARKER\u0060 appears character-identically in 2 files \u2014 priv/ruby1.8/erlport/erlterms.rb, priv/ruby1.9/erlport/erlterms.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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12ca6a610f301dbee10271f14d2a59c5e20b5bb8a18cd18ff081bb35f6e434f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.class == other.class and self.language == other.language and self.data == other.data\u0060 appears character-identically in 2 files \u2014 priv/ruby1.8/erlport/erlterms.rb, priv/ruby1.9/erlport/erlterms.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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ffac5bb198b3fa585ce71eb014dd460c2c896a704d85bf5013fb9a827223bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.class == other.class and self.to_a == other.to_a\u0060 appears character-identically in 2 files \u2014 priv/ruby1.8/erlport/erlterms.rb, priv/ruby1.9/erlport/erlterms.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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1705239e7bfe8f35659fb377a0877a724486db0028b83532dd7abb7e1f2bc8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.class == other.class and self.to_a == other.to_a and self.tail == other.tail\u0060 appears character-identically in 2 files \u2014 priv/ruby1.8/erlport/erlterms.rb, priv/ruby1.9/erlport/erlterms.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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afb6c1305c2f39b375fa5d430d450ab24182b939c1ac4ec33b9b661caf99972"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060term \u003E= -2147483648 and term \u003C= 2147483647\u0060 appears character-identically in 2 files \u2014 priv/ruby1.8/erlport/erlterms.rb, priv/ruby1.9/erlport/erlterms.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":"priv/ruby1.8/erlport/erlterms.rb"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06d662b73f3418d55c9cf6e3ab2cf01ac6462a82107c75e12aa85c288a1c401"}},{"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 7 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-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-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"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/"}]}],"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":2,"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."]}]}