{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"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":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"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":"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":"typechecker.do_type_check_expr_in (cyclomatic 124): typechecker.do_type_check_expr_in has cyclomatic complexity 124 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/typechecker.erl holds 12 of the 16 functions over the threshold \u2014 including the worst \u2014 and 484 of the 551 points over it (88%), 10.8\u00D7 the next-largest file (src/gradualizer_fmt.erl at 45). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1cd8420340351f98bb2e13456f46e355fd51c8fd3fe427d53e4b43f4a5ec7d"}},{"ruleId":"D1","level":"warning","message":{"text":"typechecker.glb_ty (cyclomatic 94): typechecker.glb_ty has cyclomatic complexity 94 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/typechecker.erl holds 12 of the 16 functions over the threshold \u2014 including the worst \u2014 and 484 of the 551 points over it (88%), 10.8\u00D7 the next-largest file (src/gradualizer_fmt.erl at 45). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8abaa7a64372479fc86c582f8536895ec52cfdf7c5383e75711e2e22106aa59"}},{"ruleId":"D1","level":"warning","message":{"text":"typechecker.do_type_check_expr (cyclomatic 82): typechecker.do_type_check_expr has cyclomatic complexity 82 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/typechecker.erl holds 12 of the 16 functions over the threshold \u2014 including the worst \u2014 and 484 of the 551 points over it (88%), 10.8\u00D7 the next-largest file (src/gradualizer_fmt.erl at 45). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1957}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb4ff25bd1276c18c0379b26f5969371d7569093d773b0dec3b2149112bdbd3"}},{"ruleId":"D1","level":"warning","message":{"text":"typechecker.compat_ty (cyclomatic 72): typechecker.compat_ty has cyclomatic complexity 72 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/typechecker.erl holds 12 of the 16 functions over the threshold \u2014 including the worst \u2014 and 484 of the 551 points over it (88%), 10.8\u00D7 the next-largest file (src/gradualizer_fmt.erl at 45). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb86e7b7ce8d4f9e6fbbe54f54fc6638ff9eeba4523dea3c5d07a1120f3cc78"}},{"ruleId":"D1","level":"warning","message":{"text":"typechecker.refine_ty (cyclomatic 63): typechecker.refine_ty has cyclomatic complexity 63 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/typechecker.erl holds 12 of the 16 functions over the threshold \u2014 including the worst \u2014 and 484 of the 551 points over it (88%), 10.8\u00D7 the next-largest file (src/gradualizer_fmt.erl at 45). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4599}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38ce377e18ddc38f2b9a2821f5378802eb05cacac3881213c3b9ccd4bf94eef"}},{"ruleId":"D1","level":"warning","message":{"text":"typechecker.add_type_pat (cyclomatic 62): typechecker.add_type_pat has cyclomatic complexity 62 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/typechecker.erl holds 12 of the 16 functions over the threshold \u2014 including the worst \u2014 and 484 of the 551 points over it (88%), 10.8\u00D7 the next-largest file (src/gradualizer_fmt.erl at 45). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5280}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c09984ee8836d830c3f579b85b9e46c41a311565374a675a2280323d7ad8dd"}},{"ruleId":"D1","level":"warning","message":{"text":"gradualizer_fmt.format_type_error (cyclomatic 60): gradualizer_fmt.format_type_error has cyclomatic complexity 60 (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/gradualizer_fmt.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7f400090f4f519c52feef3e53dc797862f02bf48d12a40f4942fc58bbcbc72"}},{"ruleId":"D1","level":"warning","message":{"text":"typechecker.arith_op_arg_types (cyclomatic 40): typechecker.arith_op_arg_types has cyclomatic complexity 40 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/typechecker.erl holds 12 of the 16 functions over the threshold \u2014 including the worst \u2014 and 484 of the 551 points over it (88%), 10.8\u00D7 the next-largest file (src/gradualizer_fmt.erl at 45). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3486}}}],"partialFingerprints":{"codehealthFindingId/v1":"514b7703301e1633827e167b3ee51d6853d347f2ad1e1e0808d8d35aa6795b84"}},{"ruleId":"D1","level":"warning","message":{"text":"typechecker.refinable (cyclomatic 39): typechecker.refinable has cyclomatic complexity 39 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/typechecker.erl holds 12 of the 16 functions over the threshold \u2014 including the worst \u2014 and 484 of the 551 points over it (88%), 10.8\u00D7 the next-largest file (src/gradualizer_fmt.erl at 45). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4884}}}],"partialFingerprints":{"codehealthFindingId/v1":"c166ab379525336600a11d55af4eebc372eb292d8754a65756cb0031eafbe0dd"}},{"ruleId":"D1","level":"warning","message":{"text":"typechecker.type_check_comprehension_in (cyclomatic 31): typechecker.type_check_comprehension_in has cyclomatic complexity 31 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/typechecker.erl holds 12 of the 16 functions over the threshold \u2014 including the worst \u2014 and 484 of the 551 points over it (88%), 10.8\u00D7 the next-largest file (src/gradualizer_fmt.erl at 45). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3748}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f810992730112c0b62af10c631e502f2364ce969763d5ac61fd62733f2320f"}},{"ruleId":"D1","level":"warning","message":{"text":"gradualizer_db.handle_call (cyclomatic 30): gradualizer_db.handle_call has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer_db.erl"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"265726ecfa891b1af4f0a6a6be9211e20d9b67ceb2589ea58a443cdae9bd1068"}},{"ruleId":"D1","level":"warning","message":{"text":"typechecker.expect_fun_type1 (cyclomatic 21): typechecker.expect_fun_type1 has cyclomatic complexity 21 (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. This is NOT this file\u0027s highest cyclomatic complexity: typechecker.expand_builtin_aliases (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/typechecker.erl holds 12 of the 16 functions over the threshold \u2014 including the worst \u2014 and 484 of the 551 points over it (88%), 10.8\u00D7 the next-largest file (src/gradualizer_fmt.erl at 45). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6401195f12026b7abdc9032285c8e652cfb168f6c0432f3ea876fcf411143f1"}},{"ruleId":"D1","level":"warning","message":{"text":"gradualizer_bin.bin_element_view (cyclomatic 19): gradualizer_bin.bin_element_view has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer_bin.erl"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d96981112694eaacede11bc285487b21cbc94b26438dde96b6dd048d8a26270"}},{"ruleId":"D1","level":"warning","message":{"text":"typechecker.type_of_bin_element (cyclomatic 19): typechecker.type_of_bin_element has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: typechecker.expand_builtin_aliases (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/typechecker.erl holds 12 of the 16 functions over the threshold \u2014 including the worst \u2014 and 484 of the 551 points over it (88%), 10.8\u00D7 the next-largest file (src/gradualizer_fmt.erl at 45). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5834}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d040cd2a7602e6bd1bab6da9cedccf874847c5367ee2b2b2ddf8d5cc9163bd"}},{"ruleId":"D1","level":"warning","message":{"text":"typelib.substitute_type_vars (cyclomatic 18): typelib.substitute_type_vars 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/typelib.erl"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"44425746c0c079e0d6a93dae239525d22a95b225467781d25e057e37812a3ec1"}},{"ruleId":"D1","level":"warning","message":{"text":"typechecker.unary_op_arg_type (cyclomatic 17): typechecker.unary_op_arg_type has cyclomatic complexity 17 (threshold 15). 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. This is NOT this file\u0027s highest cyclomatic complexity: typechecker.expand_builtin_aliases (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/typechecker.erl holds 12 of the 16 functions over the threshold \u2014 including the worst \u2014 and 484 of the 551 points over it (88%), 10.8\u00D7 the next-largest file (src/gradualizer_fmt.erl at 45). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3713}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdcf0f3707a96d7f59a360ae64ea8cb9a589a9d3948fafeba05ffaf17aad749"}},{"ruleId":"D2","level":"warning","message":{"text":"typechecker.do_type_check_expr_in (cognitive 64): typechecker.do_type_check_expr_in has cognitive complexity 64 (threshold 15). Drivers by points: match/switch 37 (48 pts), boolean chains 9, loops 3 (6 pts), error handling 1 (nesting depth added 14). 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: src/typechecker.erl holds 9 of the 11 functions over the threshold \u2014 including the worst \u2014 and 186 of the 190 points over it (98%), 62\u00D7 the next-largest file (src/gradualizer_db.erl at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dcd8a12558b063d0d1337606afcb8286858b6dfa028717eebe02838a468cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"typechecker.glb_ty (cognitive 59): typechecker.glb_ty has cognitive complexity 59 (threshold 15). Drivers by points: match/switch 20 (26 pts), boolean chains 21, loops 5 (11 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/typechecker.erl holds 9 of the 11 functions over the threshold \u2014 including the worst \u2014 and 186 of the 190 points over it (98%), 62\u00D7 the next-largest file (src/gradualizer_db.erl at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"4809d2cdb1b69d02c957ddfd9ea12c24a8c3e9d3c924d6d23e7a6058a7d670ba"}},{"ruleId":"D2","level":"warning","message":{"text":"typechecker.refine_ty (cognitive 37): typechecker.refine_ty has cognitive complexity 37 (threshold 15). Drivers by points: match/switch 14 (16 pts), boolean chains 10, loops 7 (9 pts), error handling 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/typechecker.erl holds 9 of the 11 functions over the threshold \u2014 including the worst \u2014 and 186 of the 190 points over it (98%), 62\u00D7 the next-largest file (src/gradualizer_db.erl at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4599}}}],"partialFingerprints":{"codehealthFindingId/v1":"450eeab2c71b95bfc2632cba12669b44918295db573a401cd34961facc52a9e3"}},{"ruleId":"D2","level":"warning","message":{"text":"typechecker.add_type_pat (cognitive 35): typechecker.add_type_pat has cognitive complexity 35 (threshold 15). Drivers by points: match/switch 21 (29 pts), loops 2 (4 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/typechecker.erl holds 9 of the 11 functions over the threshold \u2014 including the worst \u2014 and 186 of the 190 points over it (98%), 62\u00D7 the next-largest file (src/gradualizer_db.erl at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d443ac685604262a48a30608d03151f7cf4cd9ffc5647bf916729aebf27b8dd2"}},{"ruleId":"D2","level":"warning","message":{"text":"typechecker.compat_ty (cognitive 35): typechecker.compat_ty has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 22, match/switch 9 (10 pts), error handling 3 (nesting depth added 1). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/typechecker.erl holds 9 of the 11 functions over the threshold \u2014 including the worst \u2014 and 186 of the 190 points over it (98%), 62\u00D7 the next-largest file (src/gradualizer_db.erl at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a942aba81dd616f8e70bd18acaaf37c183821cea9abd4250a86d5479352e26c"}},{"ruleId":"D2","level":"warning","message":{"text":"typechecker.do_type_check_expr (cognitive 34): typechecker.do_type_check_expr has cognitive complexity 34 (threshold 15). Drivers by points: match/switch 23 (26 pts), boolean chains 6, error handling 1, loops 1 (nesting depth added 3). 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: src/typechecker.erl holds 9 of the 11 functions over the threshold \u2014 including the worst \u2014 and 186 of the 190 points over it (98%), 62\u00D7 the next-largest file (src/gradualizer_db.erl at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1957}}}],"partialFingerprints":{"codehealthFindingId/v1":"507aa93273ced5a8fc44b0fc06cede92b90704a02d9ce585663ad99d8c891300"}},{"ruleId":"D2","level":"warning","message":{"text":"typechecker.arith_op_arg_types (cognitive 23): typechecker.arith_op_arg_types has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 10 (11 pts), boolean chains 10, loops 2 (nesting depth added 1). 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: src/typechecker.erl holds 9 of the 11 functions over the threshold \u2014 including the worst \u2014 and 186 of the 190 points over it (98%), 62\u00D7 the next-largest file (src/gradualizer_db.erl at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3486}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be6db67adc4e7f9030ff53c2af7d5f05f2e6444db31541042557f4e1c10640d"}},{"ruleId":"D2","level":"warning","message":{"text":"gradualizer_db.handle_call (cognitive 18): gradualizer_db.handle_call has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 9, loops 3 (5 pts), error handling 1 (2 pts), if/else 1 (2 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/gradualizer_db.erl"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a863363b5c79cf566dd56a90cf94035e918e681660859a5afbcb1cbbf1f83f"}},{"ruleId":"D2","level":"warning","message":{"text":"typechecker.refinable (cognitive 17): typechecker.refinable has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 9 (12 pts), boolean chains 3, loops 1 (2 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/typechecker.erl holds 9 of the 11 functions over the threshold \u2014 including the worst \u2014 and 186 of the 190 points over it (98%), 62\u00D7 the next-largest file (src/gradualizer_db.erl at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4884}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9158622265e5700a9849434074651b807b329b20dbb9167c3299aea6ec0ba67"}},{"ruleId":"D2","level":"warning","message":{"text":"typechecker.type_check_arith_op_in (cognitive 17): typechecker.type_check_arith_op_in has cognitive complexity 17 (threshold 15). Drivers by points: error handling 3 (10 pts), match/switch 4 (6 pts), if/else 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: src/typechecker.erl holds 9 of the 11 functions over the threshold \u2014 including the worst \u2014 and 186 of the 190 points over it (98%), 62\u00D7 the next-largest file (src/gradualizer_db.erl at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3397}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2618579823750d7512aecd00afdf6b5c0611917daba072973b0ef00119ae6b"}},{"ruleId":"D2","level":"warning","message":{"text":"gradualizer_fmt.format_type_error (cognitive 16): gradualizer_fmt.format_type_error has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, match/switch 5, if/else 2, loops 1. 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/gradualizer_fmt.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ae08ed850b181d280437354f30869a0c7a53d321909eec8711655cc4d17b7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/typechecker.erl: FileTooLong \u2014 5028 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 267 functions. The bar is 500 significant lines; this is 4528 over it, 10.06\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/typechecker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0482a10e254426b91261ab4c11cde23b4bdf630976e32f82f8f9f9181c9aac5d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: gradualizer_db: TooManyFunctions \u2014 51 functions. The bar is 30 functions; this is 21 over it, 1.70\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/gradualizer_db.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab39fc5eac567be2c0dca9de3581320c223d7f03bef9c3cce7a45b44496c0c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/gradualizer_fmt.erl: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6 over it, 1.01\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/gradualizer_fmt.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f500787f759a028b08155d9bb1fee0c9ee0ab53f950e93f2e73b221f477170e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/typechecker.erl:2601-2655 | src/typechecker.erl:2661-2685 \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/typechecker.erl"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b121e2b5ea75824f83ee0167d7d46024bf013e0f31788de75af5eedbb94fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): src/typechecker.erl:2298-2344 | src/typechecker.erl:2348-2383 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b3663939007e9bb435f2b6d4f3109bbba71b4349dd68b14b4515031f7261cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/typechecker.erl:1354-1380 | src/typechecker.erl:1435-1449 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b0533877031c8fe2d47bfeead85c586c75218b16322fbab271082ec7b3c546"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src/typechecker.erl:513-520 | src/typechecker.erl:524-532 | src/typechecker.erl:537-547 \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/typechecker.erl"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1b352a63cac1b5f9dae83fb9456e451204530929315e532275cefb6c74aa92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/typechecker.erl:6049-6053 | src/typechecker.erl:6057-6061 \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/typechecker.erl"},"region":{"startLine":6049}}}],"partialFingerprints":{"codehealthFindingId/v1":"63eb2eb1e1207bd9baac391fca0c8d1ea89fd9c8cbbfc3846698378403363fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/typechecker.erl:5983-5991 | src/typechecker.erl:6029-6033 \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/typechecker.erl"},"region":{"startLine":5983}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0c272f9d4995c13397bbb519379d10f1d0a7d6a834fdf4eb50f1bfec810961"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/typechecker.erl:4060-4065 | src/typechecker.erl:4068-4073 \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/typechecker.erl"},"region":{"startLine":4060}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2d3974637c5fc727727c3e87a1068b40bd3aa03d30ae417be8014f6a6554ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/gradualizer_db.erl:299-309 | src/gradualizer_db.erl:312-322 \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/gradualizer_db.erl"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee0168ae95d30e5ae37d97b1869e1dff73a888e2fe0531a2914e54ae08ac82f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src/typechecker.erl:2300-2317 | src/typechecker.erl:2320-2336 \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/typechecker.erl"},"region":{"startLine":2300}}}],"partialFingerprints":{"codehealthFindingId/v1":"707c57da3105a214c9cdaf1aafac65b8f6c61f7791eeedd3152e6e63a891acdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/typechecker.erl:3225-3239 | src/typechecker.erl:3278-3292 \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/typechecker.erl"},"region":{"startLine":3225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa0a9b048c83c31b99c08a86dcf2d13b82c48f9b835cc86f429962e32dedba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/typechecker.erl:2349-2359 | src/typechecker.erl:2367-2377 \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/typechecker.erl"},"region":{"startLine":2349}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c59cc7b562e30474a17064f8bab092177dc00d0cac14fba62418eaf70711d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/typechecker.erl:5432-5441 | src/typechecker.erl:5444-5453 \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/typechecker.erl"},"region":{"startLine":5432}}}],"partialFingerprints":{"codehealthFindingId/v1":"d643dde002d8d45a326bb47a9cb3da69ead3e2b856f349c35fc8e200ca586af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src/typechecker.erl:5998-6005 | src/typechecker.erl:6008-6016 \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/typechecker.erl:5998\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5998}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a651e0d34eb9d083f442a8645394de92e40245931810a68208d2987d38b8e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/typechecker.erl:3116-3123 | src/typechecker.erl:3136-3143 \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/typechecker.erl"},"region":{"startLine":3116}}}],"partialFingerprints":{"codehealthFindingId/v1":"93be26e0bf44f7a5fb74dd2dc030effb2b89e39770c181901d250749e6540a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/typechecker.erl:2869-2876 | src/typechecker.erl:2949-2956 | src/typechecker.erl:3834-3841 \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/typechecker.erl:2869\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/typechecker.erl"},"region":{"startLine":2869}}}],"partialFingerprints":{"codehealthFindingId/v1":"5902da3ce8065a0ec8b6a9fcf99594bfa54e70fecddb5e2b7ecd7b720e583aa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/typechecker.erl:2635-2641 | src/typechecker.erl:2662-2668 \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/typechecker.erl"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"659ced31022d768410468834bad6c0f8bc4208f685e5e2899cdcda603217cad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/typechecker.erl:2645-2650 | src/typechecker.erl:2676-2681 \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/typechecker.erl"},"region":{"startLine":2645}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea2428843f16c94362787f72b2b2a8a9f20603b60613a29744f82bef34e906c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/typechecker.erl:293-297 | src/typechecker.erl:305-309 \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/typechecker.erl"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5a2d98df56a6a430000749bf19e31f77acc2c62e9d5b285dad0dcd1af04230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/typechecker.erl:875-881 | src/typechecker.erl:883-889 \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/typechecker.erl"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee74990b63c3e5dfc64882ec135048c1746655177d18af102786a7cdfe0af015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/typechecker.erl:2822-2826 | src/typechecker.erl:3848-3853 \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/typechecker.erl:2822\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/typechecker.erl"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1554c4c76d4fcd8aef577bdf8ae9e64e41daf60d7f6787e9a25a0bd7d3b3b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): src/typechecker.erl:2866-2869 | src/typechecker.erl:2946-2949 | src/typechecker.erl:3801-3805 | src/typechecker.erl:3830-3834 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/typechecker.erl:2866\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/typechecker.erl:2863\u0060 calls \u0060bindings\u0060, \u0060remove_pat_vars\u0060 and \u0060src/typechecker.erl:2944\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/typechecker.erl"},"region":{"startLine":2866}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b3c62470882df88accb6528bbe7a5bb8418ba91321fcca6b572016df030393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/typechecker.erl:5870-5874 | src/typechecker.erl:5877-5881 \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/typechecker.erl"},"region":{"startLine":5870}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b40bda8edc9941cc5d1360f0b7ffbf8e2bf77e2b3917036f021c3c159e8cb2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/typechecker.erl: src/typechecker.erl changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 124 in typechecker.do_type_check_expr_in at line 2983. 2 of those changes were fix/bug commits, and the other 11 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 16:43:25 \u002B00:00\u0027 --until=\u00272026-03-24 16:43:25 \u002B00:00\u0027 --full-history --no-merges -- src/typechecker.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc1fc0484b24d5fdfad68023cabd8344bb2bead974c48426fa8d5f4f0c99aaa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: We\u0027re not capable of handling maps with overlapping keys yet. \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":"test/typechecker_tests.erl"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"77951427fa0fd98985a914e010bd8f753c6ee2fbbb659cfbe4d6ef3577810012"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: recursive types \u0060{op, _1, _2, _3}\u0027 and \u0060{op, _1, _2, _3, _4}\u0027 are not tested. \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":"test/typelib_tests.erl"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"152cd78bb770130461bd0f689b07d671e2a00d7489b38f866b12d41d3be0540a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Due to some strange reason, maps or other full blown types get generated \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":"test/property_test/gradualizer_gen.erl"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9481ef1c37d236b3972f76bb88377550ee41497f19c8b9bd67eddaaefc94f30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: define records before enabling their generation again \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":"test/property_test/gradualizer_gen.erl"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37796d6fe872265a727fac4d4016355513afca9566fbf7c4c9d438a926388fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Limit to just one-clause functions. \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":"test/property_test/gradualizer_gen.erl"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa857b35c8a51a708ef3ecdab539fb8110c629756993d660e3ba2afa7933a56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Actually, directly checking refinable might not be necessary in the long run, \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":"test/property_test/gradualizer_prop.erl"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdeee3963d45cef7b5cdb424b0c0e0a19cbc49f488c4f0334a3845652a5ca991"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: use abstract_term() for now, since abstract_expr() gives very unpredictable \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":"test/property_test/gradualizer_prop.erl"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"df67061c5ba79334936352c623efec2dd9a5ba685b4940f478a79355ab3bc561"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: use abstract_term() for now, since abstract_expr() gives very unpredictable \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":"test/property_test/gradualizer_prop.erl"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ef6151ee4861bb1c4310302c2a34627019971562d08f06ef6665bd14bb126f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: prop_ add_type_pat - ultimately called from type_check_expr_in; requires a pattern() gen \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":"test/property_test/gradualizer_prop.erl"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d694ca1edc18bced44108d44c6fe406601a07941b913e5b412e966283caa16f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: if the type representation inherited from erl_parse didn\u0027t use lists for inner nodes we \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/absform.erl"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cf2b244e29518c4f2d03ee1b4d987b43df2d5e91f8c4964c1221c42a40c5c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: same story as for bounded_fun above \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/absform.erl"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c21798e54445112c7693a6acc8893eba267945f11e57c9b9d924bce05d31fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: better errors \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer.erl"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3457819dc535999562537d2e5d4aa76a3dc1b58de0647cad2dfdd6eb929a43"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: %% FIXME: Not true for float, integer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer_bin.erl"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2321dedbfdbb6f6fcdb92f2bb69e837172bd07d106956ba6602bbb8d5cb5d50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% Maybe TODO: Warn if an element \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer_db.erl"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"f753ca278162f82d6c18354e45a39d422204c9ea8bf5a74c82936dbe1666284d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Improve quality of type error \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer_fmt.erl"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd138968e53d41ebcfbaf83858aa6248692d51ac8cb0b1776501f711910b13ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Improve quality of type error \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4249}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6cd1bb9a0ae5cfc375e416450d157fedc307a0dbe37d64dfca976e23ae3dfa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: pp_type seems to have problems printing bounded types. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer_fmt.erl"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"305e8bbe726b495b1490f492584c5c93c13df9a74d0da0d07a35e86d97346800"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Generalize to not only Erlang (e.g. configurable fun) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer_highlight.erl"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99ece27dd9e21450e21ede758ae07a1ec7375a8e6dc82dd255e1adf18d1c094"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: https://github.com/josefs/Gradualizer/issues/406"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer_int.erl"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5286da7ec0e7ca409eb9bcf5282360cf6d26766cc9d6d2144cb277b27ede75a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: https://github.com/josefs/Gradualizer/issues/406"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4769}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fd1d72db0afcba6bdd5b26dc0bd895025006e4514b412b330ed3d9ad442208"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This fails self-gradualisation, see https://github.com/josefs/Gradualizer/issues/406"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer_int.erl"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea2bf97af227862f4416e9db6c0b3f17367f4df8f4006029a1a149c448aae25"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: %% XXX. To be refined. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer_type.erl"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d9e7e96f4ed0b1477b9f801286e3abf0e74057a27c5ce832ef4328fa3d42c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: See https://github.com/josefs/Gradualizer/issues/364 for details."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"49295d2b7c6ea700411549b2a69b8c59c661111bf72f18c1ebb2285497cd9ef9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Some of these don\u0027t seem to be thrown at all, e.g. expected_fun_type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f634f846527ed80d366f5c9d8b1fd6b96cac3514d04e88f11fed4d1aa08484"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: There are several kinds of fun types. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedf8e6abdad6ebd9341eb0373e492638ade2ec9aea3aa6f6317372be9b90575"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Record equivallend on tuple form \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"87743cfdfafbb82d3316d63d91dbac209a7ac1cc9eb288361f927c331c658e63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Don\u0027t drop the constraint here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a590545ce290952851a9a6e43538ccb44d487f2c06b6a10c597af816bc2e4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: add a test case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6b847ad9c7e5446f652a36469f52762dcae15a15bce561592b7b0a31fd5fde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Too simplistic! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc9d35b309e3011eaf8bccfec4c7311e3c2cf8aba591b63ce32db3dbfc6f5d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This is a kludge by which lists of types slip through calls to normalize(). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"440711aabc27a5ee6aca6f36e04a024c4e50870675443b898ec9eddd501276c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% * TODO: Detect user-defined and remote types expanding to themselves \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c68cec9b0b8a3b9a51d670f00166c588b079b39c8c6a201bcccb4583a8a262"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% (TODO) Removes all types that are subtypes of other types in the same union. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae65e8ac167b7766622dca1013e6e24d9bc98b8cac92496b6ff6ffc883e817ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: add more cases \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff999fbbd5d297a8b81f1420084a9ac2be3beaf9e0c817381e3e28a8a2584464"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd88cda503af6cdc8dc5cf9c3848bc8dc9220aa94fb96da2f9d2a289b326ba09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecd2a6a6c85364e45dbdb87d24a63f3d6dec3d2f75957a8dbbf9b173ca83931"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"d898ace415cdb8ae210743db4047c7c0bf7163317bf87554847c9893e93a95c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd48f812daff15d1bd19a5c1cf3bf336c0cb13532679bad09e449e175721ea3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6081ba088ad16630cf105804f95f8630a9ea128da3b783af02507df523a7b44"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdf50926dfb02042e8bad3b266a211877c07637bdc33b1a36b13a3c3e6dc39a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"6342f1f7d7881dac96d753750800a6e3f843ad83b2c4ea663e41cdb8b2197e0e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"46713f3537d9c566fbaec01c55310086ff6f2541366939dee8243993e4564c19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"336f8565288ccdf019de13e41144a2743b6b6e7cf3551831aca276b1d18e14e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2412}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c81bf976d289e8da20723d6d57d0f63dd50c42b8978a7a393b8f6feb9005d16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2417}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf9e62a11779c9684e824a3fa2fa6dbedf8a4a2e2ddf034efd1f4d98094dc4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2431}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7821ef467d1f50480156bfe5790f41979d9bf8a41ccdcc54f08b74b76d6ec1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5220}}}],"partialFingerprints":{"codehealthFindingId/v1":"410d04fccc77c1d22d82df4e1207231b6955cdd4f48a4f4f9fc9c788aa95323b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move tenv to back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c735ac396302d2e8c27dcfd98b00c7eb1ca8de969e2616301ea0bf847308f56b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: but cannot it be a [fun_ty()], too? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d80317a76e354aae258b3dce9ffdafade69235a2857e33ec5b7096b1ba9fd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: normalize to expand user types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79ec2f2d2692d282a249dfe63b57be53f4c1cb8da16696cf7ad6280521c74a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Improper list? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0674f3b77bbd8d802c87d1670c8068a1e8b4213bd21a8aaabb852b65c288f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Error message improvement: Expected type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"b908d4384cfe70fbf60f933b59b091a53056431b56cef0c993527472a3c8b2a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Error message improvement: Expected type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3184}}}],"partialFingerprints":{"codehealthFindingId/v1":"424dd18d3defcf6992dce82f638805a7f9ff5c728e980ebb9f55bc2e7fa46ac8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Check the type of the map. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2091}}}],"partialFingerprints":{"codehealthFindingId/v1":"100878ae90bfeb83b82d35a37deb474b78c9326e4982f96898bb2188ba43257a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Infer the types of the parameters in each clause. A potential way \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8a1b99b35c4d5c62d60cf5d5ce2d39199c32f817a5f1cbce37b6006beab8ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Modify OTP\u0027s type syntax to allow returning an intersection type. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cecfc5669c79f14a52e76fc6ea5ef9e04903a7b5db99fa647fc3a797140da6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Rewrite the union outside of the comprehension \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":2833}}}],"partialFingerprints":{"codehealthFindingId/v1":"30584b29175a6474646bed0b7c2b666f06166bea108a0b6bf9efe517e99874de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Can this case actually happen? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9613108879790d18fe94b9d9ca4158fda05f2b99acf9ebbb4c4908edd5468c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Can this case actually happen? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3285}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcffbbdbd214f6b95d4b0d236f2061b33c2c95d9624a3335ccc86898afc37fa3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Should we require ResTy to also include the possibility of \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2976822952955c7e254612fe2a09ec26ee4b97bc7f0efcddd1edc45871e2c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: allow none() if checking against none()? Not clear that \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3400}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b2baf9d22f7a8c81a88cdb03979016c556a2eda74034a3bb04a7b8fdfe031a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: we\u0027re getting this because of a type var, so if we solve constraints \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3655}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b88f1645819f1363768ea800b5126e409612c042fc2066688197ee7f13e594e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This approximates union of lists with list of unions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3663}}}],"partialFingerprints":{"codehealthFindingId/v1":"84392c33645946f545d2dfed367ea951d48eb3f1c4464d4836f5b4e363a664a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: allow if ResTy == none()? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3702}}}],"partialFingerprints":{"codehealthFindingId/v1":"05aabed20987d39847aa9c099bcd181cb46c0f826de606753c2ac958f665f223"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Move this logic to gradualizer_int? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3724}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba509350b7dc954b229074313c0fa8488fe93a7d0175bc6b319bb949cb34703"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Actually typecheck this case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3778}}}],"partialFingerprints":{"codehealthFindingId/v1":"761ec5e43ae97642c4ba264b547080011dfe5bc5f8d7ecab9bece98e9faffeba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: As a hack, we treat a union type as any, just to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3864}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df29c45f488ece56071ff5d4e118719691e9b4512dc94d1e0181a6f078e1c5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: As a non-boolean predicates don\u0027t give runtime errors, we could \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3889}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a4441594a2d3c61e736e54f33b096e1f9430862bb297704c3c2d0d2d5064a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO check if we are updating an existing Key (:=) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":3940}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1622a1b012019693c58810cc6e2de6c808796d98d58a7f2d6fa45ef1c1c481"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: It\u0027s not clear to me what should be returned here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4052}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae8701fe2de1eced397fbca7281b5031ccaad7791363a2994fd6581b9c809d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Can there be variable bindings in a guard? Right now we just \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2497d785eab97812b9fa8b6dd28cfc5b5a1eb71af8b18b84e23a8de8a49b56c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Should we check that guards return boolean()? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84cad0f78400d0dc58e6e92ad58a81b57859b7eea7c036cd236680d3f216e50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Exhaustiveness checking might be improved in the future to handle (some) guards. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7ab3d9f7744c726166952ea5059add8a1d8079a4e645e3938bdd3addd019b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Invalid lack of pattern refinement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4519}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fb03762fe5f607c6d4640f2c26fa621cb6ea703423783f489621bd459f258d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: we should probably normalize an union of lists to a list of unions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4546}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfab6fb7374c248635d5679572c2649a3ff066f4c8f9ae9bd614f656bdabe5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Since we want to self-check Gradualizer and type-checking guard patterns is not perfect yet, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":4779}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a95d0eaec1e302e972b05d44215b5a9bde796de477c70459b811c9f82869a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Invalid lack of refinement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5016}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d935d898234134d9711ad1883f97460f5f8b11e1a3f900cd984d6e1c4df5b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: implement proper checking of guards. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5eb395c0fd72d768c64793243afe91bfbe3c38e70b42d77cf88872da91478d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: https://github.com/josefs/Gradualizer/issues/388"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da6a0e856626cfe17f5c9b5b394993521739c7740c0cc6993218b2c0d3b08f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Better type error (it\u0027s a pattern, not an expression) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9160e00143a47ca01a4c81358987e9e369c8761e104f654d16699ce6cd56780"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: The var binds should be merged with the intersection semantics. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b92aeb649572e24b2ac5003145956e0877d3ad2a50a084579d091d1c7df46e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO by erszcz: see tuple_union_arg:j/1 for a problem with this. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5532}}}],"partialFingerprints":{"codehealthFindingId/v1":"e374d7e39566743affea423b9ade1323e9f525a4179649b07078d749b82f8c10"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This is incomplete! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5545}}}],"partialFingerprints":{"codehealthFindingId/v1":"077fc1595c15d5454583c472b675a45883099754831735ae29a1fab40bcd07e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This is incomplete! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5555}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae4048a2337d1ecec5812bd0b5487442cf70a9d8ba0fa7c055f59e4657dc94a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Ideally, we should use the bit specifiers to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5743}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56c40d617c8071181dd8844646e78cab5320b62b48f77b848cfcbdeed19ecbf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Consider Size and Unit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5869}}}],"partialFingerprints":{"codehealthFindingId/v1":"0855584d811e729216c50a3d6260ba4864f74b9e02f2ae0a393d9582d911886c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Consider Size and Unit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":5876}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a0cde0e3b3f7a2c3f6c5cfacfd59e6de226ead7b69555c005876b59ba84713"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: make FormCheckTimeOut configurable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":6188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0364d5e80a194aec045157ef4041402519a001c21627ec091e90304ca0faae6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% error stacktraces. TODO: Add an opt for this. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":6245}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bcf0486080e809fc239c5c6073ee98c2638ff68570cee68c64f8fac67982c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: This is a workaround for the fact that a list is sometimes used in \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typelib.erl"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"061581eb2a5e76f69ce98fb23409de3dbf27e0064599f615efcd7cbdcda86dfd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: this is mostly redundant with \u0060gradualizer_lib:fold_ast\u0027 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typelib.erl"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1a4c6d0c352902bb99d8e6a7e70891c7b87da27cf468a67b750c029803ae9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: we can be a lot more clever about recognizing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/user_default.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5617527757093dc4a5253fdcbf03b3a930d2c7f3c6309405ccc42701ebc9e3f9"}},{"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":"38c5b8d77698f03c9130bed8181e905c9e0bd44bb32c987cf1bcddb6c5e0142b"},"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":"b0ed4a58cefc0bba863b5411a0e2893a138efdb1df98f7d071727975c5418137"},"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":"d5309ec81ceb4c18f487db10306d5e02e3142292c63a4ad0bca7a26626fe4da5"},"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":"295d122b1b9f4952ffc018057b6c855e7c416ff3feaa2a93cc98ae52ba7dfb8c"},"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":"67fc66c6ba1af9949732222c3fe762c9d10b781439e77c2ef3da97d3e0152209"},"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":"1ca2d105da15af184596ece75c36ddb6786857d5388b560f9ec173ed08d4a577"},"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":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8cc135fadd5c6f455e52495831583534c5170a49d89659b13e4b41e355ded4"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer_db.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"950900027b662f4c4395615fa999b62fe855e1d016b381be89fca84a5476d40c"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/gradualizer_fmt.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9b246a73f9cd96279cbdf7aac5d11081315e17033573e9b3d4d19b7fd4f3ce"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 13 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: src/gradualizer_type.erl, src/gradualizer.erl, src/typelib.erl, src/gradualizer_lib.erl, src/gradualizer_int.erl, src/gradualizer_highlight.erl, src/gradualizer_cli.erl, src/gradualizer_tracer.erl (and 5 more) (16 orphaned of 16 analysed files in total, 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; 16 of the 32 production source files in this repository met that bar). 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/gradualizer_type.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3baa55a2257421bc8f316c0d4276d8c3f8c75cebf4f3646ee2297730a949655d"}},{"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/gradualizer.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6e0a8856db2f7cf6be5518c2591257f60eaba044021e1a499384d136fc6e27"}},{"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/typelib.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f12320a991618724f0d65383311f2ede445edfdf4d8d06bddb1e376eec5e0fd"}},{"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/gradualizer_lib.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacdb9f673c9a8208cdd540aac6eea3b33055a54b7064efe85822c0470e28aa9"}},{"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/gradualizer_int.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4aca791f85a00a6a49aff20b6b7dbe074dfd01a86edf3478eb2f0ea9255511"}},{"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/gradualizer_highlight.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5687aeb0771dca12efabf1841ba8dc67440bedf16e76c098f25c75952cd0416a"}},{"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/gradualizer_cli.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8de6cd243797f17ef49f639a1e8a6df8d06330489703bb0f759771e9cadd17"}},{"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/gradualizer_tracer.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c13dd371e830944ba749441db5c23d5c33c75873fdd229e710638cff4837ee7"}},{"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/rebar_prv_gradualizer.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c7f4af0fc3691dfee1f51c740783ee4cecf3bf7644988168819c534ba5a4d2"}},{"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/gradualizer_bin.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5795384ced46efd355282e25a18286e5be5428f409547ffda81b9e5850357c52"}},{"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/gradualizer_file_utils.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"009936bef4e57fcf5aa9019ba356e10618b6ce8aa2e90fbe27956fcf646103dd"}},{"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/constraints.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6593312f9b87bd129a78add3cade65bb2e7daed677d93768be637a2d73fd0678"}},{"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/absform.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e15cc6e1e74ef8169378d9151cccb6365ba81133727f76a1312acb04065675"}},{"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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e2e6fa5f619f46cacaad2b49b8c717ff39a97571033bf2b627aa0f80d4e5606"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"334f1f95a3ffdaa37ed2367ca76b9c898f06cdbff004542b9abb910b0fc8a94d"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c7562a00d7e6e43e18fb620e0a525e791c120b44ba6e123f86ac5c1c1783157"},"taxa":[{"id":"CICD-SEC-5","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":"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/typechecker.erl"},"region":{"startLine":3467}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd8829f5527214ab3399db79a47ef462275d48b96b466a001cef4f91f54e9aa"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:type_check_expr/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8531f26067d39af58cadecd5418fce27b1b015005515d308173ae5b0c09040"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:type_check_expr_in/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4b9064a085bcba10869033d2d96452ae6edeaa6d717df420087ce833041eff"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:create_env/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"070674a99ae2ea254b78e45b98f2a9b60ca5b2f87477e458df723409a733db4b"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:subtype/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb264ee123428a537f6f375404be96082e1fbbf2176c4b378d20a0eeb1c1d09"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:subtype_with_constraints/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba653faeaf03795861ef8135cdd3fb24704898939453ddfe040dfbc5f759d511"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:normalize/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"974b9751bf6f876c27d603fd97ca74bda1a9f2efb69198b8388d275af715c07c"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:glb/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"609341d81c5ffc77d39e3a473c03e20bbf8d044116f0c4fd5d10a8ee78c77d77"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:type/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5314178816bbf94b94e0de91f2f43f1a3ef0b33cdf199641ff537b217fe418ca"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:type/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a88b16c84ee059aa850715031f3b50829f785d952246ca4d512c6dbf67e27e"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:type_diff/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee6b16137b50753923509f7e753bbbc966ed7bd9cabd71c6ea597d3625e65c0"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:refinable/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"322201e55c2517758b4d8c9c77749d637fff539798b99a3ae1417b98aef8a280"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:add_types_pats/4\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2701c3528607ebdeae25e5b84b3b5f224377eae693232f2af7f48be08ce191b"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:compatible/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6068702c9a2c8319418b582a4c5536566d182467274315772d2ed9dc30ac30e9"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:collect_specs_types_opaques_and_functions/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e61e020f21e67ad152425f6c560274211de6f4caedfc7630b561bbd3851088"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:number_of_exported_functions/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"423051013b8f4067d62e6c28006e14322ed82a0528e61caa9438801840002c9d"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:bounded_type_list_to_type/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9b68d6cb560b2c076d75e4889c58824095be79a583675a14d915af674942d8"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:unfold_bounded_type/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac140e74bce3f63068e5cad8fc99519e7f90c6e27b13cb9e5950ae40484b3472"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:minimal_substitution/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bee81becfbd7b3aa8ef6df1e52580f9841fbbcfb4c083fe93e27bc8cb0e590"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060typechecker:type_vars_variances/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/typechecker.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8789473b559320ab74d8bce301b17cc9e3d1d2fa8a089ef3449646e3f9e66f3"}}],"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-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-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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/"}]},{"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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":13,"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."]}]}