{"$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"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Convertions.getAs (cyclomatic 54): Convertions.getAs has cyclomatic complexity 54 (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":"thoth-core-pekko/src/main/java/fr/maif/pekko/jdbc/Convertions.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf860e93129c85c2673f87745f968c5dd07c122b3dfdea966018016d0de5dc0"}},{"ruleId":"D2","level":"warning","message":{"text":"Convertions.getAs (cognitive 72): Convertions.getAs has cognitive complexity 72 (threshold 15). Drivers by points: if/else 51, boolean chains 21 (nesting depth added 15). 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":"thoth-core-pekko/src/main/java/fr/maif/pekko/jdbc/Convertions.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"805e916bd8b5930c061412208684c8be8c688a520ddbcb5a35f519dbbc09b26c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eventsourcing/PostgresKafkaEventProcessorBuilder.java: FileTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-jooq/src/main/java/fr/maif/eventsourcing/PostgresKafkaEventProcessorBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a42404fbd9d842bd0e76d32648840306ca37059de083bfc7abc0b0db8624cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java:222-241 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java:274-292 \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":"thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0ffb661f193103dfefcbf309c632051702006d87430b652ffe41959e8a1f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): thoth-core-pekko/src/main/java/fr/maif/pekko/jdbc/stream/source/UpdateQuerySource.java:66-81 | thoth-core-pekko/src/main/java/fr/maif/pekko/jdbc/stream/source/UpdateQueryWithResultedIdSource.java:70-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core-pekko/src/main/java/fr/maif/pekko/jdbc/stream/source/UpdateQuerySource.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b3a34fe34cbf8895316679ad8460d8b340c0dc40cb2a461bb36957d1538d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): thoth-core-pekko/src/main/java/fr/maif/pekko/jdbc/stream/source/SelectQuerySource.java:67-80 | thoth-core-pekko/src/main/java/fr/maif/pekko/jdbc/stream/source/UpdateQuerySource.java:62-75 | thoth-core-pekko/src/main/java/fr/maif/pekko/jdbc/stream/source/UpdateQueryWithResultedIdSource.java:66-79 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core-pekko/src/main/java/fr/maif/pekko/jdbc/stream/source/SelectQuerySource.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e710a31eb50041a5668f3f0df3df201f42b0511600ce4d93945016d8d5b7cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): thoth-core-pekko/src/main/java/fr/maif/pekko/eventsourcing/InMemoryEventStore.java:158-171 | thoth-core-reactor/src/main/java/fr/maif/reactor/eventsourcing/InMemoryEventStore.java:194-207 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core-pekko/src/main/java/fr/maif/pekko/eventsourcing/InMemoryEventStore.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ac0265b3b20ce9f74a407d22ab4bdb2e61dfe3407c96219ac9c51a5ae2b037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): thoth-core-pekko/src/main/java/fr/maif/pekko/jdbc/stream/source/UpdateQuerySource.java:89-102 | thoth-core-pekko/src/main/java/fr/maif/pekko/jdbc/stream/source/UpdateQueryWithResultedIdSource.java:98-111 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core-pekko/src/main/java/fr/maif/pekko/jdbc/stream/source/UpdateQuerySource.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3cec4726b33d0d301f65744777239ceb6bab1f3f564c606a15d2a08de1a544"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): thoth-core/src/main/java/fr/maif/eventsourcing/impl/AbstractDefaultAggregateStore.java:106-117 | thoth-core/src/main/java/fr/maif/eventsourcing/vanilla/AbstractDefaultAggregateStore.java:110-121 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/DefaultReactorAggregateStore.java:105-116 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core/src/main/java/fr/maif/eventsourcing/impl/AbstractDefaultAggregateStore.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eea895bf100ab44fa26bc615bd3d65ff4a189abc1c29bf104921ff821c0a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 16): thoth-commons-events/src/main/java/fr/maif/eventsourcing/EventEnvelope.java:77-87 | thoth-jooq-pekko/src/main/java/fr/maif/eventsourcing/ReactivePostgresKafkaEventProcessorBuilder.java:193-203 | thoth-jooq-pekko/src/main/java/fr/maif/eventsourcing/ReactivePostgresKafkaEventProcessorBuilder.java:322-332 | thoth-jooq-pekko/src/main/java/fr/maif/eventsourcing/ReactivePostgresKafkaEventProcessorBuilder.java:421-431 | thoth-jooq-pekko/src/main/java/fr/maif/eventsourcing/ReactivePostgresKafkaEventProcessorBuilder.java:494-504 | thoth-jooq-pekko/src/main/java/fr/maif/eventsourcing/ReactivePostgresKafkaEventProcessorBuilder.java:580-590 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactorPostgresKafkaEventProcessorBuilder.java:295-306 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactorPostgresKafkaEventProcessorBuilder.java:390-401 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactorPostgresKafkaEventProcessorBuilder.java:461-472 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactorPostgresKafkaEventProcessorBuilder.java:545-556 | thoth-jooq/src/main/java/fr/maif/eventsourcing/PostgresKafkaEventProcessorBuilder.java:195-206 | thoth-jooq/src/main/java/fr/maif/eventsourcing/PostgresKafkaEventProcessorBuilder.java:445-456 | thoth-jooq/src/main/java/fr/maif/eventsourcing/PostgresKafkaEventProcessorBuilder.java:543-554 | thoth-jooq/src/main/java/fr/maif/eventsourcing/PostgresKafkaEventProcessorBuilder.java:728-739 | thoth-jooq/src/main/java/fr/maif/eventsourcing/PostgresKafkaEventProcessorBuilder.java:819-830 | thoth-kafka-consumer-pekko/src/main/java/fr/maif/kafka/consumer/ResilientKafkaConsumer.java:58-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-commons-events/src/main/java/fr/maif/eventsourcing/EventEnvelope.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2297783504664f058172baf4ed8dd9fbd6aa7e8d886d5e05687a80c78e0de707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): thoth-core-pekko/src/main/java/fr/maif/pekko/kafka/KafkaSettings.java:55-65 | thoth-core-reactor/src/main/java/fr/maif/reactor/kafka/KafkaSettings.java:50-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core-pekko/src/main/java/fr/maif/pekko/kafka/KafkaSettings.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c244906d202fd9f664129b704c094e79736d4dc2f281b35fe4e8358658aeff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): thoth-kafka-consumer-pekko/src/main/java/fr/maif/kafka/consumer/ResilientKafkaConsumer.java:335-345 | thoth-kafka-consumer-pekko/src/main/java/fr/maif/kafka/consumer/ResilientKafkaConsumer.java:357-367 \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":"thoth-kafka-consumer-pekko/src/main/java/fr/maif/kafka/consumer/ResilientKafkaConsumer.java"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3140a80ccd08accb44d0256564523d6803bf778d25fbb82afae01741c505c6f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): thoth-kafka-consumer-reactor/src/main/java/fr/maif/kafka/reactor/consumer/ResilientKafkaConsumer.java:266-276 | thoth-kafka-consumer-reactor/src/main/java/fr/maif/kafka/reactor/consumer/ResilientKafkaConsumer.java:286-296 \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":"thoth-kafka-consumer-reactor/src/main/java/fr/maif/kafka/reactor/consumer/ResilientKafkaConsumer.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"226ac5ccce644538999f363415329e38e8cb4b0b8cab75112fcd6d79c2550e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thoth-core-pekko/src/main/java/fr/maif/pekko/projections/EventuallyConsistentProjection.java:119-128 | thoth-kafka-consumer-reactor/src/main/java/fr/maif/reactor/projections/EventuallyConsistentProjection.java:118-127 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core-pekko/src/main/java/fr/maif/pekko/projections/EventuallyConsistentProjection.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7631b9066ce3db3bc243709a8da958ba7af8e06db21e835aa6989ce0383b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thoth-kafka-consumer-pekko/src/main/java/fr/maif/kafka/consumer/ResilientKafkaConsumer.java:172-181 | thoth-kafka-consumer-reactor/src/main/java/fr/maif/kafka/reactor/consumer/ResilientKafkaConsumer.java:153-162 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-kafka-consumer-pekko/src/main/java/fr/maif/kafka/consumer/ResilientKafkaConsumer.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c893a9ad4639c844b618270c900a69a1126f597644fd3c662eb54e4ba6c26a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thoth-kafka-consumer-pekko/src/main/java/fr/maif/kafka/consumer/ResilientKafkaConsumer.java:294-303 | thoth-kafka-consumer-pekko/src/main/java/fr/maif/kafka/consumer/ResilientKafkaConsumer.java:314-323 \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":"thoth-kafka-consumer-pekko/src/main/java/fr/maif/kafka/consumer/ResilientKafkaConsumer.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d08cd0c16036dfdf3f02d65f18179c48bf7ae7a0b04f7a1e71c94d18d6bc05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): thoth-core/src/main/java/fr/maif/eventsourcing/impl/AbstractDefaultAggregateStore.java:88-96 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/DefaultReactorAggregateStore.java:89-97 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core/src/main/java/fr/maif/eventsourcing/impl/AbstractDefaultAggregateStore.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b0bdd7e7f486e3473dc8df968aee9ab17212533e2ff948ba69ade8acde09eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): thoth-core/src/main/java/fr/maif/eventsourcing/vanilla/EventStore.java:84-92 | thoth-core/src/main/java/fr/maif/eventsourcing/EventStore.java:94-102 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core/src/main/java/fr/maif/eventsourcing/vanilla/EventStore.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"26998027011748d76d89859c0816aa1686fddaab4bbc6410941525dddf422a89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java:93-101 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java:118-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fc7e980c44e05d47ee0d2b015daf6ca977e98cdcde282a88a0c90331d887d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): thoth-core-reactor/src/main/java/fr/maif/reactor/eventsourcing/vanilla/InMemoryEventStore.java:78-86 | thoth-core-reactor/src/main/java/fr/maif/reactor/eventsourcing/InMemoryEventStore.java:79-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core-reactor/src/main/java/fr/maif/reactor/eventsourcing/vanilla/InMemoryEventStore.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"379cf90407de0633795dbe1473b38466d320ab186da48fa501105435c4c04aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): thoth-core-reactor/src/main/java/fr/maif/reactor/eventsourcing/vanilla/InMemoryEventStore.java:106-114 | thoth-core-reactor/src/main/java/fr/maif/reactor/eventsourcing/InMemoryEventStore.java:105-113 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core-reactor/src/main/java/fr/maif/reactor/eventsourcing/vanilla/InMemoryEventStore.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"097c9273cda9ec392db7f06c0dc3d030fdc0b3ebc0f25d209195afc57bf8ba62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): thoth-jooq/src/main/java/fr/maif/eventsourcing/impl/PostgresEventStore.java:398-405 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java:394-401 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-jooq/src/main/java/fr/maif/eventsourcing/impl/PostgresEventStore.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc63e3ad0151957d1e99525e5f45a267b3a9ea96a29574162c87b50be66dc66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): thoth-core-reactor/src/main/java/fr/maif/reactor/eventsourcing/vanilla/InMemoryEventStore.java:125-132 | thoth-core-reactor/src/main/java/fr/maif/reactor/eventsourcing/InMemoryEventStore.java:123-130 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core-reactor/src/main/java/fr/maif/reactor/eventsourcing/vanilla/InMemoryEventStore.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af6f271ecddd6f83ba4d16c6ecc35c6f9ec68f3092748b8c34408f001a79f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thoth-core/src/main/java/fr/maif/eventsourcing/impl/AbstractDefaultAggregateStore.java:76-82 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/DefaultReactorAggregateStore.java:76-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core/src/main/java/fr/maif/eventsourcing/impl/AbstractDefaultAggregateStore.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddcb9f2bb8aee9a4af5b308bd3e67f190365c0905595927de5f244e72131439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thoth-jooq/src/main/java/fr/maif/eventsourcing/impl/PostgresEventStore.java:358-364 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java:291-298 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-jooq/src/main/java/fr/maif/eventsourcing/impl/PostgresEventStore.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f131cea4f9bc443244ca3410f265398130b264ee276dd651b436a28ebda9b549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thoth-core/src/main/java/fr/maif/eventsourcing/vanilla/EventStore.java:140-146 | thoth-core/src/main/java/fr/maif/eventsourcing/EventStore.java:157-163 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core/src/main/java/fr/maif/eventsourcing/vanilla/EventStore.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe7dd34ea760a3d5260621e4bca7eeea7c864cc718df8c52406fd41cc3ffb4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): thoth-jooq/src/main/java/fr/maif/eventsourcing/impl/PostgresEventStore.java:243-248 | thoth-jooq/src/main/java/fr/maif/eventsourcing/impl/PostgresEventStore.java:254-259 \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":"thoth-jooq/src/main/java/fr/maif/eventsourcing/impl/PostgresEventStore.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d22bf39f6f0a4477994f6d8d71da03e34e575bea1f639f02bcfc0170e15e839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): thoth-core/src/main/java/fr/maif/eventsourcing/vanilla/ProcessingSuccess.java:65-70 | thoth-core/src/main/java/fr/maif/eventsourcing/ProcessingSuccess.java:53-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core/src/main/java/fr/maif/eventsourcing/vanilla/ProcessingSuccess.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f760210e1264209e1411e3264b34620e371ccec56f2b370a648ab95edd85e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java:344-349 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java:353-358 \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":"thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4b366da75368f7c8bfd1063e12715931b45b679137da8823ee887e2be4c7ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): thoth-jooq/src/main/java/fr/maif/eventsourcing/impl/PostgresEventStore.java:334-338 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java:267-271 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-jooq/src/main/java/fr/maif/eventsourcing/impl/PostgresEventStore.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"635feeb7ce032512769820c67837929d4994898f816d764b60e890df849fc23d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): thoth-core/src/main/java/fr/maif/eventsourcing/vanilla/Events.java:29-33 | thoth-core/src/main/java/fr/maif/eventsourcing/Events.java:30-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thoth-core/src/main/java/fr/maif/eventsourcing/vanilla/Events.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dc83ebf9fac56d5a1dc6bac65bd8b3e8c4f2004467cb31f53a321a859f3273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java:362-366 | thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java:371-375 \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":"thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresEventStore.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"5649df2598b7b8c592041fa8017a74e5f37c1c308d358362c7e16481679a0ffc"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 7 significant file(s) lose their only recent owner: thoth-jooq/src/main/java/fr/maif/eventsourcing/PostgresKafkaEventProcessorBuilder.java, thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactorPostgresKafkaEventProcessorBuilder.java, thoth-jooq-reactor/src/main/java/fr/maif/eventsourcing/ReactivePostgresKafkaEventProcessorBuilder.java, thoth-core/src/main/java/fr/maif/eventsourcing/EventProcessorImpl.java, thoth-core-reactor/src/main/java/fr/maif/reactor/eventsourcing/ReactorKafkaEventPublisher.java, thoth-jooq/src/main/java/fr/maif/eventsourcing/PostgresKafkaEventProcessor.java, thoth-demo/demo-postgres-kafka-reactive/src/main/java/com/example/demo/Bank.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0e3ed327ea512530ad073c925b695e27d914f88dd7cb4c88bb08d9c16b8a12a2"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (8 single-owned of 68 analysed files in total)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"254269a5e2a0cd24332ac8f1153fe9b1e2edbb9079e88c4f3ed999956a57fb3d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c15e03ac1fa47e87e1db1facbff939b0109157aa1a15ea9510ba7aa38b6e07cb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f0a16112392c96bce4f0ec0fba8067e07df18fe1ddbc94c299633f186ec7e0f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b53bbe81ce907c2a1feb91090b1bf98f3628a8116f7836ca096e1f73bd7babf3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c8694d526e1fd24315a74ef77dc54310e0398c7edf897842e9d95d2ad08d184"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 2 of 70 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it. None is large enough to schedule a dedicated read-through on its own, so they are folded into the freshness score rather than raised individually \u2014 largest first: thoth-tck/src/main/java/fr/maif/eventsourcing/datastore/DataStoreVerification.java, thoth-core/src/main/java/fr/maif/eventsourcing/impl/JdbcTransactionManager.java."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","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":"20126ed4709526f87d475ff3d3f5a5c0c8e2347aa62f04d622f907f75c430021"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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":12,"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."]}]}