{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Schema.define_field (cyclomatic 23): Schema.define_field has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/schema.ex"},"region":{"startLine":2024}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d05026a1e53c8a6713feebd52c55e631525501d78ea20b18d2a95bd78fe1020"}},{"ruleId":"D1","level":"warning","message":{"text":"From.build (cyclomatic 19): From.build has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/query/builder/from.ex"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a936c41ae16e3c73c0c7ff7bf72c18f4a0e19a6505d65a5917cf967a4c722a1"}},{"ruleId":"D1","level":"warning","message":{"text":"Planner.take! (cyclomatic 18): Planner.take! 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":"lib/ecto/query/planner.ex"},"region":{"startLine":2256}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb72b83ba68ff22e181374f5dca98eb9f41d9733e6042177dedf4abcd0b4cc96"}},{"ruleId":"D2","level":"warning","message":{"text":"Schema.define_field (cognitive 30): Schema.define_field has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20, boolean chains 7, match/switch 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/schema.ex"},"region":{"startLine":2024}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17e083c2462870ad8763ff81caee45ea3b6022deb6653de845344714ba047ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ecto/changeset.ex: FileTooLong \u2014 3345 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/changeset.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8fa1e2cad0f66466a7e54341e15f947e7c3cc6b8023ee74b896affadf477e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/planner.ex: FileTooLong \u2014 2176 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/query/planner.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f87911c467cc9477ce13b30092e6f5b167a94ba66dec236c652cc2ebc5445a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ecto/query.ex: FileTooLong \u2014 2089 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/query.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f04f328dd295c9810ce2ba32fcd2a2c78e2fd268781837e87129532a4ce8866"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ecto/schema.ex: FileTooLong \u2014 1995 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/schema.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e163f894bef705a66127c90ea224c391d8c1c3e06dbfa45e742cdc7e835cf17"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Planner: TooManyMethods \u2014 110 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/query/planner.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aeeeea836a3177c67413ee834feac1d36f42d374f4bbe6bb5bd280661ecaff9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ecto/repo.ex: FileTooLong \u2014 1829 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/repo.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dff76e87c637841cbfc225140b505640d714686805b8c76f0c1fb9a9d8b8bd7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Changeset: TooManyMethods \u2014 109 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/changeset.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de042e00557d1db10c3e06a8110573b2801fee958a55e2eb64530b1d4306096"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ecto/association.ex: FileTooLong \u2014 1333 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/association.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e31ff16b006ff9f4b364872d6cff35a10030c349984e87205e29fa0c36e2396"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/builder.ex: FileTooLong \u2014 1292 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/query/builder.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb4ccae05deb47b25ff9291f2c8c0b94477a2befbe096dd436ad9cb5bfeaa11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ecto/type.ex: FileTooLong \u2014 1224 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/type.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0f579c6a49895c5092407c825de94e3c38164a6b67794509e77d7e484f27a6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Builder: TooManyMethods \u2014 67 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/query/builder.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc1433fb9b3adc25f434a174ffe6a987b67d2b3d34289d18b04d6e720257346"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repo/schema.ex: FileTooLong \u2014 1084 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/repo/schema.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d3d900ad6239a7436383153f06ef6892e43504e32cff9a7235af6a95ec21e3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Schema: TooManyMethods \u2014 65 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/repo/schema.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55f5fb5a265b09d138c6fddbb932c8ce7d1483bc6ab80210d916807e85703a3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Preloader: TooManyMethods \u2014 47 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/repo/preloader.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf015c9f1156b0fa286c7c99745463cc8366560e314b4a6ded33900e7ed7ee6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ecto/multi.ex: FileTooLong \u2014 738 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/multi.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed73639b36ea54526cbc2f186dcffec726989252681ebda6955260991dcffa8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Queryable: TooManyMethods \u2014 41 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/repo/queryable.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb21427b4ebab8fa4fb71635bdba39ed71b426fec213475a671a74ae206ee7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repo/preloader.ex: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/repo/preloader.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4424cd5e771211f5c85239bded162cf4c1570efec7c219f08450bc2c0f725c7e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Multi: TooManyMethods \u2014 36 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/multi.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1398e56c4cce325621d1ac1dd07880c8dad5c3b92494a3e982301c7c3726539"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/ecto.ex: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1121adcca2a023fae09e27953375c90019ad018a60177ce866753e4b770b829c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Schema: TooManyMethods \u2014 32 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/schema.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"763ad00858badbf111c238adc235bd8102ad49cb172fe3cea9c33c930b68de61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: changeset/relation.ex: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/changeset/relation.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8e231e69a39beb34f5bb5d5571e13dd4cf3e7b42d8b235102f37846893d024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/ecto/association.ex:759-772 | lib/ecto/association.ex:1127-1140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/association.ex"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9be0ad371ec0ba52d0a121e4db48a4ca51cc9a3aa8f6a05331974411fad3580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/ecto/repo/preloader.ex:231-245 | lib/ecto/repo/preloader.ex:276-289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/repo/preloader.ex"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3c48e802036e1e5d809663067d26b6c39aa04049939e5b5698767b243e71e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/ecto/query/builder/distinct.ex:67-74 | lib/ecto/query/builder/group_by.ex:103-110 | lib/ecto/query/builder/order_by.ex:251-259 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/query/builder/distinct.ex"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6db6ec0b4b322328f0d6f9fc2dd5b482e4da28b742e34c344dac04fca5b37de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/ecto/schema.ex: lib/ecto/schema.ex changed 7 times in last 90 days, max complexity 23. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/schema.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fc4a82154c1e9be733f85c7c980fdb71fe002d92bd2e76b8dbf80f149dcf92"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/ecto/query/planner.ex: lib/ecto/query/planner.ex changed 6 times in last 90 days, max complexity 18. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/query/planner.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"431783e1a96f9d1ff7c66d88b86ab0414b6327eadc3e9a7860655050c1adf4b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/ecto/repo/schema.ex: lib/ecto/repo/schema.ex changed 6 times in last 90 days, max complexity 15. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/repo/schema.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"889f007fbf0c0e1c9bf22459444e6202e5782a6ad2e17a52d098b69904deed78"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: integration_test/cases/joins.exs, integration_test/cases/type.exs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a8a33be9cd35e9223499158b5ab474ee3b19712b8dd0a66136dc3bb69219a949"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (5 single-owned of 52 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #2 (2 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D19","level":"note","message":{"text":"The README does not mention IPv6 support or containerized test running.: Add a brief note on how to configure the adapter for IPv6 and how to run tests in a Docker container."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"066ddba2f634960d50024bb27f014f2c9870f551474e6367f2f64fc3f14b5166"}},{"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":"7ceee73d76663034321cbd3b5bbecae8b673163039b70b12462f979a331e73d3"},"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"}}]},{"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":"33481d65436b8c4d4966093c756a5171f447c98db75da061478225b3b933918f"},"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"}}]},{"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":"66547d01684e92101f7d2ffc32a4e8d5b1cc84079cdee9a5236f6ed281bb9909"},"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"}}]},{"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":"5ff2c208cef2fb61287471d4e13dbdba8f867ae7b41f947a2d30a8b51296a899"},"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"}}]},{"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":"8eb50784ab958284eb3ecd7050384e4061ddeae0c76cf46d9d242ff3f816fc6b"},"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"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ecto.create.ex \u2194 ecto.drop.ex: \u0060lib/mix/tasks/ecto.create.ex\u0060 and \u0060lib/mix/tasks/ecto.drop.ex\u0060 change together 69% of the time (22 of the 32 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/ecto.create.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca2de9728e0643acf7a7f377f64e5483f43f6be1eece776f1ac8115c6c459c6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: group_by.ex \u2194 order_by.ex: \u0060lib/ecto/query/builder/group_by.ex\u0060 and \u0060lib/ecto/query/builder/order_by.ex\u0060 change together 55% of the time (12 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/query/builder/group_by.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a10e8effde54b881d057f307b717733701bc38fd5535e9ad49b1820af48430c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: distinct.ex \u2194 group_by.ex: \u0060lib/ecto/query/builder/distinct.ex\u0060 and \u0060lib/ecto/query/builder/group_by.ex\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ecto/query/builder/distinct.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d28a15faaf26951c4097a1fb3b4d29acba771e3795026cd18c885db3be69f6"}}],"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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"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":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":5,"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."]}]}