{"$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"}]}},"results":[{"ruleId":"D2","level":"warning","message":{"text":"ZeroCopyBufferInput.readRawVarint32 (cognitive 32): ZeroCopyBufferInput.readRawVarint32 has cognitive complexity 32 (threshold 15). Drivers by points: if/else 26, loops 6 (nesting depth added 21). 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":"reveno-core/src/main/java/org/reveno/atp/core/serialization/protostuff/ZeroCopyBufferInput.java"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a8a0fdacaf095bf663e4c105ee2a631018c24a5467a3cb8a2246c7d720df63"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapshottingInterceptor.intercept (cognitive 24): SnapshottingInterceptor.intercept has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10, error handling 8, boolean chains 3, loops 3 (nesting depth added 13). 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":"reveno-core/src/main/java/org/reveno/atp/core/engine/components/SnapshottingInterceptor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88ad07e762c998f3025e458b1646a8ff9482600f3b6c45edb084a04f7b89613"}},{"ruleId":"D2","level":"warning","message":{"text":"ZeroCopyBufferInput.readFieldNumber (cognitive 19): ZeroCopyBufferInput.readFieldNumber has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 2 (nesting depth added 7). 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":"reveno-core/src/main/java/org/reveno/atp/core/serialization/protostuff/ZeroCopyBufferInput.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3110ddb1bb593e047a45438184b2e2eedb5dbecd4bc83122db16500deb5b40"}},{"ruleId":"D2","level":"warning","message":{"text":"InputHandlers.ex (cognitive 18): InputHandlers.ex has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 5, error handling 2 (nesting depth added 6). 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":"reveno-core/src/main/java/org/reveno/atp/core/engine/InputHandlers.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d4fa91a088550459a400eba89c194375651e963f762b29298e3bcb051f9332"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChannelBuffer: TooManyMethods \u2014 42 methods. Most of these members implement channel.Buffer (32 of 38 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reveno-core/src/main/java/org/reveno/atp/core/channel/ChannelBuffer.java"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2d1f96ce23187728148fbd2e2fbce9b5480db2e29c58c7a18368f1be8fabce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProcessorContext: TooManyMethods \u2014 41 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reveno-core/src/main/java/org/reveno/atp/core/disruptor/ProcessorContext.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa44361418f541e5d9b42da3e9e8a4457c4a1c46f67cf9a5329f51f7af7f47d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NettyBasedBuffer: TooManyMethods \u2014 39 methods. Most of these members implement channel.Buffer (32 of 34 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reveno-core/src/main/java/org/reveno/atp/core/channel/NettyBasedBuffer.java"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed434a8c73a4b5e4ff91e80784b2688210f4cac6166cc81ec399a7971026cd7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZeroCopyBufferInput: TooManyMethods \u2014 37 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":"reveno-core/src/main/java/org/reveno/atp/core/serialization/protostuff/ZeroCopyBufferInput.java"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32683c14a4421c95a891de79e6023a7011e84b7648136f785a4744eee8c3396"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Engine: 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":"reveno-core/src/main/java/org/reveno/atp/core/Engine.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f1609c8d4ad1beedeba541ee8ef72ae2332325a6761a624f1c5c860f10007a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileSystemStorage: 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":"reveno-core/src/main/java/org/reveno/atp/core/storage/FileSystemStorage.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"633906f8f518852662d4d02f66b2f6c822d7500ee309d04dc96362f247282f9b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EngineWorkflowContext: TooManyMethods \u2014 31 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":"reveno-core/src/main/java/org/reveno/atp/core/EngineWorkflowContext.java"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f133cf649b7574c145d79cfc96db850bcd2ed69363e0fc2eb2b502deb10e0cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): reveno-core/src/main/java/org/reveno/atp/core/serialization/protostuff/ZeroCopyLinkBuffer.java:90-98 | reveno-core/src/main/java/org/reveno/atp/core/serialization/protostuff/ZeroCopyLinkBuffer.java:108-116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060reveno-core/src/main/java/org/reveno/atp/core/serialization/protostuff/ZeroCopyLinkBuffer.java:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reveno-core/src/main/java/org/reveno/atp/core/serialization/protostuff/ZeroCopyLinkBuffer.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bf059753c63deaecd39816f28eba0b82d9ce602f04815d9abe785753dce4a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): reveno-core/src/main/java/org/reveno/atp/utils/BinaryUtils.java:45-49 | reveno-core/src/main/java/org/reveno/atp/utils/BinaryUtils.java:53-57 \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":"reveno-core/src/main/java/org/reveno/atp/utils/BinaryUtils.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a369e974a4ca4a92a49ba368890a9800822317456c6ec03e5ee778908b73b52"}},{"ruleId":"D16","level":"warning","message":{"text":"dormant codebase \u2014 no living knowledge left to concentrate: Every one of the 44 significant source file(s) was last meaningfully changed so long ago that no living knowledge remains, so there is no concentration to measure \u2014 the bus factor is not scored. This is not a clean bill: nobody currently holds working knowledge of this code (see D34 Knowledge Freshness)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"569d55ea5cb0330f13c125b289d07e5abdfcceac947a2c2645277937942e7d5f"}},{"ruleId":"D29","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":"65f39dd15fe438ea27d7cf68302fcada9f8dcfc34d1db689d78852daef366e50"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 44 of 44 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 44 separate risks. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reveno-core/src/main/java/org/reveno/atp/core/Engine.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86db84029c07c38e31846af08dc0f7cdd1349bac96ac70b69df3a8d551238506"}}],"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-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-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"CWE-328","shortDescription":{"text":"CWE-328"},"helpUri":"https://cwe.mitre.org/data/definitions/328.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":1,"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."]}]}