{"$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":"BytecodeUtil.autoboxIfNeeded (cyclomatic 33): BytecodeUtil.autoboxIfNeeded has cyclomatic complexity 33 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9494daaafb2b61cae00061fb74a76d6cb0b1e39a0af5d0bb02870afad1e52dc8"}},{"ruleId":"D1","level":"warning","message":{"text":"AotRepositoryCreator.contributeMethod (cyclomatic 24): AotRepositoryCreator.contributeMethod has cyclomatic complexity 24 (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":"src/main/java/org/springframework/data/repository/aot/generate/AotRepositoryCreator.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21d9c3beb4bd07e25f844ddccd3a86ef0de2309d6824eeb07ca8b96b2b7da58"}},{"ruleId":"D1","level":"warning","message":{"text":"ResultProcessor.processResult (cyclomatic 18): ResultProcessor.processResult has cyclomatic complexity 18 (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":"src/main/java/org/springframework/data/repository/query/ResultProcessor.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea169f623fe91646d65a03059a36cb5df1663417f3f2abdedcc6d11e56bd2ed"}},{"ruleId":"D1","level":"warning","message":{"text":"InputMessageProjecting.invoke (cyclomatic 18): InputMessageProjecting.invoke has cyclomatic complexity 18 (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":"src/main/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactory.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bb735104395748c302e4517eae26af73452312b970add00c0dd42f6adae615"}},{"ruleId":"D1","level":"warning","message":{"text":"ObjectInstantiatorClassGenerator.insertUnboxInsns (cyclomatic 17): ObjectInstantiatorClassGenerator.insertUnboxInsns has cyclomatic complexity 17 (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":"src/main/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiator.java"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"8259a7da0b7e2720fdcdde853d47edeea54984d5b69961146444d2af24dcd8cc"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultValueExpressionParser.findPlaceholderEndIndex (cyclomatic 16): DefaultValueExpressionParser.findPlaceholderEndIndex 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":"src/main/java/org/springframework/data/expression/DefaultValueExpressionParser.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56873ba0f09191417672dc559e869b5fcdeeda28d9980790cea054d32ac8dd3"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectionUtils.getPrimitiveDefault (cyclomatic 16): ReflectionUtils.getPrimitiveDefault has cyclomatic complexity 16 (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":"src/main/java/org/springframework/data/util/ReflectionUtils.java"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"c851a2c331fc008af9871ed42882eef4d97b47720908c3c404b4d4759b621bca"}},{"ruleId":"D2","level":"warning","message":{"text":"AotRepositoryCreator.contributeMethod (cognitive 36): AotRepositoryCreator.contributeMethod has cognitive complexity 36 (threshold 15). Drivers by points: if/else 23, ternaries 7, boolean chains 6 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/springframework/data/repository/aot/generate/AotRepositoryCreator.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"492bc7f47758cd3fdcbd0c43e2369417efbf875395bde2aa84da1d80c50e1e04"}},{"ruleId":"D2","level":"warning","message":{"text":"BytecodeUtil.autoboxIfNeeded (cognitive 32): BytecodeUtil.autoboxIfNeeded has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 16, if/else 16. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"597cbf0862f40c7e5bdbbed57289b404b93044337af391c5915da02748a502dd"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultValueExpressionParser.findPlaceholderEndIndex (cognitive 28): DefaultValueExpressionParser.findPlaceholderEndIndex has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18, loops 6, boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/springframework/data/expression/DefaultValueExpressionParser.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc1db47bec99cde93d674471edb7e6425169aa6a8f0f73251f2e90e66fb58bc"}},{"ruleId":"D2","level":"warning","message":{"text":"InputMessageProjecting.invoke (cognitive 26): InputMessageProjecting.invoke has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 14, boolean chains 4, if/else 4, error handling 2, loops 1, match/switch 1 (nesting depth added 11). 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":"src/main/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactory.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3aa947ab6a1dc324231b3593e95563b50c791caab98b72f5a9eff79c131fafb"}},{"ruleId":"D2","level":"warning","message":{"text":"InstanceCreatorMetadataDiscoverer.discover (cognitive 24): InstanceCreatorMetadataDiscoverer.discover has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15, loops 6, boolean chains 3 (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":"src/main/java/org/springframework/data/mapping/model/InstanceCreatorMetadataDiscoverer.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a6b7f8776646196951d6ae590425a96bf0fe1c056164d0dca619e42c018b8e"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinInstantiationDelegate.findKotlinConstructor (cognitive 24): KotlinInstantiationDelegate.findKotlinConstructor has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21, ternaries 2, loops 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":"src/main/java/org/springframework/data/mapping/model/KotlinInstantiationDelegate.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c10f388c84d406d1bb9662dce9a254af6a8f37a180af9b7e416cf3d19ed5d3"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityProjectionIntrospector.getProperties (cognitive 23): EntityProjectionIntrospector.getProperties has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, ternaries 8, loops 1 (nesting depth added 11). 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":"src/main/java/org/springframework/data/projection/EntityProjectionIntrospector.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ce75762f49586c5c953bc4ed9d5297016da9fd00af9aac638af96fdfbd262e"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryExecutionResultHandler.postProcessInvocationResult (cognitive 21): QueryExecutionResultHandler.postProcessInvocationResult has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, ternaries 3, boolean chains 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":"src/main/java/org/springframework/data/repository/core/support/QueryExecutionResultHandler.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ca67708820b58c9bfd5c1b651ddc96a6b274c8ba90885aaf2beda731092b23"}},{"ruleId":"D2","level":"warning","message":{"text":"RepositoryMethodInvoker.\u003Cinit\u003E (cognitive 21): RepositoryMethodInvoker.\u003Cinit\u003E has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, ternaries 6, boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvoker.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"68226f27fc088be66dc2f38d3b5c681f33c8837dba2593d8c630f4d6ecd1bbdc"}},{"ruleId":"D2","level":"warning","message":{"text":"Parameters.\u003Cinit\u003E (cognitive 21): Parameters.\u003Cinit\u003E has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18, boolean chains 2, loops 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":"src/main/java/org/springframework/data/repository/query/Parameters.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"00229334b510a38e28dfa52bfbd3448894b8fe8dfde6d170eddc2d5f5cd51a71"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultProcessor.processResult (cognitive 20): ResultProcessor.processResult has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 4, loops 2 (nesting depth added 3). 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":"src/main/java/org/springframework/data/repository/query/ResultProcessor.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5f7ea73b799134fb95bb90f78b4b1ac5eb64cdb3324031a9e970fe58317335"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomConversions.isSupportedConverter (cognitive 19): CustomConversions.isSupportedConverter has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 12, if/else 4, boolean chains 3 (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":"src/main/java/org/springframework/data/convert/CustomConversions.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa14dd57c1c5fa56d44b29bae4672a17e07b7b241249ab7aa83a037e107c099b"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinBeanInfoFactory.collectKotlinProperties (cognitive 19): KotlinBeanInfoFactory.collectKotlinProperties has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 3, ternaries 3, loops 1 (nesting depth added 10). 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":"src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7f5453aca8328796b7a19ea2a8c50917217a10a049f4852ddec7d4c93bf69a"}},{"ruleId":"D2","level":"warning","message":{"text":"LambdaMethodVisitor.resolve (cognitive 18): LambdaMethodVisitor.resolve has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, loops 3, ternaries 2, boolean chains 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":"src/main/java/org/springframework/data/core/SerializableLambdaReader.java"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cf5c0ee61309b1b3373e35cbb334a7ecd70ac638aa6ac9a5ec0c56d680df9a"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectInstantiatorClassGenerator.insertUnboxInsns (cognitive 17): ObjectInstantiatorClassGenerator.insertUnboxInsns has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiator.java"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c44f113ecfad608cb7f4176f4685e83042ddfac779f5b9dae58662569c7f52"}},{"ruleId":"D2","level":"warning","message":{"text":"SimplePersistentPropertyPathAccessor.setProperty (cognitive 17): SimplePersistentPropertyPathAccessor.setProperty has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, loops 3, ternaries 1 (nesting depth added 5). 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":"src/main/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessor.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c581fedeb1bf648a803df1e5aaa08bbbe62bc9886b5c5727f0fc787ec66b943"}},{"ruleId":"D2","level":"warning","message":{"text":"QuerydslDefaultBinding.bind (cognitive 17): QuerydslDefaultBinding.bind has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, loops 6, ternaries 2 (nesting depth added 8). 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":"src/main/java/org/springframework/data/querydsl/binding/QuerydslDefaultBinding.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c917b7cf6c6949738dcdcf957234ed988e8e1cdb412932fdce579e5bb390bba6"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONTokener.readLiteral (cognitive 17): JSONTokener.readLiteral has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 3, error handling 3 (nesting depth added 3). 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":"src/main/java/org/springframework/data/repository/aot/generate/JSONTokener.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5211b1515b3951dceec6fb034caf6742e576a78b0b01443f9c3595b4f7f261"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONTokener.readObject (cognitive 17): JSONTokener.readObject has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 2, match/switch 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":"src/main/java/org/springframework/data/repository/aot/generate/JSONTokener.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaa845b310fd19c3096fc1cf308d4189590db162bc0db2dd6f952b9bdd346e4"}},{"ruleId":"D2","level":"warning","message":{"text":"RepositoryConfigurationExtensionSupport.isStrictRepositoryCandidate (cognitive 17): RepositoryConfigurationExtensionSupport.isStrictRepositoryCandidate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, ternaries 4, loops 2, boolean chains 1 (nesting depth added 5). 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":"src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9291de65aa76f61070590f8c29c1321d57fd48d6b57b34efcfbb89df340ce58b"}},{"ruleId":"D2","level":"warning","message":{"text":"RepositoryFactorySupport.getRepository (cognitive 17): RepositoryFactorySupport.getRepository has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 1, loops 1 (nesting depth added 4). 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":"src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef57e3afcde8c0b777019b80673ca985790f8b2f3dab8f94845e4d5bb71b3e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Parameters.\u003Cinit\u003E (cognitive 17): Parameters.\u003Cinit\u003E has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 16, loops 1 (nesting depth added 8). 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":"src/main/java/org/springframework/data/repository/query/Parameters.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4d5a92301f318b320872a968482b118b1c981576aca523917933a4aff709b1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BasicPersistentEntity: TooManyMethods \u2014 48 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":"src/main/java/org/springframework/data/mapping/model/BasicPersistentEntity.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c6ed8debf77af00c05da9a8c11672e43607cb7e5da6643a2c225f895ea2ed5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JSONObject: TooManyMethods \u2014 47 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":"src/main/java/org/springframework/data/repository/aot/generate/JSONObject.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"126bb5adf8a72e74e6e2fec303c05ba88dcf37cbe268257d74f1004a79b8cf9f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JSONArray: TooManyMethods \u2014 46 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":"src/main/java/org/springframework/data/repository/aot/generate/JSONArray.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"024143ba235b187e7c02a090861d7553d238b99206e46a8c2c65c1ea47b27e89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: model/ClassGeneratingPropertyAccessorFactory.java: FileTooLong \u2014 726 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: ClassGeneratingPropertyAccessorFactory (77-1512). 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":"src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fd2b0192fed30942c22640700def37570948367952082c43fafeee329eda96"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RepositoryFactorySupport: TooManyMethods \u2014 37 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d05575aa65d3fb76d702618be5b85f3d0d7f332fd4968d1566a8a137387a1d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractPersistentProperty: 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":"src/main/java/org/springframework/data/mapping/model/AbstractPersistentProperty.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"01724733efee15f0c19fb6931691b6e5f2afd5f2e5ee0d86d376cf2b874fc26f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PropertyAccessorClassGenerator: TooManyMethods \u2014 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0573d482fe88a61be4ffbfd35e56da397dcbf2a32295473ab1915c6f57370c0f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CdiRepositoryBean: TooManyMethods \u2014 34 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":"src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5254634d8dcbad6e969b6e35c8a44f4d8672613385f385f4ec99a032dd3be968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/org/springframework/data/repository/support/DomainClassConverter.java:166-179 | src/main/java/org/springframework/data/repository/support/DomainClassConverter.java:234-247 \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 \u0060src/main/java/org/springframework/data/repository/support/DomainClassConverter.java:166\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":"src/main/java/org/springframework/data/repository/support/DomainClassConverter.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb985ddc5a866b45cb7cd85af65d3e292860d2acc6c81222c29918791e725f94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/org/springframework/data/spel/spi/ParameterTypes.java:241-253 | src/main/java/org/springframework/data/util/ParameterTypes.java:242-254 \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 \u0060src/main/java/org/springframework/data/spel/spi/ParameterTypes.java:241\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":"src/main/java/org/springframework/data/spel/spi/ParameterTypes.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c53d7c776b084df33ba4199ed0f62de215e1b615f17e37da1d9f9334cc84260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/org/springframework/data/core/MemberDescriptor.java:172-183 | src/main/java/org/springframework/data/core/MemberDescriptor.java:222-233 \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":"src/main/java/org/springframework/data/core/MemberDescriptor.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fd81fb262de318d5fa06f5feb9b60a8eb5bfd5f6b83d42998680ff838e66fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiator.java:431-442 | src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:357-368 \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. 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":"src/main/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiator.java"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a2ef197dc50c10e281b94297e725bff84f5bb35433a999de11e0e1539881d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/org/springframework/data/mapping/model/MappingInstantiationException.java:124-135 | src/main/java/org/springframework/data/mapping/model/MappingInstantiationException.java:141-152 \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 \u0060src/main/java/org/springframework/data/mapping/model/MappingInstantiationException.java:124\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":"src/main/java/org/springframework/data/mapping/model/MappingInstantiationException.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73279b5d6371ebd47a76a63d1a3f0974b08639d121ebb7d58d2a5bad262170d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/org/springframework/data/repository/init/Jackson2ResourceReader.java:95-106 | src/main/java/org/springframework/data/repository/init/JacksonResourceReader.java:90-101 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/springframework/data/repository/init/Jackson2ResourceReader.java:95\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":"src/main/java/org/springframework/data/repository/init/Jackson2ResourceReader.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dea90053f83f099d75e9618428532aaea7f4c5765e274969c6d04c8352e529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/springframework/data/querydsl/binding/PropertyPathInformation.java:136-146 | src/main/java/org/springframework/data/querydsl/binding/QuerydslPathInformation.java:94-104 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/springframework/data/querydsl/binding/PropertyPathInformation.java:136\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":"src/main/java/org/springframework/data/querydsl/binding/PropertyPathInformation.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b3199a83c5d90c9ace11bda06529a7343e5cd0d1e720142118a8c4cc61eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/org/springframework/data/web/ProjectingJackson2HttpMessageConverter.java:116-126 | src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java:96-107 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/springframework/data/web/ProjectingJackson2HttpMessageConverter.java:116\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":"src/main/java/org/springframework/data/web/ProjectingJackson2HttpMessageConverter.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"353bb78a8c18dee1a3aab6627fb1f0d3c2db9ebf87271425b8e41c562fd74f3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/springframework/data/mapping/callback/DefaultEntityCallbacks.java:112-123 | src/main/java/org/springframework/data/mapping/callback/DefaultReactiveEntityCallbacks.java:115-124 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/springframework/data/mapping/callback/DefaultEntityCallbacks.java:112\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":"src/main/java/org/springframework/data/mapping/callback/DefaultEntityCallbacks.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab7254ebe42913c8a1e701225ca085c100ecb2a8e95539886349028120129ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:834-843 | src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:997-1006 \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 \u0060src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:834\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":"src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"739b6034db15c9731a032ae86831fa4b192d72a785382a530f75d3ce8d1cdb2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java:91-100 | src/main/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolver.java:83-92 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java:91\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":"src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4015ad89b128c09bd7236b7002b67ed34c6d657182b4e4e2915dad3a2f4eb629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java:244-253 | src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java:274-283 \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 \u0060src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java:244\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":"src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"531926a344db81493c60583c10aaa14ba97616beeb43dc8ee577da58086e5736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java:103-111 | src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java:128-136 \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 \u0060src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a22df3f0b73cab26e9a631159826966bb7383a87138cf99ef12c449338a46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/springframework/data/spel/spi/ParameterTypes.java:180-188 | src/main/java/org/springframework/data/util/ParameterTypes.java:181-189 \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 \u0060src/main/java/org/springframework/data/spel/spi/ParameterTypes.java:180\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":"src/main/java/org/springframework/data/spel/spi/ParameterTypes.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26ca30cfcf393e4d938b67b70f12ba582908783cba5038b0bac7509880a524b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/springframework/data/spel/spi/ParameterTypes.java:268-276 | src/main/java/org/springframework/data/util/ParameterTypes.java:269-277 \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 \u0060src/main/java/org/springframework/data/spel/spi/ParameterTypes.java:268\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":"src/main/java/org/springframework/data/spel/spi/ParameterTypes.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"9785649ca775d2e6b1ef76dd5dc46945cf327d66aab81b694120478138b567df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/springframework/data/mapping/callback/DefaultEntityCallbacks.java:69-76 | src/main/java/org/springframework/data/mapping/callback/DefaultReactiveEntityCallbacks.java:69-76 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/springframework/data/mapping/callback/DefaultEntityCallbacks.java:69\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":"src/main/java/org/springframework/data/mapping/callback/DefaultEntityCallbacks.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6258d31eaf8e110196cbe855f827e6c854f25c66838c1cb7f31cf40db119d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/springframework/data/spel/spi/ParameterTypes.java:229-236 | src/main/java/org/springframework/data/util/ParameterTypes.java:230-237 \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 \u0060src/main/java/org/springframework/data/spel/spi/ParameterTypes.java:229\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":"src/main/java/org/springframework/data/spel/spi/ParameterTypes.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a348e42e1e02ae2b93da18cdabdad580b4a42c8e71ca7c555468527b8ea8656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:914-920 | src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:1196-1203 | src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:1234-1240 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:914\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":"src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cee88fb433a5cec966d70fcaefe490e092e32e1c8f3218cafa770bf1a78b1a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:883-889 | src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:912-918 \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 \u0060src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:883\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":"src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f2f02d0ecea746113094de654bc99e57035d21469395d417de0d2eff431bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/org/springframework/data/mapping/model/InstanceCreatorMetadataDiscoverer.java:151-157 | src/main/java/org/springframework/data/mapping/model/PreferredConstructorDiscoverer.java:257-263 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/springframework/data/mapping/model/InstanceCreatorMetadataDiscoverer.java:151\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. 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":"src/main/java/org/springframework/data/mapping/model/InstanceCreatorMetadataDiscoverer.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce6b1d0bfe1738111c67a429e665f6d1853ce0248d5cee0ad64277ec79ef6f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:1076-1081 | src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:1192-1197 | src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:1230-1235 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:1076\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":"src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d3c5832789b1619609cba27c9302120dda7c369b2be3d7a7ad01ddd7f73e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/springframework/data/core/SerializableLambdaReader.java:404-409 | src/main/java/org/springframework/data/core/SerializableLambdaReader.java:450-455 \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 \u0060src/main/java/org/springframework/data/core/SerializableLambdaReader.java:404\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":"src/main/java/org/springframework/data/core/SerializableLambdaReader.java"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a034d588769f794508c7f8e2b0ef9fd49e0e27106b79ee06e1f067d5566da62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/springframework/data/core/TypedPropertyPaths.java:110-115 | src/main/java/org/springframework/data/core/TypedPropertyPaths.java:148-153 \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 \u0060src/main/java/org/springframework/data/core/TypedPropertyPaths.java:148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/springframework/data/core/TypedPropertyPaths.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"20eaea85125ddeb6835d1c41a1e12e99abe3a5202899249c5e4e7eb3b2a1b811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/springframework/data/geo/GeoJacksonModule.java:46-51 | src/main/java/org/springframework/data/geo/GeoModule.java:46-51 \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":"src/main/java/org/springframework/data/geo/GeoJacksonModule.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b1eccdbe82f70b4330817ae7071516f3ff6931f29d89917b1a9377d4bfb0a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvoker.java:226-231 | src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvoker.java:243-248 \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 \u0060src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvoker.java:226\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":"src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvoker.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"544b7ecb276d728977d892246c9d9f788c7c39ecafe8af3ea89e154f5072606f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/springframework/data/core/PropertyReferenceException.java:150-154 | src/main/java/org/springframework/data/mapping/context/InvalidPersistentPropertyPath.java:127-131 \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":"src/main/java/org/springframework/data/core/PropertyReferenceException.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d27550467ecbe0580543056fd2b709dc060df004d8b57f7b671406fad24f94"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 22 significant file(s) lose their only recent owner: src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java, src/main/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiator.java, src/main/java/org/springframework/data/repository/core/support/RepositoryComposition.java, src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupport.java, src/main/java/org/springframework/data/repository/util/QueryExecutionConverters.java, src/main/java/org/springframework/data/mapping/PersistentProperty.java, src/main/java/org/springframework/data/repository/config/AnnotationRepositoryConfigurationSource.java, src/main/java/org/springframework/data/repository/query/FluentQuery.java (\u002B14 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"544f7f2e8846cac93c49310bcc57d4059198a989ead72902b9d2da6e70cfe925"}},{"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 (23 single-owned of 400 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"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":"c8012c42d297dc9578a0981eaaa3ed7c6e73ed5aa3dc41882e27c10ca099fea5"},"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":"464094caaa2ae2bbbb51d7e323976813586959824e1e7f80a1a24d4889653a5f"},"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":"79e98e61b8a14b754f4bb461758fa1ff2524e949b2cd3f370026c6ea576f33e9"},"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":"cc7c4de14d25b7886667fcd6424e622b0c8b47fd2f9a106de780f27241e286d8"},"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":"ac516d91ca632bcc29bf763391c1c86d6af93b89b1dc98c592c703e074982fcd"},"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":"98fec5503ebd625b94a4b918ef2ee80d5050a239cf002dd92cf5836053e33fbb"},"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":"1c79afdb57944220757997b2e55b01e3128730bd64fb98b624ea4a33d9bf9130"},"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":"869bc08adc9a18ad52246bb034eaee122a55d50a1c26655d45f60ba889ba4cb7"},"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":"72542e0ad6cea2707da191bd794f181b34421ead507f66ab246812d8aa1339dd"},"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":"ac4b68fd969fb3c1e8ea3446c918d92422a0e0706bce9f095d3a09b5f098b720"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 77 of 400 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 (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: src/main/java/org/springframework/data/querydsl/binding/QuerydslBindings.java, src/main/java/org/springframework/data/repository/support/Repositories.java, src/main/java/org/springframework/data/web/PagedResourcesAssembler.java (and 74 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AotRepositoryInformation.java \u2194 DefaultAotRepositoryContext.java: \u0060src/main/java/org/springframework/data/repository/config/AotRepositoryInformation.java\u0060 and \u0060src/main/java/org/springframework/data/repository/config/DefaultAotRepositoryContext.java\u0060 change together 73% of the time (8 of the 11 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":"src/main/java/org/springframework/data/repository/config/AotRepositoryInformation.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"610fed5ca1693a89f232f5b05d28cd0244dce72d23821e7eb6276a22e8e4de3a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AotRepositoryBeanDefinitionPropertiesDecorator.java \u2194 AotRepositoryCreator.java: \u0060src/main/java/org/springframework/data/repository/aot/generate/AotRepositoryBeanDefinitionPropertiesDecorator.java\u0060 and \u0060src/main/java/org/springframework/data/repository/aot/generate/AotRepositoryCreator.java\u0060 change together 67% of the time (8 of the 12 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":"src/main/java/org/springframework/data/repository/aot/generate/AotRepositoryBeanDefinitionPropertiesDecorator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"118d7b73e47221d8e6f9628f0dbe5e5234e41a6bfb479838898ca7c2840850ae"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DefaultAotRepositoryContext.java \u2194 RepositoryRegistrationAotContribution.java: \u0060src/main/java/org/springframework/data/repository/config/DefaultAotRepositoryContext.java\u0060 and \u0060src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotContribution.java\u0060 change together 65% of the time (11 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/springframework/data/repository/config/DefaultAotRepositoryContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec87f929e2ea12650973206429f42a43f824f3fd3d21cc123e8396aeaf6b468f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AotRepositoryInformation.java \u2194 RepositoryRegistrationAotContribution.java: \u0060src/main/java/org/springframework/data/repository/config/AotRepositoryInformation.java\u0060 and \u0060src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotContribution.java\u0060 change together 64% of the time (7 of the 11 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":"src/main/java/org/springframework/data/repository/config/AotRepositoryInformation.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a22463c7867979914b7990adeb91b774893bc1485d3a4ac6f2ef82c98fa6d0b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AotRepositoryInformation.java \u2194 RepositoryRegistrationAotProcessor.java: \u0060src/main/java/org/springframework/data/repository/config/AotRepositoryInformation.java\u0060 and \u0060src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotProcessor.java\u0060 change together 55% of the time (6 of the 11 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":"src/main/java/org/springframework/data/repository/config/AotRepositoryInformation.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae39200995532ce14d8f95bcb96a4bb7a74a70417c5803c00bd2fe358b995946"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AotRepositoryContext.java \u2194 AotRepositoryInformation.java: \u0060src/main/java/org/springframework/data/repository/config/AotRepositoryContext.java\u0060 and \u0060src/main/java/org/springframework/data/repository/config/AotRepositoryInformation.java\u0060 change together 55% of the time (6 of the 11 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":"src/main/java/org/springframework/data/repository/config/AotRepositoryContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"832e0b397c8909ab66e6c7a254efde8c7af682f00034957a90d4b9231847f62e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DefaultAotRepositoryContext.java \u2194 RepositoryBeanDefinitionReader.java: \u0060src/main/java/org/springframework/data/repository/config/DefaultAotRepositoryContext.java\u0060 and \u0060src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionReader.java\u0060 change together 53% of the time (8 of the 15 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":"src/main/java/org/springframework/data/repository/config/DefaultAotRepositoryContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d8f1260fe65848501dc34a7a7d0eb3b7f2c1479aedc72185b053572a563bc8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CustomConversions.java \u2194 SimplePropertyValueConversions.java: \u0060src/main/java/org/springframework/data/convert/CustomConversions.java\u0060 and \u0060src/main/java/org/springframework/data/convert/SimplePropertyValueConversions.java\u0060 change together 50% of the time (9 of the 18 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":"src/main/java/org/springframework/data/convert/CustomConversions.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2dc487c9aec9e271fbc748f5df421842db629b7e2521cf8b18d7ec7923d25b"}}],"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-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":10,"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."]}]}