{"$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":"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":"DefaultCommandResultProcessor.processExecutedCommandMessageInternal (cognitive 23): DefaultCommandResultProcessor.processExecutedCommandMessageInternal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 22, boolean chains 1 (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":"enode/src/main/java/org/enodeframework/queue/command/DefaultCommandResultProcessor.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b195f29999db1b21ca42cf7cb551b4036497d91c511aed7976260a2578c1ec54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): enode/src/main/java/org/enodeframework/eventing/impl/DefaultEventCommittingService.kt:238-250 | enode/src/main/java/org/enodeframework/eventing/impl/DefaultEventCommittingService.kt:256-268 \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 \u0060enode/src/main/java/org/enodeframework/eventing/impl/DefaultEventCommittingService.kt:238\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"enode/src/main/java/org/enodeframework/eventing/impl/DefaultEventCommittingService.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8748befdc2d3ed89e62c725ec02f159b827bc9b4b7a45c365d73a95c108cc09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jdbc/src/main/java/org/enodeframework/jdbc/JDBCEventStore.kt:68-79 | mysql/src/main/java/org/enodeframework/mysql/MySQLEventStore.kt:65-76 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jdbc/src/main/java/org/enodeframework/jdbc/JDBCEventStore.kt:68\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jdbc/src/main/java/org/enodeframework/jdbc/JDBCEventStore.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dfcf18e0a5cf272603e1a5f8bdbb5a764d95f4d650a0661e7b382dcdeb649f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jdbc/src/main/java/org/enodeframework/jdbc/JDBCHandlers.kt:37-47 | jdbc/src/main/java/org/enodeframework/jdbc/JDBCHandlers.kt:157-167 \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 \u0060jdbc/src/main/java/org/enodeframework/jdbc/JDBCHandlers.kt:37\u0060 it begins part-way through the construct above it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jdbc/src/main/java/org/enodeframework/jdbc/JDBCHandlers.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa6f55c4f3e482afca89d48224c94ac00258036f7ab1aafdc2c9cff09ce0769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): enode/src/main/java/org/enodeframework/messaging/impl/DefaultThreeMessageHandlerProvider.kt:48-57 | enode/src/main/java/org/enodeframework/messaging/impl/DefaultThreeMessageHandlerProvider.kt:73-82 | enode/src/main/java/org/enodeframework/messaging/impl/DefaultTwoMessageHandlerProvider.kt:47-56 | enode/src/main/java/org/enodeframework/messaging/impl/DefaultTwoMessageHandlerProvider.kt:66-75 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060enode/src/main/java/org/enodeframework/messaging/impl/DefaultThreeMessageHandlerProvider.kt:48\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. 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":"enode/src/main/java/org/enodeframework/messaging/impl/DefaultThreeMessageHandlerProvider.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6eddcb51ba5bc104f9553e55d9c3726c65e6967250dc851fcf63179c5684974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): jdbc/src/main/java/org/enodeframework/jdbc/JDBCHandlers.kt:105-114 | mysql/src/main/java/org/enodeframework/mysql/MySQLHandlers.kt:105-114 | pg/src/main/java/org/enodeframework/pg/PgHandlers.kt:107-116 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jdbc/src/main/java/org/enodeframework/jdbc/JDBCHandlers.kt:105\u0060 it begins part-way through the construct above it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jdbc/src/main/java/org/enodeframework/jdbc/JDBCHandlers.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6513439c3fb23182fbb2dadef7e903d0d4909f64d35b0f000e5231ecfc3d713b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): enode/src/main/java/org/enodeframework/commanding/impl/DefaultCommandHandlerProvider.kt:37-46 | enode/src/main/java/org/enodeframework/commanding/impl/DefaultCommandHandlerProvider.kt:53-62 \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 \u0060enode/src/main/java/org/enodeframework/commanding/impl/DefaultCommandHandlerProvider.kt:37\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"enode/src/main/java/org/enodeframework/commanding/impl/DefaultCommandHandlerProvider.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dd6d6be28b7214680e610051cd4000f23f9ca1098562f2bb582803fdd8db0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): enode/src/main/java/org/enodeframework/messaging/impl/DefaultThreeMessageHandlerProvider.kt:89-98 | enode/src/main/java/org/enodeframework/messaging/impl/DefaultTwoMessageHandlerProvider.kt:76-85 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060enode/src/main/java/org/enodeframework/messaging/impl/DefaultThreeMessageHandlerProvider.kt:89\u0060 it begins part-way through the construct above it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"enode/src/main/java/org/enodeframework/messaging/impl/DefaultThreeMessageHandlerProvider.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2699f329296d26aa234823e34746533ac5f89d0c59cdcf67a07b4705266c12d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jdbc/src/main/java/org/enodeframework/jdbc/JDBCHandlers.kt:148-161 | mysql/src/main/java/org/enodeframework/mysql/MySQLHandlers.kt:146-155 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jdbc/src/main/java/org/enodeframework/jdbc/JDBCHandlers.kt:148\u0060 it begins part-way through the construct above it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jdbc/src/main/java/org/enodeframework/jdbc/JDBCHandlers.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfba8ab235e378b718524655e7d836bb05271a4cb8ea8a4d063252a7d9f87c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): enode/src/main/java/org/enodeframework/messaging/impl/DefaultMessageHandlerProvider.kt:33-41 | enode/src/main/java/org/enodeframework/messaging/impl/DefaultMessageHandlerProvider.kt:46-54 \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. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"enode/src/main/java/org/enodeframework/messaging/impl/DefaultMessageHandlerProvider.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed8f3d388e3540938e65ac60f0b1059556770b838ee874c60c413776da1aeb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jdbc/src/main/java/org/enodeframework/jdbc/JDBCHandlers.kt:85-92 | mysql/src/main/java/org/enodeframework/mysql/MySQLHandlers.kt:85-92 | pg/src/main/java/org/enodeframework/pg/PgHandlers.kt:87-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jdbc/src/main/java/org/enodeframework/jdbc/JDBCHandlers.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07f258d91e59830916e03c919af22ee8d6c8fc520045e4ae232ef8d79fddd1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): amqp/src/main/java/org/enodeframework/amqp/message/AmqpMessageListeners.kt:79-86 | amqp/src/main/java/org/enodeframework/amqp/message/AmqpMessageListeners.kt:94-101 \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 \u0060amqp/src/main/java/org/enodeframework/amqp/message/AmqpMessageListeners.kt:79\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"amqp/src/main/java/org/enodeframework/amqp/message/AmqpMessageListeners.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a10e071a13dd78c8ea0961ad4b0a42ab5f42e74e41cb0d2b440aacb69f203d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): enode/src/main/java/org/enodeframework/eventing/ProcessingEventMailBox.kt:37-45 | enode/src/main/java/org/enodeframework/eventing/ProcessingEventMailBox.kt:119-126 \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 \u0060enode/src/main/java/org/enodeframework/eventing/ProcessingEventMailBox.kt:37\u0060 it begins part-way through the construct above it, 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. 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":"enode/src/main/java/org/enodeframework/eventing/ProcessingEventMailBox.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"097ea4f9ffe74e0b5147ef587d745d1fe4065c99643938b38cffa9e116d825e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jdbc/src/main/java/org/enodeframework/jdbc/JDBCPublishedVersionStore.kt:40-47 | pg/src/main/java/org/enodeframework/pg/PgPublishedVersionStore.kt:40-47 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jdbc/src/main/java/org/enodeframework/jdbc/JDBCPublishedVersionStore.kt:40\u0060 it begins part-way through the construct above it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jdbc/src/main/java/org/enodeframework/jdbc/JDBCPublishedVersionStore.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91a2e21692d8f3c3968b7f9577912336838c9343c9f895f03495478575633f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): mongo/src/main/java/org/enodeframework/mongo/MongoEventStore.kt:25-32 | mysql/src/main/java/org/enodeframework/mysql/MySQLEventStore.kt:23-30 \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":"mongo/src/main/java/org/enodeframework/mongo/MongoEventStore.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85f3c71216e73cbb3fb6d8640cb79d5c035d83474503216825d440547651288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): mongo/src/main/java/org/enodeframework/mongo/MongoHandlers.kt:46-53 | mysql/src/main/java/org/enodeframework/mysql/MySQLHandlers.kt:48-56 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060mongo/src/main/java/org/enodeframework/mongo/MongoHandlers.kt:46\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mongo/src/main/java/org/enodeframework/mongo/MongoHandlers.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35255ec7c108ce46177eb1a9f575f0788a4cf776af8806c0ce780ab71c6ec64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): rocketmq/src/main/java/org/enodeframework/rocketmq/message/RocketMQMessageListener.kt:43-50 | rocketmq/src/main/java/org/enodeframework/rocketmq/message/RocketMQMessageListener.kt:56-63 \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. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rocketmq/src/main/java/org/enodeframework/rocketmq/message/RocketMQMessageListener.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a65b801741bcaba7a742cb78f53463f346b7f1156386c3d30fc846a5b198748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): enode/src/main/java/org/enodeframework/commanding/impl/DefaultProcessingCommandHandler.kt:253-259 | enode/src/main/java/org/enodeframework/commanding/impl/DefaultProcessingCommandHandler.kt:282-291 \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 \u0060enode/src/main/java/org/enodeframework/commanding/impl/DefaultProcessingCommandHandler.kt:253\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"enode/src/main/java/org/enodeframework/commanding/impl/DefaultProcessingCommandHandler.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"306f7182e93d090833bad466d646c04a5c797bf86375b3a6e132cd1ee3509441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mongo/src/main/java/org/enodeframework/mongo/MongoEventStore.kt:124-130 | mongo/src/main/java/org/enodeframework/mongo/MongoEventStore.kt:140-146 \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":"mongo/src/main/java/org/enodeframework/mongo/MongoEventStore.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50ef271b9b05c2a69bb253bdd1829536a28a901950d9aad143bd16a6cfaa4ae"}},{"ruleId":"D13","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":"0d0c04a60eeba92a57f72baf06c20250acfa3770e52bcf54244d18920b9217cd"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","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":"685e21367f7d00d21ce2d325d1933dc7a3a890bfe272ef7bdc3f98b172d27dd0"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D16","level":"warning","message":{"text":"dormant codebase \u2014 no living knowledge left to concentrate: All 73 significant source file(s) were last meaningfully changed so long ago that no living knowledge remains \u2014 nothing since has been substantial enough to re-establish ownership (a broad, mechanical sweep that touches many files shallowly does not count, and neither does no activity at all). There is no concentration to measure, so 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":"e6606282a0a9038f4cc83c410b7b43f4cc054d7400d0e9e342ee12e58e22627b"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"a1ad4517815b111a0259af490e51ed3835d46bb5e8c0eacf5dd31812481ce37d"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"fc1d0cf64bdba6abadbe889c5599f9daa68e3648a0b60e1988ced9bb06eefa88"},"taxa":[{"id":"CWE-330","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"ccfb1d9662c847dbef8fd79f4d601b3ff5427d3193335f9963d6bfa80a62dc57"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"9cd54fc50aaa2ffa4a2aa944f75d9afcaa286740b45011d9f2ea68803baaff21"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"6157dac42db281526ff6c1e95f442667bf433b9be14c172da5e2fc0f83133ae4"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 73 of 73 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 73 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":"enode/src/main/java/org/enodeframework/commanding/impl/DefaultProcessingCommandHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57832dd8ca716a5fbe1a1123ea2b38059d69495b1b08e59efc35f28b104905a7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: JDBCEventStore.kt \u2194 JDBCPublishedVersionStore.kt: \u0060jdbc/src/main/java/org/enodeframework/jdbc/JDBCEventStore.kt\u0060 and \u0060jdbc/src/main/java/org/enodeframework/jdbc/JDBCPublishedVersionStore.kt\u0060 change together 59% of the time (10 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jdbc/src/main/java/org/enodeframework/jdbc/JDBCEventStore.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5226f9fcf3e26f23890c0a3633251d348860b825f07a0da43315b8e42fce3f4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: EnodeOnsAutoConfig.java \u2194 EnodeRocketMQAutoConfig.java: \u0060spring/src/main/java/org/enodeframework/spring/EnodeOnsAutoConfig.java\u0060 and \u0060spring/src/main/java/org/enodeframework/spring/EnodeRocketMQAutoConfig.java\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spring/src/main/java/org/enodeframework/spring/EnodeOnsAutoConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fbb22f562047b953ef5dc35c6e39e7f803b727bf20d2e96f7c7a74a9a48c50"}}],"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-330","guid":"f811ddf9-2e54-865b-9c76-f97905849790","name":"CWE-330","shortDescription":{"text":"CWE-330"},"helpUri":"https://cwe.mitre.org/data/definitions/330.html"},{"id":"CWE-352","guid":"2afe7bdb-7330-195f-b3bf-8cf5b789b3ae","name":"CWE-352","shortDescription":{"text":"CWE-352"},"helpUri":"https://cwe.mitre.org/data/definitions/352.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":8,"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."]}]}