{"$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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"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":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"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":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D2","level":"warning","message":{"text":"PeerConnection.apply_remote_description (cognitive 20): PeerConnection.apply_remote_description has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 3 (5 pts) (nesting depth added 5). 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/ex_webrtc/peer_connection.ex"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"72abdf54a127b261e70390641bce8821f68ffc3f392739e584bf3e333c336108"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ex_webrtc/peer_connection.ex: FileTooLong \u2014 1843 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 86 functions. The bar is 500 significant lines; this is 1343 over it, 3.69\u00D7 the bar. 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/ex_webrtc/peer_connection.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f245cfe0d7a0acdb367fda3e6f7f4331a8f5174f2931e154735bdd6748c0275"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: SDPUtils: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ex_webrtc/sdp_utils.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"271f57e28cca01d00453c3b7d5ff292cf30c3afd11ae0bddb1793bd9e58b5ef6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ex_webrtc/rtp_transceiver.ex: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 33 functions. The bar is 500 significant lines; this is 24 over it, 1.05\u00D7 the bar. 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/ex_webrtc/rtp_transceiver.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4894b913ad45fef2ce7262686a24dfa1548959e6a68719ed59d7b55a5889a26a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: peer_connection/configuration.ex: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 33 functions. The bar is 500 significant lines; this is 2 over it, 1.00\u00D7 the bar. 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/ex_webrtc/peer_connection/configuration.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea24de81734d874b68d72bc940cd2d9795bd2b639c3956b0d54d529e6c1c7a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/ex_webrtc/peer_connection.ex:826-837 | lib/ex_webrtc/peer_connection.ex:893-906 \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/ex_webrtc/peer_connection.ex"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"8277ed1869a2fcc6197b7fe2a6be77ae677fdf5ec07dbf2ec09a6f3a13bf2404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/ex_webrtc/peer_connection.ex:804-814 | lib/ex_webrtc/peer_connection.ex:856-866 \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/ex_webrtc/peer_connection.ex"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a367aa6647c608b258bf5b8b36158f6d29ff58014d8e7b355d096f9175548af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/ex_webrtc/peer_connection.ex:1769-1779 | lib/ex_webrtc/peer_connection.ex:1801-1811 \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/ex_webrtc/peer_connection.ex"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a69a6bbaf7aa20289b2f5666f09d22d50d2308bdecbb76be4bb83091d64794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/ex_webrtc/peer_connection.ex:2616-2624 | lib/ex_webrtc/peer_connection.ex:2643-2651 \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/ex_webrtc/peer_connection.ex"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"211049dfcfeda0b92b3be2b8121a89abafe5d46863884ac15b574f4a3aefc54e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/ex_webrtc/rtp/g711/depayloader.ex:17-22 | lib/ex_webrtc/rtp/opus/depayloader.ex:17-22 \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/ex_webrtc/rtp/g711/depayloader.ex"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3a827b53446af520e7191ad00cf6451ebe9875ef618a798daad03ddc1efd49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/ex_webrtc/dtls_transport.ex:589-595 | lib/ex_webrtc/peer_connection.ex:2208-2216 | lib/ex_webrtc/peer_connection.ex:2471-2477 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ex_webrtc/dtls_transport.ex"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"649a2bbd52463fc49dd72245fe5d1096df54a4da539a9e014166fa0a11d9ec37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/ex_webrtc/peer_connection.ex:1957-1961 | lib/ex_webrtc/rtp_transceiver.ex:554-558 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ex_webrtc/peer_connection.ex"},"region":{"startLine":1957}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd3fba0b6fcd69558f3ed5338f8fc6590bdd91b7091ebe2ae16d9dab6bd793a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): examples/chat/lib/chat/peer_handler.ex:67-83 | examples/dtmf/lib/dtmf/peer_handler.ex:98-114 | examples/echo/lib/echo/peer_handler.ex:88-104 | examples/save_to_file/lib/save_to_file/peer_handler.ex:109-125 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/chat/lib/chat/peer_handler.ex"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"159d44012da9d85cde437f554bc94c8052402792f88bb56c7332ca85b56a7f53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): examples/chat/lib/chat/peer_handler.ex:67-83 | examples/dtmf/lib/dtmf/peer_handler.ex:98-114 | examples/echo/lib/echo/peer_handler.ex:88-104 \u2014 before extracting anything, compare \u0060examples/chat/lib/chat/peer_handler.ex\u0060 and \u0060examples/dtmf/lib/dtmf/peer_handler.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/chat/lib/chat/peer_handler.ex"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5315df5e8c8fa0200b33d11b0ba3d56fa965cd5702402af67a8b6d77759da4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/echo/lib/echo/peer_handler.ex:37-49 | examples/send_from_file/lib/send_from_file/peer_handler.ex:48-60 \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":"examples/echo/lib/echo/peer_handler.ex"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9b84b793749de5a533e2783e513b847e55877f5dcaaf0c2cf2905ccaa9e8ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): examples/chat/lib/chat/peer_handler.ex:69-79 | examples/dtmf/lib/dtmf/peer_handler.ex:100-110 | examples/echo/lib/echo/peer_handler.ex:90-100 | examples/save_to_file/lib/save_to_file/peer_handler.ex:111-121 \u2014 before extracting anything, compare \u0060examples/chat/lib/chat/peer_handler.ex\u0060 and \u0060examples/dtmf/lib/dtmf/peer_handler.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/chat/lib/chat/peer_handler.ex"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b4c5df221a7059e3b510d4f019c4dec4e5f4f7db66c5170245dc6aefbce2c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): examples/chat/lib/chat/peer_handler.ex:87-91 | examples/dtmf/lib/dtmf/peer_handler.ex:118-122 | examples/echo/lib/echo/peer_handler.ex:108-112 \u2014 before extracting anything, compare \u0060examples/chat/lib/chat/peer_handler.ex\u0060 and \u0060examples/dtmf/lib/dtmf/peer_handler.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/chat/lib/chat/peer_handler.ex"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08725e7def27d09123fb49a80e7961f504e0bd8fac66ba00411a950b46e5c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): examples/chat/lib/chat/peer_handler.ex:95-103 | examples/dtmf/lib/dtmf/peer_handler.ex:136-144 | examples/echo/lib/echo/peer_handler.ex:126-134 \u2014 before extracting anything, compare \u0060examples/chat/lib/chat/peer_handler.ex\u0060 and \u0060examples/dtmf/lib/dtmf/peer_handler.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/chat/lib/chat/peer_handler.ex"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f831ca6c316d74e8db3decb2d6689f6920b0dcc1e379dd8fa281b6d9da2ce470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): examples/chat/lib/chat/peer_handler.ex:107-113 | examples/dtmf/lib/dtmf/peer_handler.ex:126-132 | examples/echo/lib/echo/peer_handler.ex:116-122 | examples/save_to_file/lib/save_to_file/peer_handler.ex:137-143 | examples/send_from_file/lib/send_from_file/peer_handler.ex:250-256 \u2014 before extracting anything, compare \u0060examples/chat/lib/chat/peer_handler.ex\u0060 and \u0060examples/dtmf/lib/dtmf/peer_handler.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/chat/lib/chat/peer_handler.ex"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"313e2f2560c20cd7246d3b6a4026dfd5cd3d440cb5e99d41687685181139c55a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): examples/dtmf/lib/dtmf.ex:9-13 | examples/echo/lib/echo.ex:9-13 | examples/save_to_file/lib/save_to_file.ex:9-13 | examples/send_from_file/lib/send_from_file.ex:9-13 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/dtmf/lib/dtmf.ex"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"796c3f1d33ef143f12aef50e22a060040ca039db873f6a6f9b310b240e67b716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/save_to_file/lib/save_to_file/peer_handler.ex:147-155 | examples/send_from_file/lib/send_from_file/peer_handler.ex:229-237 \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":"examples/save_to_file/lib/save_to_file/peer_handler.ex"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed737c603f9c1870478d9f837468e808396de01d6677c32a0e8b144aec10261"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 3 significant file(s) lose their only recent owner: lib/ex_webrtc/peer_connection/twcc_recv_log.ex, lib/ex_webrtc/rtp/av1/obu.ex, lib/ex_webrtc/rtp_receiver/nack_generator.ex. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bed3ce133fb7c422d178adff0d987ae2725ab48a2c8736d1f2501b3c9b7f858c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: the HTTP responses are not completely compliant with the RFCs \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":"examples/whip_whep/lib/whip_whep/router.ex"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f40ac422fd3f9630a784a576402085515d151eb42beaa34e9eb274187a5919"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: use proper status codes in case of 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":"examples/whip_whep/lib/whip_whep/router.ex"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fee7bf8a0bf82e9ca8c2e11e338f737e3207c168f601874fc91dc819448c248"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: this is not compliant with the RFC \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":"examples/whip_whep/lib/whip_whep/router.ex"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a8445cf26715233d2681c45cc6777721576135e532f25577c62bc248b50a62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: according to spec, this should move to \u0060closing\u0060 state \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":"lib/ex_webrtc/sctp_transport.ex"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"71186347761511a408a7e1b77ab80b3f85a1615abd5863c85334b3b2b983e234"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: this seems to work \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":"lib/ex_webrtc/sctp_transport.ex"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e2a16fdd0938a9ced8c07c8d7b6cbfd6e40dc68b5699f835291070e0ed0bf8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO \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":"lib/ex_webrtc/sctp_transport.ex"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"301eb4d40b230f3428411c3a58b862458db06513e7cf04e7b88c8f93c83744eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO send RTCP BYE for each RTP stream \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":"lib/ex_webrtc/rtp_transceiver.ex"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"60978f2a1d98f4d2b812004996b5becf931ef2f2062ad2f04c653b89d5ee88b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO stop receiving media \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":"lib/ex_webrtc/rtp_transceiver.ex"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a872d683c6b22021187b9b754aeda9e216665b3783a61b1357b6fb803d794e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO assign ssrc when applying local/remote description. \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":"lib/ex_webrtc/rtp_receiver.ex"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f820ae6d5deb20b534f95093f99a6c2bd58d0e5eac8c17316344204cddba16bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO remove rrid extension \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":"lib/ex_webrtc/rtp_receiver.ex"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5126df659430ef55d2c497094b941508adf0d0d3c728765621fdd180568ba7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: Spawning a lot of peer connections simultaneously, often takes a lot of time. \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":"lib/ex_webrtc/peer_connection.ex"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06fdf482d032fab1ea028ce211b10a9d0662b812788f9c02c6714f75c1d0203"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO ensure this was also offered \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":"lib/ex_webrtc/peer_connection.ex"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0ce07567fdd04ecbb3d3df8f557b383fa329c6368f168a17c8f226192b678b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: iterating over transceivers is not optimal \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":"lib/ex_webrtc/peer_connection.ex"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aa1fd7eca40b06e0c410410ac84865cf9bc2b2abd3c4e125cbf878eaa090fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO re-think order of those 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":"lib/ex_webrtc/peer_connection.ex"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a101d0fc3443a82d27ebdbb6fb28420dbd3ac28976d0c404d0b7e54aa67a4b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: this can result in ICE restart (when it should, e.g. when this is answer) \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":"lib/ex_webrtc/peer_connection.ex"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc05f5c9515de75ffa92c01013fca8ce360f4a2533461a23c9cdde2ac9ec4fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO support :disconnected state - our ICE doesn\u0027t provide disconnected state for now \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":"lib/ex_webrtc/peer_connection.ex"},"region":{"startLine":2443}}}],"partialFingerprints":{"codehealthFindingId/v1":"5508fee9c78cfa8158f59d3b268185bba81612db6bf4cca8f9e08161dad2f323"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: consider buffering DTLS packets that came out of order during the handshake \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":"lib/ex_webrtc/dtls_transport.ex"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"b792184f0152c40155ec7a8841cf80e41686678645c973f92707c4bfc6090e00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \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":"lib/ex_webrtc/rtp/munger.ex"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b149115ae25fda87098a0aa7583b84676ff2926f4fe4e9a1b54f2bf187fbeb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: nil -- missing packet (maybe owner should be notified about 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":"lib/ex_webrtc/rtp/jitter_buffer.ex"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67381ed01fb78276823e10777cd809e4fc01418c885792a251dd48c0e4cde19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: instead of nil use expected_next_index to notify owner about missing packet \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":"lib/ex_webrtc/rtp/jitter_buffer/packet_store.ex"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ae001802831905e7d84926ea1c184ba8303d57072347461d608da08f9b6933"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Run performance tests and determine if it would be better to use: \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":"lib/ex_webrtc/rtp/jitter_buffer/heap.ex"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4793149140cae64abd3deead43299f7d705abb01dcbaf6a4d37733e2b1d6b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO implement \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/ex_webrtc/dtls_transport_test.exs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2347a0094a81c74da29c2c282d3e9cd7b3ae9254ff4f547872c99ae7d648541"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no project overview: The opening paragraph shows the logo and links to Hex, GitHub actions, and codecov badges but does not state what Elixir WebRTC is or what it does. State a one-line purpose (an implementation of W3C WebRTC API in Elixir) so readers can find it without scanning."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dbf18d06aa983c06246108610908ba99aae6784280b3aacd1a6655733d71be"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: The Installation section adds \u0060ex_webrtc\u0060 as the only dependency, but optional \u0060ex_sctp\u0060 must be added explicitly. Note that both dependencies are required and describe what each does so readers know which to add."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: The Getting started section points to the intro tutorial but provides no usage examples of sending/receiving video/audio. Add a short run command example (mix deps.get; mix run) showing how to start the app and visit the browser index.html."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355eb4e127a4bc9236772ce1c46f09510aa9286e7a06d1e47f308229df19049"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no architecture or design documentation: The document does not reference any architecture or design docs, despite an outline listing them. Add a link to the missing architecture/design docs so readers know where to find the project\u0027s broader structure."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"086460f2da112d94904fac5439f54a7780bc7778ff9375a067e428a1cc9a8a4c"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (9265 LoC, 68 module-visible types across 19 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"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":"f3ff08085aa55f1343c0cb020a82b3e82f8e37e063a03f2d42ab75546b4622f8"},"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":"613343d1b752f35745826fe8d15b453cf20383607c0f92f58d6658c1e8f77558"},"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":"774e84eaf65696bacc627959839c1af1927b88e5fcbe02a78f7a8b8671c240ba"},"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":"311f2b1dd969a2ef73985fc36dd91e65e3d6a6cb49a0706cd68e381199f12c7c"},"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":"6e22fa714af38036b109f9493501c28af262c3a9a1a2d30d80f7ec23c8ecb75e"},"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":"bf6e654aae86dc886c5a2e651d1be07a1252f28560ba57c82c6b15ac3d1f9c30"},"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":"96f88121b035a898a6759141862415469563ae4858d3bd2449d90d5e5ba04a57"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","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":"d0cf8a81ba7fcc6377ef5bc7574a1a1d87e7ee7c6be03b9a3b8819f00651c816"},"properties":{"dependency":{"package":"mint","version":"1.9.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"3efbc998b0611b7dcdf54ccc4a913ea17e4b7e66b848cbd89414feca5da183fc"},"properties":{"dependency":{"package":"hpax","version":"1.0.3","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 13 of 35 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 35 of the 66 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: .credo.exs, lib/ex_webrtc/media/ogg/page.ex, lib/ex_webrtc/rtp/vp8/payload.ex, lib/ex_webrtc/media/ogg/writer.ex, lib/ex_webrtc/media/ivf/writer.ex, lib/ex_webrtc/rtp/vp8/munger.ex, lib/ex_webrtc/rtp/h264/depayloader.ex, lib/ex_webrtc/peer_connection/demuxer.ex (and 5 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":"warning","message":{"text":"Change coupling clique: peer_connection.ex, rtp_sender.ex, rtp_transceiver.ex: 3 files \u2014 \u0060lib/ex_webrtc/peer_connection.ex\u0060, \u0060lib/ex_webrtc/rtp_sender.ex\u0060, \u0060lib/ex_webrtc/rtp_transceiver.ex\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ex_webrtc/peer_connection.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e01959baae7144d1c64d2b0156bddb6e17bc3b3e6e64fca2441399696714bb"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"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":"M4","level":"note","message":{"text":"README/code drift: README advertises Docker containerisation, but no Dockerfile/compose file exists \u2014 searched for: \u0060dockerfile\u0060, \u0060docker-compose\u0060, \u0060compose.yaml\u0060, \u0060compose.yml\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"343bbbd51ceb8de7a9ff88d79f7c797abf9b5921f8727b67b4d0f4f8a22c5e49"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}}],"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-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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":10,"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."]}]}