{"$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":"D1","level":"warning","message":{"text":"PostgreSQLSerialization.prepareValue (cyclomatic 42): PostgreSQLSerialization.prepareValue has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce43ca99c600b12f7aeb97bae58e1d1af0f453b666af4ce12ea24483b0122d0"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeHandler.lookup (cyclomatic 30): TypeHandler.lookup has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-layout/src/main/java/com/eventsourcing/layout/TypeHandler.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"25735aee01cc52683a45aba515f70ee04d7130f22c99080ff81ec5cd4a909dc1"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgreSQLSerialization.getMappedType (cyclomatic 24): PostgreSQLSerialization.getMappedType has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb97a2f7a07c1e08ebf53265fe8677cea3456e457f3b062c640d4a20c418eb66"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgreSQLSerialization.setValue (cyclomatic 22): PostgreSQLSerialization.setValue has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c712fe448376e369d8647ea3b7784bc0809b2468fe7e132b05a17d96f737a45"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgreSQLSerialization.getPropertyValue (cyclomatic 21): PostgreSQLSerialization.getPropertyValue has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c88215d27253193b52ebbac7749d01b4e3bb1fd6b1e63a61a7de938772f329"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgreSQLSerialization.getValue (cyclomatic 21): PostgreSQLSerialization.getValue has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd581b1f451f7ac5ae76f4be5f24d1008eac53124a6596734a71a9bfaa97cb6"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgreSQLSerialization.getMappedSqlType (cyclomatic 19): PostgreSQLSerialization.getMappedSqlType has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e766a81546f971beb2be5acfce12a3383b4228547e4656f047e239dc53e906"}},{"ruleId":"D1","level":"warning","message":{"text":"NavigableIndex.retrieve (cyclomatic 16): NavigableIndex.retrieve has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/NavigableIndex.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbce381c4ad39a8938758aead66f1dbfd6109576119fb47051fce7eaa777f98"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgreSQLSerialization.prepareValue (cognitive 240): PostgreSQLSerialization.prepareValue has cognitive complexity 240 (threshold 15). Drivers by points: ternaries 171, if/else 68, boolean chains 1 (nesting depth added 195). 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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cec94ff992ed2acc932f60e478c9ec4ee73ae628733437d4a15366b5b72357c"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgreSQLSerialization.getPropertyValue (cognitive 55): PostgreSQLSerialization.getPropertyValue has cognitive complexity 55 (threshold 15). Drivers by points: if/else 33, loops 9, ternaries 8, boolean chains 5 (nesting depth added 33). 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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f678e9f5f54e7a5d28473c7488ae60859d7cdf966e791644ee9d88ac4bb2bf"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgreSQLSerialization.setValue (cognitive 40): PostgreSQLSerialization.setValue has cognitive complexity 40 (threshold 15). Drivers by points: if/else 36, ternaries 3, boolean chains 1 (nesting depth added 17). 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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4f193b3ed0d6b97ebef143d5491b74f2b6f28e9a7a54eb7a12c71738371b67"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgreSQLSerialization.getMappedType (cognitive 30): PostgreSQLSerialization.getMappedType has cognitive complexity 30 (threshold 15). Drivers by points: if/else 29, boolean chains 1 (nesting depth added 6). 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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8814042ea492cadf7575c592c7700138e5d1bbeada2d4a3b37f7340b95bf9bb4"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaStaticFieldIndexLoader.load (cognitive 29): JavaStaticFieldIndexLoader.load has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21, ternaries 4, loops 3, boolean chains 1 (nesting depth added 17). 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":"eventsourcing-core/src/main/java/com/eventsourcing/index/JavaStaticFieldIndexLoader.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ad318d9f49d0e48062c5a43a9bff92e86b84d78be1ba9db20034081dee9119"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeHandler.lookup (cognitive 29): TypeHandler.lookup has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18, boolean chains 10, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-layout/src/main/java/com/eventsourcing/layout/TypeHandler.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"482b15e0ce26d751f14aa0d4118bb794225d9ad9b5535a7700bb56a8cb48df99"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgreSQLSerialization.getValue (cognitive 26): PostgreSQLSerialization.getValue has cognitive complexity 26 (threshold 15). Drivers by points: if/else 24, loops 2 (nesting depth added 4). 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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"721491f982d27d26bda43eb259fc5ea72dcf3a1f696ac20034b36380e6ba4851"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigableIndex.retrieve (cognitive 23): NavigableIndex.retrieve has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11, ternaries 8, boolean chains 4 (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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/NavigableIndex.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"60455daee0266b52d135a5d24db9c625a15a0cf081e0c0e8dcc695e748e1e077"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgreSQLAttributeIndex.addAll (cognitive 19): PostgreSQLAttributeIndex.addAll has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, loops 6, error handling 2, boolean chains 1, ternaries 1 (nesting depth added 9). 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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"60117aca9aa17fc0aee28c1b04c0114d7e014fbd17e961c9ba51cfd24ed4a3ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Address.\u003Cinit\u003E (cognitive 19): Address.\u003Cinit\u003E has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, loops 3, boolean chains 1 (nesting depth added 12). 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":"examples/foodsourcing/src/main/java/foodsourcing/Address.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f2fe0ab281877d3e508b9692fa9728568ec0b0e58a69b4bf8373bdf907f6e1"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgreSQLSerialization.getMappedSqlType (cognitive 18): PostgreSQLSerialization.getMappedSqlType has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10ae586260a65c03c256d4e5b4f3face2914f602779af8bcd182c95b9924543"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout.deriveProperties (cognitive 16): Layout.deriveProperties has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 2, ternaries 2, loops 1 (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":"eventsourcing-layout/src/main/java/com/eventsourcing/layout/Layout.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f0519c825ac8f944ed687816c2c28df45f9fa1e988e28409566614d4e93012"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PostgreSQLAttributeIndex: TooManyMethods \u2014 36 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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dc0e10b51a579632d91a8de1d2029b21fd5320a7d5df3bd40442077d8606a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: postgresql/PostgreSQLSerialization.java: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: PostgreSQLSerialization (37-690). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f474123adcc227092954d95d8e32b57fabd7b0f47084d421c08fa6e3ac501065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): eventsourcing-core/src/main/java/com/eventsourcing/index/EntityQueryFactory.java:1007-1023 | eventsourcing-core/src/main/java/com/eventsourcing/index/EntityQueryFactory.java:1084-1100 | eventsourcing-core/src/main/java/com/eventsourcing/queries/QueryFactory.java:946-962 | eventsourcing-core/src/main/java/com/eventsourcing/queries/QueryFactory.java:1021-1037 \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 \u0060eventsourcing-core/src/main/java/com/eventsourcing/index/EntityQueryFactory.java:1007\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":"eventsourcing-core/src/main/java/com/eventsourcing/index/EntityQueryFactory.java"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f81747931f6e18b5d4bba43d48627ba77438f313f2b476152e7ad5e1982834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java:123-136 | eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java:160-173 \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 \u0060eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java:123\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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68faa33c4d50339f05107d20787cd399243b806562fcb1fcf7903207ebcd129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/NavigableIndex.java:308-318 | eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/NavigableIndex.java:348-358 | eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/NavigableIndex.java:395-405 | eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java:420-430 | eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java:450-460 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java:450\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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/NavigableIndex.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"074112d89e6d3422642a37de1a6d97e7502e1c3113e4dbcc465aa671414d26f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): eventsourcing-core/src/main/java/com/eventsourcing/index/EntityQueryFactory.java:189-198 | eventsourcing-core/src/main/java/com/eventsourcing/queries/QueryFactory.java:177-186 \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 \u0060eventsourcing-core/src/main/java/com/eventsourcing/index/EntityQueryFactory.java:189\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-core/src/main/java/com/eventsourcing/index/EntityQueryFactory.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"939092243629a7b650f9b45a46393a0f7efe973e21536196fee640f63de9df67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/ByteArrayBinarySerializer.java:34-42 | eventsourcing-layout/src/main/java/com/eventsourcing/layout/comparable/ByteArrayComparableSerializer.java:33-41 \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 \u0060eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/ByteArrayBinarySerializer.java:34\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":"eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/ByteArrayBinarySerializer.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3548fcea947feee4f3f53e7da57f1946d4cca929c00a373b42782ac2b565a5ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/ListBinarySerializer.java:23-31 | eventsourcing-layout/src/main/java/com/eventsourcing/layout/comparable/ListComparableSerializer.java:24-32 \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 \u0060eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/ListBinarySerializer.java:23\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":"eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/ListBinarySerializer.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"de83c2e300278d80a52cfb460fd3a32b39f1a066aaa4b54a5a806ffee96338e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/OptionalBinarySerializer.java:36-43 | eventsourcing-layout/src/main/java/com/eventsourcing/layout/comparable/OptionalComparableSerializer.java:35-42 \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 \u0060eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/OptionalBinarySerializer.java:36\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":"eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/OptionalBinarySerializer.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ff13b167d3e1bfd2ff9c06ce4d7a7b3b8de60fda35998eee14f15665d34de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java:312-319 | eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java:369-377 \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 \u0060eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java:312\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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec47d9e55facaa25d431773245186921d0c76300397cd9eb146fd01dcd00bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/jmh/java/com/eventsourcing/jmh/PostgreSQLJournalBenchmark.java:22-29 | src/jmh/java/com/eventsourcing/jmh/PostgreSQLRepositoryBenchmark.java:27-34 \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. 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":"src/jmh/java/com/eventsourcing/jmh/PostgreSQLJournalBenchmark.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7407f8b51b96f7134f2d4e7c6b2eb86846969d5c2e618a60a8680981d2f887cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/MapBinarySerializer.java:28-34 | eventsourcing-layout/src/main/java/com/eventsourcing/layout/comparable/MapComparableSerializer.java:28-34 \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 \u0060eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/MapBinarySerializer.java:28\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":"eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/MapBinarySerializer.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d5f778402753239019d96a10455e1699c267eafa84fec8e814f6aca6b75d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/MapBinarySerializer.java:48-54 | eventsourcing-layout/src/main/java/com/eventsourcing/layout/comparable/MapComparableSerializer.java:46-52 \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 \u0060eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/MapBinarySerializer.java:48\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":"eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/MapBinarySerializer.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7e21a75b0b2613724eb807e6ff1f34ec415107c51497b2704c4935d1c71902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/OptionalBinarySerializer.java:21-27 | eventsourcing-layout/src/main/java/com/eventsourcing/layout/comparable/OptionalComparableSerializer.java:22-28 \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. 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":"eventsourcing-layout/src/main/java/com/eventsourcing/layout/binary/OptionalBinarySerializer.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6608dcaa7e522ae3507494ff33a17bbad08fe96bc2f53d762263afd167cb924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java:167-173 | eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java:384-390 \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 \u0060eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java:167\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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/PostgreSQLAttributeIndex.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7f8423572cc6498465d1b4e4221a94188659f8bc1f81c4d4c37ca10e3c8dac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): eventsourcing-layout/src/main/java/com/eventsourcing/layout/comparable/MapComparableSerializer.java:23-28 | eventsourcing-layout/src/main/java/com/eventsourcing/layout/comparable/MapComparableSerializer.java:41-46 \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 \u0060eventsourcing-layout/src/main/java/com/eventsourcing/layout/comparable/MapComparableSerializer.java:23\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":"eventsourcing-layout/src/main/java/com/eventsourcing/layout/comparable/MapComparableSerializer.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8bdd04b58fa9da5354e66f8458597d4987c8966ceaf63fc2da2b579468f7b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/NavigableIndex.java:414-419 | eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/NavigableIndex.java:444-449 \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 \u0060eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/NavigableIndex.java:414\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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/index/NavigableIndex.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"37acba52f82d3fbf358750de379252f3677511bb742e1178ebd4078772238461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): eventsourcing-core/src/main/java/com/eventsourcing/index/EntityQueryFactory.java:341-345 | eventsourcing-core/src/main/java/com/eventsourcing/queries/QueryFactory.java:320-324 \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. 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":"eventsourcing-core/src/main/java/com/eventsourcing/index/EntityQueryFactory.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd3fb7e4c15dcb44d108ae0c1133d4548e72a8e179a0ebde74fc8775bbed4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLJournal.java:274-278 | eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLJournal.java:287-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. 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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLJournal.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7738c7c502c6894b5c1aa1b929cb23fde7b15314260bfed7cca0bbd8f1febd59"}},{"ruleId":"D16","level":"warning","message":{"text":"dormant codebase \u2014 no living knowledge left to concentrate: Every one of the 57 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":"D19","level":"note","message":{"text":"The README itself is thin on installation and setup steps; readers must navigate to getting_started/install.md to find how to add the dependency.: Add a one-line \u0027Getting started\u0027 line in the top of the README pointing to docs/getting_started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ba93cf678202185f5dbe9a408a262874468f6311e2864d9197020805de4521"}},{"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":"3324659156b0bf206c66ce01274a036b97bbfc4d3e8aeeace279bb7cf8040b88"},"taxa":[{"id":"CWE-328","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":"1c8b0dcfbb90cac7654fc2e9a556d8482e17374b94359f2f98ac6cd58a7ffd50"},"taxa":[{"id":"CWE-89","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":"406ae6beffe8b205618652ccc11c2c379049c643e99269de97a142d6afc55f69"},"taxa":[{"id":"CWE-328","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":"0c9661d99fedb15ba65effed12ec486eeee30c1411a0fcd843512fcdcd18ebb1"},"taxa":[{"id":"CWE-328","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":"59156498d5e644dc33dd623df82357d2c95f8bba4c5242217b1812903320a172"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 57 of 57 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 57 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":"eventsourcing-core/src/main/java/com/eventsourcing/queries/QueryFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c35a03a8dcc3cf880cd37d0b5cf11de5a3dccd90401181563a71d889be4bfc"}},{"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":"eventsourcing-core/src/main/java/com/eventsourcing/index/EntityQueryFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7356224fe02dddb6add707b92187565ae676c9f60ead791a4ef45a398ef7fc00"}},{"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":"eventsourcing-postgresql/src/main/java/com/eventsourcing/postgresql/PostgreSQLSerialization.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6fae1477af1e32a1384f7c8803744e595a7af534d3b97b26cc68a750f19188"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: Repository.java \u2194 CommandConsumer.java: \u0060eventsourcing-core/src/main/java/com/eventsourcing/Repository.java\u0060 (context eventsourcing-core) and \u0060eventsourcing-repository/src/main/java/com/eventsourcing/repository/CommandConsumer.java\u0060 (context eventsourcing-repository) sit in DIFFERENT parts of the tree yet change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing-core/src/main/java/com/eventsourcing/Repository.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5f52ca0f6db689b5d69dbfcfabcc639fb8790064274bf75ae8b1992a699d6b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ListTypeHandler.java \u2194 OptionalTypeHandler.java: \u0060eventsourcing-layout/src/main/java/com/eventsourcing/layout/types/ListTypeHandler.java\u0060 and \u0060eventsourcing-layout/src/main/java/com/eventsourcing/layout/types/OptionalTypeHandler.java\u0060 change together 54% of the time (7 of the 13 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":"eventsourcing-layout/src/main/java/com/eventsourcing/layout/types/ListTypeHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c73c12b69bb2d7bbbcdab84061e61e0a31f985d1b224211671f447bf9da51be"}}],"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":5,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}