{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"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":"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"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 23): (anonymous) has cyclomatic complexity 23 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/key-handler.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2888cf8f9b1eb2b412bd0bb9a579897f4da4fb214f5e0f44d14af5b856130304"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 23): (anonymous) has cyclomatic complexity 23 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/app.js"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa013c8e7f3fccc76c22ab5f4024d1cd9d4fbd5b7e80a1b98e855a261e13956c"}},{"ruleId":"D1","level":"warning","message":{"text":"onmessage (cyclomatic 22): onmessage has cyclomatic complexity 22 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/websockets.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e59b7b8114c4d204a35d1f8eb13b0a9d14cd9a426db71b76a2b5d8701ed418"}},{"ruleId":"D1","level":"warning","message":{"text":"onmessage (cyclomatic 22): onmessage has cyclomatic complexity 22 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/app.js"},"region":{"startLine":3226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6d7a1ae367664620940b8c48e1e47233775c2b11c7249b2dd3d16ceed0ab04"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 18): (anonymous) has cyclomatic complexity 18 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/touch.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80ccfd8378be86834f146015f854f1add0590cb67a567eb1f28025254c0f83c"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 18): (anonymous) has cyclomatic complexity 18 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/app.js"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3882684d8d7522d6d4f98b7f051b80c5758d24299d74545a6fab7a1944e459c"}},{"ruleId":"D2","level":"warning","message":{"text":"onmessage (cognitive 36): onmessage has cognitive complexity 36 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/websockets.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a26d81b530d4b4161a2057b03bbeffd6fad7515672acb021bfba7b4c4cda3a2"}},{"ruleId":"D2","level":"warning","message":{"text":"onmessage (cognitive 36): onmessage has cognitive complexity 36 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/app.js"},"region":{"startLine":3226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c42544549337d6bcdb6bc433b61b502d97bed10152733902d2dba22a89ee2ff"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 30): (anonymous) has cognitive complexity 30 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/key-handler.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a739b2aac0b6961104d2c62db68f15ca64a98ce9346079a92ae9bacdaf4fce0"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 30): (anonymous) has cognitive complexity 30 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/app.js"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"620f173a8088106c3c3783f1ed753748ed7b134dc09b091782ffe159b1f81e32"}},{"ruleId":"D2","level":"warning","message":{"text":"handleReconnection (cognitive 22): handleReconnection has cognitive complexity 22 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/connection.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fb5ee5b4b71da5f8c448d1ff327f8e4f3755f4707a5e4c8f759ea1cee9adee"}},{"ruleId":"D2","level":"warning","message":{"text":"handleReconnection (cognitive 22): handleReconnection has cognitive complexity 22 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/app.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fb06e5dfe113ed848734a34647fd3d0f2205dfefb0d03ddf88e0d1c490e758"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 20): (anonymous) has cognitive complexity 20 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/touch.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3f14bd61a3071988629f67e00cd826f6ba941369a1196d521a7189e07c3549"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 20): (anonymous) has cognitive complexity 20 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/app.js"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ba199ac55d6ae8a06016e327e762161fc36e1f264310a4ccb5d9d64e4d71d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assets/mobile-ui.js: FileTooLong \u2014 1415 lines."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/mobile-ui.js"},"region":{"startLine":0}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec42543560dc0bf90c42371ea61b89f2ff600eb8e19daff7be6c37882f8bb9fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assets/app.js: FileTooLong \u2014 3480 lines."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/app.js"},"region":{"startLine":0}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2eef9b4ae07abc6c9a57e1c7603243358bf299946b2c5f67817f672a52b859"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 the solution has no test code. Untested code is the largest single risk to changing it safely."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test projects found in the repository."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: zellij-client/assets/websockets.js: zellij-client/assets/websockets.js changed 3 times in last 90 days, max complexity 22. 1 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/websockets.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63609514de0c62b2a968a3de1d0c556d5b2a00a409fea63ba416e4a532fe9f9f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: zellij-client/assets/touch.js: zellij-client/assets/touch.js changed 2 times in last 90 days, max complexity 18."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/touch.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09515ac0c8970f68d0dc1f4d4a752e8bd042f9a37b64a30c370063d477154546"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: zellij-client/assets/app.js: zellij-client/assets/app.js changed 1 times in last 90 days, max complexity 23."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bdce1bd859f4f2651031c5c77f4ca7a1f2dab95ce5ddc3cdb56315c066ff9f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: zellij-client/assets/key-handler.js: zellij-client/assets/key-handler.js changed 1 times in last 90 days, max complexity 23."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zellij-client/assets/key-handler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21b9631d3e409ed4fd86ea6077358b02608c7a02a681deea3da85ff2087a4bc"}},{"ruleId":"D19","level":"note","message":{"text":"The document explains terms like pty (primary-secondary pseudoterminal) and OSI commands but does not define what a \u0027pty\u0027 is for readers who do not already know this jargon.: Add a brief definition of pty so new readers can find it without referencing the long ANSI/VT section."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/TERMINOLOGY.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ade80d9786e8f45d533d72a38a645b434ecf97afa20dc27ac874146abe355a"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"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-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":4,"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."]}]}