{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"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":"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":"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":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"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":"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":"jose_base64.decode! (cyclomatic 66): jose_base64.decode! has cyclomatic complexity 66 (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":"codegen/jose_base64.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7789fd634a4d7f492015d8304b67b202ea6df0a8168af4d773dd2db5d07928b2"}},{"ruleId":"D1","level":"warning","message":{"text":"jose_base64url.decode! (cyclomatic 66): jose_base64url.decode! has cyclomatic complexity 66 (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":"codegen/jose_base64url.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f636925b8410fbb65b418f722c917ce71958d56dd03a6d363068e95f9e5f34"}},{"ruleId":"D1","level":"warning","message":{"text":"jose_base64.decode! (cyclomatic 66): jose_base64.decode! has cyclomatic complexity 66 (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/base/jose_base64.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc84a29aa1ec3283b76c902ad0a50642b6896b8c5ae6f0e2c120c6a3e052492"}},{"ruleId":"D1","level":"warning","message":{"text":"jose_base64url.decode! (cyclomatic 66): jose_base64url.decode! has cyclomatic complexity 66 (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/base/jose_base64url.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e5404610ec095a01626e54405edb2d8d8190dc142668cfcb9bc9202fdb81e8"}},{"ruleId":"D1","level":"warning","message":{"text":"jose_jws.sign (cyclomatic 28): jose_jws.sign has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jws/jose_jws.erl"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3084f5890760885d102e3b6e556a45befb3eab3459ddbb9ef4403bfd7f87850"}},{"ruleId":"D1","level":"warning","message":{"text":"jose_jwk_kty_rsa.from_map_rsa_private_key (cyclomatic 18): jose_jwk_kty_rsa.from_map_rsa_private_key has cyclomatic complexity 18 (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/jwk/jose_jwk_kty_rsa.erl"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"a229a54eaf286f6996db79bf0a51a6ed68d16a242f18c2e6083f99f1fb195463"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_base64.decode! (cognitive 32): jose_base64.decode! has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 11, match/switch 8 (11 pts), loops 4 (10 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c01dcb15c7748412a84774f04e6884826cb908410fbb0435a98e7769ea8ede"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_base64url.decode! (cognitive 32): jose_base64url.decode! has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 11, match/switch 8 (11 pts), loops 4 (10 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64url.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23ca4bf301b222c8b5522998894f69a5ef9ad6571b984833a767797658c032c"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_base64.decode! (cognitive 32): jose_base64.decode! has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 11, match/switch 8 (11 pts), loops 4 (10 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/base/jose_base64.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"86985be946bfee00d90a9452b638c3bd6f3758dc0b4a9ef2ceea396eba391eb1"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_base64url.decode! (cognitive 32): jose_base64url.decode! has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 11, match/switch 8 (11 pts), loops 4 (10 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/base/jose_base64url.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1bc94261eb4c5f139057b2b9e6851498f13b2623ceb1ce55cdb4fed4ca1a60"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_server.has_rsa_crypt (cognitive 32): jose_server.has_rsa_crypt has cognitive complexity 32 (threshold 15). Drivers by points: match/switch 14 (20 pts), error handling 6 (12 pts) (nesting depth added 12). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36c41e791f01dd598a9557df3db51103b2fad1b17223fa4a308a8f314129c84"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_server.has_block_cipher (cognitive 28): jose_server.has_block_cipher has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 15 (18 pts), error handling 6 (9 pts), boolean chains 1 (nesting depth added 6). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"525f0d8e30f2257a7014734337d141e43f36dfec42dfe53920d83c4444daa1a8"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_jwk_kty_rsa.try_generate_key (cognitive 23): jose_jwk_kty_rsa.try_generate_key has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 9 (16 pts), error handling 2 (6 pts), boolean chains 1 (nesting depth added 11). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_rsa.erl"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c3028112a3a14a564b57615338b87683e6d354270344acb7d83ea91115c94e"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_jwa_pkcs1.eme_oaep_decode (cognitive 22): jose_jwa_pkcs1.eme_oaep_decode has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 10 (20 pts), boolean chains 2 (nesting depth added 10). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53ce50942192fc5aa3f32567453eeb6cae62634c2368d5e1c5baf4ab2bc890a"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_jws.sign (cognitive 18): jose_jws.sign has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, loops 4, match/switch 2. To reduce it, name the conditions \u2014 but note WHERE they are: these tests sit in guard sequences, and a guard is a restricted expression sublanguage that allows neither binding a local nor calling a function you wrote, so neither of those moves is available in place. Move the decision out of the guard instead: keep one clause with a permissive guard, compute the compound test in the body through named predicate functions, and dispatch on their result. Where the clauses genuinely differ by pattern rather than by test, keep the patterns and lift only the comma-conjunctions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jws/jose_jws.erl"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"14603b0af4538387e5dcd80a87284ec0806374c3dc127ca81c561110a54cca69"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_jwa_pkcs1.emsa_pss_verify (cognitive 17): jose_jwa_pkcs1.emsa_pss_verify has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 9 (15 pts), boolean chains 2 (nesting depth added 6). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"bceeac0068c90274b6d11c02774618297afd256676267fc3c08e454fb7b0de39"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_server.check_chacha20_poly1305_modules (cognitive 16): jose_server.check_chacha20_poly1305_modules has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 7 (10 pts), error handling 2 (5 pts), boolean chains 1 (nesting depth added 6). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (jose_server.check_xchacha20_poly1305_modules) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e087d16fde7f5edb384205526096bf829be4f8e873f91eafc4c3ca966baf47ae"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_server.check_xchacha20_poly1305_modules (cognitive 16): jose_server.check_xchacha20_poly1305_modules has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 7 (10 pts), error handling 2 (5 pts), boolean chains 1 (nesting depth added 6). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (jose_server.check_chacha20_poly1305_modules) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"986f766990f79f9d2e15c1ed9e2e0c68eefe14b4c8f656e290e0a6c2135ab4a2"}},{"ruleId":"D2","level":"warning","message":{"text":"jose_server.has_rsa_sign (cognitive 16): jose_server.has_rsa_sign has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 8 (10 pts), error handling 4 (6 pts) (nesting depth added 4). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"3218857bf0a94c8f701b9cb50a3b0cbae32b1512776ab88c777efc414106d216"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: JWK: TooManyFunctions \u2014 92 functions. The bar is 30 functions; this is 62 over it, 3.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwk.ex"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a60b1106912765e61521111c0b1c67416650ef9f90fd208fcbda19ff3fc412"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jwk/jose_jwk.erl: FileTooLong \u2014 986 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 96 functions. The bar is 500 significant lines; this is 486 over it, 1.97\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2211fb3b6c181830b4ab183905abc849328f3aea80259b084439664f2b14748"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/jose_public_key.erl: FileTooLong \u2014 894 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 54 functions. The bar is 500 significant lines; this is 394 over it, 1.79\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_public_key.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b95ed2a9db4d72846a6471b241b660f43d7b2c2a6afc0d696890aa976557a20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/jose_server.erl: FileTooLong \u2014 893 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 51 functions. The bar is 500 significant lines; this is 393 over it, 1.79\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f395ede3e006d7f42f9a3bdc7d0b0828a7587eee9bc15e8c7c1ef6c209b76f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jwa/jose_jwa_pkcs1.erl: FileTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 42 functions. The bar is 500 significant lines; this is 355 over it, 1.71\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94da1e376ebf99e00edadc2338c35779956a6803b0799088e9c41cf2fbac2be2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: jose_jwa_aes: TooManyFunctions \u2014 47 functions. The bar is 30 functions; this is 17 over it, 1.57\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_aes.erl"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0813abc871415ab63e10ef704ad625d37b914cee05fa9b29a95b7d31f596b858"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: jose_jwk_kty_rsa: TooManyFunctions \u2014 42 functions. The bar is 30 functions; this is 12 over it, 1.40\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_rsa.erl"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e562e7457360ba9348166cd50e852aba4dc6486c8e5e8052996bd7f4940d7d1e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: jose_jwk_kty_ec: TooManyFunctions \u2014 33 functions. The bar is 30 functions; this is 3 over it, 1.10\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_ec.erl"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3067408f98fece2c26478fb67fd40b1e4035436dce096c810d473ac8bc9bb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 38 shared lines): codegen/jose_base64.erl:184-252 | codegen/jose_base64url.erl:184-252 | src/base/jose_base64.erl:115-183 | src/base/jose_base64url.erl:115-183 \u2014 These 4 members are variants of one another: a block of 38 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d50be84b43c6215d188751c27dac2f8016ae276127f914ab6b613cf11a1520c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 22 shared lines): codegen/jose_base64.erl:257-286 | codegen/jose_base64url.erl:257-286 | src/base/jose_base64.erl:188-217 | src/base/jose_base64url.erl:188-217 \u2014 These 4 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64.erl"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b199f9d3c891c7e3a102faa7835f575e80832d8cc8518d3364988162a0d507d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 23 shared lines): src/jwe/jose_jwe_alg_ecdh_1pu.erl:109-158 | src/jwe/jose_jwe_alg_ecdh_es.erl:108-155 | src/jwe/jose_jwe_alg_ecdh_ss.erl:109-157 \u2014 These 3 members are variants of one another: a block of 23 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_ecdh_1pu.erl"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4431b008e10db07820489d871f64111730dbbcd552afdbe0dd3d63edb14ac52f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 15 shared lines): src/jwe/jose_jwe_alg_ecdh_1pu.erl:160-213 | src/jwe/jose_jwe_alg_ecdh_es.erl:157-208 | src/jwe/jose_jwe_alg_ecdh_ss.erl:159-210 \u2014 These 3 members are variants of one another: a block of 15 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_ecdh_1pu.erl"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"96908dbdeb264c49f6b6d5cc15a7a74c935d9f6c56732e74ebd55317e03cb297"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/jwa/jose_jwa_aes.erl:238-258 | src/jwa/jose_jwa_aes.erl:318-338 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_aes.erl"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac155f13c66df715e8dc8a2c94ed9cb244444bdd59b0ee0bacf232b0a41705fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/jwa/jose_jwa_chacha20.erl:40-45 | src/jwa/jose_jwa_chacha20.erl:47-52 \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/jwa/jose_jwa_chacha20.erl"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fd03c0b92054cf0b93c2c13b6bff3825f952ae53eb5e627f0e447cccce2369"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/jwk/jose_jwk_kty_okp_ed25519.erl:65-72 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:54-61 | src/jwk/jose_jwk_kty_okp_ed448.erl:65-72 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:54-61 | src/jwk/jose_jwk_kty_okp_x25519.erl:63-70 | src/jwk/jose_jwk_kty_okp_x448.erl:63-70 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"20904241dbdaff4de4a198a5535b2f6629189f24482ebd89ec6a13135d162ac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/jwk/jose_jwk_kty_okp_ed25519.erl:82-94 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:68-80 | src/jwk/jose_jwk_kty_okp_ed448.erl:82-94 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:68-80 | src/jwk/jose_jwk_kty_okp_x25519.erl:80-92 | src/jwk/jose_jwk_kty_okp_x448.erl:80-92 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04babe61db5010907a6735bd5fda3d3e9f4280361713145a0a19e65b294b93d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): codegen/jose_base64.erl:170-179 | codegen/jose_base64url.erl:170-179 | src/base/jose_base64.erl:101-110 | src/base/jose_base64url.erl:101-110 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64.erl"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"35be436e822768aca07344423ce27ad417f4d2d83ec4b98e8f7f96d3ef4481ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): codegen/jose_base64.erl:291-310 | codegen/jose_base64url.erl:291-310 | src/base/jose_base64.erl:222-241 | src/base/jose_base64url.erl:222-241 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64.erl"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85c0c8ff6e1ad5155cbfb6bd46da3a4e756d1d62077b221f9b741a3d1a18926"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/jwe/jose_jwe.erl:83-91 | src/jwk/jose_jwk.erl:250-258 | src/jws/jose_jws.erl:82-90 | src/jwt/jose_jwt.erl:62-70 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe.erl"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b1fdf3549776ad34aac113b6ff2193f944fe21433c3474db8497d18742cef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/jwe/jose_jwe.erl:158-167 | src/jwk/jose_jwk.erl:556-565 | src/jws/jose_jws.erl:138-147 | src/jwt/jose_jwt.erl:93-102 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe.erl"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f4fc3df47ca3f0e29b1aea3375cefd3ac72f4f1c86530ccf164404b17cc7de"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/jwk/jose_jwk_kty_okp_ed25519.erl:135-142 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:121-128 | src/jwk/jose_jwk_kty_okp_ed448.erl:135-142 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:121-128 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"74168dd87aaf9d7cc0c520dd66542179e8a4d5f3b9c038e9dd2bc5ad138b06be"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/jwk/jose_jwk_kty_okp_ed25519.erl:144-149 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:130-135 | src/jwk/jose_jwk_kty_okp_ed448.erl:144-149 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:130-135 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d4e7ecc787ba49783e0c636239fc5dcfbde3c1a572ac6a58d93a801ce453c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/jwk/jose_jwk_kty_okp_ed25519.erl:246-251 | src/jwk/jose_jwk_kty_okp_ed448.erl:246-251 | src/jwk/jose_jwk_kty_okp_x25519.erl:263-268 | src/jwk/jose_jwk_kty_okp_x448.erl:263-268 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c255fd8e7597be3b58d78739520e7a60ba4921eb810d258b38fe4ca198c0dc39"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/jose/jwk.ex:1063-1086 | lib/jose/jwk.ex:1111-1134 | lib/jose/jwt.ex:283-306 | lib/jose/jwt.ex:332-355 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwk.ex"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff496b89d9087b00b7fc86cab67115d57d3c1c8f3ab01ca34ca0e8237a10730"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): src/jwk/jose_jwk.erl:294-329 | src/jws/jose_jws.erl:92-124 \u2014 These two members are one piece of code written twice and then edited apart: 33 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/jwk/jose_jwk.erl"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06a24ee123c840a25645417bd2e1131aa4de0e7892be382197eb6e024a03cd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): src/jwe/jose_jwe_alg_ecdh_1pu.erl:215-239 | src/jwe/jose_jwe_alg_ecdh_es.erl:210-232 | src/jwe/jose_jwe_alg_ecdh_ss.erl:212-234 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_ecdh_1pu.erl"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"43aa8c056c53232ee2f0836bc2df0ae366817835b5764af84ef162ee3daf2bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src/jws/jose_jws.erl:365-393 | src/jws/jose_jws.erl:395-434 \u2014 These two members are one piece of code written twice and then edited apart: 29 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/jws/jose_jws.erl"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8173a99a41f484afa4d63d30ebe892e88d3b7e03c50206c9e6d1877beeccf6d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/jwa/jose_jwa_ed25519.erl:261-276 | src/jwa/jose_jwa_ed448.erl:274-293 \u2014 These two members are one piece of code written twice and then edited apart: 16 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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdf23d89d183ccd99dab201d6d9c417bb4e284077dbc83a81a9a057717d8c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/jwk/jose_jwk.erl:814-825 | src/jwk/jose_jwk.erl:848-859 \u2014 These two members are one piece of code written twice and then edited apart: 12 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/jwk/jose_jwk.erl"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5001bca9615bccda4f2750a7f2b0818f5cc5e73e28df5fe711aaba5b560041"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/jwt/jose_jwt.erl:132-145 | src/jwt/jose_jwt.erl:171-186 \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/jwt/jose_jwt.erl"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1844fa513ffa40d01e7db2c4abade83d96f8332439e7613d3cb43a07ea3a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/jwe/jose_jwe_enc_aes.erl:145-171 | src/jwe/jose_jwe_enc_aes.erl:173-195 \u2014 These two members are one piece of code written twice and then edited apart: 23 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/jwe/jose_jwe_enc_aes.erl"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a136a6c5b4fe78bb9bfa9b87fc7d37803275e318cdc5417db5ac74e4d19b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/jwa/jose_jwa_ed25519.erl:292-305 | src/jwa/jose_jwa_ed448.erl:309-323 \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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0fdc6e7abbfb9a0c83b89bac5053590aa4c1b67c7fa8d06243aee0b53a7114"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/jwa/jose_jwa_aes.erl:383-406 | src/jwa/jose_jwa_aes.erl:409-426 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_aes.erl"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a7925b5c149d51337e56bb401e260f05538aab2e310ab76a7951dcb5735d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/jwk/jose_jwk.erl:1102-1114 | src/jwk/jose_jwk.erl:1117-1127 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3a893cbe63f071f060a32046a73fbfdd9e9f338adc056ccd41a00ccded71a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/jose_server.erl:285-315 | src/jose_server.erl:757-787 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cad5a826489418e465e26ae4759f90442eeed1c69862f9038762714841caac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/jwa/jose_jwa_aes.erl:224-235 | src/jwa/jose_jwa_aes.erl:304-315 \u2014 These two members are one piece of code written twice and then edited apart: 12 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/jwa/jose_jwa_aes.erl"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc9af254c23eae48ac3cd6015a4544a8d3f182a2b8d83879408ed6d245d65a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/jwk/jose_jwk_der.erl:43-69 | src/jwk/jose_jwk_pem.erl:67-93 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_der.erl"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7de4cf30632a990cf97d65347ccb875ddb375202c354f4dd74a721fb8684a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/jwa/jose_jwa_sha3.erl:236-245 | src/jwa/jose_jwa_sha3.erl:248-257 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_sha3.erl"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f378816b239b2429c9ec42d5b877fccb6bb7c7fcab497dfcbf5458375fea6f09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/jose_public_key.erl:662-672 | src/jose_public_key.erl:675-685 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_public_key.erl"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2eec016210b02432c6722c103bc5bfb00c0afd7ea212bf14ed597a0361ac6d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/jose_server.erl:371-395 | src/jose_server.erl:449-478 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23f20478ed8aec47bf3f678fa031eee991eda7393ed0e22e2ab99cf6d8bbabc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): src/jwk/jose_jwk.erl:200-213 | src/jwk/jose_jwk.erl:215-228 | src/jwk/jose_jwk.erl:339-352 | src/jwk/jose_jwk.erl:447-460 | src/jwk/jose_jwk.erl:462-475 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49c947306b9055fbf1b17f6f1fe9dcb6b37440ed050e8b5679c1acecf12c294"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/jwk/jose_jwk.erl:189-198 | src/jwt/jose_jwt.erl:115-125 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4e6179460d7ed187551aecb93964b7d7778c6b2f864e20bfc1ff0cd1084424"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/jwa/jose_jwa_aes_kw.erl:66-75 | src/jwa/jose_jwa_aes_kw.erl:84-93 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_aes_kw.erl"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d468de4e4becc7570edb87207bb2f67b1cc2f240fbf27024e9ff46fe1a31a341"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/jwa/jose_jwa.erl:74-105 | src/jwa/jose_jwa.erl:107-123 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa.erl"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ee9c4e28e09d38a93aa4668355dc9a89d3862b9f557f8311bd7040b85a34c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): src/jwa/jose_jwa_pkcs1.erl:739-760 | src/jwa/jose_jwa_pkcs1.erl:823-840 | src/jwa/jose_jwa_pkcs1.erl:850-868 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd1b8ab20ab077aca7af56332665614949c8b81e07258ffe3207ece5021706c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/jwa/jose_jwa_pkcs1.erl:549-566 | src/jwa/jose_jwa_pkcs1.erl:615-639 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"6023de8cd69c969746301a53e0e85f1959a210d8db7d4c083a2e8bec74002239"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): src/jose_server.erl:254-274 | src/jose_server.erl:318-336 | src/jose_server.erl:398-416 | src/jose_server.erl:569-589 | src/jose_server.erl:728-746 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"6201d46ec4698f837673e8ab1ca4b72b743b6a9e40c507702b623bc79d4c1649"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/jwa/jose_jwa_pkcs1.erl:74-93 | src/jwa/jose_jwa_pkcs1.erl:95-113 \u2014 These two members are one piece of code written twice and then edited apart: 19 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/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1140445cedac51da4cf52cdd747528a53d3e81e789dba056fdfd305367ddad05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): src/jwa/jose_jwa_pkcs1.erl:702-718 | src/jwa/jose_jwa_pkcs1.erl:770-786 | src/jwa/jose_jwa_pkcs1.erl:797-814 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aec61686b6db294c1a98b335f9a43062682dfb63a712c5758f425be2a2aef8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src/jws/jose_jws_alg_ecdsa.erl:36-43 | src/jws/jose_jws_alg_eddsa.erl:34-43 | src/jws/jose_jws_alg_rsa_pkcs1_v1_5.erl:36-43 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jws/jose_jws_alg_ecdsa.erl"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8984b8b08834092ef2cc026677da6622eeb2101bb5816f077281bf4480854ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): src/jwe/jose_jwe_alg_ecdh_1pu.erl:104-107 | src/jwe/jose_jwe_alg_ecdh_es.erl:103-106 | src/jwe/jose_jwe_alg_ecdh_ss.erl:104-107 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_ecdh_1pu.erl"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e4091532e99810ea034dc3313baabb6d97ca8f0b04dbc4b0bf1bab7e03d8ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/jwe/jose_jwe_alg_c20p_kw.erl:58-65 | src/jwe/jose_jwe_alg_xc20p_kw.erl:58-65 \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":"src/jwe/jose_jwe_alg_c20p_kw.erl"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9990f0233db3681e0639ac1fd98de5721aa4475bdc154c51bd97d864bdf69c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): src/jose_public_key.erl:35-50 | src/jose_public_key.erl:52-67 | src/jose_public_key.erl:270-285 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_public_key.erl"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b24d5c88e7b92260016b20bd1d5040668ac85013ca895b1bf4abb16c2090975"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/jwk/jose_jwk.erl:572-581 | src/jwk/jose_jwk.erl:644-653 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a144bb9358ea7af82185fca961b8c30b8f78670b4f20f442c1f3e9e8165fe779"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/jwa/jose_jwa_ed25519.erl:139-144 | src/jwa/jose_jwa_ed448.erl:145-150 \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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1c260ea3ed3e040789c9d400970492d2812c48550d55896760bbfc8d2dcf26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/jwa/jose_jwa_ed448.erl:120-141 | src/jwa/jose_jwa_x448.erl:83-99 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_ed448.erl"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6a38ac59e964934ec643669a06bbb77bb313a9e89e851fccfbadb48469c1dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): src/jwa/jose_jwa_pkcs1.erl:505-522 | src/jwa/jose_jwa_pkcs5.erl:33-50 | src/jwa/jose_jwa_pkcs5.erl:60-79 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1f98bfe3c92ca07a304731307333d305c0e00cb2b183b5cf78e15609273ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/jwe/jose_jwe_alg_aes_kw.erl:131-136 | src/jwe/jose_jwe_alg_c20p_kw.erl:98-103 | src/jwe/jose_jwe_alg_xc20p_kw.erl:98-103 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_aes_kw.erl"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a9d8a9fa61cb2712b8fd9fe8abd2e63dee08f8bd8c2a91f7177191b73ad0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/jwa/jose_jwa_chacha20_poly1305.erl:29-46 | src/jwa/jose_jwa_chacha20_poly1305.erl:48-60 \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":"src/jwa/jose_jwa_chacha20_poly1305.erl"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31fbba9b5be2ec60178038c6754732c83fb258f22f88b5bf99cdd30a4da7aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/jwk/jose_jwk.erl:331-337 | src/jwk/jose_jwk.erl:354-360 \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":"src/jwk/jose_jwk.erl"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6b4c582b30b13fb339ca80f8ff667bf2259ff36107865406e7474ac472d13d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/jwk/jose_jwk.erl:1130-1137 | src/jws/jose_jws.erl:487-494 \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":"src/jwk/jose_jwk.erl"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"983fafec09629d8dfdebe6d17ffdfabd94ae95f862f8b93d1fd7092b685c6a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/jwe/jose_jwe_alg_aes_kw.erl:123-128 | src/jwe/jose_jwe_alg_c20p_kw.erl:90-95 | src/jwe/jose_jwe_alg_xc20p_kw.erl:90-95 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_aes_kw.erl"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9289be2e937dcf06f86fabe31135f5705057bd808658dd393d568e6a9c81aa06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): src/jwe/jose_jwe.erl:69-76 | src/jwk/jose_jwk.erl:160-169 | src/jws/jose_jws.erl:64-73 | src/jwt/jose_jwt.erl:44-53 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe.erl"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21adea4e6f513f253e2a9d4de5e676f8b7e4d0f5ad044e25b7ef0b2eeeaa8ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/jose_server.erl:349-368 | src/jose_server.erl:427-446 \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/jose_server.erl"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"657a06e51701faaaaac798254ff67c92f1d7ccacb33552e950259bda63b5d44f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/jwa/jose_jwa_pkcs1.erl:59-72 | src/jwa/jose_jwa_pkcs1.erl:115-127 \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":"src/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0232f88f71c38deaedee64d206377b717c5039bd5429e10e9bd52c1712a0e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/jwa/jose_jwa_ed25519.erl:148-162 | src/jwa/jose_jwa_ed448.erl:154-162 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d667ef97d1ecd2c005dc3a47240653afe8a5af53d03dfbaafa5cc4527a8ab07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): src/jwe/jose_jwe.erl:333-339 | src/jwk/jose_jwk.erl:954-960 | src/jws/jose_jws.erl:211-217 | src/jwt/jose_jwt.erl:147-153 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe.erl"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"784343a12ae38cfed2b278572084fb27f70bbe2d2cfa3cfdba0cb90cfd3b72cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/jwa/jose_jwa_chacha20.erl:54-70 | src/jwa/jose_jwa_hchacha20.erl:20-32 \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":"src/jwa/jose_jwa_chacha20.erl"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1222d164f6440456d1bb49f96c257c7d774aa3d75e1005db9f8d2ea2d47ba861"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/jwe/jose_jwe_alg_rsa.erl:44-49 | src/jws/jose_jws_alg_hmac.erl:35-40 | src/jws/jose_jws_alg_rsa_pss.erl:36-41 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_rsa.erl"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d4aac2fc2a52fc5293ba45b90181e2d704ce8d91e9774e2fe90255e825dee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): src/jwk/jose_jwk.erl:240-248 | src/jwk/jose_jwk.erl:260-268 | src/jwk/jose_jwk.erl:372-380 | src/jwk/jose_jwk.erl:487-495 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9f5b126bcd022d1cb81898cdd2244d3f82fe99d165266706dd887feae9eb27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 8\u002B corresponding lines): src/jwk/jose_jwk_kty_okp_ed25519.erl:108-115 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:94-101 | src/jwk/jose_jwk_kty_okp_ed448.erl:108-115 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:94-101 | src/jwk/jose_jwk_kty_okp_x25519.erl:106-113 | src/jwk/jose_jwk_kty_okp_x448.erl:106-113 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f4220e506a955236b3cbd47d7afa0960a14e7753748a1f97a204ad586377d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/jwk/jose_jwk.erl:567-570 | src/jwk/jose_jwk.erl:639-642 \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/jwk/jose_jwk.erl"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdfa7fbbc556471c3b05673f5203ec14d420cacd74031cd666f10d2310de14a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/jwk/jose_jwk.erl:602-607 | src/jwk/jose_jwk.erl:621-626 \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/jwk/jose_jwk.erl"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"510d89ab0ceed3c4190134d3630f3fc3c3cdae1ef05516e541abc5f8579b894a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/jose_public_key.erl:930-941 | src/jose_public_key.erl:944-955 \u2014 These two members are one piece of code written twice and then edited apart: 12 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/jose_public_key.erl"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a957f81b94f046efabc5d6eeac94fa02fcd1b4b99d8455cd99cd3a679f952cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/jwa/jose_jwa.erl:143-152 | src/jwa/jose_jwa.erl:154-163 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa.erl"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"687562f005e038f5a11b2b3019e54489ad98b578c47ed4d62eaf7c5cc2dfdc64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): src/jwk/jose_jwk_kty_okp_ed25519.erl:237-244 | src/jwk/jose_jwk_kty_okp_ed448.erl:237-244 | src/jwk/jose_jwk_kty_okp_x25519.erl:254-261 | src/jwk/jose_jwk_kty_okp_x448.erl:254-261 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb1a1bae9e36495cef4573dd73563d415fd0883d4e52abe61e5aaa65bc1b2ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/jwa/jose_jwa_ed25519.erl:184-191 | src/jwa/jose_jwa_ed25519.erl:208-213 | src/jwa/jose_jwa_ed448.erl:196-201 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fb38c353b970e22c99d44083294e118590c75e44cdd47f40d429560630dbc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): src/jwk/jose_jwk.erl:534-543 | src/jwk/jose_jwk.erl:545-554 | src/jwk/jose_jwk.erl:628-637 | src/jwk/jose_jwk.erl:669-678 | src/jwk/jose_jwk.erl:692-701 | src/jwk/jose_jwk.erl:703-712 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ec9aff765c0b2ccebf539d8449aef5bcab41a5fbdac7d768addf2eced7c55d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): src/jwk/jose_jwk_kty_okp_ed25519.erl:151-156 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:137-142 | src/jwk/jose_jwk_kty_okp_ed448.erl:151-156 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:137-142 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35311d91c8d03ada4dcfd170e4b21ecc75e312021d24c6b7379968dc1543aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/jwa/jose_jwa_pkcs1.erl:424-434 | src/jwa/jose_jwa_pkcs1.erl:593-604 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ebc08613d623477608e8ab4509dbf5d15f11d8b3bf17378bab7e44d5fd046e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/jose/jwk.ex:669-679 | lib/jose/jwk.ex:774-783 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwk.ex"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6aa6251631bd5b03fbfacf45bacefd9f55660b510c673ddbaf21c652a5431f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): src/jwk/jose_jwk.erl:230-238 | src/jwk/jose_jwk.erl:362-370 | src/jwk/jose_jwk.erl:437-445 | src/jwk/jose_jwk.erl:477-485 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"62db4c82b8ecfec81b8ebac9e2fce54cf7a9ce6b3874b6a372ec9e959d14739c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): src/jwk/jose_jwk_kty_okp_ed25519.erl:179-187 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:148-156 | src/jwk/jose_jwk_kty_okp_ed448.erl:179-187 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:148-156 | src/jwk/jose_jwk_kty_okp_x25519.erl:196-204 | src/jwk/jose_jwk_kty_okp_x448.erl:196-204 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3aee30eeb41e14877726dc3adbf711c10e669bd9b5959171609dae1d81203a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/jwk/jose_jwk_kty_okp_x25519.erl:170-173 | src/jwk/jose_jwk_kty_okp_x448.erl:170-173 \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/jwk/jose_jwk_kty_okp_x25519.erl"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"64773165a2793d9707b425342ccc3c3f2ff54b1680ae6e676723aaa7d8a967d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/jwa/jose_jwa_x25519.erl:108-110 | src/jwa/jose_jwa_x448.erl:126-128 \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":"src/jwa/jose_jwa_x25519.erl"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"532b7e9a0b2081efc1f2923fef90ff6e0b5d996fdf88e2536348f269af339b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/jwe/jose_jwe.erl:326-331 | src/jwe/jose_jwe.erl:341-346 \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/jwe/jose_jwe.erl"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"18449b10dd9dd370a9b80d762843ccf00334364d71d1f8807acaef8ae4194dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/jwa/jose_jwa_x25519.erl:127-130 | src/jwa/jose_jwa_x448.erl:145-148 \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/jwa/jose_jwa_x25519.erl"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cfe91b1687a13999637e36b602f8337d2820d55372674537f17ef90fc96df6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 3\u002B corresponding lines): src/jwk/jose_jwk_kty_okp_ed25519.erl:233-235 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:172-174 | src/jwk/jose_jwk_kty_okp_ed448.erl:233-235 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:172-174 | src/jwk/jose_jwk_kty_okp_x25519.erl:250-252 | src/jwk/jose_jwk_kty_okp_x448.erl:250-252 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5aad11de33d735278f7d027b926ef926ad6ca6c4ede0b2fc7f205c8d3d5f370"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/jose/poison/lexical_encoder.ex:348-353 | lib/jose/poison/lexical_encoder.ex:376-385 \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":"lib/jose/poison/lexical_encoder.ex"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf62648f2c7fe3bd0e86ac7014f700d056a1c4330f00ad14b1b70cc9b2363f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/jwa/jose_jwa_aes.erl:201-207 | src/jwa/jose_jwa_aes.erl:281-287 \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":"src/jwa/jose_jwa_aes.erl"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c917a52573e73b3ed2232d26e38e3451c7f4f087bfcfb9ece09ee0f943ec493"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 6\u002B corresponding lines): src/jwk/jose_jwk_kty_okp_ed25519.erl:117-122 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:103-108 | src/jwk/jose_jwk_kty_okp_ed448.erl:117-122 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:103-108 | src/jwk/jose_jwk_kty_okp_x25519.erl:115-120 | src/jwk/jose_jwk_kty_okp_x448.erl:115-120 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d681a0233d7b66d3e39a6025bf507e897bd8ccd409cbd230891a3ff851f4497"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): src/jwk/jose_jwk_kty_okp_ed25519.erl:221-226 | src/jwk/jose_jwk_kty_okp_ed448.erl:221-226 | src/jwk/jose_jwk_kty_okp_x25519.erl:238-243 | src/jwk/jose_jwk_kty_okp_x448.erl:238-243 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"06971bc117340b5f2dca400baaf7d0816cf15ea03779d67a0c91be3a0e1475eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): src/jwk/jose_jwk.erl:501-507 | src/jws/jose_jws.erl:130-136 | src/jwt/jose_jwt.erl:85-91 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97d73a6fa6311280bffe6e29c1d5200540254bfefae1f545c47e816a7fe49d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/jwk/jose_jwk.erl:662-667 | src/jwk/jose_jwk.erl:733-738 | src/jwk/jose_jwk.erl:740-745 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccc639e163e053dcfb73f3aaa0b180fe83c23c6de563793b24470e0b73326f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/jwa/jose_jwa_ed25519.erl:249-252 | src/jwa/jose_jwa_ed448.erl:262-267 \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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"09734ac8a4790dba3604ebe16fcff73178e92a6f91fe9d5644af819bfaea70a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 8\u002B corresponding lines): src/jwk/jose_jwk_kty_okp_ed25519.erl:189-196 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:158-165 | src/jwk/jose_jwk_kty_okp_ed448.erl:189-196 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:158-165 | src/jwk/jose_jwk_kty_okp_x25519.erl:206-213 | src/jwk/jose_jwk_kty_okp_x448.erl:206-213 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"df386ebe619f778db98861bff2dd833082803cd851147619122b531f92bc423e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/jwa/jose_jwa_aes.erl:28-35 | src/jwa/jose_jwa_aes.erl:73-80 \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":"src/jwa/jose_jwa_aes.erl"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1020e728bb73631afe5d6ca78f304a37f965fbb667bd1286da6c44df636f47b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): src/jwa/jose_jwa_pkcs1.erl:341-350 | src/jwa/jose_jwa_pkcs1.erl:531-539 | src/jwa/jose_jwa_pkcs1.erl:575-583 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"291a30d747d49e68d2c1f629c0736e62b5b38b016d897249681667c03c3dc870"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 5\u002B corresponding lines): src/jwa/jose_jwa_aes.erl:361-365 | src/jwa/jose_jwa_aes.erl:372-376 | src/jwa/jose_jwa_aes.erl:496-500 | src/jwa/jose_jwa_aes.erl:507-511 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_aes.erl"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4c485df80cbf02a25e7461b5556579084ff6086b69c5ff6a410662680a750d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/jwe/jose_jwe.erl:312-317 | src/jws/jose_jws.erl:204-209 \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/jwe/jose_jwe.erl"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c2bbf5a7029ad68b2e220d497aa76e9175231f3709f1879019274f1e28004f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/jwa/jose_jwa_ed25519.erl:193-203 | src/jwa/jose_jwa_ed448.erl:203-213 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"365667bef341309ae9a33e2e8f0b577c1f10773bc30d75213557e3366b685e02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 6\u002B corresponding lines): src/jwk/jose_jwk.erl:522-527 | src/jwk/jose_jwk.erl:583-588 | src/jwk/jose_jwk.erl:609-614 | src/jwk/jose_jwk.erl:655-660 | src/jwk/jose_jwk.erl:680-685 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3c98ece7fa210bfb28a98a5f50df793376a0573cca01c897ac8d7482c444e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/jwa/jose_jwa_aes.erl:269-274 | src/jwa/jose_jwa_aes.erl:349-354 \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/jwa/jose_jwa_aes.erl"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8a7357ca51aa4f05c6ed3495d138e5205061f1d0ec9628892ff71d2718a3d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/jose_public_key.erl:173-184 | src/jose_public_key.erl:186-197 \u2014 These two members are one piece of code written twice and then edited apart: 12 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/jose_public_key.erl"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec0c8ea586fc068201a8ce61af3eca2f5487cbb019274d06bd6d74595989e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/jwk/jose_jwk_kty_ec.erl:361-366 | src/jwk/jose_jwk_kty_rsa.erl:309-314 \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/jwk/jose_jwk_kty_ec.erl"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3389158b3fe4d64e30e721951ea00c1d3eab9c17d35e5c58a2f4bfeaa10f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): src/jose_public_key.erl:69-80 | src/jose_public_key.erl:160-171 | src/jose_public_key.erl:257-268 | src/jose_public_key.erl:636-647 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_public_key.erl"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6ebc0c54b26aaa5388fd361d1732ab30078f597009b63a8e921b26883b3678"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/jwa/jose_jwa.erl:129-134 | src/jwa/jose_jwa.erl:136-141 \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/jwa/jose_jwa.erl"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2485afb16d20079cf3311a3a2f813919680d19634518f35bc14db1e5a420bbbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/jwk/jose_jwk.erl:766-771 | src/jwk/jose_jwk.erl:1014-1019 | src/jwk/jose_jwk.erl:1044-1049 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"a007ca2f73f194d845f0dd6cdeba18dcd13edf4a9fdb92f1e35c3c86a940641b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/jwa/jose_jwa_x25519.erl:132-135 | src/jwa/jose_jwa_x448.erl:150-153 \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/jwa/jose_jwa_x25519.erl"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a844ebf446c36109b4a13786527245c7b055363d3feb43553f5da9e9290e296"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 2\u002B corresponding lines): src/jwe/jose_jwe_alg_aes_kw.erl:80-81 | src/jwe/jose_jwe_alg_c20p_kw.erl:55-56 | src/jwe/jose_jwe_alg_pbes2.erl:96-97 | src/jwe/jose_jwe_alg_xc20p_kw.erl:55-56 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 2 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_aes_kw.erl"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70e1152f8ce1745514660a406855f36b4a857c9f288ef54b77935b1e1ec3b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): src/jwk/jose_jwk_kty_okp_ed25519.erl:174-177 | src/jwk/jose_jwk_kty_okp_ed448.erl:174-177 | src/jwk/jose_jwk_kty_okp_x25519.erl:191-194 | src/jwk/jose_jwk_kty_okp_x448.erl:191-194 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9007c4f386b0dbc31108b0f8c4b622f667dce0daf22b51b77429dfe034ed74a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/jose_jwa_ed25519.erl:316-317 | src/jwa/jose_jwa_ed448.erl:334-335 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"825beb9d30df9eac7fb08a5f1414bad616f007b315fe4f057d1e8d8dd260e952"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 4\u002B corresponding lines): src/jwk/jose_jwk_kty_okp_ed25519.erl:96-99 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:82-85 | src/jwk/jose_jwk_kty_okp_ed448.erl:96-99 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:82-85 | src/jwk/jose_jwk_kty_okp_x25519.erl:94-97 | src/jwk/jose_jwk_kty_okp_x448.erl:94-97 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2499d94fa413c8bbb8697831d998761959f7e53a345dac26470bf0578fda69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/jwa/jose_jwa_curve25519.erl:85-96 | src/jwa/jose_jwa_curve448.erl:71-81 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve25519.erl"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c738bbca021da2ec9d848d11db1f20bf51b66902cff9ef038d47b97991d95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/jwa/jose_jwa_curve25519.erl:122-133 | src/jwa/jose_jwa_curve448.erl:106-116 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve25519.erl"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61e959a0dc0a8969fa19707558707a1879dec6ac12fa18ab3fdf66608b1e8e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/jose_jwa_ed25519.erl:310-311 | src/jwa/jose_jwa_ed448.erl:328-329 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"385210ddf3eeed1daa7411944ba3102cbf49e5ac1d767e4dc246fd5d17a72566"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/jwe/jose_jwe_alg_pbes2.erl:180-183 | src/jwe/jose_jwe_zip.erl:81-84 \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/jwe/jose_jwe_alg_pbes2.erl"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9435bb151095b751623c08472f9f538831cbd11044016d409ac15dedd7fa6278"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/jwk/jose_jwk_kty_ec.erl:422-425 | src/jwk/jose_jwk_kty_rsa.erl:555-558 \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/jwk/jose_jwk_kty_ec.erl"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be0d76a52e3d3bb582cc29af1b3074dcec9c99fcb2c214ffde30e0e407582d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/jwa/jose_jwa_xchacha20.erl:25-28 | src/jwa/xchacha20_poly1305/jose_xchacha20_poly1305_crypto.erl:169-175 \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/jwa/jose_jwa_xchacha20.erl"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0ed81d57c3c90cd6d2debc88a567a37ecbe68f81e825267ed5d0af79ee0549"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/jose_jwa_ed25519.erl:313-314 | src/jwa/jose_jwa_ed448.erl:331-332 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"de21004735c7c12ebcc5114e1c76bd2f1caf00e3e0c386919e3b437c3614b322"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/jose_jwa_ed25519.erl:256-259 | src/jwa/jose_jwa_ed448.erl:271-272 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17056098ca87d7c0cc066a14196303d74b6af994a199f8fd4d2833215067968"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/jose_jwa_ed25519.erl:287-288 | src/jwa/jose_jwa_ed448.erl:304-305 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"972edfdaae731b384b78fcbbb7ca78195911b71238d1afecf94f809778e75fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/jwk/jose_jwk_kty_ec.erl:416-419 | src/jwk/jose_jwk_kty_rsa.erl:549-552 \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/jwk/jose_jwk_kty_ec.erl"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec575f7c39829ebb58c768f2a2e85fce914da9d5f89ca40084060947b1be4f66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/jose/jwe.ex:525-526 | lib/jose/jwt.ex:172-173 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwe.ex"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"d075bdbdc96e5c05ce862087d895b26bd2f9103ae2c1cb47d02dfdfaa089a26f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/jose/jwe.ex:528-529 | lib/jose/jwt.ex:175-176 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwe.ex"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffddc923e38d84e5da5bab488ac213b8553be5e9facd20a11592700a0675e203"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/jwa/curve25519/jose_curve25519_crypto.erl:44-46 | src/jwa/curve448/jose_curve448_crypto.erl:44-46 \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":"src/jwa/curve25519/jose_curve25519_crypto.erl"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9231302d7a3f0145195d68165060d7f2b9d8c9a5d034c48afe1bbf159e210295"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/jose_jwa_ed25519.erl:307-308 | src/jwa/jose_jwa_ed448.erl:325-326 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8d5855f5503c66d0a42e4915bbbd5777919deecc0740c0b6478409cc54ea9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/jwk/jose_jwk_kty_ec.erl:162-164 | src/jwk/jose_jwk_kty_rsa.erl:178-180 \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":"src/jwk/jose_jwk_kty_ec.erl"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5c4324491a284889d0c60f509272d46f104efa6217061ba1c07b61f50ee2fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/jose/jws.ex:573-586 | lib/jose/jwt.ex:244-256 \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":"lib/jose/jws.ex"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e4d603fc1190a8031bee54a85353186718dd0f655e3746c2d2acd0ab52cfc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/jwa/jose_jwa_ed25519.erl:235-238 | src/jwa/jose_jwa_ed448.erl:248-251 \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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee706c53657a9d9a38f50a9161091c2620c3592d86fb08318363ec2e0ef40bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/jose_jwa_ed25519.erl:281-282 | src/jwa/jose_jwa_ed448.erl:298-299 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba14784f578311bfddb3a63cb97b485b954d4c744d767f4af1cce31265f3ae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/jose_jwa_ed25519.erl:284-285 | src/jwa/jose_jwa_ed448.erl:301-302 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbf6d622af5bfce17696b09f972ab464ef51f1a84a3f40931672723bbd20c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/jose/jwe.ex:510-516 | lib/jose/jwk.ex:464-470 \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":"lib/jose/jwe.ex"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"880bb755697157b29955f55923fae7c8dd6e4a034df55e7367e5ec134a0f2dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/jose/jwk.ex:952-952 | lib/jose/jwt.ex:240-240 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwk.ex"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5b9921885e24b6e11e69fdb98bf511d894ccdb1eb7d2e2b7d3f1ded6e39a13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/jose/jws.ex:446-446 | lib/jose/jwt.ex:239-239 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jws.ex"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"608aafe1568f35d73f62c540f838848e1e9e6d10a9686d727dceadc43d43deae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/jose/jws.ex:712-712 | lib/jose/jwt.ex:313-313 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jws.ex"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"caeea47e81d30875e04eab8e3002746a501b2bee50c7b01cb4e53a429804f76d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/jwe/jose_jwe_alg.erl:44-49 | src/jws/jose_jws_alg.erl:46-50 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg.erl"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac31c59a30c1ca24be310324fd7ba5ae744d57c82f80761015645dc7dcbec38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/jose/jwe.ex:689-695 | lib/jose/jwk.ex:530-536 \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":"lib/jose/jwe.ex"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ead9f8780af7293a2d46d5425702be86c23ffc5d8009b71a3a33aaee66aa87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/curve25519/jose_curve25519_crypto.erl:53-54 | src/jwa/curve448/jose_curve448_crypto.erl:53-54 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/curve25519/jose_curve25519_crypto.erl"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd655471bed4935ff5584aea959f3fcd7eb61dd9c7fb601eda2865ae6569ffe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 2\u002B corresponding lines): src/jws/jose_jws_alg_ecdsa.erl:70-71 | src/jws/jose_jws_alg_eddsa.erl:72-73 | src/jws/jose_jws_alg_hmac.erl:63-64 | src/jws/jose_jws_alg_rsa_pkcs1_v1_5.erl:70-71 | src/jws/jose_jws_alg_rsa_pss.erl:64-65 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 2 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jws/jose_jws_alg_ecdsa.erl"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9793a6b4391150451e39b507b7d86d511b9d4867f590be741450f3cf80f6db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): lib/jose/jwe.ex:387-387 | lib/jose/jwk.ex:24-24 | lib/jose/jws.ex:233-233 | lib/jose/jwt.ex:62-62 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwe.ex"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2ef1058490b795e93728ea9ec842d54aec1ae0f0ce7bfa3db5cf03b8b0d0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): lib/jose/jwe.ex:400-400 | lib/jose/jwk.ex:39-39 | lib/jose/jws.ex:244-244 | lib/jose/jwt.ex:77-77 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwe.ex"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a382709461ae780c8b1a6ebd31258fee011a77222aef3a4384b823968ed809d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): lib/jose/jwe.ex:429-429 | lib/jose/jwk.ex:59-59 | lib/jose/jws.ex:263-263 | lib/jose/jwt.ex:90-90 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwe.ex"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"928bcdfb8d7cd30a419a0095df784ec8eb780031da33002cbf600f7f001ad2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): lib/jose/jwe.ex:438-438 | lib/jose/jwk.ex:84-84 | lib/jose/jws.ex:270-270 | lib/jose/jwt.ex:97-97 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwe.ex"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"a713ecd3da57e6a435ed3706cc6d2cad9b8ce1d70686fd116adc6026f123af37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): lib/jose/jwe.ex:452-452 | lib/jose/jwk.ex:139-139 | lib/jose/jws.ex:281-281 | lib/jose/jwt.ex:109-109 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwe.ex"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d51a43656a60cef072dd7fc95b8e978b56c31f0cae93c075f9e6c16497aad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): lib/jose/jwe.ex:462-462 | lib/jose/jwk.ex:219-219 | lib/jose/jws.ex:289-289 | lib/jose/jwt.ex:117-117 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwe.ex"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"40124aa411328f4599aaf396da51fdc9501f18a2e711b62615f3cd85ea7d3a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): lib/jose/jwe.ex:478-478 | lib/jose/jwk.ex:292-292 | lib/jose/jws.ex:302-302 | lib/jose/jwt.ex:130-130 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwe.ex"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca627cd9efb54977316930818e21becdc3ab3db75a1b4cfe294812447b1f775"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/jose/jwe.ex:632-632 | lib/jose/jws.ex:362-362 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwe.ex"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4b2545ecb83a83e8aacc64570d1f8e6f15005e2bb10a596471c85cd1126a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/chacha20_poly1305/jose_chacha20_poly1305.erl:79-80 | src/jwa/xchacha20_poly1305/jose_xchacha20_poly1305.erl:79-80 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/chacha20_poly1305/jose_chacha20_poly1305.erl"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f76376487e63dd7822a36e920550386982c78130eb971bd0ac371e961fc7ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 2\u002B corresponding lines): src/jwk/jose_jwk_kty_ec.erl:122-123 | src/jwk/jose_jwk_kty_okp_ed25519.erl:101-102 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:87-88 | src/jwk/jose_jwk_kty_okp_ed448.erl:101-102 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:87-88 | src/jwk/jose_jwk_kty_okp_x25519.erl:99-100 | src/jwk/jose_jwk_kty_okp_x448.erl:99-100 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 2 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_ec.erl"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe43e7504c38d96070323b2943301dd33a3f5cf17fb90354b3a30d4254374bd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/curve25519/jose_curve25519_crypto.erl:56-57 | src/jwa/curve448/jose_curve448_crypto.erl:59-60 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/curve25519/jose_curve25519_crypto.erl"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d4463519977ba23050d2b2ea85baee54e87b75f183b84acb7d37864269b529"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/jwa/jose_jwa_curve25519.erl:78-83 | src/jwa/jose_jwa_curve448.erl:54-58 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve25519.erl"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"029cb2dc8f7b94ced9dd3a2ec2fdebbca06cfe5cd008a18c9710dd33bc219465"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/jwa/jose_jwa_curve25519.erl:104-109 | src/jwa/jose_jwa_curve448.erl:89-93 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve25519.erl"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd021778915e0da01513974fada21ebbf46760463343eedb26313809e45cd047"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/jose_jwa_ed25519.erl:278-279 | src/jwa/jose_jwa_ed448.erl:295-296 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f060368767c82b8bd8b8f6d9ba05d12ce6d95b63f1da7f4a19451d4ef131b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): src/jwk/jose_jwk_kty_okp_ed25519.erl:131-133 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:117-119 | src/jwk/jose_jwk_kty_okp_ed448.erl:131-133 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:117-119 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b97d0adaf1337c4a42597eba1dc57fcb1409583ea3ec4d91c7e0393bac6ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/jwk/jose_jwk_kty_okp_ed25519ph.erl:63-66 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:63-66 \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/jwk/jose_jwk_kty_okp_ed25519ph.erl"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fba734c692de3a07e4bddeefc694a6025852162d268aa82b2157e2c1747491f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/jose/jws.ex:652-652 | lib/jose/jwt.ex:265-265 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jws.ex"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f4f71f8172ba4e3c8e91b073f94cc12202b86b8ffeed7b8f2830c035e68528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): src/jwa/chacha20_poly1305/jose_chacha20_poly1305_crypto.erl:42-44 | src/jwa/jose_jwa_chacha20_poly1305.erl:66-68 | src/jwa/xchacha20_poly1305/jose_xchacha20_poly1305_crypto.erl:52-54 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/chacha20_poly1305/jose_chacha20_poly1305_crypto.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"79359359432b4e7da2d5bfabe74dd8447e5c94c5215e39d9f78202eb719e32e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): src/jwa/jose_jwa_x25519.erl:137-138 | src/jwa/jose_jwa_x448.erl:155-156 \u2014 These two members are one piece of code written twice and then edited apart: 2 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/jwa/jose_jwa_x25519.erl"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d17cfd3a9f90a275ce674ce56be3809a9295631ee668a014bae070893e0a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 3): src/jwk/jose_jwk_kty_ec.erl:173-212 | src/jwk/jose_jwk_kty_okp_x25519.erl:129-168 | src/jwk/jose_jwk_kty_okp_x448.erl:129-168 \u2014 before extracting anything, compare \u0060src/jwk/jose_jwk_kty_ec.erl\u0060 and \u0060src/jwk/jose_jwk_kty_okp_x25519.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwk/jose_jwk_kty_ec.erl:173\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/jwk/jose_jwk_kty_ec.erl"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc73bd1fb73d93607db207174b813ef9ddbaaaf1fdebbbfb87dbee68ba0c5ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): src/jose_server.erl:882-908 | src/jose_server.erl:913-940 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7b61a14730360a4a1c7a8c2961f49ea80b447192c752bb35748de447d37668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): codegen/jose_base64.erl:184-204 | codegen/jose_base64url.erl:184-204 | src/base/jose_base64.erl:115-135 | src/base/jose_base64url.erl:115-135 \u2014 before extracting anything, compare \u0060codegen/jose_base64.erl\u0060 and \u0060codegen/jose_base64url.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb134f63842fc600e242518a51ec89adc003d68832ce9f139d5b13fd217adfd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/jwk/jose_jwk_der.erl:44-62 | src/jwk/jose_jwk_pem.erl:68-86 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwk/jose_jwk_der.erl:44\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/jwk/jose_jwk_der.erl"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e64708b3dc4815a611721094234f7f6b957101145d84a45d6a94fab3a2dc7f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): codegen/jose_base64.erl:291-310 | codegen/jose_base64url.erl:291-310 | src/base/jose_base64.erl:222-241 | src/base/jose_base64url.erl:222-241 \u2014 before extracting anything, compare \u0060codegen/jose_base64.erl\u0060 and \u0060codegen/jose_base64url.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64.erl"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5bb5cd00d7c3ef3f9314467ceea561924a10d3ee3db7c4a6b8a3b781820a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/jwa/jose_jwa_x25519.erl:83-98 | src/jwa/jose_jwa_x448.erl:102-117 \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/jwa/jose_jwa_x25519.erl"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a992ea64250bd593ba81256c60e1945cad9488cb543e008cf3a30ddfe2ee06d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): codegen/jose_base64.erl:265-286 | codegen/jose_base64url.erl:265-286 | src/base/jose_base64.erl:196-217 | src/base/jose_base64url.erl:196-217 \u2014 before extracting anything, compare \u0060codegen/jose_base64.erl\u0060 and \u0060codegen/jose_base64url.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64.erl"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"987007e1c0353aa1079caceb329253960cebb8afb6fcfe2156a28dc4fc26d7e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/jws/jose_jws.erl:297-312 | src/jws/jose_jws.erl:314-329 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jws/jose_jws.erl:297\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/jws/jose_jws.erl"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc57821acf193cc61ce726f6794fc8d5cf1b10e69eb98190b2800742bcc156f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): src/jwk/jose_jwk_kty_okp_ed25519.erl:82-94 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:68-80 | src/jwk/jose_jwk_kty_okp_ed448.erl:82-94 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:68-80 | src/jwk/jose_jwk_kty_okp_x25519.erl:80-92 | src/jwk/jose_jwk_kty_okp_x448.erl:80-92 \u2014 before extracting anything, compare \u0060src/jwk/jose_jwk_kty_okp_ed25519.erl\u0060 and \u0060src/jwk/jose_jwk_kty_okp_ed25519ph.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwk/jose_jwk_kty_okp_ed25519.erl:82\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/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf0adc45b14de239141f861bae4c22e52b22127b364432cff4b9b8c8c89b199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/jose_public_key.erl:206-218 | src/jose_public_key.erl:238-250 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_public_key.erl"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ddb2cc07629ca49ae1097d47a85d01e5dd63549bd5ff4c2905af996597e756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/jwk/jose_jwk_kty_rsa.erl:92-106 | src/jwk/jose_jwk_kty_rsa.erl:114-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwk/jose_jwk_kty_rsa.erl:92\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/jwk/jose_jwk_kty_rsa.erl"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f46e94974d63c6387f867b00f54506fc347addce67095096cb631532a3199d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/jwk/jose_jwk_kty_rsa.erl:327-339 | src/jwk/jose_jwk_kty_rsa.erl:488-500 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwk/jose_jwk_kty_rsa.erl:327\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/jwk/jose_jwk_kty_rsa.erl"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3061dc4605694c99eb67e3c989941dc1c385be71da626b067591423d6fbf8216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/jose_public_key.erl:142-153 | src/jose_public_key.erl:212-223 | src/jose_public_key.erl:244-255 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jose_public_key.erl:142\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/jose_public_key.erl"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65ec283073b66ead48220e9fd46765c2839259b9fbfe09a9cb9677887dfeedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): codegen/jose_base64.erl:214-240 | src/base/jose_base64.erl:145-171 \u2014 before extracting anything, compare \u0060codegen/jose_base64.erl\u0060 and \u0060src/base/jose_base64.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 124 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":"codegen/jose_base64.erl"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8583851ccd0986ee10a48071fa78b82ff635e7dc0b8a1fc6f6ef48dddb262036"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): codegen/jose_base64url.erl:214-240 | src/base/jose_base64url.erl:145-171 \u2014 before extracting anything, compare \u0060codegen/jose_base64url.erl\u0060 and \u0060src/base/jose_base64url.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 124 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":"codegen/jose_base64url.erl"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aabf5f0e6a21c76f0ba626f9b77b996be9fd833048418d68c18966a9c566244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/jwe/jose_jwe.erl:193-202 | src/jwe/jose_jwe.erl:208-218 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/jwe/jose_jwe.erl"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71d7a841512969682a5aeaab92b2f91c349563116ee2783a52cec7601cebfe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): codegen/jose_base64.erl:170-179 | codegen/jose_base64url.erl:170-179 | src/base/jose_base64.erl:101-110 | src/base/jose_base64url.erl:101-110 \u2014 before extracting anything, compare \u0060codegen/jose_base64.erl\u0060 and \u0060codegen/jose_base64url.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64.erl"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3fa3fece5c3914b71d13a52f38e92287de3dac894db3c7089da00ffa1c8258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/jws/jose_jws.erl:299-308 | src/jws/jose_jws.erl:316-325 | src/jws/jose_jws.erl:470-479 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/jws/jose_jws.erl:309\u0060 calls \u0060encode\u0060 and \u0060src/jws/jose_jws.erl:480\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jws/jose_jws.erl"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f90839105354421f8456bb79b9747602ac6e85e96f8d637d64dfa4f2ebcb18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/jose_server.erl:290-299 | src/jose_server.erl:762-771 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d2fefe61b2c8b54167df1dcd76f1954dbe76c69ceb63dcded04dc13210e9fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 3): src/jwa/jose_jwa_aes.erl:384-393 | src/jwa/jose_jwa_aes.erl:410-419 | src/jwa/jose_jwa_aes.erl:432-434 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/jwa/jose_jwa_aes.erl:393\u0060 calls \u0060crypto_update_encrypt\u0060, \u0060exor\u0060 and \u0060src/jwa/jose_jwa_aes.erl:434\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_aes.erl"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"de657f5aadef823fa3aabb3d4ff8c0b7b600f3167e4723019a11704b9bc51be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/jwa/jose_jwa_ed25519.erl:113-122 | src/jwa/jose_jwa_x448.erl:88-97 \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. 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":"src/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2351cbb69da0e96f59eb86631b1a821971dea8616b4533d54822f0a358c48894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): codegen/jose_base64.erl:244-252 | codegen/jose_base64url.erl:244-252 | src/base/jose_base64.erl:175-183 | src/base/jose_base64url.erl:175-183 \u2014 before extracting anything, compare \u0060codegen/jose_base64.erl\u0060 and \u0060codegen/jose_base64url.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64.erl"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeac9336f408c98a4cc6a72695dacf6efdc14d9359f6e8fe0b80e7bbfa0478f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/jwe/jose_jwe.erl:83-91 | src/jwk/jose_jwk.erl:250-258 | src/jws/jose_jws.erl:82-90 | src/jwt/jose_jwt.erl:62-70 \u2014 \u0060src/jwk/jose_jwk.erl\u0060 and \u0060src/jws/jose_jws.erl\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/jws/jose_jws.erl:92\u0060 calls \u0060from_map\u0060, \u0060is_list\u0060 and \u0060src/jwe/jose_jwe.erl:93\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe.erl"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"881eced7afc6a8e1f0fd371e0daaf7817920349efaf974ae6e1f7bf31aad39ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/jwe/jose_jwe.erl:159-167 | src/jwk/jose_jwk.erl:557-565 | src/jws/jose_jws.erl:139-147 | src/jwt/jose_jwt.erl:94-102 \u2014 \u0060src/jwk/jose_jwk.erl\u0060 and \u0060src/jws/jose_jws.erl\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/jws/jose_jws.erl:149\u0060 calls \u0060to_map\u0060, \u0060is_list\u0060 and \u0060src/jwe/jose_jwe.erl:169\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe.erl"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabf2b92cbfc2900b39ce04fb38557e0206c4c2fa20993dc8ef74681ed0a341d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/jwa/jose_jwa_concat_kdf.erl:107-115 | src/jwa/jose_jwa_pkcs1.erl:950-958 | src/jwa/jose_jwa_pkcs5.erl:123-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_concat_kdf.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"280bdf7e61492d791ba7df51c3dea45ac63c099ceecd5f6f79bdadc41d0e2dba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src/jwa/jose_jwa_aes.erl:46-54 | src/jwa/jose_jwa_aes.erl:62-69 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_aes.erl"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14222ef25abacf0f66c79e5cc7851506084dc39dfa3583f995201d613567170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/jwa/jose_jwa_chacha20_poly1305.erl:31-39 | src/jwa/jose_jwa_chacha20_poly1305.erl:51-59 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_chacha20_poly1305.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec426de80137b20d6bbae6d41efc55b0e9208ce095681c9c4ce2c25b12c0c7f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/jwe/jose_jwe_enc_aes.erl:153-161 | src/jwe/jose_jwe_enc_aes.erl:181-189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwe/jose_jwe_enc_aes.erl:153\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/jwe/jose_jwe_enc_aes.erl"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"76407363f3d0385b3a64fb39a26d99476638a5b2f6d0aacde17986c710882915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): codegen/jose_base64.erl:216-223 | codegen/jose_base64url.erl:216-223 | src/base/jose_base64.erl:147-154 | src/base/jose_base64url.erl:147-154 \u2014 before extracting anything, compare \u0060codegen/jose_base64.erl\u0060 and \u0060codegen/jose_base64url.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64.erl"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9f3a454518265581b7f63984e7452f8a995c93ea673b3bf82a1c2831c615cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/jwk/jose_jwk_kty_okp_ed25519.erl:135-142 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:121-128 | src/jwk/jose_jwk_kty_okp_ed448.erl:135-142 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:121-128 \u2014 before extracting anything, compare \u0060src/jwk/jose_jwk_kty_okp_ed25519.erl\u0060 and \u0060src/jwk/jose_jwk_kty_okp_ed25519ph.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwk/jose_jwk_kty_okp_ed25519.erl:135\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/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"27334cbb5e3e955def010c110774bb3f4793c6209d138c721a0bfcb90d6cf79c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/jwa/jose_jwa_pkcs1.erl:740-747 | src/jwa/jose_jwa_pkcs1.erl:824-831 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwa/jose_jwa_pkcs1.erl:740\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/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc76abd1399156e2b21fa905a8af223b26abe446544445b3408b0698f7f3fccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): codegen/jose_base64.erl:214-219 | codegen/jose_base64.erl:242-248 | src/base/jose_base64.erl:145-150 | src/base/jose_base64.erl:173-179 \u2014 before extracting anything, compare \u0060codegen/jose_base64.erl\u0060 and \u0060src/base/jose_base64.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 124 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":"codegen/jose_base64.erl"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"901b86ab8b6584a55f05e850fb88a3aee842328e69518f5e3940062d3bccfe1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): codegen/jose_base64url.erl:214-219 | codegen/jose_base64url.erl:242-248 | src/base/jose_base64url.erl:145-150 | src/base/jose_base64url.erl:173-179 \u2014 before extracting anything, compare \u0060codegen/jose_base64url.erl\u0060 and \u0060src/base/jose_base64url.erl\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 124 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":"codegen/jose_base64url.erl"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b22ecafcc4f42aeffd3be912b8d413a41b300021b97a9ff1a31a8ff91ec9443"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/jwa/jose_jwa_aes.erl:38-44 | src/jwa/jose_jwa_aes.erl:83-89 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwa/jose_jwa_aes.erl:38\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/jwa/jose_jwa_aes.erl"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4c36265d2f4fc0f104436cb17cc81aa527afef527d1673defea94518439983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/jwa/jose_jwa_x25519.erl:119-125 | src/jwa/jose_jwa_x448.erl:137-143 \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/jwa/jose_jwa_x25519.erl"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0659247846a47af34dc4e2bb92f3909524ddf0217cd9f0eab00c445b7cde7a89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/jwe/jose_jwe_alg_ecdh_es.erl:160-166 | src/jwe/jose_jwe_alg_ecdh_ss.erl:162-168 \u2014 before extracting anything, compare \u0060src/jwe/jose_jwe_alg_ecdh_es.erl\u0060 and \u0060src/jwe/jose_jwe_alg_ecdh_ss.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwe/jose_jwe_alg_ecdh_es.erl:160\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/jwe/jose_jwe_alg_ecdh_es.erl"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc36e849c6538d34108764da087b37dc8de5fae34bff18f501ee9947bc0cff93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/jwe/jose_jwe_alg_ecdh_es.erl:211-217 | src/jwe/jose_jwe_alg_ecdh_ss.erl:213-219 \u2014 before extracting anything, compare \u0060src/jwe/jose_jwe_alg_ecdh_es.erl\u0060 and \u0060src/jwe/jose_jwe_alg_ecdh_ss.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwe/jose_jwe_alg_ecdh_es.erl:211\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/jwe/jose_jwe_alg_ecdh_es.erl"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb50401ec63ed442866d32fcbc51acdd3d8516fedf0da1eed11df67d7f782f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): src/jwe/jose_jwe_alg_ecdh_1pu.erl:131-136 | src/jwe/jose_jwe_alg_ecdh_1pu.erl:144-149 | src/jwe/jose_jwe_alg_ecdh_1pu.erl:152-157 | src/jwe/jose_jwe_alg_ecdh_es.erl:128-133 | src/jwe/jose_jwe_alg_ecdh_es.erl:141-146 | src/jwe/jose_jwe_alg_ecdh_es.erl:149-154 | src/jwe/jose_jwe_alg_ecdh_ss.erl:130-135 | src/jwe/jose_jwe_alg_ecdh_ss.erl:143-148 | src/jwe/jose_jwe_alg_ecdh_ss.erl:151-156 \u2014 before extracting anything, compare \u0060src/jwe/jose_jwe_alg_ecdh_1pu.erl\u0060 and \u0060src/jwe/jose_jwe_alg_ecdh_es.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwe/jose_jwe_alg_ecdh_1pu.erl:131\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/jwe/jose_jwe_alg_ecdh_1pu.erl"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7ae5ec509e0ceb8fda636b78c35899f5fd96f79e1ef2d078ccf9850b03cdd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/jwa/jose_jwa_pkcs1.erl:308-313 | src/jwa/jose_jwa_pkcs1.erl:315-320 | src/jwa/jose_jwa_pkcs1.erl:322-327 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef1f7e5bbb51a9dc3b0278f066392ab235b733a9d10e3bee800c11b08c5429e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/jwe/jose_jwe_alg_pbes2.erl:130-135 | src/jwe/jose_jwe_alg_pbes2.erl:146-151 | src/jwe/jose_jwe_alg_pbes2.erl:155-160 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwe/jose_jwe_alg_pbes2.erl:130\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/jwe/jose_jwe_alg_pbes2.erl"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c67efc6c90fba6d33d31b9d8a15f9a172ac925db512772c5fc2da3eaf412765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/jwa/jose_jwa_ed25519.erl:299-305 | src/jwa/jose_jwa_ed448.erl:317-323 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/jwa/jose_jwa_ed448.erl:316\u0060 calls \u0060mod\u0060 and \u0060src/jwa/jose_jwa_ed25519.erl:298\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0793fbe06e2912f45e0f5e42d57fb39028fdd706ae1df76649e97e70d4e138e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): src/jwe/jose_jwe.erl:238-244 | src/jwe/jose_jwe.erl:254-259 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwe/jose_jwe.erl:238\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/jwe/jose_jwe.erl:252\u0060 calls \u0060encode\u0060 and \u0060src/jwe/jose_jwe.erl:237\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe.erl"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0047e04c0a4ad240e37371d5846610c226201fffa853885d8ae0054bf213706d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): src/jwe/jose_jwe_alg_ecdh_1pu.erl:180-184 | src/jwe/jose_jwe_alg_ecdh_1pu.erl:193-197 | src/jwe/jose_jwe_alg_ecdh_1pu.erl:201-205 | src/jwe/jose_jwe_alg_ecdh_es.erl:175-179 | src/jwe/jose_jwe_alg_ecdh_es.erl:188-192 | src/jwe/jose_jwe_alg_ecdh_es.erl:196-200 | src/jwe/jose_jwe_alg_ecdh_ss.erl:177-181 | src/jwe/jose_jwe_alg_ecdh_ss.erl:190-194 | src/jwe/jose_jwe_alg_ecdh_ss.erl:198-202 \u2014 before extracting anything, compare \u0060src/jwe/jose_jwe_alg_ecdh_1pu.erl\u0060 and \u0060src/jwe/jose_jwe_alg_ecdh_es.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwe/jose_jwe_alg_ecdh_1pu.erl:180\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/jwe/jose_jwe_alg_ecdh_1pu.erl"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb326dfbe3a36fab9bc9e389d3f278f1d3b60e086c61d04fd990f0f796f4b4ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/jwa/jose_jwa_chacha20.erl:112-116 | src/jwa/jose_jwa_hchacha20.erl:56-60 | src/jwa/xchacha20_poly1305/jose_xchacha20_poly1305_crypto.erl:122-126 | src/jwa/xchacha20_poly1305/jose_xchacha20_poly1305_crypto.erl:134-138 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_chacha20.erl"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a188ed384cd1af60d1a6081690da0e4343f43b983257d16394325f57406b770"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/jwk/jose_jwk_kty_okp_ed25519.erl:144-149 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:130-135 | src/jwk/jose_jwk_kty_okp_ed448.erl:144-149 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:130-135 \u2014 before extracting anything, compare \u0060src/jwk/jose_jwk_kty_okp_ed25519.erl\u0060 and \u0060src/jwk/jose_jwk_kty_okp_ed25519ph.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bca6356ded346a0087ec2359845875cac44eae4734515c09837c379142699e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/jwk/jose_jwk_kty_okp_ed25519.erl:246-250 | src/jwk/jose_jwk_kty_okp_ed448.erl:246-250 | src/jwk/jose_jwk_kty_okp_x25519.erl:263-267 | src/jwk/jose_jwk_kty_okp_x448.erl:263-267 \u2014 before extracting anything, compare \u0060src/jwk/jose_jwk_kty_okp_ed25519.erl\u0060 and \u0060src/jwk/jose_jwk_kty_okp_ed448.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"433f32e89a7806f636df674f7aca52831243e9a68091f2f0dc1b6e530d94e635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codegen/jose_base.erl:150-155 | codegen/jose_base.erl:165-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codegen/jose_base.erl:150\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":"codegen/jose_base.erl"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb119b13f42545ac47f34bf423c74b390b281697ba2deb50375518366467171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/jwa/jose_jwa_chacha20.erl:125-129 | src/jwa/jose_jwa_hchacha20.erl:61-65 \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/jwa/jose_jwa_chacha20.erl"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"87321819cabb6ef2f39561905565dceb4a7b30d7213268da8b117947ce704ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/jwa/jose_jwa_ed25519.erl:148-153 | src/jwa/jose_jwa_ed448.erl:154-159 \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/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7364c2a3025e36ea06877775d94d94c1d5cad8372f7f9debf0d0827b9039a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/jwa/jose_jwa_pkcs1.erl:827-831 | src/jwa/jose_jwa_pkcs1.erl:855-859 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_pkcs1.erl"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"3853c5f2120da9d33d64bf885e9904939fae78047b8ba5d8935b8cf55fc83101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/jwa/jose_jwa_x25519.erl:112-117 | src/jwa/jose_jwa_x448.erl:130-135 \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/jwa/jose_jwa_x25519.erl"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c36bfb56ee7a7d2544f249342de61189156095b50317d6d7842781f2ba4d042"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/jwe/jose_jwe_alg_ecdh_1pu.erl:163-167 | src/jwe/jose_jwe_alg_ecdh_1pu.erl:216-220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwe/jose_jwe_alg_ecdh_1pu.erl:163\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/jwe/jose_jwe_alg_ecdh_1pu.erl"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f816ef2e804708c49fd799c98c53bf8779eafcbfd4127039db4278464fdaa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/jwe/jose_jwe_alg_c20p_kw.erl:67-76 | src/jwe/jose_jwe_alg_xc20p_kw.erl:67-76 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwe/jose_jwe_alg_c20p_kw.erl:67\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_c20p_kw.erl"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8470a22d3ea4f9b853345d285a10ec5c545b6720391c611aa27cd1fb8b9a40cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/jwe/jose_jwe_alg_ecdh_1pu.erl:260-271 | src/jwe/jose_jwe_alg_ecdh_es.erl:253-264 \u2014 before extracting anything, compare \u0060src/jwe/jose_jwe_alg_ecdh_1pu.erl\u0060 and \u0060src/jwe/jose_jwe_alg_ecdh_es.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwe/jose_jwe_alg_ecdh_1pu.erl:260\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_ecdh_1pu.erl"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"132684c003281edfdba614ccd96904aa7ccc9fea71b4692926007ac84eeb05e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/jwe/jose_jwe_alg_ecdh_1pu.erl:274-285 | src/jwe/jose_jwe_alg_ecdh_es.erl:267-278 \u2014 before extracting anything, compare \u0060src/jwe/jose_jwe_alg_ecdh_1pu.erl\u0060 and \u0060src/jwe/jose_jwe_alg_ecdh_es.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwe/jose_jwe_alg_ecdh_1pu.erl:274\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_ecdh_1pu.erl"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36d182dcd551bd453dbb782296fc4fc8323222d9b7cf2f398bf8b795f14ea88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/jwa/chacha20_poly1305/jose_chacha20_poly1305_unsupported.erl:28-38 | src/jwa/xchacha20_poly1305/jose_xchacha20_poly1305_unsupported.erl:28-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/chacha20_poly1305/jose_chacha20_poly1305_unsupported.erl"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"70431261e2a076c3f9c9cdc25c756550af024e384f93357e79d6621bbb6b3e93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/jwa/chacha20_poly1305/jose_chacha20_poly1305_crypto.erl:54-58 | src/jwa/xchacha20_poly1305/jose_xchacha20_poly1305_crypto.erl:159-163 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/chacha20_poly1305/jose_chacha20_poly1305_crypto.erl"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef89fd8dc52a6fa01440786e6a4b1da6a455ab21038051c23b9c25d407bd70c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/jwa/chacha20_poly1305/jose_chacha20_poly1305_libsodium.erl:40-47 | src/jwa/xchacha20_poly1305/jose_xchacha20_poly1305_libsodium.erl:40-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/chacha20_poly1305/jose_chacha20_poly1305_libsodium.erl"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7450c85228e39303ecfa7b744aa695bda4ef536d252fb55037330ef89921d36e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/jwa/jose_jwa_chacha20.erl:98-103 | src/jwa/jose_jwa_hchacha20.erl:47-52 \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/jwa/jose_jwa_chacha20.erl"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0473256ada87ef4b73f8d258adbc83ca50f71bc7bd2a1585e1d1fdd76e424c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/jwa/jose_jwa_concat_kdf.erl:85-94 | src/jwa/jose_jwa_pkcs1.erl:875-884 | src/jwa/jose_jwa_pkcs5.erl:86-95 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_concat_kdf.erl"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"168496ee3a309a8399bdad2af2793c17ed8ce4d3e87d28025c0f38c4a53e2afa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): src/jwk/jose_jwk_kty_ec.erl:316-320 | src/jwk/jose_jwk_kty_okp_ed25519.erl:162-166 | src/jwk/jose_jwk_kty_okp_ed448.erl:162-166 | src/jwk/jose_jwk_kty_okp_x25519.erl:179-183 | src/jwk/jose_jwk_kty_okp_x448.erl:179-183 | src/jwk/jose_jwk_kty_rsa.erl:264-268 \u2014 before extracting anything, compare \u0060src/jwk/jose_jwk_kty_ec.erl\u0060 and \u0060src/jwk/jose_jwk_kty_okp_x25519.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_ec.erl"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a34d26064b6c22f39ef5b281c02e00cbc9677598870d5b13ec5940e0de62be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/jwk/jose_jwk_kty_ec.erl:322-328 | src/jwk/jose_jwk_kty_rsa.erl:270-276 \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/jwk/jose_jwk_kty_ec.erl"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69fb5a716272d84135e5327ce41fe28eee81458cc0d6c296f44b4dcc9fa5351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): src/jwk/jose_jwk_kty_ec.erl:335-341 | src/jwk/jose_jwk_kty_okp_ed25519.erl:198-204 | src/jwk/jose_jwk_kty_okp_ed448.erl:198-204 | src/jwk/jose_jwk_kty_okp_x25519.erl:215-221 | src/jwk/jose_jwk_kty_okp_x448.erl:215-221 | src/jwk/jose_jwk_kty_rsa.erl:283-289 \u2014 before extracting anything, compare \u0060src/jwk/jose_jwk_kty_ec.erl\u0060 and \u0060src/jwk/jose_jwk_kty_okp_x25519.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_ec.erl"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"830f23f703937ebfd283b4c9fd431af89158574c0431d94512b01e36375fc322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): src/jwk/jose_jwk_kty_ec.erl:343-349 | src/jwk/jose_jwk_kty_okp_ed25519.erl:206-212 | src/jwk/jose_jwk_kty_okp_ed448.erl:206-212 | src/jwk/jose_jwk_kty_okp_x25519.erl:223-229 | src/jwk/jose_jwk_kty_okp_x448.erl:223-229 | src/jwk/jose_jwk_kty_rsa.erl:291-297 \u2014 before extracting anything, compare \u0060src/jwk/jose_jwk_kty_ec.erl\u0060 and \u0060src/jwk/jose_jwk_kty_okp_x25519.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_ec.erl"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15d82187f0000923efae593842eaeb30dd64f66515629a34aac96a43f4e0db4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/jwk/jose_jwk_kty_okp_ed25519.erl:168-172 | src/jwk/jose_jwk_kty_okp_ed448.erl:168-172 | src/jwk/jose_jwk_kty_okp_x25519.erl:185-189 | src/jwk/jose_jwk_kty_okp_x448.erl:185-189 \u2014 before extracting anything, compare \u0060src/jwk/jose_jwk_kty_okp_ed25519.erl\u0060 and \u0060src/jwk/jose_jwk_kty_okp_ed448.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bdb96985bae3e8f96d842c3bbd7f271877a8989dd678f45ddbca089876231e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/jwa/chacha20_poly1305/jose_chacha20_poly1305_libsodium.erl:25-31 | src/jwa/xchacha20_poly1305/jose_xchacha20_poly1305_libsodium.erl:25-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/chacha20_poly1305/jose_chacha20_poly1305_libsodium.erl"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7fc681a7f8377e2b45698fd76137638e251832ccdf453b60d04154917b4cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/jwa/jose_jwa_curve25519.erl:66-75 | src/jwa/jose_jwa_curve25519.erl:111-120 | src/jwa/jose_jwa_curve448.erl:60-69 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve25519.erl"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae265667ebed31bcc927b0abecdd24db03118f6209549df4b352d75ce68f1ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/jwk/jose_jwk.erl:590-595 | src/jws/jose_jws.erl:149-154 | src/jwt/jose_jwt.erl:104-109 \u2014 \u0060src/jwk/jose_jwk.erl\u0060 and \u0060src/jws/jose_jws.erl\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwk/jose_jwk.erl:590\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08342f5ce0c0108fc45781090bdb914b506704895c5b9c86fc2dd1a27f44989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/jwk/jose_jwk_kty_okp_ed25519.erl:74-80 | src/jwk/jose_jwk_kty_okp_ed448.erl:74-80 | src/jwk/jose_jwk_kty_okp_x25519.erl:72-78 | src/jwk/jose_jwk_kty_okp_x448.erl:72-78 \u2014 before extracting anything, compare \u0060src/jwk/jose_jwk_kty_okp_ed25519.erl\u0060 and \u0060src/jwk/jose_jwk_kty_okp_ed448.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/jwk/jose_jwk_kty_okp_ed25519.erl:74\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/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ffdc8645543d6bca586856a476834711dc9fa4b8ce14eaae241b6ddac3fba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/jwk/jose_jwk_kty_okp_ed25519.erl:214-219 | src/jwk/jose_jwk_kty_okp_ed448.erl:214-219 | src/jwk/jose_jwk_kty_okp_x25519.erl:231-236 | src/jwk/jose_jwk_kty_okp_x448.erl:231-236 \u2014 before extracting anything, compare \u0060src/jwk/jose_jwk_kty_okp_ed25519.erl\u0060 and \u0060src/jwk/jose_jwk_kty_okp_ed448.erl\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"567370619bb42950b6dfc36a9221461574ed0cbc7b8962adb63e9c22382199d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/jwk/jose_jwk.erl:801-809 | src/jwk/jose_jwk.erl:900-908 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc693299307f8238d1ee49d1b72afdb09a58d2726f0e6543a54d49a2dc4b0af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/jwa/jose_jwa.erl:367-372 | src/jwa/jose_jwa.erl:375-380 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa.erl"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"95795b216df93ed8ee84fbbf33b2dce52026dc851dac551d996d8322a485a2bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/jwa/jose_jwa_aes.erl:243-249 | src/jwa/jose_jwa_aes.erl:323-329 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_aes.erl"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c292a612d328fa160332d146f5d7e3f4904f0bfd1132352a6a1dddd20f1ca14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/jwa/jose_jwa_chacha20.erl:41-45 | src/jwa/jose_jwa_chacha20.erl:48-52 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_chacha20.erl"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95b9e62a4b5676e1c3e40395c4cb708db65126e88b1fc2764a86cb84e2532e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/jwa/jose_jwa_ed448.erl:232-236 | src/jwa/jose_jwa_ed448.erl:282-286 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_ed448.erl"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc98d978e614db0d7880c4ad72f7cffcb53179f9aa213e94a1d63c3756679d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/jwe/jose_jwe_alg_ecdh_1pu.erl:125-129 | src/jwe/jose_jwe_alg_ecdh_es.erl:122-126 | src/jwe/jose_jwe_alg_ecdh_ss.erl:124-128 \u2014 before extracting anything, compare \u0060src/jwe/jose_jwe_alg_ecdh_1pu.erl\u0060 and \u0060src/jwe/jose_jwe_alg_ecdh_es.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_ecdh_1pu.erl"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0615b45a0cfd1426a1b20ee96809f46d5918ab1c697eb010d13a42d0c40f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/jwe/jose_jwe_alg_ecdh_1pu.erl:233-237 | src/jwe/jose_jwe_alg_ecdh_es.erl:226-230 | src/jwe/jose_jwe_alg_ecdh_ss.erl:228-232 \u2014 before extracting anything, compare \u0060src/jwe/jose_jwe_alg_ecdh_1pu.erl\u0060 and \u0060src/jwe/jose_jwe_alg_ecdh_es.erl\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_ecdh_1pu.erl"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0c3e2976f73b69f9c94e13feab9f2973178003381c93763ad3e42d1a65c27a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/jwk/jose_jwk.erl:160-165 | src/jws/jose_jws.erl:64-69 | src/jwt/jose_jwt.erl:44-49 \u2014 \u0060src/jwk/jose_jwk.erl\u0060 and \u0060src/jws/jose_jws.erl\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0c75934d68478d53b749874d10c8a1007c749f4fe81a848122effb5bb710bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/jwk/jose_jwk.erl:182-187 | src/jws/jose_jws.erl:75-80 | src/jwt/jose_jwt.erl:55-60 \u2014 \u0060src/jwk/jose_jwk.erl\u0060 and \u0060src/jws/jose_jws.erl\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"70847e5773c39121ecf3042325e689e7d94f4f81ae7257c0d4b45b07e875eda3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/jwk/jose_jwk.erl:294-298 | src/jws/jose_jws.erl:92-96 | src/jwt/jose_jwt.erl:72-76 \u2014 \u0060src/jwk/jose_jwk.erl\u0060 and \u0060src/jws/jose_jws.erl\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk.erl"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a195ddf4b718b4fa444bea25482ef2439aece05b5a16980b6dec4478049945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): src/jwk/jose_jwk_kty_okp_ed25519.erl:65-72 | src/jwk/jose_jwk_kty_okp_ed25519ph.erl:54-61 | src/jwk/jose_jwk_kty_okp_ed448.erl:65-72 | src/jwk/jose_jwk_kty_okp_ed448ph.erl:54-61 | src/jwk/jose_jwk_kty_okp_x25519.erl:63-70 | src/jwk/jose_jwk_kty_okp_x448.erl:63-70 \u2014 before extracting anything, compare \u0060src/jwk/jose_jwk_kty_okp_ed25519.erl\u0060 and \u0060src/jwk/jose_jwk_kty_okp_ed25519ph.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f424503edae3f1afdea58e80649e5719537d2b1bba491c302ed9c2a18d0518c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/jose/jws.ex:451-471 | lib/jose/jws.ex:547-567 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jws.ex"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"484040fe5559a10fbcf8c1bbe0da508fac0181247d162166d9f56d10e84521c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): lib/jose/jwk.ex:1068-1086 | lib/jose/jwk.ex:1116-1134 | lib/jose/jwt.ex:288-306 | lib/jose/jwt.ex:337-355 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwk.ex"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68697a4046143f8e6c59d902ef87a78b04c50b46ef8937d7b495b1158e8030d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/jose/jws.ex:672-689 | lib/jose/jws.ex:733-750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jws.ex"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90db2dc243d601b06ac3aef8b8d35c006ddcb467de939efb9711aa11b36cd99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/jose/jwk.ex:669-677 | lib/jose/jwk.ex:774-782 | lib/jose/jwk.ex:880-888 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwk.ex"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41267282727abaa644fe445cad4f944e3dd9aec00504f5795add3322b770f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/jose/jws.ex:655-666 | lib/jose/jwt.ex:268-279 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jws.ex"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c28ff8a1e6c732a0428fb1662b754e09801275db6f4f45625063ee3000f69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/jose/jws.ex:715-727 | lib/jose/jwt.ex:316-328 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jws.ex"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec7115833f173c265eff19c18eaf5b6159d5e87627f23b9638de5cc3aadba5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/jose/jwk.ex:983-994 | lib/jose/jws.ex:477-488 | lib/jose/jws.ex:492-503 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jose/jwk.ex"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1586e150d051fe858b024321285a5dffd4437d9ad157d9cea1ba67e0e0e106"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: jose_SUITE:jose_cfrg_curves_a_4: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dbaa943a86905e027068abb867b1402b0a643ab34ad98e4c7d6303ffca58081e"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: jose_SUITE:jose_cfrg_curves_a_5: Passed 1\u00D7, failed 2\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bb9e516ee3ba04f2d785a347d807f38c262273a119d973beac3cdf2862865f1a"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1edca0d9a80b8700d08a10b9ecdb66d4fcf63445f3aca0fcd9672db1dd10858"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: When fixing / completing specs \u0026 types of files, please remove the \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":".dialyzer_ignore.exs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ef4a7acf237092e7481701a735a2058e68963c357d4fd756434f22e77c3c1d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f58e6de16f319764ed8887836c0ee3f7aeb8ff6cf54fccac4ae8c7dcf980f527"},"properties":{"commitSha":"853c5d4c4c0bd2a7ecb055b237f4284184e176c8"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6cd7dd8ce2cb5c04a2c1d6ebe0d105c0ff37322563dcca85e129c8d762d0c027"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad00e070df465e0a379e0eafb488382fe493a4808ab6d213840c4e58b002986d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"364cd49e27ecd6fb2dd059ef55e68c8bdfac3ea4b2ea6c66f0ffd356c1756807"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9136fbaa92ea14ac7cbc2c95c3cb37cd0aab779eca11caebabf6e972a920f9cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d69e3beab226c373b7bd1d84dd05efb1dfab99c067a123e2df341897ba4f5b0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8943f489e5d1d6ef240980fa980232af37d56adb3452bc3e493efb1d454b069"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96f04ff25aaf9074af5ca624681c5994c907bafaf1ebd9e534c5e789c7271451"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 3 of 82 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 82 of the 137 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/jose_crypto_compat.erl, src/jwa/curve25519/jose_curve25519_crypto.erl, src/jwa/curve448/jose_curve448_crypto.erl. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_crypto_compat.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9555b127cc672a64b64e6bac2ca376efc8ae0448f6ed8bf45ccd871bdc709209"}},{"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/jwa/curve25519/jose_curve25519_crypto.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb657d91299f4f38e650a3a8c26f5c371d3f06c648a3d41cd571a7547ea19d8"}},{"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/jwa/curve448/jose_curve448_crypto.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5de6fb78d8a3ba95fabedc6923ceecec2a5af34ed1a7e689e5247d20e0f4af7"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e759935bc673c1bbcc6c3a0b71d4c7fad5f018c82bda27e04c84ef98fe18b58"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060byte_size(KTY) =:= ?publickeybytes orelse byte_size(KTY) =:= ?secretkeybytes\u0060 appears character-identically in 6 files \u2014 src/jwk/jose_jwk_kty_okp_ed25519.erl, src/jwk/jose_jwk_kty_okp_ed25519ph.erl, src/jwk/jose_jwk_kty_okp_ed448.erl, src/jwk/jose_jwk_kty_okp_ed448ph.erl. 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":"src/jwk/jose_jwk_kty_okp_ed25519.erl"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d01c207791e3d4e9356b235f5eeea0c1c0cbfb3c1f61550d63880e221cbc2e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(DerivedKey) andalso bit_size(DerivedKey) =:= ?BITS andalso is_binary(IV)\u0060 appears character-identically in 2 files \u2014 src/jwe/jose_jwe_alg_c20p_kw.erl, src/jwe/jose_jwe_alg_xc20p_kw.erl. 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":"src/jwe/jose_jwe_alg_c20p_kw.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f91f1ee016f3abf9bd16c120e1efc4fddccf500bed514c0ee8903256bd0bf0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(DerivedKey) andalso bit_size(DerivedKey) =:= ?BITS andalso is_binary(IV) andalso is_binary(TAG)\u0060 appears character-identically in 2 files \u2014 src/jwe/jose_jwe_alg_c20p_kw.erl, src/jwe/jose_jwe_alg_xc20p_kw.erl. 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":"src/jwe/jose_jwe_alg_c20p_kw.erl"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"009e1cee69fd94e26edafa9694fe13f524ff5d99fcd3c1f024b1ccb133df0b9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(Message) andalso is_binary(SecretKey)\u0060 appears character-identically in 2 files \u2014 src/jwa/jose_jwa_curve25519.erl, src/jwa/jose_jwa_curve448.erl. 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":"src/jwa/jose_jwa_curve25519.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"730b8fca7c1b4433454050ccb4c863f86543b22984e3c4e751258cd8d7a8ac3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(MySecretKey) andalso is_binary(YourPublicKey)\u0060 appears character-identically in 2 files \u2014 src/jwa/jose_jwa_curve25519.erl, src/jwa/jose_jwa_curve448.erl. 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":"src/jwa/jose_jwa_curve25519.erl"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53abe698882c74cd301da99f0edd37c2351648796575894b2bcb17a3306a34c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(Sig) andalso is_binary(M) andalso is_binary(C)\u0060 appears character-identically in 2 files \u2014 src/jwa/jose_jwa_ed25519.erl, src/jwa/jose_jwa_ed448.erl. 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":"src/jwa/jose_jwa_ed25519.erl"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96941593765b1f557900cc42bc7612f56021329d764a43c226eb8ece0ebf5ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(Signature) andalso is_binary(Message) andalso is_binary(PublicKey)\u0060 appears character-identically in 2 files \u2014 src/jwa/jose_jwa_curve25519.erl, src/jwa/jose_jwa_curve448.erl. 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":"src/jwa/jose_jwa_curve25519.erl"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e856e5f082d995608c2df012a9b31114d2737ecc733803731a0e9f025f4bb3a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(Z) andalso is_binary(IV) andalso is_binary(TAG)\u0060 appears character-identically in 3 files \u2014 src/jwe/jose_jwe_alg_ecdh_1pu.erl, src/jwe/jose_jwe_alg_ecdh_es.erl, src/jwe/jose_jwe_alg_ecdh_ss.erl. 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":"src/jwe/jose_jwe_alg_ecdh_1pu.erl"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f82407b9515f0f14ad0e29a241de6a05210887eb3d0ce3ff366e6fb7b3b399"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(Bytes) andalso Bytes \u003E 0 andalso is_map(Opts)\u0060 appears character-identically in 4 files \u2014 codegen/jose_base64.erl, codegen/jose_base64url.erl, src/base/jose_base64.erl, src/base/jose_base64url.erl. 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":"codegen/jose_base64.erl"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"946a711e3ec38e4a123473fee0681d978e49d18aa3cc254f489b6997ce005705"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(Bytes) andalso Bytes \u003E= 0 andalso is_list(Opts)\u0060 appears character-identically in 4 files \u2014 codegen/jose_base64.erl, codegen/jose_base64url.erl, src/base/jose_base64.erl, src/base/jose_base64url.erl. 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":"codegen/jose_base64.erl"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c40e91c45b350395fa3fa88bfe8b008377c9b6737be5279adce1ddc282d4b43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(ModulusSize) andalso is_integer(ExponentSize)\u0060 appears character-identically in 2 files \u2014 src/jwk/jose_jwk_kty.erl, src/jwk/jose_jwk_kty_rsa.erl. 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":"src/jwk/jose_jwk_kty.erl"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d006fa8691074f780e079f1a2c5c12bfc259cd8fd3c1f044aca17e6e6d8ea85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(PBES2CountMaximum) andalso PBES2CountMaximum \u003E= 0\u0060 appears character-identically in 2 files \u2014 src/jose.erl, src/jose_server.erl. 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":"src/jose.erl"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b217178ff18eea24bde95e1558ef4844f46888e83d0b45a3ce3dc3b7360bbb7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(ZipSizeMaximum) andalso ZipSizeMaximum \u003E= 0\u0060 appears character-identically in 2 files \u2014 src/jose.erl, src/jose_server.erl. 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":"src/jose.erl"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e03b4b713a8e6194cf09a58c0c399f27826cf6af771c080e751ee65571216ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_map(Modules) andalso is_binary(Binary)\u0060 appears character-identically in 4 files \u2014 src/jwe/jose_jwe.erl, src/jwk/jose_jwk.erl, src/jws/jose_jws.erl, src/jwt/jose_jwt.erl. 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":"src/jwe/jose_jwe.erl"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fd95857a5a190daba63bf58f12720aed7eac1667c8576438d75a8999f75c96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_map(Modules) andalso is_binary(Encrypted)\u0060 appears character-identically in 2 files \u2014 src/jwk/jose_jwk.erl, src/jwt/jose_jwt.erl. 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":"src/jwk/jose_jwk.erl"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d043cba89f1adbcdb9cdfa51c2463504a906c2cab8182bd95d5cb9c026abce2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_map(Modules) andalso is_map(Encrypted)\u0060 appears character-identically in 2 files \u2014 src/jwk/jose_jwk.erl, src/jwt/jose_jwt.erl. 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":"src/jwk/jose_jwk.erl"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"317cb8f4a34bc38ee931364d44447295fbd208bfb56cb84cdfc69abef2dc192a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_tuple(State0) andalso tuple_size(State0) =:= 16\u0060 appears character-identically in 2 files \u2014 src/jwa/jose_jwa_chacha20.erl, src/jwa/jose_jwa_hchacha20.erl. 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":"src/jwa/jose_jwa_chacha20.erl"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"da213a219457a7d0c6df395f44446b81f515deb6d6d60242fbafbd712745f659"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5d01601740c92b82cc460cac7478092d65cff9370d2e1bb1e6e6f7f1945c9d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"305d61d6a526b65e6c57c012de14bae474e3d850115e3bdfe3a0914314ae3908"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"e956a8d5e2887596c466ad4d6bfd92440684d44f58215f00c283aca262924ccd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"3880d4c53d876d4a380d58986a997746e57cdc3bd310dcb4232526a5b628e1eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6b9f795a7867c05a6de1e7bc678f9d9c0d43fe45c62526c93b3a4011c6e01d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61d0a86e921ecad5ffe98e1b8c2106702ee2549c67509a3c15804bb13460cef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"5087b83b67b10ecce81ad5e26c7ad9c99aa3753252f03ffcc0882257efc1a2f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2563066ca43d27cf0f967ed1cf08fba9db84af1cd9f8307983aeee6bff1a6f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e710478404c7cffc2d70175a0b33ff27ea5e3334eaaa5bebcad61c08e03c5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f734cf4e12795e6665395f98e3255d776f4237cb20df2b0b4cb6bb4cb8fb90b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcad9ab00df36126a82e1af3fdcd0dcf674e1ea4d3a567195ca6603ea2287e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1521c90b777ecfbe0d0b1cc3895ef0a7f63b490a255a3e155f115614c44c7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6490e7898e779d86501ee7ae95d338e0b3b48fb41345673bd49cca37347f0c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"101ad3dac8ec77788321f50d37eeb6dfc6e53e23c5304a43343c05876df52c84"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fc77ff6e5f4729bf70b57d0042824d3be694e25951da849a4f12e1ad40e4b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d309f8ae35b82fb804aae5d819765a51b8f98c2fea2be0b05944dd43bbd4124"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba31fb31b5ce57186f9cd07582dd010c70acb09a05f6a405f7cc73e9c7b4e013"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jose_server.erl"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abc15e152d67815a3d3edb8e9383e793d0fe9bd028e3fef5cb07a51d679fe06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwk/jose_jwk_kty_rsa.erl"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c1c5165af8ae97795da57a38e61a3861c219288c53a93c90f0adc20ba93983"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwe/jose_jwe_alg_rsa.erl"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccb13070f8a7159d4f19b142f01e6ac69dd27251b5a0e9902c2914550e3c3ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa.erl"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0aa2475d19dad3edb3fbbff5a2d17f592b22283d499dbd6e4ee3602e17d495"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa.erl"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3404fd00b28e38f11799a15617f9d0875433f583bb7d959b274afce4aefa48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa.erl"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e985d5dbbdced4f8e8563a2d14fed9d44e3a39a82769756138203a96e1875d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa.erl"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4af7165211b3c2e69327e04a9b77400aca034ea6517d73a52a8edec22ab12d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa.erl"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0d7ca2750cc0f36a67fd13bddffb26a4dec865e1260d877a213584b571ea9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve25519.erl"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"050efbc7a761765912f81acb0293732f46155e4cce03dcad55cbf814ade01eab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve25519.erl"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2550c38d7664aa2fadf3c09ceaeff0702f7ebc950afe92493fca36cb6b1fac30"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve25519.erl"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fef4d19d6cb14830bf3d6af005b34f356a9457a3a606d630bdc157cc4a4d060"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve25519.erl"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2e23b03540bad9c8946202dbbad38afbeec8937a6cd2cf9d470ebf007179d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve448.erl"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8d4662b892bd6d59d8bdda780b80a296fad2f1369602ec6b78f8f262fc6889"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve448.erl"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01f081711c102c922814d44b5c94fd2c5f01cf882f2f3913420c8231e11af6d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve448.erl"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84217c41ffd7fd6cb80391680d1de19d100e7da121cefad94eb250725cf5ac9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/jose_jwa_curve448.erl"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78a2ca6fe1c8c1350f3514ae0c6c5b6689de845806ff09f9c60527889a383cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/curve25519/jose_curve25519_libsodium.erl"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00c3ee4cbd9e6b0c3ba0abbbe9df0f80d30ec23f8a162ae6aaf8331bf1d14f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jwa/curve25519/jose_curve25519_libsodium.erl"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf846cf26cea90bc8a28ce04b129626082b5af2c1183fb85f719ca657a31abb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/json/jose_json_poison_compat_encoder.erl"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f727a8d295519e524176fc08fe0f371dab7b22d6766b9706a8b21dccde5ab94"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/base/jose_base64.erl"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c377b5e2cb38e6cd6fa895af9555d06d8d4039f9277dd3433b42b7fd4ac9c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/base/jose_base64url.erl"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"270e23c72bf693d26848cfe45e2f6ac9ae46d6c310644eff010cdc2103f05d8e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64.erl"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d882937cd1009e03488c6c45c012019414c10248cfe0fc3d5545c22044f2c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codegen/jose_base64url.erl"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d183710100c3ea8e151a7e0c9ad1c25468783fb385a07eb3b0b5c63a51993c3"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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":12,"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."]}]}