{"$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":"D2","level":"warning","message":{"text":"EExEngine.build_render_slot_context_expr (cognitive 25): EExEngine.build_render_slot_context_expr has cognitive complexity 25 (threshold 15). Drivers by points: if/else 22, match/switch 2, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"871b5b3a2e2706758697d8617c648ebdf9eba8db1cc5cd8fb1283b294ac7837a"}},{"ruleId":"D2","level":"warning","message":{"text":"EExEngine.build_slot_props (cognitive 16): EExEngine.build_slot_props has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"64af11eac6eb2adea6e4c69ed3d310a6494ccf3304b5b0da70b390ae22e70aca"}},{"ruleId":"D2","level":"warning","message":{"text":"Compiler.convert_node_to_ast (cognitive 16): Compiler.convert_node_to_ast has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 4, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler.ex"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"6329d85ac504486b05c842266c8e494614521aa9e6aef9b8be1e7353bc72add0"}},{"ruleId":"D2","level":"warning","message":{"text":"Render.render_opening_tag (cognitive 16): Render.render_opening_tag has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 3, match/switch 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/formatter/phases/render.ex"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5375ae3ba30397b568455769230e244d7774f1e9ca127042f3e34ddc4e6af954"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: surface/compiler.ex: FileTooLong \u2014 1403 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/surface/compiler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d678407d4e1baf578df5da4860e1e393eed5040f83ac3cfe31bba8bf763d16f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/eex_engine.ex: FileTooLong \u2014 1116 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/surface/compiler/eex_engine.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15504d0d63afe20bfab2cdc1511176f3939d3c54076d7530f217ed04bc83064d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Compiler: TooManyMethods \u2014 62 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/surface/compiler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88aa3d475fad304817ab93ec21111f25cb40e39a0103ef7eeab243c7277ae177"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExPatcher: TooManyMethods \u2014 56 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/mix/tasks/surface/surface.init/ex_patcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac55fd3163fd9e1f48531f8cefa68d437fe831448244a87482c8e78ff299cc5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: API: TooManyMethods \u2014 40 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/surface/api.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bfe2e0b81f0382a912ac316e7811298d056a38f78a4d3291f9b9d7493f2439"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: surface/api.ex: FileTooLong \u2014 607 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/surface/api.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"602106d0fa95db5aae5af9f9400f7a79494765b3032e379b1e7edb7964c6f781"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EExEngine: TooManyMethods \u2014 35 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/surface/compiler/eex_engine.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77daa1fe99de3f8aa414696aaf33d34933722098aa1ba72468fd2787c6996816"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: surface/ast.ex: FileTooLong \u2014 523 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/surface/ast.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe90377ec1afd1c00b3c8b983f8846aecf45e3e064e59e23b6bdb10cceeaa2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/mix/tasks/surface/surface.init/file_patchers/component.ex:14-30 | lib/mix/tasks/surface/surface.init/file_patchers/phoenix.ex:110-125 \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/mix/tasks/surface/surface.init/file_patchers/component.ex"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"685def5988bc206afd2765233d11ee394330c3fd1eed20906c383716f4b2c5cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/surface/catalogue/examples.ex:159-172 | lib/surface/catalogue/live_example.ex:122-135 \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/surface/catalogue/examples.ex"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5e89eb8d4d227e865e83c6f72aa7d670e2e491366f048901a1bb47229c6fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): lib/surface/compiler/eex_engine.ex:294-306 | lib/surface/compiler/eex_engine.ex:361-373 | lib/surface/compiler/eex_engine.ex:392-404 | lib/surface/compiler/eex_engine.ex:423-435 | lib/surface/compiler/eex_engine.ex:454-466 | lib/surface/compiler/eex_engine.ex:489-501 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09dd61a2f8b17e17df0938da98b7c6733357d3c90017176bdcee45b9732ce45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/surface/compiler/tokenizer.ex:626-633 | lib/surface/compiler/tokenizer.ex:657-664 \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/surface/compiler/tokenizer.ex"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e3ec41bd26c0173adc352349877db7d5b047d5f36a41470c249ac3503dca22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/surface/compiler/eex_engine.ex:447-453 | lib/surface/compiler/eex_engine.ex:482-488 \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/surface/compiler/eex_engine.ex"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"4974360e3fa2b1d17ce2b5d727e2d9cf15620bc9beedbf81e96104dc8f9c14c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/surface/compiler/parser.ex:94-100 | lib/surface/compiler/parser.ex:104-110 \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/surface/compiler/parser.ex"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a61d04fd3c19ad88a09abad2512eae914bac76cc52c19d46afc6599ac1b6d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/surface/compiler/css_tokenizer.ex:31-36 | lib/surface/compiler/tokenizer.ex:78-83 \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/surface/compiler/css_tokenizer.ex"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff43bf292e3061bf8fa5090652f21a0b99ddd3192b4cf8a066f0ac98e0cfe56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/surface/compiler/parse_tree_translator.ex:224-229 | lib/surface/formatter/node_translator.ex:157-162 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/parse_tree_translator.ex"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb31bfc92d40b77eade7d3fe2f67d9979bf4ac24406b4e8d7cf09e31009499dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/surface/compiler/eex_engine.ex:312-316 | lib/surface/compiler/eex_engine.ex:343-347 \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/surface/compiler/eex_engine.ex"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17631af49719e8a6cba94f65d92234174cfa070fd5c7fe19fce9185ee83f212"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: lib/mix/tasks/compile/surface.ex, lib/surface/base_component.ex, lib/surface/catalogue/live_example.ex, lib/surface/catalogue.ex. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dfc5d820d3b4f108394d361d5370a6f3b4e6f6f95e195ca1084180eea72f6903"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 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 54 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 (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 Installation section is cut off mid-sentence (\u0027\u003E **Note:** In case you want to add Surface to an existing Phoenix application tha\u0027) before covering how to configure the project using mix surface.init and migrate from prior versions.: Complete the cut-off Installation note by adding instructions for initializing the project with mix surface.init and a short migration guide."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"213c9ab6522304284814a770904c1a7564405e34ee971dde6f02f38aa0600a9b"}},{"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":"c8012c42d297dc9578a0981eaaa3ed7c6e73ed5aa3dc41882e27c10ca099fea5"},"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":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 10 of 54 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: lib/mix/tasks/surface/surface.format.ex, lib/surface/formatter.ex, lib/mix/tasks/compile/surface/validate_components.ex (and 7 more). 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":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: validate_components.ex \u2194 eex_engine.ex: \u0060lib/mix/tasks/compile/surface/validate_components.ex\u0060 (context mix) and \u0060lib/surface/compiler/eex_engine.ex\u0060 (context surface) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/compile/surface/validate_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced44419c9b7535a60fb469b76ec3c78d3a106117d0edca247953c3059cf9290"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: surface.asset_generator.ex \u2194 surface.ex: \u0060lib/mix/tasks/compile/surface.asset_generator.ex\u0060 and \u0060lib/mix/tasks/compile/surface.ex\u0060 change together 60% of the time (6 of the 10 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/compile/surface.asset_generator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff61b603c920850ee28d07d1f478d6ffc4d7127993747daa70364e86b21f9eb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: live_example.ex \u2194 playground.ex: \u0060lib/surface/catalogue/live_example.ex\u0060 and \u0060lib/surface/catalogue/playground.ex\u0060 change together 50% of the time (5 of the 10 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/surface/catalogue/live_example.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dae33be603877d82bc7a88986d764d2958f7f95cf20e9384404bb557a72a613"}},{"ruleId":"D38","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":"55055b4512d2c1d69669eb9ec168a6ca08ffa088e6b826b08341f67a7be626cf"}},{"ruleId":"D38","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":"57939e6c2a896e506b5494220c2e6e138c4761ec6a7fe1550f76e72ca62793c8"}}],"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."]}]}