{"$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"},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"HttpEntityReturnMethodProcessor.handleReturnValue (cyclomatic 24): HttpEntityReturnMethodProcessor.handleReturnValue 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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"92826d6b9d02bda60e03e8cf6f9bf892c9150243058ea8b44355c7855b8b83a6"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomHttpEntityMethodProcessor.handleReturnValue (cyclomatic 24): CustomHttpEntityMethodProcessor.handleReturnValue has cyclomatic complexity 24 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b333f97fda7bd315d3440c28c980e7bcbe4ad0a5b0bd1f803a5bb08339ccad"}},{"ruleId":"D1","level":"warning","message":{"text":"BeanHelper.getDefaultValue (cyclomatic 19): BeanHelper.getDefaultValue has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-bean-component/src/main/java/com/zjj/bean/componenet/BeanHelper.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53fc8edd50f29dd35e6138d5c21b679baf1685ee05f3933a06139d849d81526"}},{"ruleId":"D1","level":"warning","message":{"text":"RootMethodResolver.\u003Cinit\u003E (cyclomatic 18): RootMethodResolver.\u003Cinit\u003E has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc80cebf3234a34a03b1c88ddee2f9aa1ceda0380141c059bf65c723c434aed"}},{"ruleId":"D1","level":"warning","message":{"text":"QuerydslConditionBinding.bind (cyclomatic 18): QuerydslConditionBinding.bind has cyclomatic complexity 18 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionBinding.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3844ad54c017695df7847024b3d5b04766fafcb1f1069b0c395f8c225a2b9d"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpEntityReturnMethodProcessor.handleReturnValue (cognitive 39): HttpEntityReturnMethodProcessor.handleReturnValue has cognitive complexity 39 (threshold 15). Drivers by points: if/else 33, boolean chains 4, ternaries 2 (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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3799e3e1ba20ae4f567c4b0e9fe68c5395744c7ba12b1b56771f608f86d50771"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomHttpEntityMethodProcessor.handleReturnValue (cognitive 39): CustomHttpEntityMethodProcessor.handleReturnValue has cognitive complexity 39 (threshold 15). Drivers by points: if/else 33, boolean chains 4, ternaries 2 (nesting depth added 13). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dc8f82165fd0bdfc53fe15a6afa54721c656e8fd77b0610c89014ec086e0a4"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandHandlerMethodProcessor.afterSingletonsInstantiated (cognitive 38): CommandHandlerMethodProcessor.afterSingletonsInstantiated has cognitive complexity 38 (threshold 15). Drivers by points: if/else 25, error handling 12, loops 1 (nesting depth added 27). 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":"zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/command/CommandHandlerMethodProcessor.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"845e8eaaa80a703a555d95e2c1ee4c946d4c592d48bfd5ed4a2576f5824aafcf"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthorizeObjectMethodProcessor.afterSingletonsInstantiated (cognitive 37): AuthorizeObjectMethodProcessor.afterSingletonsInstantiated has cognitive complexity 37 (threshold 15). Drivers by points: if/else 24, error handling 12, loops 1 (nesting depth added 27). 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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/object/AuthorizeObjectMethodProcessor.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68ec982461bbe3d281c83cce29e0add169cb77d2a4275ad5fd3c747b3cbed79"}},{"ruleId":"D2","level":"warning","message":{"text":"QuerydslConditionBinding.bind (cognitive 29): QuerydslConditionBinding.bind has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20, loops 6, boolean chains 3 (nesting depth added 11). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionBinding.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee952213110a545d36d5c3505fef835e97984b2a2a8b635709ef898d7c034630"}},{"ruleId":"D2","level":"warning","message":{"text":"QuerydslFuzzyBinding.bind (cognitive 28): QuerydslFuzzyBinding.bind has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15, ternaries 7, loops 6 (nesting depth added 13). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyBinding.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74ef202c31c7612dd56c0bb806282c41718512ab6a2acfea808625c84f0bf3e"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandHandlerMethodProcessor.processBean (cognitive 28): CommandHandlerMethodProcessor.processBean has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21, loops 3, boolean chains 2, error handling 2 (nesting depth added 16). 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":"zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/command/CommandHandlerMethodProcessor.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d28caa423225337f9b265234badf8424080ec3ef2c28dce62a4779a3bd4509"}},{"ruleId":"D2","level":"warning","message":{"text":"QuerydslFuzzyDataFetcher.getArgumentValues (cognitive 26): QuerydslFuzzyDataFetcher.getArgumentValues has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14, loops 11, boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c668a3cc87c4f00f040cc1b1e7dbdf1b4ad0e89ea09847eb3c1c057e48c1468"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthorizeObjectMethodProcessor.processBean (cognitive 24): AuthorizeObjectMethodProcessor.processBean has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17, loops 3, boolean chains 2, error handling 2 (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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/object/AuthorizeObjectMethodProcessor.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfb00ab67007a16c2ccbb18655befb99dfd27b50b5edeab5602ff98414a296c"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthorizeObjectMethodProcessor.processPreAuthorizeObject (cognitive 24): AuthorizeObjectMethodProcessor.processPreAuthorizeObject has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12, loops 9, error handling 2, boolean chains 1 (nesting depth added 14). 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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/object/AuthorizeObjectMethodProcessor.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d12ace9d6dc112139f6a8ba7cb3e8e8bbd55f8dddb1cd87f321ad49ad7e1e48"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityContext.parseManageType (cognitive 23): EntityContext.parseManageType has cognitive complexity 23 (threshold 15). Drivers by points: if/else 21, boolean chains 1, 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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/context/EntityContext.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c791d29d9edf22bdafd315fe5c34d8fabe979b43d489ac48b7cbe428f128d649"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpEntityReturnMethodProcessor.getVaryRequestHeadersToAdd (cognitive 19): HttpEntityReturnMethodProcessor.getVaryRequestHeadersToAdd has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, loops 9 (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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8c60ea88ddc90316f7a9e2f7ba5dad0ea8d5f5c774fe47b144da730b438c97"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomHttpEntityMethodProcessor.getVaryRequestHeadersToAdd (cognitive 19): CustomHttpEntityMethodProcessor.getVaryRequestHeadersToAdd has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, loops 9 (nesting depth added 13). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4e927b24c97bfaff059564e5ceba2a55e88fd42026d6baf7bbc395e70adea0"}},{"ruleId":"D2","level":"warning","message":{"text":"TenantSelector.selectImports (cognitive 18): TenantSelector.selectImports has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, boolean chains 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":"zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-datasource-component/src/main/java/com/zjj/tenant/datasource/component/configuration/TenantSelector.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b18ce101d2bae9df0a8a26445dbb976de5a0d74be4c129fc23afe75555ad19"}},{"ruleId":"D2","level":"warning","message":{"text":"BeanHelper.getDefaultValue (cognitive 18): BeanHelper.getDefaultValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 7, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-bean-component/src/main/java/com/zjj/bean/componenet/BeanHelper.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e956cbefe7c9ebdd3c5acd87bba47fdb4ad204b4168da0fcd9c678363ee6be"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectEntityParser.toObjectAttribute (cognitive 17): ObjectEntityParser.toObjectAttribute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, error handling 3 (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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/object/ObjectEntityParser.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e16ea8a17836cd41a7f1233c21008c1b9008354b70187c723b26d40a9839e47"}},{"ruleId":"D2","level":"warning","message":{"text":"RootMethodResolver.\u003Cinit\u003E (cognitive 17): RootMethodResolver.\u003Cinit\u003E has cognitive complexity 17 (threshold 15). Drivers by points: error handling 17. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"973e8f5efd83dc26820331831838d93c8d950c96ef703d86e505b67f8b74208c"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityBuilder.bind (cognitive 17): EntityBuilder.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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/EntityBuilder.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c83cff24af49a11993c72e02d554f8381b9b07d6f13218ca48f5cbf07a678d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassUtils.findGenericTypeClass (cognitive 17): ClassUtils.findGenericTypeClass has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, loops 6, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/utils/ClassUtils.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d8b2a55eb2fb02b249b7f40ba2c83d4d5b49db0500bb84cbde3c14ae85fb61"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedissonCaffeineCache: TooManyMethods \u2014 38 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":"zero-ddd-component/zero-ddd-storage-component/zero-ddd-l2-cache-component/src/main/java/com/zjj/l2/cache/component/supper/RedissonCaffeineCache.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90b81b5a9fa28c1b2a89c64efde046471ae762588c63af4c818ec3788f93250"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultExcelTemplate: 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":"zero-ddd-component/zero-ddd-excel-component/src/main/java/com/zjj/excel/component/builder/DefaultExcelTemplate.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5595fa678da0423ca048c60a9d2ca65933ec13bfc55d5091a47857bc678e07e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DomainBeanHelper: 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":"zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/DomainBeanHelper.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a4ef3fabeec67b8158de56f01aeedac029e620dac05d5107c4d80fe3f1a1a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:290-306 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java:237-253 \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 \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:290\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f4cf4e64c4e0a14e06e71791cc47eb71f6860a329a25e44bcb4adf409cc366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:318-334 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java:265-281 \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 \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:318\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1813f5e2cdc375809570047d9af3c388363a6397f1ada9e1ce267275f5d41b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/CoreAutoConfig.java:172-187 | zero-business/zero-example/src/main/java/com/zjj/example/controller/WebConfig.java:42-57 \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 \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/CoreAutoConfig.java:172\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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/CoreAutoConfig.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad686f7365dea0c4d5e604794238f4aa9a6c2268f498ae503ef10e63998473be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/supper/definition/EntityConditionQueryDefinitionConfigurer.java:85-98 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/supper/definition/EntityFuzzyQueryDefinitionConfigurer.java:77-90 \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 \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/supper/definition/EntityConditionQueryDefinitionConfigurer.java:85\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/supper/definition/EntityConditionQueryDefinitionConfigurer.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52a19041388e88b22105e51b9136e21066774a056a9fc984474f8a2dfc32764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:135-148 | zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java:157-170 \u2014 before extracting anything, compare \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java\u0060 and \u0060zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:135\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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4372236fec09f659fe84742b64fe9676f108b9a62c3ec3ce3376d7484479143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:235-248 | zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java:256-269 \u2014 before extracting anything, compare \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java\u0060 and \u0060zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:235\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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7b5d80b5f75b13293e95327cba3e1ce58fac94762280ba5a8ae8e5349e6f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/object/AuthorizeObjectMethodProcessor.java:79-91 | zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/command/CommandHandlerMethodProcessor.java:87-99 \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 \u0060zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/object/AuthorizeObjectMethodProcessor.java:79\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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/object/AuthorizeObjectMethodProcessor.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e146f21194f1657202ea9f755bbddb1ba7e167aaffa4b9acf07840a02f247b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionBinding.java:67-79 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/EntityBuilder.java:177-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 \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionBinding.java:67\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionBinding.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddbb3ec9345e337b081ded2167bfcadd14c91a9023ffae89f06b7ce260e034f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilder.java:109-121 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilder.java:140-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. 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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilder.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c31bb6a591f1e01c39ce43e21be3f346e7c7195f893533dc7c9346bd07e3a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zero-ddd-component/zero-ddd-security-component/zero-ddd-security-tenant-component/src/main/java/com/zjj/security/tenant/component/configuration/ReactiveTenantJwtCacheSelector.java:39-50 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-tenant-component/src/main/java/com/zjj/security/tenant/component/configuration/TenantJwtCacheSelector.java:40-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zero-ddd-component/zero-ddd-security-component/zero-ddd-security-tenant-component/src/main/java/com/zjj/security/tenant/component/configuration/ReactiveTenantJwtCacheSelector.java:39\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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-tenant-component/src/main/java/com/zjj/security/tenant/component/configuration/ReactiveTenantJwtCacheSelector.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"403abd78c3a60a48de08edf658c8c2a83bf54d6de64fcf0a29555fb6556d82e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/object/AuthorizeObjectMethodProcessor.java:232-243 | zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/command/CommandHandlerMethodProcessor.java:130-141 \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 \u0060zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/object/AuthorizeObjectMethodProcessor.java:232\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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/object/AuthorizeObjectMethodProcessor.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdff3ca2bf957546ba76480c291bfd1b211635d2c96bc4a6ba1122a378c293cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java:229-240 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java:257-268 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d986996e3bf12962ce00eb12d4e9af1cfdc790b88cef894bd1a903d9a338ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/supper/definition/EntityFuzzyQueryDefinitionConfigurer.java:55-66 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/supper/definition/EntityQueryDefinitionConfigurer.java:54-65 \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 \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/supper/definition/EntityFuzzyQueryDefinitionConfigurer.java:55\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/supper/definition/EntityFuzzyQueryDefinitionConfigurer.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2d52388b514fff83ff467bba23bce89b556602920b9e64d55f2bc6ec42cc98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/EntityBuilder.java:261-272 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilder.java:226-237 \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 \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/EntityBuilder.java:261\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/EntityBuilder.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e6db91ada551672906a648403d901a44e1278244e6067225cee6388710604c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/DomainBeanHelper.java:311-322 | zero-ddd-component/zero-ddd-bean-component/src/main/java/com/zjj/bean/componenet/BeanHelper.java:225-236 \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 \u0060zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/DomainBeanHelper.java:311\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":"zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/DomainBeanHelper.java"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"721d4fc8a06513e763c44323540f5a662335c37b12df66623a9f3b25d2fe3a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:64-75 | zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java:88-99 \u2014 before extracting anything, compare \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java\u0060 and \u0060zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:64\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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e0e6585047eb3e5772337e5915bcdbd64cd271e446f24d45dce6738a65cef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:117-128 | zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java:139-150 \u2014 before extracting anything, compare \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java\u0060 and \u0060zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:117\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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f229f5a2b9f4a5e2dd28bad63b6efa621104974817f7a7adef6eed8d069615b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:581-591 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:631-641 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java:528-538 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java:578-588 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:581\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dc70088b1f20e86ddbfd091891d246c57da3fabe2dfa9df069189725bb4f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-mix-component/src/main/java/com/zjj/tenant/mix/component/TenantMixedDataSourceRoutingDatasource.java:115-125 | zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-database-component/src/main/java/com/zjj/tenant/database/component/TenantDataSourceRoutingDatasource.java:104-114 \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 \u0060zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-mix-component/src/main/java/com/zjj/tenant/mix/component/TenantMixedDataSourceRoutingDatasource.java:115\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":"zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-mix-component/src/main/java/com/zjj/tenant/mix/component/TenantMixedDataSourceRoutingDatasource.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b2ee99dd27eb560deb0a68225025c64c42b412ca27487ea665b68e176847ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:488-499 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java:436-446 \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 \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:488\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc12e29da18c90c8ea6271fb9d949c33135265e6efa8341d6377a7297715af4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:701-711 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java:648-658 \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 \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:701\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c95ddd9ba556f45ecf8c59212028abe7f613b7c52e9beb577e27b09ddff381"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyBinding.java:102-112 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/EntityBuilder.java:203-214 \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 \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyBinding.java:102\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyBinding.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d39efb318990d6403c793fc8fd86c7a612b2baa93a1a3b17987a79cd52d983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/supper/definition/EntityFuzzyQueryDefinitionConfigurer.java:34-44 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/supper/definition/EntityQueryDefinitionConfigurer.java:40-50 \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 \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/supper/definition/EntityFuzzyQueryDefinitionConfigurer.java:34\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/supper/definition/EntityFuzzyQueryDefinitionConfigurer.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"502782b9a19d0dc2aca8d6ddf04c830b4b3f941e9a56c5e742734f443a0bbd11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/DomainBeanHelper.java:248-258 | zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/DomainBeanHelper.java:278-288 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/DomainBeanHelper.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c982f42a7a3545c11f0e9c8993c933d83ef60fa706607e14298b8c615a0f10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): zero-ddd-component/zero-ddd-bean-component/src/main/java/com/zjj/bean/componenet/BeanHelper.java:250-260 | zero-ddd-component/zero-ddd-bean-component/src/main/java/com/zjj/bean/componenet/BeanHelper.java:264-274 \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 \u0060zero-ddd-component/zero-ddd-bean-component/src/main/java/com/zjj/bean/componenet/BeanHelper.java:250\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":"zero-ddd-component/zero-ddd-bean-component/src/main/java/com/zjj/bean/componenet/BeanHelper.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f187fb02f3365f9c13d0f8e7feb004980172151f76f2c43d340db23c21de3c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): zero-ddd-component/zero-ddd-security-component/zero-ddd-security-rbac-component/src/main/java/com/zjj/security/rbac/component/locator/GraphqlResourceLocator.java:27-36 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-rbac-component/src/main/java/com/zjj/security/rbac/component/locator/HttpResourceLocator.java:25-34 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-rbac-component/src/main/java/com/zjj/security/rbac/component/locator/ReactiveGraphqlResourceLocator.java:31-40 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-rbac-component/src/main/java/com/zjj/security/rbac/component/locator/ReactiveHttpResourceLocator.java:26-35 \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 \u0060zero-ddd-component/zero-ddd-security-component/zero-ddd-security-rbac-component/src/main/java/com/zjj/security/rbac/component/locator/GraphqlResourceLocator.java:27\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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-rbac-component/src/main/java/com/zjj/security/rbac/component/locator/GraphqlResourceLocator.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f736141d7aba6b4ecd5f6d93af64a0b11286ce12796805ca931fb10c47f5c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): zero-ddd-component/zero-ddd-excel-component/src/main/java/com/zjj/excel/component/builder/DefaultExcelTemplate.java:133-142 | zero-ddd-component/zero-ddd-excel-component/src/main/java/com/zjj/excel/component/builder/DefaultExcelTemplate.java:178-187 | zero-ddd-component/zero-ddd-excel-component/src/main/java/com/zjj/excel/component/builder/DefaultExcelTemplate.java:362-371 | zero-ddd-component/zero-ddd-excel-component/src/main/java/com/zjj/excel/component/builder/DefaultExcelTemplate.java:407-416 \u2014 all 4 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. 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":"zero-ddd-component/zero-ddd-excel-component/src/main/java/com/zjj/excel/component/builder/DefaultExcelTemplate.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2591354ceb871c78863585cfafd7250d258c17e5fefe4a18fab583a3a65086ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/AbacPostAuthorizeExpressionAttributeRegistry.java:38-47 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/AbacPreAuthorizeExpressionAttributeRegistry.java:41-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. 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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/AbacPostAuthorizeExpressionAttributeRegistry.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc31dd3a0c60f574940b9699adbe21b468beb88820b94c2f2b90cc48c2f3c399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:439-448 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java:386-395 \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 \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:439\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf2ab9aacf74f956f58fa987a67c7fc5a08a7d4f118c3f5ebc479735be27faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): zero-ddd-component/zero-ddd-excel-component/src/main/java/com/zjj/excel/component/builder/DefaultExcelTemplate.java:88-97 | zero-ddd-component/zero-ddd-excel-component/src/main/java/com/zjj/excel/component/builder/DefaultExcelTemplate.java:317-326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-excel-component/src/main/java/com/zjj/excel/component/builder/DefaultExcelTemplate.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"06dc9eb41cc2b91570a7e77d9908a5058bf6f2148311f55e3d0866b092a467ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:203-212 | zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java:224-233 \u2014 before extracting anything, compare \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java\u0060 and \u0060zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:203\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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ca0b0ffb5df072cf63a7cf5279b1b31229a7aee2a02ca57b0a5886d39360d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:29-37 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:65-73 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:74-82 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:83-91 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:92-100 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:101-109 \u2014 all 6 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. 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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"495928285fda61bfc31d4f1c83d3afaa9b5925e0b04085a2457fa6f959638b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-datasource-component/src/main/java/com/zjj/tenant/datasource/component/configuration/TenantSelector.java:70-78 | zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-datasource-component/src/main/java/com/zjj/tenant/datasource/component/configuration/TenantSelector.java:81-90 | zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-datasource-component/src/main/java/com/zjj/tenant/datasource/component/configuration/TenantSelector.java:93-103 \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 \u0060zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-datasource-component/src/main/java/com/zjj/tenant/datasource/component/configuration/TenantSelector.java:70\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":"zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-datasource-component/src/main/java/com/zjj/tenant/datasource/component/configuration/TenantSelector.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b306816e460b4eb1240351a6409522aa5b6810e0e3a6d617078eef3bcc04f678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:675-683 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java:622-630 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b94dde614f8d8e67d294d18aca72f0bfbf229b7d7243344b8350427193ab48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/EntityBuilder.java:277-285 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilder.java:242-250 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/EntityBuilder.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3087c0f0f1b2aa57a6a29c00916df86dc92c6d5757210bbd406ed2d75c8d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/EntityBuilder.java:305-313 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilder.java:270-278 \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 \u0060zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/EntityBuilder.java:305\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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/org/springframework/data/querydsl/binding/EntityBuilder.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb07ba8badd78891e6ee3322fdb03adf7caa7bd865707cb4adb45003479b35b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:82-90 | zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java:106-114 \u2014 before extracting anything, compare \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java\u0060 and \u0060zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:82\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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e06435a7cd32581080b2db0b56f32bbb842cc406ad11e3cd2a375fe8fb8b347"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:105-112 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:142-149 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:160-167 \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 \u0060zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1586b15a585b99a3af35f106984bbeaaf70e82b47edd267dd7a511705cb347a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-service-component/src/main/java/com/zjj/tenant/service/component/service/SimpleTenantDataSourceService.java:28-35 | zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-service-component/src/main/java/com/zjj/tenant/service/component/service/SimpleTenantSingleDataSourceService.java:29-36 \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 \u0060zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-service-component/src/main/java/com/zjj/tenant/service/component/service/SimpleTenantDataSourceService.java:28\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-service-component/src/main/java/com/zjj/tenant/service/component/service/SimpleTenantDataSourceService.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5431123cc701046a5a5f10ee4f14ba06d44521325c7a7e87c1839ccd8371fe78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): zero-ddd-component/zero-ddd-security-component/zero-ddd-security-jwt-component/src/main/java/com/zjj/security/jwt/component/supper/DefaultJwtReactiveRenewFilter.java:37-44 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-jwt-component/src/main/java/com/zjj/security/jwt/component/supper/DefaultJwtRenewFilter.java:39-46 \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 \u0060zero-ddd-component/zero-ddd-security-component/zero-ddd-security-jwt-component/src/main/java/com/zjj/security/jwt/component/supper/DefaultJwtReactiveRenewFilter.java:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-jwt-component/src/main/java/com/zjj/security/jwt/component/supper/DefaultJwtReactiveRenewFilter.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f20e3c852c5d211f6ca89fe126e5d5da6287d3fa4f13f01ed526887d268ab98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:48-55 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:130-137 \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 \u0060zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/RootMethodResolver.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0be65cc15f128b28090a6b1b8ac07a78a3b18110d9091cbf56122e9b3338db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/Aggregate.java:28-35 | zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/BaseEntity.java:123-130 \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 \u0060zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/Aggregate.java:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-domain-component/src/main/java/com/zjj/domain/component/Aggregate.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2cc51125410110f008c6a66453a5c5d178ae702cbe0b684a04a55cc2fc7744"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): zero-business/zero-main-business/zero-main-domain-business/src/main/java/com/zjj/main/domain/role/RoleAgg.java:36-43 | zero-business/zero-main-business/zero-main-domain-business/src/main/java/com/zjj/main/domain/role/RoleAgg.java:54-61 \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":"zero-business/zero-main-business/zero-main-domain-business/src/main/java/com/zjj/main/domain/role/RoleAgg.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b312c3afafd033d1db998272d3818ac45f69631d75dc26322eb2210751b4e37a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): zero-business/zero-main-business/zero-main-infrastructure-business/src/main/java/com/zjj/main/infrastructure/repository/UserRepositoryImpl.java:43-49 | zero-business/zero-main-business/zero-main-infrastructure-business/src/main/java/com/zjj/main/infrastructure/repository/UserRepositoryImpl.java:56-62 | zero-business/zero-main-business/zero-main-infrastructure-business/src/main/java/com/zjj/main/infrastructure/repository/UserRepositoryImpl.java:69-75 \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 \u0060zero-business/zero-main-business/zero-main-infrastructure-business/src/main/java/com/zjj/main/infrastructure/repository/UserRepositoryImpl.java:43\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":"zero-business/zero-main-business/zero-main-infrastructure-business/src/main/java/com/zjj/main/infrastructure/repository/UserRepositoryImpl.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f22287b612c82636a6fbdb4788302175e27ebc60de5732bc5edd02022e62c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-mix-component/src/main/java/com/zjj/tenant/mix/component/TenantMixedDataSourceRoutingDatasource.java:61-67 | zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-database-component/src/main/java/com/zjj/tenant/database/component/TenantDataSourceRoutingDatasource.java:60-66 \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 \u0060zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-mix-component/src/main/java/com/zjj/tenant/mix/component/TenantMixedDataSourceRoutingDatasource.java:61\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":"zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-mix-component/src/main/java/com/zjj/tenant/mix/component/TenantMixedDataSourceRoutingDatasource.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f643b6247da5038f66f2f34153a2df88da95577d8923c0468c037930ba2b5f0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/AbacPostAuthorizationManager.java:72-78 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/AbacPreAuthorizationManager.java:47-53 \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 \u0060zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/AbacPostAuthorizationManager.java:72\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":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-abac-component/src/main/java/com/zjj/security/abac/component/supper/AbacPostAuthorizationManager.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e859898472186e908c8faaf3771bbfbea96ad1c503ee024b672ef6a6520e4e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:184-190 | zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java:205-211 \u2014 before extracting anything, compare \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java\u0060 and \u0060zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c2469d062b87b03e741e865a8ecfc794591e78ad9d118f9dc18770d2e427e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:219-225 | zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java:240-246 \u2014 before extracting anything, compare \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java\u0060 and \u0060zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c2c69be59627590f268e03d05e1934aaddad168f6134b90f7e4c15bdd53d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-mix-component/src/main/java/com/zjj/tenant/mix/component/TenantMixedDataSourceRoutingDatasource.java:243-248 | zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-database-component/src/main/java/com/zjj/tenant/database/component/TenantDataSourceRoutingDatasource.java:193-198 \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 \u0060zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-mix-component/src/main/java/com/zjj/tenant/mix/component/TenantMixedDataSourceRoutingDatasource.java:243\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":"zero-ddd-component/zero-ddd-tenant-component/zero-ddd-tenant-mix-component/src/main/java/com/zjj/tenant/mix/component/TenantMixedDataSourceRoutingDatasource.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4a64602f3c4106f09a649c7e8dc07144709664008e6b7cd425624acb263844"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java:198-203 | zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java:145-150 \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":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a407e67af9c0b5d72e7416af7efbeda9b416c8afc59370ce3a159547e0e8fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:96-101 | zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java:118-123 \u2014 before extracting anything, compare \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java\u0060 and \u0060zero-business/zero-example/src/main/java/com/zjj/example/controller/CustomHttpEntityMethodProcessor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java:96\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":"zero-ddd-component/zero-ddd-core-component/src/main/java/com/zjj/core/component/api/HttpEntityReturnMethodProcessor.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"247f4575a5a7e2c4aedd86193e2af4a45bcc41d2105e141b7b0988a9f8f87926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zero-ddd-component/zero-ddd-security-component/zero-ddd-security-core-component/src/main/java/com/zjj/security/core/component/supper/reactive/DefaultReactiveAccessDeniedHandler.java:34-38 | zero-ddd-component/zero-ddd-security-component/zero-ddd-security-core-component/src/main/java/com/zjj/security/core/component/supper/reactive/DefaultReactiveAuthenticationEntryPoint.java:32-37 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-security-component/zero-ddd-security-core-component/src/main/java/com/zjj/security/core/component/supper/reactive/DefaultReactiveAccessDeniedHandler.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0661ab8782356485c33092e832b9236acccd98ad99b07c247df10643069a99c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): zero-business/zero-main-business/zero-main-infrastructure-business/src/main/java/com/zjj/main/infrastructure/repository/RoleRepositoryImpl.java:34-43 | zero-business/zero-main-business/zero-main-infrastructure-business/src/main/java/com/zjj/main/infrastructure/repository/RoleRepositoryImpl.java:66-70 \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 \u0060zero-business/zero-main-business/zero-main-infrastructure-business/src/main/java/com/zjj/main/infrastructure/repository/RoleRepositoryImpl.java:66\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":"zero-business/zero-main-business/zero-main-infrastructure-business/src/main/java/com/zjj/main/infrastructure/repository/RoleRepositoryImpl.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b77d00a3c0b5f5f1773788a3732cef3479196f32970f57ef6226edb208468cf"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81e64b35159498186153f05a88ce85eda4497b0effc8c02059bcf7a4fc737d15"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe56db998562d8328f1f4388d6ca32eb69cfcfddc0aa4328ec2eb660010e4343"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f4563b53056c61cccd795a3dd4024b3b6e4798c0c17138733b335f7e668c97b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D16","level":"note","message":{"text":"Small-team knowledge concentration: 8 file(s) are concentrated to one author \u2014 the ambient state with 2 active author(s), not 8 separate risks. The signal becomes meaningful as ownership spreads; no per-file action implied now."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8aa75b6daa18f1b578387fa04036c50b3163d47f957c8f5601bf083ed4489b0c"}},{"ruleId":"D28","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":"b4064a18a3371328709d77f97115fe2f6a4a4b2779dc1dfa0e04dc70fc69a5ae"}},{"ruleId":"D28","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":"e5e6d21ea93963e5c864ff5ff509adcdbfa7fcada8a51d5cfcfa91e789463b40"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"5a96fbec37f612f794843be2e9167790894a65b4a831ec27d24be2326c6a94ed"},"taxa":[{"id":"CWE-94","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":"9cadf52507045740968c006b1cd8e72a5c07469bd7cd04480c25ffbf9129422a"},"taxa":[{"id":"CWE-94","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":"e1674c7001e4d3164ee861f06248daf877490d403d5aac301b8c85ef88fddf7e"},"taxa":[{"id":"CWE-94","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":"d192f7a0c86882f28535d3abe9516bfcd5286e3a1be997d7ae4962d44cf9be0e"},"taxa":[{"id":"CWE-94","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":"bd556f4c07131da6b4a4a4b4a02e8998e080ebbb0d37637f7e9f771fc7e59f49"},"taxa":[{"id":"CWE-94","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":"6eca4241793e6e4a4e1aef530667bdbbeee87e22c0452a11bbd6e8b63f8b56b7"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 171 of 179 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 171 separate risks. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/condition/QuerydslConditionDataFetcher.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c3ebcd0191d16ed98cdef6f01d16809ebf9a052b83d57b80dfbf7640734ffd"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-graphql-component/src/main/java/com/zjj/graphql/component/query/fuzzy/QuerydslFuzzyDataFetcher.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a31090a6cb111d98793a96159cdb0c51c17e99a8f4e97fb5d4b75be75a94b9"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zero-ddd-component/zero-ddd-autoconfigure-component/src/main/java/com/zjj/autoconfigure/component/security/SecurityUser.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d28dac3cb59e8f8c245fb74aa4439838a7ece298256032e39b845305bc84ebf"}},{"ruleId":"D37","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":"9d03e50e45de791a350ebf595fcb3269575c0543260ac6707c4b73e65639738e"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.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-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":13,"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."]}]}