{"$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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ParserContext.parse (cyclomatic 46): ParserContext.parse has cyclomatic complexity 46 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/sql/ParserContext.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7c7a1b02f6a904150abce1f1bda5d31ed814333740d523105937c12c333620"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultSqlNormalizer.combineOutputParams (cyclomatic 36): DefaultSqlNormalizer.combineOutputParams has cyclomatic complexity 36 (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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/sql/DefaultSqlNormalizer.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6496d9b19fd98b9406587fc11a980566860db09cc10282132e9681810ff3221"}},{"ruleId":"D1","level":"warning","message":{"text":"AntPathMatcher.doMatch (cyclomatic 35): AntPathMatcher.doMatch has cyclomatic complexity 35 (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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/util/spring/AntPathMatcher.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ada5e485f6643b7dacd8d51925b5292cb902dd8692383463ba150602fddd079"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMongoJsonParser.combineBindValues (cyclomatic 27): DefaultMongoJsonParser.combineBindValues has cyclomatic complexity 27 (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":"web/src/main/java/com/navercorp/pinpoint/web/query/util/DefaultMongoJsonParser.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"324c0a651a3e1f4c002c483990c4430c6bfb079bcd36104d5296d225389d9b0b"}},{"ruleId":"D1","level":"warning","message":{"text":"OtlpTraceSpanEventMapper.map (cyclomatic 23): OtlpTraceSpanEventMapper.map has cyclomatic complexity 23 (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":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddcbecbeab90baf6152010abee7140cb8a8472a881c1dc3177c676b85f976fa"}},{"ruleId":"D1","level":"warning","message":{"text":"OtlpTraceSpanMapper.map (cyclomatic 22): OtlpTraceSpanMapper.map has cyclomatic complexity 22 (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":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanMapper.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8253cb9fae25dd8eccdf4487ab0a54febd77414b595986aeb9c6d330e4ee57c5"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotatedInterceptorFactory.wrapByExceptionHandle (cyclomatic 21): AnnotatedInterceptorFactory.wrapByExceptionHandle has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/interceptor/factory/AnnotatedInterceptorFactory.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff26eb38023adcb4a6213cdced165ebd30ba8896d40f39456a4b36a87d91077"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotatedInterceptorFactory.wrapByExceptionHandleScope (cyclomatic 21): AnnotatedInterceptorFactory.wrapByExceptionHandleScope has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/interceptor/factory/AnnotatedInterceptorFactory.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"de419a7d537644b6c165b9c3a0a097518e00a168faf4b0dffd2f12333c292f37"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotatedInterceptorFactory.wrapByScope (cyclomatic 21): AnnotatedInterceptorFactory.wrapByScope has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/interceptor/factory/AnnotatedInterceptorFactory.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"246c5de1f4c33ba61d0d18ed793109e0f6f34d8ce58b1c8cea1a72a36bf09dd1"}},{"ruleId":"D1","level":"warning","message":{"text":"ObjectConverter.getParameter (cyclomatic 21): ObjectConverter.getParameter has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/jdbc/ObjectConverter.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98590f38bb62d5647fc1ac13c781655892c207a302a07626cff899350554b24"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultTransformerMatcher.matchInterface (cyclomatic 20): DefaultTransformerMatcher.matchInterface has cyclomatic complexity 20 (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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/transformer/DefaultTransformerMatcher.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a8bae8fc0c7ce5e47c436ccfdac5e3cba8c18445f4898c4b359af9685f097a"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationTranscoder.getEncoder (cyclomatic 20): AnnotationTranscoder.getEncoder has cyclomatic complexity 20 (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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/AnnotationTranscoder.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"6749e47af5dd6e96dd68f29795f3b8bbb0bad946953b2f4d6a9764eb118fda71"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationTranscoder.getTypeCode (cyclomatic 20): AnnotationTranscoder.getTypeCode has cyclomatic complexity 20 (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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/AnnotationTranscoder.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"84604baaa87f8d41282409e3a700b0f790200bb1ca94fdeb52409ecca72af490"}},{"ruleId":"D1","level":"warning","message":{"text":"ETagUtils.parseETag (cyclomatic 20): ETagUtils.parseETag has cyclomatic complexity 20 (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":"web/src/main/java/com/navercorp/pinpoint/web/util/etag/ETagUtils.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8604cba5062a6e6cf3d5e65bdeb1d11a4bc1d7ed0994c699af507fe439ee48e"}},{"ruleId":"D1","level":"warning","message":{"text":"DirectivesInterceptor.createTrace (cyclomatic 19): DirectivesInterceptor.createTrace has cyclomatic complexity 19 (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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"967c9bad894d233cc14c2a811749ac5eea9417600d84309b42df9ea1e8d68b39"}},{"ruleId":"D1","level":"warning","message":{"text":"WriteContext.parseFilterObject (cyclomatic 19): WriteContext.parseFilterObject has cyclomatic complexity 19 (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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/WriteContext.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eba2a0f6d41b0898242bf977822f447b1e94dc81d4f7929438a07b42d7d137e"}},{"ruleId":"D1","level":"warning","message":{"text":"DirectivesInterceptor.createTrace (cyclomatic 19): DirectivesInterceptor.createTrace has cyclomatic complexity 19 (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":"agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/interceptor/DirectivesInterceptor.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bc341906d39bf891a03f85189671747994ad95f812670703bedce1f995250e"}},{"ruleId":"D1","level":"warning","message":{"text":"AntPatternComparator.compare (cyclomatic 19): AntPatternComparator.compare 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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/util/spring/AntPathMatcher.java"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c4d5d16e08e919d2d1635c64504e1a911b9e8552e5a1b15d6f0169ce0ff910"}},{"ruleId":"D1","level":"warning","message":{"text":"ValueAnnotationProcessor.parse (cyclomatic 19): ValueAnnotationProcessor.parse 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":"commons-config/src/main/java/com/navercorp/pinpoint/common/config/util/ValueAnnotationProcessor.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"60424748c1b637826466f3176006c397ee546e9ded805c41eafd936605492d2d"}},{"ruleId":"D1","level":"warning","message":{"text":"SpanAlignPopulate.populateSpanRecord (cyclomatic 19): SpanAlignPopulate.populateSpanRecord has cyclomatic complexity 19 (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":"web/src/main/java/com/navercorp/pinpoint/web/trace/service/TransactionInfoServiceImpl.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"7701b7efa99b157ce69a96a808538e0cf793f11dd986b2c18f0beffe4b535667"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaAssistUtils.getSignature (cyclomatic 18): JavaAssistUtils.getSignature has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/util/JavaAssistUtils.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2f5abba9d67f58e97007aca1440277d19d2d70f19bd9b6b85225ef8e0f150f"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultSqlNormalizer.combineBindValues (cyclomatic 18): DefaultSqlNormalizer.combineBindValues has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/sql/DefaultSqlNormalizer.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2263e3eb2255bc51b219b93e8c6b6a4dd1ca2e70cf03ab53a5c091b8aaab92fb"}},{"ruleId":"D1","level":"warning","message":{"text":"Description.mapping (cyclomatic 17): Description.mapping has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/oracle-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/oracle/parser/Description.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3c95ac87262b0e599be0b25267b12eca3860b583bdffc78e1b26f5f175e242"}},{"ruleId":"D1","level":"warning","message":{"text":"TargetBeanFilter.isTarget (cyclomatic 17): TargetBeanFilter.isTarget has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/interceptor/TargetBeanFilter.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1990d8d7c8b42472102e7d0bf0fe89673287d688b002fa10fab89efcc82ba1"}},{"ruleId":"D1","level":"warning","message":{"text":"ASMMethodVariables.loadInterceptorLocalVariables (cyclomatic 17): ASMMethodVariables.loadInterceptorLocalVariables has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMMethodVariables.java"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dc2e63d6610503f446c63d2ea6732c0f62e5916690916ba8f40e715264e14d"}},{"ruleId":"D1","level":"warning","message":{"text":"SpanEncoderV0.writeNextSpanEvent (cyclomatic 17): SpanEncoderV0.writeNextSpanEvent has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncoderV0.java"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8e28133f8048273b2fbc3f98153f1686dfaf0919fcba4a17a9cac3994c27ca"}},{"ruleId":"D1","level":"warning","message":{"text":"HeaderV1.equals (cyclomatic 17): HeaderV1.equals has cyclomatic complexity 17 (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":"grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV1.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b0af1b45fda5969497022556229b79b1814824f765ce56cb412bb98bf2a63b"}},{"ruleId":"D1","level":"warning","message":{"text":"HeaderV4.equals (cyclomatic 17): HeaderV4.equals has cyclomatic complexity 17 (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":"grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV4.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2184ecf641767517295c499c64534e51e4918b3faa0fe413048caeff493e7ed"}},{"ruleId":"D1","level":"warning","message":{"text":"OtlpTraceMapper.alignWrapperRoots (cyclomatic 17): OtlpTraceMapper.alignWrapperRoots has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceMapper.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b0dc0cb15d4f6d062fa713ae329a6680effe7d9fb06cb16f6161e8cc372834"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiInterceptor.after (cyclomatic 16): ApiInterceptor.after has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/interceptor/ApiInterceptor.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fa574bea439c6dae54736ea6219df49d77db7bd350bb8ce576494d32bcb7dc"}},{"ruleId":"D1","level":"warning","message":{"text":"TargetBeanFilter.isTarget (cyclomatic 16): TargetBeanFilter.isTarget has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/interceptor/TargetBeanFilter.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"74db56f2ca8e68d6e7c27bbacabc17c709f3ed9e50c8116414d94814f3c5d2b0"}},{"ruleId":"D1","level":"warning","message":{"text":"SpringBeansConfig.addTarget (cyclomatic 16): SpringBeansConfig.addTarget has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/SpringBeansConfig.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e561908c10a95e407da91d309d6f5d5ee02a8b841932da0b1a39f2ee58395292"}},{"ruleId":"D1","level":"warning","message":{"text":"ASMMethodVariables.initInterceptorLocalVariables (cyclomatic 16): ASMMethodVariables.initInterceptorLocalVariables has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMMethodVariables.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"480aba3079b3e55a6ca2de017cce1cba8d9b5aa8f8318c518dee08a20f7814b1"}},{"ruleId":"D1","level":"warning","message":{"text":"SpanDecoderV0.readNextSpanEvent (cyclomatic 16): SpanDecoderV0.readNextSpanEvent has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanDecoderV0.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"850835e648c0e17fd478dbfef6d3fa0fbec8fb1d06bb52e0e1ae394441ce8a26"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyHeaderAnnotationArgumentHandler.toDifferenceTimeFormat (cyclomatic 16): ProxyHeaderAnnotationArgumentHandler.toDifferenceTimeFormat has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/ProxyHeaderAnnotationArgumentHandler.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5d2474a9c887a45be3b16d16d375df81eb93f2f90b944f8772f16721573514"}},{"ruleId":"D2","level":"warning","message":{"text":"AntPathMatcher.doMatch (cognitive 61): AntPathMatcher.doMatch has cognitive complexity 61 (threshold 15). Drivers by points: if/else 38, loops 15, boolean chains 5, ternaries 3 (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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/util/spring/AntPathMatcher.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39d1928c12468c85f7972c9c10e62fc6e543e5fc94c17b4f7489fb0070e03fb"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMongoJsonParser.combineBindValues (cognitive 60): DefaultMongoJsonParser.combineBindValues has cognitive complexity 60 (threshold 15). Drivers by points: if/else 51, boolean chains 7, loops 2 (nesting depth added 32). 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":"web/src/main/java/com/navercorp/pinpoint/web/query/util/DefaultMongoJsonParser.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45150233253533314df7d03b7cbd4d7ba7dd250b992e6e82d2cc68f5e675e29"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyHeaderAnnotationArgumentHandler.toDifferenceTimeFormat (cognitive 51): ProxyHeaderAnnotationArgumentHandler.toDifferenceTimeFormat has cognitive complexity 51 (threshold 15). Drivers by points: if/else 51 (nesting depth added 34). 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":"web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/ProxyHeaderAnnotationArgumentHandler.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece3b8621bd8ce88f960c408ffa15a8d603b8841f79441d747b94318e5a4cc8f"}},{"ruleId":"D2","level":"warning","message":{"text":"Description.mapping (cognitive 49): Description.mapping has cognitive complexity 49 (threshold 15). Drivers by points: if/else 39, loops 10 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/oracle-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/oracle/parser/Description.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de4d6f67084c7a5ffb68c92207c9c6b5e855b524b114e6611167f0a33e86491"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpClientExecuteMethodWithHttpUriRequestInterceptor.extractHost (cognitive 48): HttpClientExecuteMethodWithHttpUriRequestInterceptor.extractHost has cognitive complexity 48 (threshold 15). Drivers by points: if/else 42, loops 6 (nesting depth added 34). 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":"agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/HttpClientExecuteMethodWithHttpUriRequestInterceptor.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1c6cf3e6edeb94d0b0f24dce61c1a4931df2ecfc9aca24b1ffacb516d144f6"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSqlNormalizer.combineOutputParams (cognitive 47): DefaultSqlNormalizer.combineOutputParams has cognitive complexity 47 (threshold 15). Drivers by points: error handling 20, if/else 17, match/switch 6, loops 4 (nesting depth added 32). 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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/sql/DefaultSqlNormalizer.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3f27733640f31585b770925c249031055bcbab7d89dd274916c825a2cd1787"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSqlNormalizer.combineBindValues (cognitive 39): DefaultSqlNormalizer.combineBindValues has cognitive complexity 39 (threshold 15). Drivers by points: if/else 35, boolean chains 3, loops 1 (nesting depth added 19). 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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/sql/DefaultSqlNormalizer.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1bde0c9a1ebf03436a08021cd9e5d1708c07f366ff0fbd13076f70f438df95"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanAlignPopulate.populateSpanRecord (cognitive 39): SpanAlignPopulate.populateSpanRecord has cognitive complexity 39 (threshold 15). Drivers by points: if/else 36, boolean chains 2, loops 1 (nesting depth added 21). 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":"web/src/main/java/com/navercorp/pinpoint/web/trace/service/TransactionInfoServiceImpl.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"87621dd28aeb9a1f6c354c453c957065021c7142b80a6a9cf50d7a1695a2b021"}},{"ruleId":"D2","level":"warning","message":{"text":"ApacheRequestParser.parseHeader (cognitive 38): ApacheRequestParser.parseHeader has cognitive complexity 38 (threshold 15). Drivers by points: if/else 24, error handling 11, boolean chains 2, loops 1 (nesting depth added 24). 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":"agent-module/agent-plugins/proxy-apache/src/main/java/com/navercorp/pinpoint/agent/plugin/proxy/apache/ApacheRequestParser.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac704275f4c9b5607bfd33a08d973c8d5a3a91515f0e5cf578d05deb95f86d4"}},{"ruleId":"D2","level":"warning","message":{"text":"ASMMethodVariables.loadInterceptorLocalVariables (cognitive 37): ASMMethodVariables.loadInterceptorLocalVariables has cognitive complexity 37 (threshold 15). Drivers by points: if/else 23, loops 14 (nesting depth added 20). 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMMethodVariables.java"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d58bde4e82d5d18d5f93897fcf5df9380ba96cffdbd3547d21e54ccd8b4952"}},{"ruleId":"D2","level":"warning","message":{"text":"OtlpTraceSpanEventMapper.map (cognitive 35): OtlpTraceSpanEventMapper.map has cognitive complexity 35 (threshold 15). Drivers by points: if/else 25, ternaries 7, boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbae1ec577e4bfe1875ee845007b67ff2f16bcf0cd25b40dca270f49001d0ed"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultLinkFilter.filter (cognitive 34): DefaultLinkFilter.filter has cognitive complexity 34 (threshold 15). Drivers by points: if/else 33, boolean chains 1 (nesting depth added 21). 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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/mapper/DefaultLinkFilter.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb577264e747bf0415c9ba4f6c10f265c824afd68e0508020dd917f1bd28fdf"}},{"ruleId":"D2","level":"warning","message":{"text":"SpringBeansConfig.addTarget (cognitive 33): SpringBeansConfig.addTarget has cognitive complexity 33 (threshold 15). Drivers by points: if/else 29, error handling 2, boolean chains 1, loops 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":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/SpringBeansConfig.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"35efd673ed807de06983281574769987697b8ae77d8dc929553bdc77ee762054"}},{"ruleId":"D2","level":"warning","message":{"text":"BytesUtils.bytesToVar64 (cognitive 33): BytesUtils.bytesToVar64 has cognitive complexity 33 (threshold 15). Drivers by points: if/else 33 (nesting depth added 19). 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":"commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a646d6d28a67e5447056772150be6a9f34cdbd5d9255e69dedb119d4c86cb420"}},{"ruleId":"D2","level":"warning","message":{"text":"DispatchHandlerInvokeHandlerMethodInterceptor.doInBeforeTrace (cognitive 32): DispatchHandlerInvokeHandlerMethodInterceptor.doInBeforeTrace has cognitive complexity 32 (threshold 15). Drivers by points: if/else 24, loops 8 (nesting depth added 22). 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":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/DispatchHandlerInvokeHandlerMethodInterceptor.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c52578cc59b49374bd13a17c0ddfe7a8acdc3faea9b4c68ea9e4ee9ad4af84"}},{"ruleId":"D2","level":"warning","message":{"text":"FixedBuffer.readVLong (cognitive 32): FixedBuffer.readVLong has cognitive complexity 32 (threshold 15). Drivers by points: if/else 32 (nesting depth added 19). 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":"commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/FixedBuffer.java"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a3ca6e62f230a64a0cf5264fedc0cac37965ef493e0ee18c3773eba1ad4cbf"}},{"ruleId":"D2","level":"warning","message":{"text":"ETagUtils.parseETag (cognitive 32): ETagUtils.parseETag has cognitive complexity 32 (threshold 15). Drivers by points: if/else 26, boolean chains 3, match/switch 2, loops 1 (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":"web/src/main/java/com/navercorp/pinpoint/web/util/etag/ETagUtils.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b7942e8918dd63df9cf25ad076364ee517dd5b68e54108a93b6f03f44cb3e1"}},{"ruleId":"D2","level":"warning","message":{"text":"HbaseApplicationMapService.insertSpanStat (cognitive 32): HbaseApplicationMapService.insertSpanStat has cognitive complexity 32 (threshold 15). Drivers by points: if/else 31, boolean chains 1 (nesting depth added 19). 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":"collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/service/HbaseApplicationMapService.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"343b41631be344f87ba678b59f914ccb46cdb6f2b2db5ba8ebf6352b4181a32b"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetBeanFilter.isTarget (cognitive 30): TargetBeanFilter.isTarget has cognitive complexity 30 (threshold 15). Drivers by points: if/else 27, boolean chains 2, loops 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":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/interceptor/TargetBeanFilter.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0081a72d694e35692f98711ae26635a02390a8a435d5ef71292d9732e7aa03de"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginForkedTestUnitTestDescriptor.evaluate (cognitive 30): PluginForkedTestUnitTestDescriptor.evaluate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 28, error handling 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins-test-module/plugins-test/src/main/java/com/navercorp/pinpoint/test/plugin/junit5/descriptor/PluginForkedTestUnitTestDescriptor.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a50f7b33d02d16194c22a00d4b77ea4fc58568852bebad149fd305e02b7bbd"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetBeanFilter.isTarget (cognitive 29): TargetBeanFilter.isTarget has cognitive complexity 29 (threshold 15). Drivers by points: if/else 27, boolean chains 1, loops 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":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/interceptor/TargetBeanFilter.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3863fa2b518d65433f0fc26c1de9582b3595864e3cf6097001735c2c13286faf"}},{"ruleId":"D2","level":"warning","message":{"text":"ASMMethodVariables.initInterceptorLocalVariables (cognitive 29): ASMMethodVariables.initInterceptorLocalVariables has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22, loops 7 (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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMMethodVariables.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"853591b718f039c9f735e30c6fb0685938ed131df4e76e67f5447e86e9689429"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiInterceptor.after (cognitive 28): ApiInterceptor.after has cognitive complexity 28 (threshold 15). Drivers by points: if/else 25, error handling 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/interceptor/ApiInterceptor.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f205c6057cc581c9220d1fe5b2a47967ccd02b458596a52ff552f6c3579adc11"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultTransformerMatcher.matchInterface (cognitive 28): DefaultTransformerMatcher.matchInterface has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19, boolean chains 7, loops 2 (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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/transformer/DefaultTransformerMatcher.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7e284255200197ddfea50a8db700bc18a5a87f4047f7b469fd5004a409780f"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectivesInterceptor.createTrace (cognitive 27): DirectivesInterceptor.createTrace has cognitive complexity 27 (threshold 15). Drivers by points: if/else 24, boolean chains 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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f37cd77c9ac38cc8243530a978a9379c8fb65933e8614ea0aa18ea0f5d482d"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectivesInterceptor.createTrace (cognitive 27): DirectivesInterceptor.createTrace has cognitive complexity 27 (threshold 15). Drivers by points: if/else 24, boolean chains 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":"agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/interceptor/DirectivesInterceptor.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"17aa152b57e3dee6fb68596d979c489c24be0141010f48d2399e6ea7823b6d1e"}},{"ruleId":"D2","level":"warning","message":{"text":"TracedSubscriber.openWindow (cognitive 27): TracedSubscriber.openWindow has cognitive complexity 27 (threshold 15). Drivers by points: if/else 20, error handling 7 (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":"agent-module/plugins/reactor-seam-support/src/main/java/com/navercorp/pinpoint/plugin/reactorsupport/TracedSubscriber.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5529d471358f408d5b5eaa46f04fde598ee0912c7bdd284f5cedc500382275"}},{"ruleId":"D2","level":"warning","message":{"text":"OtlpTraceMapper.map (cognitive 27): OtlpTraceMapper.map has cognitive complexity 27 (threshold 15). Drivers by points: loops 10, if/else 9, error handling 8 (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":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceMapper.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b91accbc11f07e74ad08b622580ec04ff72e4a7049234b09f643f38b581aab1"}},{"ruleId":"D2","level":"warning","message":{"text":"OtlpTraceSpanMapper.map (cognitive 27): OtlpTraceSpanMapper.map has cognitive complexity 27 (threshold 15). Drivers by points: if/else 22, loops 2, ternaries 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanMapper.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"99388fb50b14d6c7bfb4aecb1f12782b006d73cdb446c00b87ef407b64e8ac03"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlSamplerConfig.entryList (cognitive 26): UrlSamplerConfig.entryList has cognitive complexity 26 (threshold 15). Drivers by points: if/else 24, boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/sampler/UrlSamplerConfig.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c909fbd33d4d58ef225f437d50b64963085ca742378c936655d9a438a341f7c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment.rehash (cognitive 26): Segment.rehash has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17, loops 9 (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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce23fc80be620cdfc6160dc76c8679c1be9d33c760e798f04ab0dc4eb6a96840"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment.rehash (cognitive 26): Segment.rehash has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17, loops 9 (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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"e382f098a5ce3dc834022030ba409bc7cb9240d9a50961e95f3ef6c872d2226e"}},{"ruleId":"D2","level":"warning","message":{"text":"RpcURLPatternFilter.accept (cognitive 26): RpcURLPatternFilter.accept has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20, loops 6 (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":"web/src/main/java/com/navercorp/pinpoint/web/filter/RpcURLPatternFilter.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e53a0e4814ceac849f478fd2ce3716bd1851e1abe62f8f486bd3da2245d97f1"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectConverter.getParameter (cognitive 25): ObjectConverter.getParameter has cognitive complexity 25 (threshold 15). Drivers by points: if/else 25 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/jdbc/ObjectConverter.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22519816e6b1212140a4d2777fc0199ddbd44d36d10665297bfe8b545830e1d"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyPlaceholderHelper.parseStringValue (cognitive 25): PropertyPlaceholderHelper.parseStringValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 23, boolean chains 1, loops 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":"commons-config/src/main/java/com/navercorp/pinpoint/common/config/util/spring/PropertyPlaceholderHelper.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f339df47fd6485420031611b2142b6712cd9b0032214131104db8b08f5a9a3ce"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyHeaderAnnotationArgumentHandler.toDurationTimeFormat (cognitive 25): ProxyHeaderAnnotationArgumentHandler.toDurationTimeFormat has cognitive complexity 25 (threshold 15). Drivers by points: if/else 25 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/ProxyHeaderAnnotationArgumentHandler.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e331be2519a0d8ec159754fc8dd25d4715a72cb5aebeabe30dbd4395286baf5"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceViewerData.initialize (cognitive 25): TraceViewerData.initialize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 23, boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/model/TraceViewerData.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec13b6de967138c4b83b1d1459d38dca34f9a7ff8b422b395e85d37d5b334ba"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionIdTransform.doInTransform (cognitive 24): TransactionIdTransform.doInTransform has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12, error handling 8, loops 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/OpenwhiskPlugin.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"978e99d3d4298a5e260d67f48458d4d2dd1becc329fd5741d1bff451fb2c8b49"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginVerifierExternalAdaptor.annotationCompare (cognitive 24): PluginVerifierExternalAdaptor.annotationCompare has cognitive complexity 24 (threshold 15). Drivers by points: if/else 22, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler-test/src/main/java/com/navercorp/pinpoint/profiler/test/PluginVerifierExternalAdaptor.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1aa3374821510270acf7479af41c2c1132ebb47de7766d32486f01056e654f"}},{"ruleId":"D2","level":"warning","message":{"text":"OtlpExceptionMapper.parseStackTrace (cognitive 24): OtlpExceptionMapper.parseStackTrace has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14, boolean chains 3, error handling 3, ternaries 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpExceptionMapper.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c8f0fcdd1ca5b0cd252959ebac76925eea72ba37cddace270ec789f2bf8e37"}},{"ruleId":"D2","level":"warning","message":{"text":"OtlpTraceMapper.alignWrapperRoots (cognitive 24): OtlpTraceMapper.alignWrapperRoots has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17, boolean chains 4, loops 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":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceMapper.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aae5778691c22fd14206921ee4599e48e4cb82afa0ff0aabdaacbfcf82bce80"}},{"ruleId":"D2","level":"warning","message":{"text":"OtlpTraceExportService.export (cognitive 24): OtlpTraceExportService.export has cognitive complexity 24 (threshold 15). Drivers by points: error handling 12, loops 9, if/else 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/service/OtlpTraceExportService.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf7fd03dc470d6a7d9e97e380da716de74c1ffd45e50be56b671cdc2e41f472"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultTransformerMatcher.matchAnnotation (cognitive 23): DefaultTransformerMatcher.matchAnnotation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19, boolean chains 2, loops 2 (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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/transformer/DefaultTransformerMatcher.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cc5a376a1f0bbc66321415e6089c3dd712d5f470580d8539cb41d82ff95711"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcurrentReferenceHashMap.containsValue (cognitive 23): ConcurrentReferenceHashMap.containsValue has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, loops 9 (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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"75058c083e05b500c73f7fbab02044b04699ca6bda216fa61fad87f150c61ec6"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcurrentReferenceHashMap.size (cognitive 23): ConcurrentReferenceHashMap.size has cognitive complexity 23 (threshold 15). Drivers by points: loops 12, if/else 11 (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b5dd1e8bd0af4290905edec61fc3fa732368c9b9dad551c043292f6c59b418"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcurrentWeakHashMap.containsValue (cognitive 23): ConcurrentWeakHashMap.containsValue has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, loops 9 (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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9c29a28c51329972541974c1d3bbd3759bf28c88ee79bd1d33c066f0633785"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcurrentWeakHashMap.size (cognitive 23): ConcurrentWeakHashMap.size has cognitive complexity 23 (threshold 15). Drivers by points: loops 12, if/else 11 (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b30260aeff4e19843d69aecd7c0071fab3cd01bdd05178717c813edb5c48617"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationTranscoder.getEncoder (cognitive 23): AnnotationTranscoder.getEncoder has cognitive complexity 23 (threshold 15). Drivers by points: if/else 23 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/AnnotationTranscoder.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedd1f497d86431e879cde624ae32f89187e7c81c3a102bc5b85ea8f92a27363"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationTranscoder.getTypeCode (cognitive 23): AnnotationTranscoder.getTypeCode has cognitive complexity 23 (threshold 15). Drivers by points: if/else 23 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/AnnotationTranscoder.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4294666bbf2bc7ebfcdca75739f637633a6415be26daa874be89f0f8db9c687f"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputParameterMongoJsonParser.parseOutputParameter (cognitive 23): OutputParameterMongoJsonParser.parseOutputParameter has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18, loops 5 (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":"web/src/main/java/com/navercorp/pinpoint/web/query/util/OutputParameterMongoJsonParser.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a890bca768ae7cbe06ce627109be4640b342ece3c618d81d9f458d81906cd2"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanMapperV2.bindSpanChunk (cognitive 23): SpanMapperV2.bindSpanChunk has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18, loops 4, 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":"web/src/main/java/com/navercorp/pinpoint/web/trace/dao/mapper/SpanMapperV2.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"183b566a109feeabb0bf7a980e2ef2a2dfacfa3be4e0d80e0f0ebb0385370a07"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRequestParser.parseHeader (cognitive 22): AppRequestParser.parseHeader has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, error handling 5, loops 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":"agent-module/agent-plugins/proxy-app/src/main/java/com/navercorp/pinpoint/agent/plugin/proxy/app/AppRequestParser.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c982b91650d5d9a1d85caa3a4a1b80d8956476ab1e9d2142eaae9c598e54390e"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterTransform.doInTransform (cognitive 22): FilterTransform.doInTransform has cognitive complexity 22 (threshold 15). Drivers by points: if/else 21, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf164c2677e2f51c967ec366198010e40c0d93f0176e492c57fefd33d13525b"}},{"ruleId":"D2","level":"warning","message":{"text":"WrappingDispatchHandlerInvokeHandlerMethodInterceptor.recordUriTemplate (cognitive 22): WrappingDispatchHandlerInvokeHandlerMethodInterceptor.recordUriTemplate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, loops 6 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingDispatchHandlerInvokeHandlerMethodInterceptor.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"67807924def111150e8db942b652347cb4562d55fc7e83dc05a52550b60f0dad"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteStateInterceptor.after (cognitive 22): RouteStateInterceptor.after has cognitive complexity 22 (threshold 15). Drivers by points: if/else 21, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/RouteStateInterceptor.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6eec3b7bf2be7c1cbf1930d84f0e6eae8a16f5abab2c6e87e3cb321eb50f08"}},{"ruleId":"D2","level":"warning","message":{"text":"ASMClassWriter.getCommonClass (cognitive 22): ASMClassWriter.getCommonClass has cognitive complexity 22 (threshold 15). Drivers by points: if/else 20, boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClassWriter.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7142b6afa4f40d087df441b5c3b85b1645a6b92e0379fe05020258356ebc41"}},{"ruleId":"D2","level":"warning","message":{"text":"ParserContext.parse (cognitive 22): ParserContext.parse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18, match/switch 2, boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/sql/ParserContext.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a066702aed86d413a2222d72053f3fb556c7aec981ad59adba9bc9d33c8f13c"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationUtils.findAnnotations (cognitive 22): AnnotationUtils.findAnnotations has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18, loops 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/util/AnnotationUtils.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3533547a3f03ee7aa005159097a8a05ff15b7ffe46df2d977a9b7ab95523b4f"}},{"ruleId":"D2","level":"warning","message":{"text":"FilteredMapBuilder.buildOtelLinkIndex (cognitive 22): FilteredMapBuilder.buildOtelLinkIndex has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14, loops 6, boolean chains 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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/map/FilteredMapBuilder.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcb145bb7e681019a988677201b289f7744f93c16551b507f3e45bc591ff847"}},{"ruleId":"D2","level":"warning","message":{"text":"FilteredMapBuilder.createParentApplication (cognitive 22): FilteredMapBuilder.createParentApplication has cognitive complexity 22 (threshold 15). Drivers by points: if/else 20, boolean chains 2 (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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/map/FilteredMapBuilder.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a206317a6cc06f0aaa849573be4e37cd45feaa416f2302879a7e572c701b381"}},{"ruleId":"D2","level":"warning","message":{"text":"WriteContext.parseUpdatesObject (cognitive 21): WriteContext.parseUpdatesObject has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, loops 8, match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/WriteContext.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1807e5be7139b71b447a5680e164f77041706f23c189cb038803ea90a610e1c"}},{"ruleId":"D2","level":"warning","message":{"text":"WrappingReactiveMethodInterceptor.after (cognitive 21): WrappingReactiveMethodInterceptor.after has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, boolean chains 1, error handling 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":"agent-module/plugins/redis-redisson/src/main/java/com/navercorp/pinpoint/plugin/redis/redisson/interceptor/WrappingReactiveMethodInterceptor.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ed8d83ec7ee69c42d0a3da5e252b20f159b498a97d636604d7e5c26f3152d6"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginTestDescriptorBuilder.build (cognitive 21): PluginTestDescriptorBuilder.build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, loops 5 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins-test-module/plugins-test/src/main/java/com/navercorp/pinpoint/test/plugin/junit5/engine/discovery/PluginTestDescriptorBuilder.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"93626e7583144c288283810ea1520017a1eb5e231f61b4876ab2757e1cac3cef"}},{"ruleId":"D2","level":"warning","message":{"text":"GrpcSpanBinder.bind (cognitive 21): GrpcSpanBinder.bind has cognitive complexity 21 (threshold 15). Drivers by points: if/else 21 (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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/io/GrpcSpanBinder.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd1377a1b372d2aef3e9b2f34cacc846dbcb43f7d88ed093003d430262bf054"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanServiceImpl.prefetchMetaData (cognitive 21): SpanServiceImpl.prefetchMetaData has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, loops 4, boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f76dd10ee171369d5d66cba53546b0f13b38caf7b9fe639c7e80b26bd7e8bb"}},{"ruleId":"D2","level":"warning","message":{"text":"CassandraPreparedStatementCreateInterceptor.prepareAfterTrace (cognitive 20): CassandraPreparedStatementCreateInterceptor.prepareAfterTrace has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20 (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":"agent-module/plugins/cassandra/src/main/java/com/navercorp/pinpoint/plugin/cassandra/interceptor/CassandraPreparedStatementCreateInterceptor.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c954740a5b7920346f06f9b5a4ec09b6de6090b913945cad7bc8b3ddeba395"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerRecordsInterceptor.after (cognitive 20): ConsumerRecordsInterceptor.after has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, loops 5 (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":"agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/interceptor/ConsumerRecordsInterceptor.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea95164a0baffa111e8f505c8df3963a0aa5f98a577b795938c5c0b33d9c0ab"}},{"ruleId":"D2","level":"warning","message":{"text":"TServiceClientSendBaseInterceptor.before (cognitive 20): TServiceClientSendBaseInterceptor.before has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/interceptor/client/TServiceClientSendBaseInterceptor.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8687eef82f7e3eaf1358ec9e21d55b912a6ad41d5acd624141ff0a8278449909"}},{"ruleId":"D2","level":"warning","message":{"text":"VertxPlugin.setup (cognitive 20): VertxPlugin.setup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, boolean chains 3, error handling 3 (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":"agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/VertxPlugin.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"950ad5f78c17caa84be646a23ab52bfbff7587a52f6b0ff1bf9bb31b5103a985"}},{"ruleId":"D2","level":"warning","message":{"text":"DependencyResolver.combination (cognitive 20): DependencyResolver.combination has cognitive complexity 20 (threshold 15). Drivers by points: loops 10, if/else 6, ternaries 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins-test-module/plugins-test/src/main/java/com/navercorp/pinpoint/test/plugin/maven/DependencyResolver.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed245fe47e2aa0e4e56b6f9f90d83606cba4f099d3ab0f20fcd71f326d3bfbcf"}},{"ruleId":"D2","level":"warning","message":{"text":"PlainClassLoaderHandler.define0 (cognitive 20): PlainClassLoaderHandler.define0 has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/classloading/PlainClassLoaderHandler.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83aa550e8165a17697ce862af1792b530d195526d087d4be0c0be3734900936"}},{"ruleId":"D2","level":"warning","message":{"text":"ASMClassNodeAdapter.getField (cognitive 20): ASMClassNodeAdapter.getField has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, loops 2 (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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClassNodeAdapter.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"095655064d585af6aa88f5a7cff5c8f0674927294d5029b5e5cbd1d4d4f6a678"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotatedInterceptorFactory.wrapByExceptionHandle (cognitive 20): AnnotatedInterceptorFactory.wrapByExceptionHandle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/interceptor/factory/AnnotatedInterceptorFactory.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3eccd27f3c8c5a59473fcbd1cbe85b9a033623b3b95eb47bdde8e6f1f7f4ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotatedInterceptorFactory.wrapByExceptionHandleScope (cognitive 20): AnnotatedInterceptorFactory.wrapByExceptionHandleScope has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/interceptor/factory/AnnotatedInterceptorFactory.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b260eeb029acdfe9c8ce0241852af596a3fe1b75ffd0c442b2477fa3da3e044"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotatedInterceptorFactory.wrapByScope (cognitive 20): AnnotatedInterceptorFactory.wrapByScope has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/interceptor/factory/AnnotatedInterceptorFactory.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"370371ed39a403b84c16b6b4b66c3d35bac2ddf9b2590d8271d84ae18b8c7f2b"}},{"ruleId":"D2","level":"warning","message":{"text":"HeaderV1.equals (cognitive 20): HeaderV1.equals has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, ternaries 9, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV1.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8ca20000499d1b5dae5431827f922c12f8e0727ff6e1c7ef42561ecadff529"}},{"ruleId":"D2","level":"warning","message":{"text":"HeaderV4.equals (cognitive 20): HeaderV4.equals has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, ternaries 9, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV4.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de37193b6c87cf2959daa4311f827bf6b866a12a7ecef045486666a7cca100f"}},{"ruleId":"D2","level":"warning","message":{"text":"WriteContext.parseFilterObject (cognitive 19): WriteContext.parseFilterObject has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, loops 4, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/WriteContext.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ee8d8433b666810263a4a4ffcf52a22b3883c1d3a94c84fbecc408255837c3"}},{"ruleId":"D2","level":"warning","message":{"text":"TProtocolTransform.doInTransform (cognitive 19): TProtocolTransform.doInTransform has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, loops 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/ThriftPlugin.java"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"0371a090de55e65c3407dcd94ed74da49c43a6f4275860a51550455e48ec0621"}},{"ruleId":"D2","level":"warning","message":{"text":"ASMMethodVariables.getParameterNames (cognitive 19): ASMMethodVariables.getParameterNames has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, loops 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMMethodVariables.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcc425b3e766ef9807b13bf39c5478cc06451a35f05c90ac0414550b96b8ebf"}},{"ruleId":"D2","level":"warning","message":{"text":"DeadlockMonitorTask.createThreadDump (cognitive 19): DeadlockMonitorTask.createThreadDump has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, loops 5, match/switch 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/DeadlockMonitorTask.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"30321bbcc873bff8f3e12095ede36519e2b7c008e819d1ef23ebab5408a15108"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformClassLoader.findClass (cognitive 19): TransformClassLoader.findClass has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, error handling 6 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler-test/src/main/java/com/navercorp/pinpoint/profiler/test/classloader/TransformClassLoader.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5098456ccc57590315a14feac1884557cd5b96513a28a502edc1fbe66b080755"}},{"ruleId":"D2","level":"warning","message":{"text":"SubconnectionExpiringLoadBalancer.moveTo (cognitive 19): SubconnectionExpiringLoadBalancer.moveTo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19 (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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/sender/grpc/SubconnectionExpiringLoadBalancer.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"71baf8e0bf36c8424951635a4b1d2893526cb42a1234faa1cabea1794a0da98c"}},{"ruleId":"D2","level":"warning","message":{"text":"DataSourceDataCollector.collect (cognitive 19): DataSourceDataCollector.collect has cognitive complexity 19 (threshold 15). Drivers by points: loops 9, match/switch 7, error handling 3 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"batch/src/main/java/com/navercorp/pinpoint/batch/alarm/collector/pinot/DataSourceDataCollector.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ee96b3a9bce3910d1cad229c68052d32e038f03458f22d87f42183b9031117"}},{"ruleId":"D2","level":"warning","message":{"text":"FilteredMapBuilder.addTransaction (cognitive 19): FilteredMapBuilder.addTransaction has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/map/FilteredMapBuilder.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a553390e6d154245c48308d8e10fae172d9e10e5a276cff8651ec79e02fbc6c"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanReader.accept (cognitive 19): SpanReader.accept has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, loops 4 (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":"web/src/main/java/com/navercorp/pinpoint/web/filter/visitor/SpanReader.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d773d2cb64e30c370335748a4729d96b2656a30831e8cca34a04314c637db87"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadDumpUtils.createDumpMessage (cognitive 19): ThreadDumpUtils.createDumpMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, loops 5, match/switch 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/util/ThreadDumpUtils.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99c5757c1ee9644c724849abe4252942ce94ed7cb36c84653d1accb22857c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestContextImplCompleteInterceptor.doInAfterTrace (cognitive 18): RequestContextImplCompleteInterceptor.doInAfterTrace has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/RequestContextImplCompleteInterceptor.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f39011032ce7221b90ed619b6b4dd2b3af9bffb3a518a88cb4c7c9cba68f35d"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkUtils.getLocalHost0 (cognitive 18): NetworkUtils.getLocalHost0 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, loops 4, boolean chains 2, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/apache-dubbo/src/main/java/com/navercorp/pinpoint/plugin/apache/dubbo/interceptor/NetworkUtils.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7ff0d9535bd636867e21b1d0ff56ea73671bea4040cd1cad3d8cf2dd387234"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestContextImplCompleteInterceptor.doInAfterTrace (cognitive 18): RequestContextImplCompleteInterceptor.doInAfterTrace has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/interceptor/RequestContextImplCompleteInterceptor.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a964a94d6db840b3d1a97223fbfd2585aeab2196cb44bb35b096b4bb0dccd74e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientHttpRequestCookieExtractor.getCookie (cognitive 18): ClientHttpRequestCookieExtractor.getCookie has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, loops 7 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/ClientHttpRequestCookieExtractor.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1079c9acb2b503f21dff44a9205ef7b2421b853f00d5d329f2dd756e49fa7773"}},{"ruleId":"D2","level":"warning","message":{"text":"WrappingBodyInserterRequestBuilderWriteToInterceptor.after (cognitive 18): WrappingBodyInserterRequestBuilderWriteToInterceptor.after has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingBodyInserterRequestBuilderWriteToInterceptor.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0ec978cc860a90923260e66d1fe88e29eea89c6ea47d6b55abeccd3fecce4e"}},{"ruleId":"D2","level":"warning","message":{"text":"AntPatternComparator.compare (cognitive 18): AntPatternComparator.compare has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 4. 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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/util/spring/AntPathMatcher.java"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cdce24afd4b4967390d342d20930e347f2cd1deddb08277cb3ddec45e7ba11"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaAssistUtils.getSignature (cognitive 18): JavaAssistUtils.getSignature has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/util/JavaAssistUtils.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf76c7659e3670a6ed1d9726a44d57f1c33fae32aebe266e62e67042b1f4c276"}},{"ruleId":"D2","level":"warning","message":{"text":"ValueAnnotationProcessor.parse (cognitive 18): ValueAnnotationProcessor.parse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 8. 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":"commons-config/src/main/java/com/navercorp/pinpoint/common/config/util/ValueAnnotationProcessor.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af4a1d92f88650eb07c26c5fb3603cee54de9e46da3d4148619c52cf669fd6d"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanMapperV2.mapRow (cognitive 18): SpanMapperV2.mapRow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/dao/mapper/SpanMapperV2.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a53e06eadd87ede5fbdb52a50c5c9d70d0fdf43eaa64642644cb953225aa70"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSimpleStatementConstructorInterceptor.after (cognitive 17): DefaultSimpleStatementConstructorInterceptor.after has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 4, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/cassandra4/src/main/java/com/navercorp/pinpoint/plugin/cassandra4/interceptor/DefaultSimpleStatementConstructorInterceptor.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0073fab463e3e20f40cae00934901b5c01f6a47b86f633a887c62465c7462a"}},{"ruleId":"D2","level":"warning","message":{"text":"NingEntityExtractorV2.getEntity (cognitive 17): NingEntityExtractorV2.getEntity has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/ning-asynchttpclient/src/main/java/com/navercorp/pinpoint/plugin/ning/asynchttpclient/NingEntityExtractorV2.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"808ac94a5808e93d0a02a2fc2aa709a4d2437848674c116994a83e59d2872d89"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpClientHandlerRequestWithBodyInterceptor.beforeTrace (cognitive 17): HttpClientHandlerRequestWithBodyInterceptor.beforeTrace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, error handling 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/interceptor/HttpClientHandlerRequestWithBodyInterceptor.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aca8aae05bf501dfa44836eb4cb35c1b54bf5c571db4d31f77c29a6630788f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ProducerSendInterceptor.before (cognitive 17): ProducerSendInterceptor.before has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, error handling 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":"agent-module/plugins/rocketmq/src/main/java/com/navercorp/pinpoint/plugin/rocketmq/interceptor/ProducerSendInterceptor.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0906588f7b0acc76a0c69fdd4d348f8d71ce4582604f7c8bd5bd455c237b21"}},{"ruleId":"D2","level":"warning","message":{"text":"SpringBeansTarget.compilePattern (cognitive 17): SpringBeansTarget.compilePattern has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/SpringBeansTarget.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfaf98ae69873b1a307104e44fa6c47ceb9476d8b2f120cb5ef3ae662d00aa2"}},{"ruleId":"D2","level":"warning","message":{"text":"TProtocolReadMessageEndInterceptor.after (cognitive 17): TProtocolReadMessageEndInterceptor.after has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, error handling 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/interceptor/tprotocol/server/TProtocolReadMessageEndInterceptor.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d968511deaed923e08eccff311f9d27ca62c4e5de033e2d19c203dd328322914"}},{"ruleId":"D2","level":"warning","message":{"text":"TProtocolReadMessageEndInterceptor.createTrace (cognitive 17): TProtocolReadMessageEndInterceptor.createTrace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/interceptor/tprotocol/server/TProtocolReadMessageEndInterceptor.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c06207b411e96545f8655b8aaf4e038551085fb095cb71773bbd8124c15892"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncContextAccessorUtils.findAsyncContext (cognitive 17): AsyncContextAccessorUtils.findAsyncContext has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 4, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/async/AsyncContextAccessorUtils.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4039f0cf1f6581b70fb7fc3d35a94a875bc48596a14290fce422013417520e7c"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactorSubscriberAccessorUtils.find (cognitive 17): ReactorSubscriberAccessorUtils.find has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 4, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/reactor/ReactorSubscriberAccessorUtils.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c9713040a57e944dd4fb0c8b4899f0a770ca65808c5d82c47d7c85381b9808"}},{"ruleId":"D2","level":"warning","message":{"text":"ASMMethodVariables.findInitConstructorInstruction (cognitive 17): ASMMethodVariables.findInitConstructorInstruction has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMMethodVariables.java"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb71e9c27941dbeb327f2ac565c0d48a15fcecbd30c58a05cb5a710679025c10"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkListFactory.createSourceLink (cognitive 17): LinkListFactory.createSourceLink has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/link/LinkListFactory.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd52d6e7ac4bf27b64d4b8f514c783d884e14fe3d7532b82d540b750e5070148"}},{"ruleId":"D2","level":"warning","message":{"text":"WasToWasFilter.filterByRpcHints (cognitive 17): WasToWasFilter.filterByRpcHints has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 5, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/filter/transaction/WasToWasFilter.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"87458587e6d7692116f4a0670167140fe567c2173c94220b0598991b4ab4fa88"}},{"ruleId":"D2","level":"warning","message":{"text":"ApacheDubboProviderInterceptor.recordRequest (cognitive 16): ApacheDubboProviderInterceptor.recordRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"agent-module/plugins/apache-dubbo/src/main/java/com/navercorp/pinpoint/plugin/apache/dubbo/interceptor/ApacheDubboProviderInterceptor.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb70d677f48c5cdb467ad1af5523c088e17b3bc5e742906fd354ea22e365be6"}},{"ruleId":"D2","level":"warning","message":{"text":"DamengJdbcUrlParser.parseURL (cognitive 16): DamengJdbcUrlParser.parseURL has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 3 (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":"agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengJdbcUrlParser.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d7fc002387d44cc9ac3a1e3717fdfc5c0fbd344479323e4d354846eed5b27"}},{"ruleId":"D2","level":"warning","message":{"text":"InformixPreparedStatementCreateInterceptor.prepareAfterTrace (cognitive 16): InformixPreparedStatementCreateInterceptor.prepareAfterTrace has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/interceptor/InformixPreparedStatementCreateInterceptor.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e613e6dc702445c6bbeeb13fe41a74d61873d4fd0c2cc77ba6bc83a634a5c38f"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpClient3EntityExtractor.getEntity (cognitive 16): HttpClient3EntityExtractor.getEntity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, error handling 3, boolean chains 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":"agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3EntityExtractor.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c9f9fdbd21608234f783f2a3e3b0944df83e69ef72a0b4d6b480e27293ec74"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandAsyncServiceMethodInterceptor.toEndPoint (cognitive 16): CommandAsyncServiceMethodInterceptor.toEndPoint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/redis-redisson/src/main/java/com/navercorp/pinpoint/plugin/redis/redisson/interceptor/CommandAsyncServiceMethodInterceptor.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9233612f5bb955e21c1f9edf182840aa2f27318517e1aef020cd972d2ecc0eed"}},{"ruleId":"D2","level":"warning","message":{"text":"TProtocolReadMessageEndInterceptor.before (cognitive 16): TProtocolReadMessageEndInterceptor.before has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, error handling 2 (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":"agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/interceptor/tprotocol/server/TProtocolReadMessageEndInterceptor.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"422b108ae3a5d3a578918820aa3ef5d768c4faa112b09a2d9796239b61d0c388"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpClientImplDoRequestInterceptor.toHostAndPort (cognitive 16): HttpClientImplDoRequestInterceptor.toHostAndPort has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptor.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2c605295307657380f833d4c9c98be7b95161fd444ee6d6f805849051ba425"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpStatusCodeErrors.newErrorCode (cognitive 16): HttpStatusCodeErrors.newErrorCode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, error handling 7, loops 1 (nesting depth added 7). 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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/config/HttpStatusCodeErrors.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"425c13883b2cd9b57b41cc257f3a4fc9f68bc9e1014761fc15d937edc3e6474a"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedStatementCreateInterceptor.prepareAfterTrace (cognitive 16): PreparedStatementCreateInterceptor.prepareAfterTrace has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/PreparedStatementCreateInterceptor.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"650108201323d5a2eb55091e1e586318badc7b5507536e020828d639174747f5"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedStatementUtils.findBindVariableSetMethod0 (cognitive 16): PreparedStatementUtils.findBindVariableSetMethod0 has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/PreparedStatementUtils.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dc9df85986455726c38a755d04f9e2bcabbd47e7fddd0e25c05ad33c8c4b5c"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultTransformerMatcher.matchSuper (cognitive 16): DefaultTransformerMatcher.matchSuper has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/transformer/DefaultTransformerMatcher.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc97efeb3d75bb80e58174a213658e8584f4a9e0097497848f66cefd03d4914d"}},{"ruleId":"D2","level":"warning","message":{"text":"InterceptorArgumentProvider.get (cognitive 16): InterceptorArgumentProvider.get has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/objectfactory/InterceptorArgumentProvider.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd19e66c38e0de2fdac1a8156da0b35cbecb853985c0496c94c85e97d10b3383"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPollerThread.poll (cognitive 16): AsyncPollerThread.poll has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, error handling 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/async/AsyncPollerThread.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b912d3631f5b68bdb196979cf8885e972bec4ef3c950f1ebbdf2e267b710279"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment.remove (cognitive 16): Segment.remove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 4, loops 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b583fda1b109bc05af318e983639c3be332f0d4db2711a5f2ffbeb69963faa3"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkListFactory.createTargetLink (cognitive 16): LinkListFactory.createTargetLink has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/link/LinkListFactory.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"162d99386a28ae65cefb281406f4697e944cb639cfe1591a9d135d936f0c14f9"}},{"ruleId":"D2","level":"warning","message":{"text":"4.replacement (cognitive 16): 4.replacement has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc17add5101f391a6bf5c6835f48946714f8037bd0a2778a6a9e58ff52741dd4"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanAligner.populateSpanEvent (cognitive 16): SpanAligner.populateSpanEvent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, loops 4, error handling 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/span/SpanAligner.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed21b25c6c22c1ce024bd80dce1d36389d683ba9cf4e90ab7e93d3d2a7a7760"}},{"ruleId":"D2","level":"warning","message":{"text":"OtlpAttributeBoMapper.truncateValue (cognitive 16): OtlpAttributeBoMapper.truncateValue has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7, if/else 4, loops 4, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpAttributeBoMapper.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf446415c990d6dd5d4b20255281df8e3ef0563e1c7a7e1006a74849af1499e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PreparedStatementParameterLogger: TooManyMethods \u2014 100 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":"commons-mybatis/src/main/java/com/navercorp/pinpoint/mybatis/plugin/PreparedStatementParameterLogger.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95b328dd9eafd5bbe47de33b5c43cd78dc846c2cfed694be844cc74634af41d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FixedBuffer: TooManyMethods \u2014 76 methods. Most of these members implement buffer.Buffer (62 of 74 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/FixedBuffer.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b585ea503d0b24021f9b7ff100576f7d5d42afbd7d875d7e773e52ef3353fd8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpanBo: TooManyMethods \u2014 74 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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/SpanBo.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88163421cc108932522038889a9f00ac84b9210444eb2646a5cad9cc5076a5a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ASMMethodVariables: TooManyMethods \u2014 65 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMMethodVariables.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3619ec1797441cacf731061c10e2d8b9a3a3660f4a21566b130aa853be239c5c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BytesUtils: TooManyMethods \u2014 60 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":"commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5055a9bcea73b0c8e931c6b9e1a6912b1923f7835e9d5dfd1c54eac699975fad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GrpcTransportConfig: TooManyMethods \u2014 56 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/grpc/config/GrpcTransportConfig.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d91be85a52c8d831bb2c34fc7d80cbce7c188dcd58dd844ce4a991ae89f64fa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpanAlign: TooManyMethods \u2014 56 methods. Most of these members implement span.Align (51 of 54 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/span/SpanAlign.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"66097a53333b85265c55d2e0ba8d3c08c994cf3beb53bbe000fac2dbc41e7b57"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WrappedPinotConnection: TooManyMethods \u2014 55 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":"pinot/pinot-datasource/src/main/java/com/navercorp/pinpoint/pinot/datasource/WrappedPinotConnection.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb81779233292a885e82f7c93903fc82c20eea1306f7c68dadd9ce3fb8b44fa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UnclosedConnection: TooManyMethods \u2014 54 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":"agent-module/plugins-test-module/plugins-it-utils-jdbc/src/main/java/com/navercorp/pinpoint/it/plugin/utils/jdbc/template/TransactionDataSource.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2baaa697d4df923aefb2f9d379d0ccd9f5ac563749dd2b284b4c2a792f6affb5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ASMClass: TooManyMethods \u2014 54 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClass.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7474fcfe4423beb508c756ae2e6200faaa3d43c71921a4369cbe9e5ff4b798e3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpanEventAlign: TooManyMethods \u2014 52 methods. Most of these members implement span.Align (49 of 51 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/span/SpanEventAlign.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"757563beef3695c213bd2e6f973829f6c4eb6e73f656dcaa53078210ca409ef2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HbaseTemplate: TooManyMethods \u2014 51 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":"commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/HbaseTemplate.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e382f6a9d0f7222ceb5f06f7ec453a4e68ecf2e7a1626c20c1dee8ce949b27"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DisableSpanRecorder: TooManyMethods \u2014 47 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/recorder/DisableSpanRecorder.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54a992ee3b4d268ba7a29f5a29193d9118e20c9f939ef949a502a98c734c244"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TraceRootSpanRecorder: TooManyMethods \u2014 47 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/recorder/TraceRootSpanRecorder.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9012f9bf6fd8c643226fb92597ca66b97c1510f3ed5051e350385366e01ace9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: r2dbc/SpringDataR2dbcPlugin.java: FileTooLong \u2014 768 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: SpringDataR2dbcPlugin (93-1251). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff1180f3330b7b2c9e9e6fee92721f825beb9ea2de618dbbcbff249075ba1ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultTraceBlock: TooManyMethods \u2014 46 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTraceBlock.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85813e3cced137c7d731c2768ddb994a6583b3bb84c913b79f4707ad7bd27f5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DisableTraceBlock: TooManyMethods \u2014 46 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DisableTraceBlock.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06bc8e84dad18a0e744a887f4a49143d4d937d4bb39162ab640937110574912"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThrottledLogger: TooManyMethods \u2014 46 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/logging/ThrottledLogger.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e916fbf94a89acf66f90791507feaeb5e0bd6472880bd36d3256920b28f9ad8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jsr166/ConcurrentReferenceHashMap.java: FileTooLong \u2014 726 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ConcurrentReferenceHashMap (132-1743). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d084c87b26c30801c29f1570951c0798b8d8994a3145cf3f3c0dadc018f5b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ASMClassNodeAdapter: TooManyMethods \u2014 43 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClassNodeAdapter.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ef560425d5521824bab6714567d3462e0158f57c83f9fdd54da9aa285ed9cf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ASMNestedClass: TooManyMethods \u2014 43 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMNestedClass.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a218469deaf2f7dce7d2f74f12f44c792653ed39ce8b11ecf0229d1145e61b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpanEvent: TooManyMethods \u2014 41 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/SpanEvent.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7eef71e6eee24dd45ec8d9a80cde4d61d2051045c4e4478570255a0b641d59"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DisableSpanEventRecorder: TooManyMethods \u2014 41 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/recorder/DisableSpanEventRecorder.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9180fdbef2fd2a872a868e8f32a1a66395172506946691db92d81de0501466"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentInfoEntity: TooManyMethods \u2014 41 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":"agent-statistics/agent-statistics-collector/src/main/java/com/navercorp/pinpoint/agentstatistics/collector/entity/AgentInfoEntity.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d0308c681d2abf390bb1be4ace5be89b2044c8d3de087f482689d85a7a6cf0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpanEventBo: TooManyMethods \u2014 41 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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/SpanEventBo.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4650acfea7e20119707b52a9f0e7c3078ac8a2fd4edae953074fbe87c1016665"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Log4J2PluginLoggerAdapter: 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":"agent-module/profiler-logging/src/main/java/com/navercorp/pinpoint/profiler/logging/Log4J2PluginLoggerAdapter.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68782012c7e0331ad54ecbe8d9c7c50208a975125aeede5dbc554da2961ffcc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExceptionMetaDataEntity: 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":"exceptiontrace/exceptiontrace-collector/src/main/java/com/navercorp/pinpoint/exceptiontrace/collector/entity/ExceptionMetaDataEntity.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3828f578a8b1220b29425abea73d2f8ac745aac683a15d0a2b7e71126dc460b7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseRecord: TooManyMethods \u2014 38 methods. Most of these members implement callstacks.Record (36 of 38 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/BaseRecord.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"342f6f98ddb87c588f0fe5f2551a46e8c3774b5e3a03c843f014e3cdd1ebc472"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DummyPluginLogger: 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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/logging/DummyPluginLogger.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62170e810433b47b9a0720ac8c177491318398feb14b4dc95b26e8b6e27e770"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Span: 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/Span.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4634f321055a611ef37890ba6e70d7f4077dc16af5f38670982ec6546586022a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CallStack: 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":"web/src/main/java/com/navercorp/pinpoint/web/trace/view/TransactionCallTreeViewModel.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f541698a8e9e08147e6979665dfd87159caac06aae190011fcd143136d5bc6a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jsr166/ConcurrentWeakHashMap.java: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ConcurrentWeakHashMap (109-1455). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b61ef7bc99f51f3784e45cb5bccc438922902b0989bf48c05c1853d422e7933"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/SpanServiceImpl.java: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: SpanServiceImpl (86-931). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30be103f75b84335efa5493e1d7b747f9580457933c35034f2e149ffcb12979"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractRecorder: 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/recorder/AbstractRecorder.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88c8f7334e46db7d8995040c817eb4952d50c375348b71d3e022c51d2024aee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThreadDumpMetricSnapshot: 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/deadlock/ThreadDumpMetricSnapshot.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7285556d4901a4afa6993ced21d2cc568b57783ea8e565bc244850ede22f2dcb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpanChunkBo: 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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/SpanChunkBo.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6c8b5c69fc3569256206a44200995d16c501b3affdc380be1e5d1d1c422d2d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExceptionMetaDataEntity: 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":"exceptiontrace/exceptiontrace-web/src/main/java/com/navercorp/pinpoint/exceptiontrace/web/entity/ExceptionMetaDataEntity.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0c3ab9d5680bbb0adb25b814eac5151b02db7a96e0d373d7ebd6a076190d24"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultTrace: TooManyMethods \u2014 34 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTrace.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef170f27b30f61812db03d3e97552f5343b007a97c51cbf584a401b445114cb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentStatMetricSnapshot: TooManyMethods \u2014 34 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/AgentStatMetricSnapshot.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"18045e0b25ec6b99bc6a5dccf251d46f5d43021015ce8cb3241f53e35f740cf2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConcurrentReferenceHashMap: TooManyMethods \u2014 34 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f067b0cb52cbf383828a18f30e23f3b3d4ed00b96bdd02eb8b8e4c1e2f13984"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExceptionMetaData: TooManyMethods \u2014 34 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exceptiontrace/exceptiontrace-common/src/main/java/com/navercorp/pinpoint/exceptiontrace/common/model/ExceptionMetaData.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8bba8ae1fad5108b8cecb6cf6949559b1c52b4bd7d78ec8b4cee96dff0ab14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mongo/MongoPlugin.java: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: MongoPlugin (89-943). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e326ba70820b34f1dab78a3f318af4139d9b27ff24c14de608574ec8290be8e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThriftRequestProperty: TooManyMethods \u2014 33 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":"agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/ThriftRequestProperty.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e187230972ec4ee7578a03bcae3be59b7d6880172812f068379be2e8209c348"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChildTrace: TooManyMethods \u2014 33 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/ChildTrace.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"532d837488e5b9902ff05fa6a1c4e250d41760996199e4eab494669fb1c1b31b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UriStat: TooManyMethods \u2014 33 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":"uristat/uristat-collector/src/main/java/com/navercorp/pinpoint/uristat/collector/model/UriStat.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0b59d73e5562acece008b89da9521e87a390308157194e5f3babe795a852e5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RecordSet: TooManyMethods \u2014 33 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":"web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/RecordSet.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bcff504e10eaed58c50af6a55b482f204412b826fb96631b976eae643bf543"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mongo/WriteContext.java: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/WriteContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67c0579f42e23faa935379374f3be534ca76f7aa446fb0bb5ffef24fc395251"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ASMMethodNodeAdapter: TooManyMethods \u2014 32 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMMethodNodeAdapter.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f39d79a226492c008babf819c071d63f43285c9a44af5ae5927bcd9a53edf05"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnnotationTranscoder: TooManyMethods \u2014 32 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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/AnnotationTranscoder.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"762beeff6fc8ba0c84f07ff3bf7d284abe20c0263a94e72b6bca8737c7df8224"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThreadDumpBo: TooManyMethods \u2014 32 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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/event/ThreadDumpBo.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7754f29832f655d20e635c516f13e1eb2c77903b03fc4d9ac3140a540d9dbf61"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HbaseConfig: TooManyMethods \u2014 32 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":"hbase/hbase-schema-manager/src/main/java/com/navercorp/pinpoint/hbase/manager/config/HbaseConfig.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb4f564acdba9738922b24ecc44f66b4aa6e20359ad1754647b3c1787f0d602"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpanServiceImpl: TooManyMethods \u2014 32 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":"web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e657a34b1f5ed9dd8f19c2f126718c179a8a9fe16a4cccd73be762ae025291"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bo/AnnotationTranscoder.java: FileTooLong \u2014 527 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: AnnotationTranscoder (50-778). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/AnnotationTranscoder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81005e2b1856785b28c9519930e3656a5bbdfe53de276da808ccc325db13366"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpanEventBitField: TooManyMethods \u2014 31 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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/bitfield/SpanEventBitField.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb1f8200f61ad45997d3cc9250501a32ab8ed8d54bb7a710802f22974df49fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PinotAlarmRule: TooManyMethods \u2014 31 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":"pinot/pinot-batch/src/main/java/com/navercorp/pinpoint/pinot/alarm/vo/PinotAlarmRule.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42f7c1637f7795296f171aa169a73c21e585acce4a8b60c0ac6cdd33a2796d0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Link: TooManyMethods \u2014 31 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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/link/Link.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"60460e70852509cbb609d15244cb9d370e15e80e09f88f2dff814ae05c28faae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/filter/ArcusMethodFilter.java:53-76 | agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/filter/MemcachedMethodFilter.java:37-60 \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 \u0060agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/filter/ArcusMethodFilter.java:53\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":"agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/filter/ArcusMethodFilter.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9165ea29e1bcedd4f0c7ec72e1a2e1e93c8ab2f8a0b671605fcfb73f2542d57d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:700-721 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:510-531 \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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"f344fa7677d48aa019fb2715b81b965983d561208a23862cc10df5d1523af47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointApiAwareInterceptor.java:46-64 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointInterceptor.java:52-70 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointApiAwareInterceptor.java:46\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointApiAwareInterceptor.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72472e3a87197ad86fb14df396d5f67ce322be56b13cd7771c3a12686102b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventNestedApiIdAwareAroundInterceptor.java:52-70 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/InjectedAsyncContextSpanEventNestedApiIdAwareAroundInterceptor.java:58-76 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventNestedApiIdAwareAroundInterceptor.java:52\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventNestedApiIdAwareAroundInterceptor.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d0669356022cec49dc61812492460c612a6b4366243aa46d7d978f18d84efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventApiIdAwareAroundInterceptor.java:90-106 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventSimpleAroundInterceptor.java:100-116 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/InjectedAsyncContextSpanEventApiIdAwareAroundInterceptor.java:96-112 \u2014 before extracting anything, compare \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventApiIdAwareAroundInterceptor.java\u0060 and \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/InjectedAsyncContextSpanEventApiIdAwareAroundInterceptor.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventApiIdAwareAroundInterceptor.java:90\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventApiIdAwareAroundInterceptor.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"34abc7c269fa4abcda8dffdd224b2ee5178b2f41bd8f6b40070f4d81f6de4fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/MssqlStatementBindInterceptor.java:47-63 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/MssqlStatementBindNullInterceptor.java:47-63 \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 \u0060agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/MssqlStatementBindInterceptor.java:47\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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/MssqlStatementBindInterceptor.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"148b73ea7cc165fc790d148f2c4bba469b5c864a3e09151f4e539a0dd833d041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/StatementBindInterceptor.java:48-64 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/StatementBindNullInterceptor.java:47-63 \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 \u0060agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/StatementBindInterceptor.java:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/StatementBindInterceptor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf60a98a26b1c40c71383fdc74effa5084f4c2168b65847d46aaa70101f6de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/interceptor/TargetBeanFilter.java:60-76 | agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/interceptor/TargetBeanFilter.java:126-142 \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 \u0060agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/interceptor/TargetBeanFilter.java:60\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":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/interceptor/TargetBeanFilter.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3644e21859fb36cd08f90d91d9abeac28023631e124277df58fb79a876f640b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventApiIdAwareAroundInterceptor.java:40-56 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/InjectedAsyncContextSpanEventApiIdAwareAroundInterceptor.java:46-62 \u2014 before extracting anything, compare \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventApiIdAwareAroundInterceptor.java\u0060 and \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/InjectedAsyncContextSpanEventApiIdAwareAroundInterceptor.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventApiIdAwareAroundInterceptor.java:40\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventApiIdAwareAroundInterceptor.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2c1c35df39b3ebf45b935a023266536ed054c4475d1d34c199da99c550abb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointApiAwareInterceptor.java:97-113 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointInterceptor.java:103-119 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointApiAwareInterceptor.java:97\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointApiAwareInterceptor.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"779302188ab3d411f2c92d09c5940c08f4695c52431a4f614f488d4f55318345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventNestedApiIdAwareAroundInterceptor.java:98-114 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/InjectedAsyncContextSpanEventNestedApiIdAwareAroundInterceptor.java:104-120 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventNestedApiIdAwareAroundInterceptor.java:98\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventNestedApiIdAwareAroundInterceptor.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb7dc28a8530c38eca832408735bf1d8dafbae02d45c17dce2436d534261977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java:266-281 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/interceptor/DirectivesInterceptor.java:266-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 \u0060agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java:266\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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1199aa75bee71dd79b33f263aef3637e3161426c5c222b4b9929c5ddf856494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/HttpRequestAdaptor.java:84-99 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/HttpRequestAdaptor.java:81-96 \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 \u0060agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/HttpRequestAdaptor.java:84\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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/HttpRequestAdaptor.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a14532ef26acf786f73903529e55b2790cba7c549717c072f64ee68ac40e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java:101-116 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/HttpEngineReadResponseMethodInterceptor.java:101-116 \u2014 before extracting anything, compare \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java\u0060 and \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/HttpEngineReadResponseMethodInterceptor.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 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 \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java:101\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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eb6b268fdf9b42b922e4e1b0bb38100d69416206b4d16ffa6fe770a79911c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/interceptor/tprotocol/server/TProtocolReadMessageEndInterceptor.java:182-197 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/ServerConnectionHandleRequestInterceptor.java:177-192 \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 \u0060agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/interceptor/tprotocol/server/TProtocolReadMessageEndInterceptor.java:182\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":"agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/interceptor/tprotocol/server/TProtocolReadMessageEndInterceptor.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e1551de2e265afb12d5ab80a7b97fce695e7821df30c1be067602fb70eb5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockApiIdAwareAroundInterceptor.java:90-105 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockSimpleAroundInterceptor.java:94-109 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockApiIdAwareAroundInterceptor.java:90\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockApiIdAwareAroundInterceptor.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e30e52afc2aa7fb627a42fa0c0804f0c1f63f983b29959394f911a9ee42bbb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/ChildTrace.java:122-137 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTrace.java:135-150 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/ChildTrace.java:122\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/ChildTrace.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3d4476a700c994782e38259056f45c480bb09647ece0d62be8239efce5c73a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/RecordFactory.java:139-154 | web/src/main/java/com/navercorp/pinpoint/web/trace/service/TransactionInfoServiceImpl.java:293-308 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/RecordFactory.java:139\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":"web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/RecordFactory.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edb7def311ba2017f50417559f0c4d06fefa4c474c2673767aa11a4b2122400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/grpc/GrpcCommandService.java:133-148 | realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/grpc/GrpcCommandService.java:206-222 \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 \u0060realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/grpc/GrpcCommandService.java:133\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":"realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/grpc/GrpcCommandService.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c73057d0cc595fc9b62cc7c0793b2dd85d1ad22a047d7f6f9bcc21b622cac24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/DefaultClientExchangeHandlerImplStartMethodInterceptor.java:96-110 | agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/HttpRequestExecutorExecuteMethodInterceptor.java:102-116 | agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/interceptor/CloseableHttpAsyncClientDoExecuteInterceptor.java:91-105 | agent-module/plugins/ning-asynchttpclient/src/main/java/com/navercorp/pinpoint/plugin/ning/asynchttpclient/interceptor/ExecuteInterceptor.java:85-99 | agent-module/plugins/ning-asynchttpclient/src/main/java/com/navercorp/pinpoint/plugin/ning/asynchttpclient/interceptor/ExecuteRequestInterceptor.java:89-103 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/DefaultClientExchangeHandlerImplStartMethodInterceptor.java:96\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":"agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/DefaultClientExchangeHandlerImplStartMethodInterceptor.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4f8a53f464069b54677fbfb3afc0d1925ae56bb9829b5ac7e1a7eead08e773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): agent-module/plugins/netty/src/main/java/com/navercorp/pinpoint/plugin/netty/interceptor/http/HttpEncoderInterceptor.java:192-206 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventApiIdAwareAroundInterceptor.java:86-100 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventSimpleAroundInterceptor.java:96-110 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/InjectedAsyncContextSpanEventApiIdAwareAroundInterceptor.java:92-106 \u2014 before extracting anything, compare \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventApiIdAwareAroundInterceptor.java\u0060 and \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/InjectedAsyncContextSpanEventApiIdAwareAroundInterceptor.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/netty/src/main/java/com/navercorp/pinpoint/plugin/netty/interceptor/http/HttpEncoderInterceptor.java:192\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":"agent-module/plugins/netty/src/main/java/com/navercorp/pinpoint/plugin/netty/interceptor/http/HttpEncoderInterceptor.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"915b856e50347e73aac8548c0f468577394d20b3aa354bc81a763b7bd7417189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java:78-92 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineSendRequestMethodInterceptor.java:111-125 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/HttpEngineReadResponseMethodInterceptor.java:78-92 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/HttpEngineSendRequestMethodInterceptor.java:111-125 \u2014 before extracting anything, compare \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java\u0060 and \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/HttpEngineReadResponseMethodInterceptor.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 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 \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java:78\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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"747499bc9db39f1c3776bba56ff6d57de12600cb1a979a74345d1d7ddeee01c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineSendRequestMethodInterceptor.java:76-90 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/BridgeInterceptorInterceptMethodInterceptor.java:84-98 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/HttpEngineSendRequestMethodInterceptor.java:76-90 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineSendRequestMethodInterceptor.java:76\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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineSendRequestMethodInterceptor.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d88ede407b2e974ea0a09da862e520dd1ced1f58a063ca06acba0c033a15c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineSendRequestMethodInterceptor.java:134-148 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/BridgeInterceptorInterceptMethodInterceptor.java:124-138 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/HttpEngineSendRequestMethodInterceptor.java:134-148 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineSendRequestMethodInterceptor.java:134\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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineSendRequestMethodInterceptor.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71280559342d556528f2444e6884366d920e536988e4413bb916bebd4183fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): agent-module/plugins/paho-mqtt/src/main/java/com/navercorp/pinpoint/plugin/paho/mqtt/interceptor/CommsCallbackV3ConstructorInterceptor.java:48-62 | agent-module/plugins/paho-mqtt/src/main/java/com/navercorp/pinpoint/plugin/paho/mqtt/interceptor/CommsCallbackV5ConstructorInterceptor.java:48-62 | agent-module/plugins/paho-mqtt/src/main/java/com/navercorp/pinpoint/plugin/paho/mqtt/interceptor/MqttClientConstructorInterceptor.java:45-59 \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 \u0060agent-module/plugins/paho-mqtt/src/main/java/com/navercorp/pinpoint/plugin/paho/mqtt/interceptor/CommsCallbackV3ConstructorInterceptor.java:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/paho-mqtt/src/main/java/com/navercorp/pinpoint/plugin/paho/mqtt/interceptor/CommsCallbackV3ConstructorInterceptor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1a8d2e8f78f99774ace040408981f7889597933c780900f7fa268510250826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoClientV4ConstructorInterceptor.java:42-56 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/ReactiveMongoClientImplConstructorInterceptor.java:42-56 \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 \u0060agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoClientV4ConstructorInterceptor.java:42\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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoClientV4ConstructorInterceptor.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f20a248f186a7032ec384556788b566feed8e27834e73175c0a872bae0b3106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java:59-73 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/HttpEngineReadResponseMethodInterceptor.java:59-73 \u2014 before extracting anything, compare \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java\u0060 and \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/HttpEngineReadResponseMethodInterceptor.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29b893dc1fb562ea9abbf33fa2cb25f562fb86e7612cc93ac21533c00f759d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/BodyInserterRequestBuilderWriteToInterceptor.java:66-80 | agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingBodyInserterRequestBuilderWriteToInterceptor.java:149-163 \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 \u0060agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/BodyInserterRequestBuilderWriteToInterceptor.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. 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":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/BodyInserterRequestBuilderWriteToInterceptor.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf9e83c8777e915f7dee37a302822202d56f691aa44420a47ec5f3efc1187a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockApiIdAwareAroundInterceptor.java:37-52 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockSimpleAroundInterceptor.java:43-57 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockApiIdAwareAroundInterceptor.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6004c05c1fc5be2e95c487725e4cf955a4d24c8d9da0ad58675f6bd6d3966f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:871-885 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:675-689 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce29dac69765de749783a6200d5639e861dd3ac7f24228b9dc8dc261d99dd35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/interceptor/RequestStartAsyncInterceptor.java:67-80 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/RequestStartAsyncInterceptor.java:71-84 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/RequestStartAsyncInterceptor.java:72-85 | agent-module/plugins/undertow-servlet/src/main/java/com/navercorp/pinpoint/plugin/undertowservlet/interceptor/HttpServletRequestImplStartAsyncInterceptor.java:65-78 | agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/interceptor/ServletRequestImplStartAsyncInterceptor.java:65-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/interceptor/RequestStartAsyncInterceptor.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. 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":"agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/interceptor/RequestStartAsyncInterceptor.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f542a792a22c9c9f9fcf9d7d125ce2fc600fdaaefcd323150364ecbdb68aa876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): agent-module/plugins/common-servlet/src/main/java/com/navercorp/pinpoint/plugin/common/servlet/jakarta/util/HttpServletParameterExtractor.java:56-69 | agent-module/plugins/common-servlet/src/main/java/com/navercorp/pinpoint/plugin/common/servlet/util/HttpServletParameterExtractor.java:56-69 | agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/interceptor/HttpServerParameterExtractor.java:52-65 | agent-module/plugins/undertow/src/main/java/com/navercorp/pinpoint/plugin/undertow/HttpServerExchangeParameterExtractor.java:45-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/common-servlet/src/main/java/com/navercorp/pinpoint/plugin/common/servlet/jakarta/util/HttpServletParameterExtractor.java:56\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":"agent-module/plugins/common-servlet/src/main/java/com/navercorp/pinpoint/plugin/common/servlet/jakarta/util/HttpServletParameterExtractor.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"08651360cd19db9c32ec336163ee190a146a18135b7cb1b1d71ee808af6b04c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/AgentGrpcDataSenderProvider.java:150-163 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/SpanBatchGrpcDataSenderProvider.java:134-148 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/SpanGrpcDataSenderProvider.java:143-157 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/StatGrpcDataSenderProvider.java:106-121 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/AgentGrpcDataSenderProvider.java:150\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/AgentGrpcDataSenderProvider.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"862a80e1b2151a09887c6b6449839643ea2be31d4872cae92ec4735ab524c5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): agent-module/plugins/cassandra/src/main/java/com/navercorp/pinpoint/plugin/cassandra/interceptor/CassandraDriverConnectInterceptor.java:110-123 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/DriverConnectInterceptor.java:94-107 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/DriverConnectInterceptorV2.java:88-101 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/cassandra/src/main/java/com/navercorp/pinpoint/plugin/cassandra/interceptor/CassandraDriverConnectInterceptor.java:110\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":"agent-module/plugins/cassandra/src/main/java/com/navercorp/pinpoint/plugin/cassandra/interceptor/CassandraDriverConnectInterceptor.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f1996a2c2ce5f901eaa65e634b0ba85fde064ab89cec3dfaa8bcf1c5ab01a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/JbossAsyncListener.java:46-59 | agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/JbossAsyncListener.java:89-103 | agent-module/plugins/websphere/src/main/java/com/navercorp/pinpoint/plugin/websphere/WebsphereAsyncListener.java:44-57 \u2014 there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/JbossAsyncListener.java:46\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/JbossAsyncListener.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9870e5b55792ffb3864390c416c603f0bfd6ee089febb1d8b5ed22e7e9724a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/WrappingMssqlStatementExecuteInterceptor.java:115-128 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/WrappingConnectionFactoryCreateInterceptor.java:70-83 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/WrappingStatementExecuteInterceptor.java:117-130 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/WrappingMssqlStatementExecuteInterceptor.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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/WrappingMssqlStatementExecuteInterceptor.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2112b96d56b8f65c8ede5a6496b164a22472030e37bb393ea550398be8ec5808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/reactor/FluxAndMonoOperatorSubscribeInterceptor.java:34-47 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/reactor/FluxAndMonoSubscribeInterceptor.java:34-47 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/reactor/FluxAndMonoSubscribeOrReturnInterceptor.java:34-47 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/reactor/FluxAndMonoOperatorSubscribeInterceptor.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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/reactor/FluxAndMonoOperatorSubscribeInterceptor.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0df6608d09f9da0badeb1fa6749e0305a35c694c321f40f98e32a47eaa8a5cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java:83-98 | agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java:82-95 \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 \u0060agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java:83\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":"agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9303b934c8502a5e1a437c000c5311b45697bf8ef9d3c71cf6d33426094c0619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java:81-94 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/interceptor/DirectivesInterceptor.java:81-94 \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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca43404a68c7f9f2440d17131b2a6648c83dac436014fbfc915e51652698b147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java:154-167 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/interceptor/DirectivesInterceptor.java:154-167 \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 \u0060agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java:154\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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9375f4eb0d312ac2030a2fae8092dc096e562a67c94f99cb2dd06b3e7279ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/interceptor/ApiInterceptor.java:171-184 | agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/interceptor/FutureGetInterceptor.java:94-107 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/interceptor/ApiInterceptor.java:171\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":"agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/interceptor/ApiInterceptor.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"979cb740b44b12dc0ae82eb2b2f365d0b2b43117785fb35b8aa24d66fec8cb39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/interceptor/MySQLConnectionCreateInterceptor.java:70-83 | agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/interceptor/MySQL_6_X_ConnectionCreateInterceptor.java:68-81 \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 \u0060agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/interceptor/MySQLConnectionCreateInterceptor.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/interceptor/MySQLConnectionCreateInterceptor.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb01bfce4eb0d10110ad608be486cc592aff0133da5a499b0d58bb4037b70f2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/plugins/kotlin-coroutines/src/main/java/com/navercorp/pinpoint/plugin/kotlinx/coroutines/interceptor/DispatchInterceptor.java:91-104 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/BasicMethodInterceptor.java:69-82 \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 \u0060agent-module/plugins/kotlin-coroutines/src/main/java/com/navercorp/pinpoint/plugin/kotlinx/coroutines/interceptor/DispatchInterceptor.java:91\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/kotlin-coroutines/src/main/java/com/navercorp/pinpoint/plugin/kotlinx/coroutines/interceptor/DispatchInterceptor.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c2f100dd640c03cc66c10694d3d78228e95e1704ea4d09f6c7575bb0a2ee67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplConstructorInterceptor.java:47-60 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/ReactiveMongoOperationPublisherConstructorInterceptor.java:52-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 \u0060agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplConstructorInterceptor.java:47\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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplConstructorInterceptor.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2168e0e6f87d17011008672e0712843eeda7d18ca6bfaef11f4c93652fc871f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/AbstractRequestBuilderBuildMethodInterceptor.java:59-72 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/RequestBuilderBuildMethodInterceptor.java:58-71 \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 \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/AbstractRequestBuilderBuildMethodInterceptor.java:59\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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/AbstractRequestBuilderBuildMethodInterceptor.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e53682ec0f6e422558a184cc65bf8b0e1dc076698a4473b6ff6ca78172ced6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mysql/AsyncerInitFlowInitHandshakeInterceptor.java:40-53 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mysql/QueryFlowLoginInterceptor.java:40-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 \u0060agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mysql/AsyncerInitFlowInitHandshakeInterceptor.java:40\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mysql/AsyncerInitFlowInitHandshakeInterceptor.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc18f36bcaef8aa28f02663460d6b9d86ccb38c4e9bfe25e35e7b44f31f4e766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingDispatchHandlerHandleMethodInterceptor.java:80-93 | agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingExchangeFunctionMethodInterceptor.java:80-93 \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 \u0060agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingDispatchHandlerHandleMethodInterceptor.java:80\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":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingDispatchHandlerHandleMethodInterceptor.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8841073159ee9327f4b56690ccda1578652c50872bbef5566fe13eb5d9bf07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:114-127 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java:115-128 \u2014 before extracting anything, compare \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java\u0060 and \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 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 \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:114\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":"agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d02a47ab08c92a195906f896e2a463b2cfc4168f6495858a55b95c3b8daaa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/TomcatAsyncListenerAdaptor.java:64-77 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/TomcatAsyncListenerAdaptor.java:64-77 \u2014 \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/TomcatAsyncListenerAdaptor.java\u0060 and \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/TomcatAsyncListenerAdaptor.java\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 40 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/TomcatAsyncListenerAdaptor.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":"agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/TomcatAsyncListenerAdaptor.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d8dba8b037cadacc5d710805142b56949109156b4b83fbe1f11ddfccb9dd60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/AsyncDefaultTrace.java:26-39 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/AsyncDisableTrace.java:45-58 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/AsyncDefaultTrace.java:26\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/AsyncDefaultTrace.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f01fc34e019a41126f3914e25d2470c73b5d6aee54673e3b0117564d2c29a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/parallel/ParallelResultScanner.java:129-142 | commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/wd/DistributedScanner.java:137-152 \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 \u0060commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/parallel/ParallelResultScanner.java:129\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":"commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/parallel/ParallelResultScanner.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacbae603e28f352efd3ee76ff34bc079614da733a87781e6f10fb1088a9b338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:1035-1048 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:764-777 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:1035\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0f55a83f31728def60eb4fe90eb1de6cb6ac1bbe1868a5d8a22509986e59a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:1180-1193 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:909-922 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:1180\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"657f8fbe6a5f3eacf5a1c8d1518a4ab1e7e407834c867b396f7374efb9bb7680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): collector/src/main/java/com/navercorp/pinpoint/collector/grpc/channelz/util/HTMLBuilder.java:24-37 | realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/controller/HTMLBuilder.java:24-37 \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 \u0060collector/src/main/java/com/navercorp/pinpoint/collector/grpc/channelz/util/HTMLBuilder.java:24\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":"collector/src/main/java/com/navercorp/pinpoint/collector/grpc/channelz/util/HTMLBuilder.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecba88e7c663194bd12232ff62ba14c1a05dd0405b3ed3bfbcc91a484678f57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java:123-135 | agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java:120-132 | agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerHandleCompleteInboundCommandInterceptor.java:121-133 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java:123\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":"agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4349b203e9813da27f397be011664cead03a1b2154f64d57df655074ceae58f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java:48-62 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/JettyAsyncListener.java:48-62 | agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/JettyAsyncListener.java:44-56 \u2014 \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java\u0060 and \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/JettyAsyncListener.java\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 55 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7971c4f2d12284a704c9a7a50b18b6db3f906430fd64508c2ab0967a9bbbdb5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java:92-106 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/JettyAsyncListener.java:92-106 | agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/JettyAsyncListener.java:84-96 \u2014 \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java\u0060 and \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/JettyAsyncListener.java\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 55 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java:92\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":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dabf723096a740d8d6314e83ee1758527ac47e8a87d8bec80fa1c542c04133d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/agent-plugins/proxy-nginx/src/main/java/com/navercorp/pinpoint/agent/plugin/proxy/nginx/NginxRequestParser.java:75-87 | agent-module/agent-plugins/proxy-nginx/src/main/java/com/navercorp/pinpoint/agent/plugin/proxy/nginx/NginxRequestParser.java:94-106 \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 \u0060agent-module/agent-plugins/proxy-nginx/src/main/java/com/navercorp/pinpoint/agent/plugin/proxy/nginx/NginxRequestParser.java:75\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":"agent-module/agent-plugins/proxy-nginx/src/main/java/com/navercorp/pinpoint/agent/plugin/proxy/nginx/NginxRequestParser.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3840f9ceb7a61b820bdaa62d5fca78f9781c67aa9577fa20eca9b405a07062c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/clickhouse-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/clickhouse/interceptor/ClickHouseConnectionCreateInterceptor.java:78-91 | agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/interceptor/PostgreSQLConnectionCreateInterceptor.java:65-77 \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 \u0060agent-module/plugins/clickhouse-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/clickhouse/interceptor/ClickHouseConnectionCreateInterceptor.java:78\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":"agent-module/plugins/clickhouse-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/clickhouse/interceptor/ClickHouseConnectionCreateInterceptor.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f95aa4d99cc6a464761d47c23efb789a81c56ae24791a2840771940b3b5c3d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/cxf/src/main/java/com/navercorp/pinpoint/plugin/cxf/interceptor/CxfClientHandleMessageMethodInterceptor.java:90-102 | agent-module/plugins/cxf/src/main/java/com/navercorp/pinpoint/plugin/cxf/interceptor/CxfClientInvokeSyncMethodInterceptor.java:133-145 \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 \u0060agent-module/plugins/cxf/src/main/java/com/navercorp/pinpoint/plugin/cxf/interceptor/CxfClientHandleMessageMethodInterceptor.java:90\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":"agent-module/plugins/cxf/src/main/java/com/navercorp/pinpoint/plugin/cxf/interceptor/CxfClientHandleMessageMethodInterceptor.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"265eea7100eaf5919b255a54924570d03722101cfdcdcf3b41b20c636d836e0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/gson/src/main/java/com/navercorp/pinpoint/plugin/gson/interceptor/FromJsonInterceptor.java:66-78 | agent-module/plugins/gson/src/main/java/com/navercorp/pinpoint/plugin/gson/interceptor/ToJsonInterceptor.java:66-78 \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 \u0060agent-module/plugins/gson/src/main/java/com/navercorp/pinpoint/plugin/gson/interceptor/FromJsonInterceptor.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":"agent-module/plugins/gson/src/main/java/com/navercorp/pinpoint/plugin/gson/interceptor/FromJsonInterceptor.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"666286c0b9790d951bd4206b8e817c1f123bf84afb2ec7365688c3a81616e982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/interceptor/RouteMethodInterceptor.java:56-68 | agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/interceptor/BeanMethodInterceptor.java:62-74 \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 \u0060agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/interceptor/RouteMethodInterceptor.java:56\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":"agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/interceptor/RouteMethodInterceptor.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03b6a03b4344e8d40015c0936dec5921c28fa648a433511ff2cfd3dc323e68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/RouteMethodTransformer.java:75-87 | agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/BeanMethodTransformer.java:79-91 \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 \u0060agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/RouteMethodTransformer.java:75\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":"agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/RouteMethodTransformer.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a3aad3bc1fc55d55ad75c14779179b07d67bedb8414c01f86ff711afb19285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/Log4jPlugin.java:75-87 | agent-module/plugins/logback/src/main/java/com/navercorp/pinpoint/plugin/logback/LogbackPlugin.java:77-89 \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 \u0060agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/Log4jPlugin.java:75\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":"agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/Log4jPlugin.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd77f47f38003faf4886852e885a9227b2d0dd9ef2a8926db3b8b128aa0ee68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/ning-asynchttpclient/src/main/java/com/navercorp/pinpoint/plugin/ning/asynchttpclient/NingEntityExtractorV1.java:33-45 | agent-module/plugins/ning-asynchttpclient/src/main/java/com/navercorp/pinpoint/plugin/ning/asynchttpclient/NingEntityExtractorV2.java:43-55 \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":"agent-module/plugins/ning-asynchttpclient/src/main/java/com/navercorp/pinpoint/plugin/ning/asynchttpclient/NingEntityExtractorV1.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4089da5b6314b3c8477bc4a9d8637e695d6cd561c50830e30f6a33e0a3e3d774"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/OpenwhiskPlugin.java:168-180 | agent-module/plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/OpenwhiskPlugin.java:185-197 \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 \u0060agent-module/plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/OpenwhiskPlugin.java:168\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":"agent-module/plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/OpenwhiskPlugin.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2cd3b0688a5bc9a191e385b723c5b61237bf906d20cad10558b16ac8a7d1db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/interceptor/WrappingLettuceMethodInterceptor.java:87-99 | agent-module/plugins/spring-tx/src/main/java/com/navercorp/pinpoint/plugin/spring/tx/interceptor/WrappingReactiveTransactionSupportInterceptor.java:85-97 \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 \u0060agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/interceptor/WrappingLettuceMethodInterceptor.java:87\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":"agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/interceptor/WrappingLettuceMethodInterceptor.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"92852054214ee7b3c5c1b52346bee6cce6f1702a3fa1fef0b65c112924ea839f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/resttemplate/src/main/java/com/navercorp/pinpoint/plugin/resttemplate/SpringVersion.java:37-49 | agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/SpringVersion.java:37-49 \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":"agent-module/plugins/resttemplate/src/main/java/com/navercorp/pinpoint/plugin/resttemplate/SpringVersion.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65da5170f987a2904e08e6febdbb5f19ebd09316b38cb62dbf80ad390c01727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/DispatchHandlerInvokeHandlerMethodInterceptor.java:84-97 | agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingDispatchHandlerInvokeHandlerMethodInterceptor.java:109-121 \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 \u0060agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/DispatchHandlerInvokeHandlerMethodInterceptor.java:84\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":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/DispatchHandlerInvokeHandlerMethodInterceptor.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"26eae13e138532fd1751cd940b5d209e3b772713214f8509cc9ef0d6be0d5d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/jakarta/interceptor/ExposePathWithinMappingInterceptor.java:32-44 | agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/javax/interceptor/ExposePathWithinMappingInterceptor.java:32-44 \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 \u0060agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/jakarta/interceptor/ExposePathWithinMappingInterceptor.java:32\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":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/jakarta/interceptor/ExposePathWithinMappingInterceptor.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"af11f24e15583281de71a5fac4d78feba547911d419c64212ff6def6a7d55e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/jakarta/interceptor/LookupHandlerMethodInterceptor.java:40-52 | agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/javax/interceptor/LookupHandlerMethodInterceptor.java:41-53 \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 \u0060agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/jakarta/interceptor/LookupHandlerMethodInterceptor.java:40\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":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/jakarta/interceptor/LookupHandlerMethodInterceptor.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b83b8092208480b09587fa2738055bd5e8a4faa824ea3ae3369f617290d6788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:153-166 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java:154-166 \u2014 before extracting anything, compare \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java\u0060 and \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 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 \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:153\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":"agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c2f232adbf78c40c5bba920805678897a637ea72ab530ad29b07eb01b35cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/TomcatAsyncListenerAdaptor.java:45-57 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/TomcatAsyncListenerAdaptor.java:45-57 \u2014 \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/TomcatAsyncListenerAdaptor.java\u0060 and \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/TomcatAsyncListenerAdaptor.java\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 40 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/TomcatAsyncListenerAdaptor.java:45\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":"agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/TomcatAsyncListenerAdaptor.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"297e006f7eae08c11f432317f1696c0752eb00206d54bc13b8430d1f38d59260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/TomcatAsyncListenerAdaptor.java:84-96 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/TomcatAsyncListenerAdaptor.java:85-97 \u2014 \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/TomcatAsyncListenerAdaptor.java\u0060 and \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/TomcatAsyncListenerAdaptor.java\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 40 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/TomcatAsyncListenerAdaptor.java:84\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":"agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/TomcatAsyncListenerAdaptor.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9eb16338a8d268189268baef3195710bcf7271f866377d9d0ea691ec4b2237f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor.java:48-60 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor1.java:48-60 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor.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. 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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa2605d92e409387945ec4b784940ad28842896d4023d238cba95b53a7a72db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/ReflectionUtils.java:15-28 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/util/ReflectionUtils.java:15-27 \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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/ReflectionUtils.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"357b518a906065a312ac0fac339257108f3e3c307db5fe3225cbbcbc443503b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/util/NetworkUtils.java:107-119 | commons/src/main/java/com/navercorp/pinpoint/common/util/NetUtils.java:132-144 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/util/NetworkUtils.java:107\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/util/NetworkUtils.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9a2fe521cb4819becd154a7bc1cbf78ef35ac90525fa3f888041c6d6277778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): agent-module/profiler-optional/profiler-optional-jdk8/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/cpu/ibm/DefaultCpuLoadMetric.java:41-53 | agent-module/profiler-optional/profiler-optional-jdk8/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/cpu/oracle/DefaultCpuLoadMetric.java:41-53 \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 \u0060agent-module/profiler-optional/profiler-optional-jdk8/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/cpu/ibm/DefaultCpuLoadMetric.java:41\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":"agent-module/profiler-optional/profiler-optional-jdk8/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/cpu/ibm/DefaultCpuLoadMetric.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa766c6bbbf2c0d02ee8a46aee374533343524e68fddd9614cf28809b04c00bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:1090-1102 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:819-831 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:1090\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f9c35b3bbcd6d7b9cf68f5933b2796faa015d12c3c3b917d4c06b469aedada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): uristat/uristat-batch/src/main/java/com/navercorp/pinpoint/batch/alarm/config/UriStatBatchDaoConfiguration.java:28-41 | uristat/uristat-web/src/main/java/com/navercorp/pinpoint/uristat/web/config/UriStatPinotDaoConfiguration.java:32-44 \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":"uristat/uristat-batch/src/main/java/com/navercorp/pinpoint/batch/alarm/config/UriStatBatchDaoConfiguration.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ace8a6f097e5e0198f6abfb04a931c0f99870ff24c18eb9fdc9e290d193959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/link/LinkListFactory.java:55-68 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/link/LinkListFactory.java:87-99 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/applicationmap/link/LinkListFactory.java:55\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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/link/LinkListFactory.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30d7cc5fcb63389c70ec71b7e9be9ce7dbfca21d07c0869eeeb3a0680c99f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/BaseRecord.java:158-170 | web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/DefaultRecord.java:128-140 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/BaseRecord.java:158\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":"web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/BaseRecord.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8901714415f88b90a7b77bae3a235aae60aa2504ff81db8e925e8766b53982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/grpc/GrpcCommandService.java:93-105 | realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/grpc/GrpcCommandService.java:168-180 \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 \u0060realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/grpc/GrpcCommandService.java:93\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":"realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/grpc/GrpcCommandService.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dd0a1e6685927918085f19aa45a4fb239bd7e013436edf9fea0498157ed2dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/JbossAsyncListener.java:69-82 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java:72-85 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/JettyAsyncListener.java:72-85 | agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/JettyAsyncListener.java:66-77 | agent-module/plugins/undertow-servlet/src/main/java/com/navercorp/pinpoint/plugin/undertowservlet/UndertowAsyncListener.java:64-77 | agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/WeblogicAsyncListener.java:70-83 | agent-module/plugins/websphere/src/main/java/com/navercorp/pinpoint/plugin/websphere/WebsphereAsyncListener.java:65-78 \u2014 \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java\u0060 and \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/JettyAsyncListener.java\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 55 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/JbossAsyncListener.java:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/JbossAsyncListener.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a753705e6cba6a79c3b925c17217a6cf34486972408439b0e67276b76367a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/RequestStartAsyncInterceptor.java:67-82 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/interceptor/RequestStartAsyncInterceptor.java:66-81 | agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/interceptor/RequestStartAsyncInterceptor.java:60-71 | agent-module/plugins/websphere/src/main/java/com/navercorp/pinpoint/plugin/websphere/interceptor/WCCRequestImplStartAsyncInterceptor.java:65-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/RequestStartAsyncInterceptor.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. 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":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/RequestStartAsyncInterceptor.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86622c4ff09eddc7d442b4ad5decf8a34f6e5df2cebb65bb862605a77d7eef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): agent-module/plugins/cassandra/src/main/java/com/navercorp/pinpoint/plugin/cassandra/interceptor/CassandraPreparedStatementCreateInterceptor.java:56-67 | agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/interceptor/InformixPreparedStatementCreateInterceptor.java:80-92 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/PreparedStatementCreateInterceptor.java:67-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/cassandra/src/main/java/com/navercorp/pinpoint/plugin/cassandra/interceptor/CassandraPreparedStatementCreateInterceptor.java:56\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":"agent-module/plugins/cassandra/src/main/java/com/navercorp/pinpoint/plugin/cassandra/interceptor/CassandraPreparedStatementCreateInterceptor.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"83442b86238569ccf8930da9d1c52f64107a088fb168a9989705b3ec4e6b258e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): agent-module/plugins/jtds/src/main/java/com/navercorp/pinpoint/plugin/jdbc/jtds/JtdsJdbcUrlParser.java:44-55 | agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlJdbcUrlParser.java:47-58 | agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlJdbcUrlParser.java:43-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/jtds/src/main/java/com/navercorp/pinpoint/plugin/jdbc/jtds/JtdsJdbcUrlParser.java:44\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":"agent-module/plugins/jtds/src/main/java/com/navercorp/pinpoint/plugin/jdbc/jtds/JtdsJdbcUrlParser.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09b7988981308e3806a54482606e3672837a1fa1a3f9ef980cd16ff0e68dd25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): agent-module/plugins/jtds/src/main/java/com/navercorp/pinpoint/plugin/jdbc/jtds/JtdsPlugin.java:77-88 | agent-module/plugins/mssql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mssql/MssqlPlugin.java:76-88 | agent-module/plugins/oracle-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/oracle/OraclePlugin.java:84-95 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/jtds/src/main/java/com/navercorp/pinpoint/plugin/jdbc/jtds/JtdsPlugin.java:77\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":"agent-module/plugins/jtds/src/main/java/com/navercorp/pinpoint/plugin/jdbc/jtds/JtdsPlugin.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13aecaffb2ead8faf5eb2fa93e7ad2cb68396cc508183e05cc0616f1ba1751e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/MssqlStatementExecuteInterceptor.java:84-95 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/ConnectionFactoryCreateInterceptor.java:41-52 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/StatementExecuteInterceptor.java:83-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/MssqlStatementExecuteInterceptor.java:84\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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/MssqlStatementExecuteInterceptor.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ec169a4f21905ceb493d9707d29a16c255abe0c74ff8389edddf5a8625b76a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/StatementExecuteInterceptor.java:48-59 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/WrappingStatementExecuteInterceptor.java:82-93 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/PreparedStatementExecuteQueryInterceptor.java:63-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/StatementExecuteInterceptor.java:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/StatementExecuteInterceptor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"910f809b7d82c89085d5bde6905f79ccc16a3f957095a77525436cd87c389021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/agentsdk-async/src/main/java/com/navercorp/pinpoint/plugin/sdk/interceptor/AsyncEntryInterceptor.java:77-88 | agent-module/plugins/agentsdk-async/src/main/java/com/navercorp/pinpoint/plugin/sdk/interceptor/ExecutorExecuteInterceptor.java:84-95 \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 \u0060agent-module/plugins/agentsdk-async/src/main/java/com/navercorp/pinpoint/plugin/sdk/interceptor/AsyncEntryInterceptor.java:77\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":"agent-module/plugins/agentsdk-async/src/main/java/com/navercorp/pinpoint/plugin/sdk/interceptor/AsyncEntryInterceptor.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cc1fd09b78ab39bbfbb00b3876da91b9ccb0c10c0c084969b8dbbbfbb37d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java:223-234 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/interceptor/DirectivesInterceptor.java:223-234 \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 \u0060agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java:223\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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"41455db8285b2042fccba58e40efb394381cdeeee8235e93fb87def1e7c9351b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpPlugin.java:57-68 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/PekkoHttpPlugin.java:57-68 \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 \u0060agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpPlugin.java:57\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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpPlugin.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"318bb80863479cfc3cf3dce168ea1a6122644e3a0061aa3339bb5c5c327db69f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/interceptor/AbstractServletHandlerHandleInterceptor.java:106-117 | agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/interceptor/AbstractServletHandlerHandleInterceptor.java:133-144 \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 \u0060agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/interceptor/AbstractServletHandlerHandleInterceptor.java:106\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":"agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/interceptor/AbstractServletHandlerHandleInterceptor.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e61b4a3aa65a0848e2284e25c411018b21f8bd09e07fb84372669f165c493cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/interceptor/AddRecordsToTasksInterceptor.java:128-139 | agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/interceptor/ConsumerMultiRecordEntryPointInterceptor.java:107-118 \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 \u0060agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/interceptor/AddRecordsToTasksInterceptor.java:128\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":"agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/interceptor/AddRecordsToTasksInterceptor.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4266dde3bed5185458ed70ab259cd88f114577a6cbff8c197761adced6f44aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/recorder/QueueServerRequestRecorder.java:22-33 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/request/ServerRequestRecorder.java:53-64 \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 \u0060agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/recorder/QueueServerRequestRecorder.java:22\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":"agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/recorder/QueueServerRequestRecorder.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"315cbd8b4d3b7a76d3c7427516c58468e493f3432706225eb8ac6de1bccb1157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/kotlin-coroutines/src/main/java/com/navercorp/pinpoint/plugin/kotlinx/coroutines/interceptor/MonoCoroutineConstructorInterceptor.java:38-49 | agent-module/plugins/kotlin-coroutines/src/main/java/com/navercorp/pinpoint/plugin/kotlinx/coroutines/interceptor/SetContextCoroutineConstructorInterceptor.java:38-49 \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 \u0060agent-module/plugins/kotlin-coroutines/src/main/java/com/navercorp/pinpoint/plugin/kotlinx/coroutines/interceptor/MonoCoroutineConstructorInterceptor.java:38\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":"agent-module/plugins/kotlin-coroutines/src/main/java/com/navercorp/pinpoint/plugin/kotlinx/coroutines/interceptor/MonoCoroutineConstructorInterceptor.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ae6a7f09cf15a3b33278e2c7d20357786c927fefe2800a53eadcb124c74f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/RouteMethodTransformer.java:53-64 | agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/BeanMethodTransformer.java:57-68 \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 \u0060agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/RouteMethodTransformer.java:53\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":"agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/RouteMethodTransformer.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ea9c4078370ba86c25da83ca3b2325777321443ab0e103abb4666517e629e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoClientsInterceptor.java:63-74 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/ReactiveMongoClientImplConstructorInterceptor.java:51-63 \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 \u0060agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoClientsInterceptor.java:63\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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoClientsInterceptor.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"245c263b9ec3b6ade4516297597169acc39acaa54fa51c42f8de7870d2245f57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/RequestBuilder2ClientHeaderAdaptor.java:48-59 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/RequestBuilder3ClientHeaderAdaptor.java:48-59 \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 \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/RequestBuilder2ClientHeaderAdaptor.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. 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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/RequestBuilder2ClientHeaderAdaptor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd55fa3daa1c0468d3e7b0d73c3cb897c87ef11dd3ab768f52c14406a7dc2fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/RequestBuilder2ClientHeaderAdaptor.java:66-77 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/RequestBuilder3ClientHeaderAdaptor.java:66-77 \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 \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/RequestBuilder2ClientHeaderAdaptor.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. 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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/RequestBuilder2ClientHeaderAdaptor.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bdb71788febad61660b4ab9ddb39347d0926d248cf47b760f44f6b1f6d9fbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/pulsar/src/main/java/com/navercorp/pinpoint/plugin/pulsar/interceptor/ConsumerImplEntryPointInterceptor.java:111-122 | agent-module/plugins/rocketmq/src/main/java/com/navercorp/pinpoint/plugin/rocketmq/interceptor/ConsumerMessageEntryPointInterceptor.java:116-127 \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":"agent-module/plugins/pulsar/src/main/java/com/navercorp/pinpoint/plugin/pulsar/interceptor/ConsumerImplEntryPointInterceptor.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"49762249f7ad16c69b0bffe87e51d160ad8daa0b0b99277882fc0e0156081ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/pulsar/src/main/java/com/navercorp/pinpoint/plugin/pulsar/interceptor/ConsumerImplEntryPointInterceptor.java:207-219 | agent-module/plugins/rocketmq/src/main/java/com/navercorp/pinpoint/plugin/rocketmq/interceptor/ConsumerMessageEntryPointInterceptor.java:267-278 \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 \u0060agent-module/plugins/pulsar/src/main/java/com/navercorp/pinpoint/plugin/pulsar/interceptor/ConsumerImplEntryPointInterceptor.java:207\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":"agent-module/plugins/pulsar/src/main/java/com/navercorp/pinpoint/plugin/pulsar/interceptor/ConsumerImplEntryPointInterceptor.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c1cb49b6e224413f9b781f6b729671729598187504f55b4151d68b96a6b611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java:213-224 | agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerHandleCompleteInboundCommandInterceptor.java:208-219 \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 \u0060agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java:213\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":"agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1a080cdaf513d402d6c95a02470f669772e19f1f42dc5ae1e2a5a167074894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/MssqlStatementExecuteInterceptor.java:49-60 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/WrappingMssqlStatementExecuteInterceptor.java:80-91 \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 \u0060agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/MssqlStatementExecuteInterceptor.java:49\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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/MssqlStatementExecuteInterceptor.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"34626b96b84a2f57f3d23ccddc5f56315bb6fcef99c60ce4e91c16ad3b1daa58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/WrappingMssqlStatementExecuteInterceptor.java:63-74 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/WrappingStatementExecuteInterceptor.java:65-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/WrappingMssqlStatementExecuteInterceptor.java:63\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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/mssql/WrappingMssqlStatementExecuteInterceptor.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5c8c8c3188320fc685178814db136dd93b68bba56419ebfa46f4a9d0e82260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/AbstractHandlerMethodMappingInterceptor.java:46-57 | agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/AbstractUrlHandlerMappingInterceptor.java:46-57 \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 \u0060agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/AbstractHandlerMethodMappingInterceptor.java:46\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":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/AbstractHandlerMethodMappingInterceptor.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"626f582cc5f3d18d43ec64e380d0f2ab266ced1b7fcea3d860bbeba4ce0cf800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/jakarta/interceptor/ProcessRequestInterceptor.java:31-42 | agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/javax/interceptor/ProcessRequestInterceptor.java:32-43 \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 \u0060agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/jakarta/interceptor/ProcessRequestInterceptor.java:31\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":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/jakarta/interceptor/ProcessRequestInterceptor.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"69712bd373c59803d89c497544b45f3ed539df1162786bea7734ba00cc8f811c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:138-149 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java:139-150 \u2014 before extracting anything, compare \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java\u0060 and \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 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 \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:138\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":"agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5080e348aab27231b9c2546122195af47f537d6b66174b1a4099179c007031a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:196-207 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java:196-207 \u2014 before extracting anything, compare \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java\u0060 and \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 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":"agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"92eda312e837fab7b283638f3fe8b4396ed8dfd9552a50665f15b98a4c4b0de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptor.java:80-91 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptorV4.java:71-83 \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 \u0060agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptor.java:80\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":"agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptor.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d650851ade9f4d330273e64223a6d6ca385cd8aae8f427b796fec0cd28007a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointApiAwareInterceptor.java:122-133 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointInterceptor.java:128-139 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointApiAwareInterceptor.java:122\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointApiAwareInterceptor.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5902bed0aa286bead6fda5653da17ca350b6f98b795b550e99e1e617b2c602b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventNestedApiIdAwareAroundInterceptor.java:155-166 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/InjectedAsyncContextSpanEventNestedApiIdAwareAroundInterceptor.java:161-172 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventNestedApiIdAwareAroundInterceptor.java:155\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventNestedApiIdAwareAroundInterceptor.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfb7085d7d0e519c88c9677cb18cf4c821f1f475fc4a72e8ca78352da529b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/SpanEventBlockApiIdAwareAroundInterceptorForPlugin.java:79-90 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/SpanEventBlockSimpleAroundInterceptorForPlugin.java:84-95 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/SpanEventBlockApiIdAwareAroundInterceptorForPlugin.java:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/SpanEventBlockApiIdAwareAroundInterceptorForPlugin.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e16898651c8af46aed223542ebfbb31df9668ac30b42886dba0d7cf0cce33e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/reactor/CoreSubscriberConstructorInterceptor.java:54-65 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/reactor/CoreSubscriberOnSubscribeInterceptor.java:62-73 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/reactor/CoreSubscriberConstructorInterceptor.java:54\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/reactor/CoreSubscriberConstructorInterceptor.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab175857b846f41a96595cc90b64287d53e5ccdcfcab6f3cf7d2cb0a0469f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): commons-server/src/main/java/com/navercorp/pinpoint/common/server/applicationmap/statistics/UidAgentRowKey.java:129-141 | commons-server/src/main/java/com/navercorp/pinpoint/common/server/applicationmap/statistics/UidLinkRowKey.java:156-167 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/applicationmap/statistics/UidAgentRowKey.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc0fde7fbcd9f9c9e5bb93738b808d7b2dfb59b3dc82df7434700cf893b2979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanDecoderV0.java:311-322 | commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanDecoderV0.java:358-369 \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 \u0060commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanDecoderV0.java:311\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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanDecoderV0.java"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6252cfaedfc198ae291920fa4679ec254d6d95e1ed60966ba47d96619a493f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): batch/src/main/java/com/navercorp/pinpoint/batch/config/BatchPinotDaoConfiguration.java:59-70 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/config/InspectorWebPinotDaoConfiguration.java:65-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060batch/src/main/java/com/navercorp/pinpoint/batch/config/BatchPinotDaoConfiguration.java:59\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":"batch/src/main/java/com/navercorp/pinpoint/batch/config/BatchPinotDaoConfiguration.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0568492c34b122f8170ac5f4b7bfaca4aea9c2d2011cb6fd76435918ba568622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/MapHistogramController.java:172-183 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/ServerMapHistogramController.java:306-317 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/MapHistogramController.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba9df8c5933b18fb228e79178e35ae71de46be7e1e7e2952b781b0838fcdc15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/service/ServiceModelCacheConfiguration.java:58-69 | collector/src/main/java/com/navercorp/pinpoint/collector/uid/config/ServiceLookupCacheConfiguration.java:54-65 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/service/ServiceModelCacheConfiguration.java:58\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":"web/src/main/java/com/navercorp/pinpoint/web/service/ServiceModelCacheConfiguration.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"db724913a5b88b18a04f96eb4b59000c1b4abd86101bb35c1709a901b8562cae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): exceptiontrace/exceptiontrace-collector/src/main/java/com/navercorp/pinpoint/exceptiontrace/collector/entity/ExceptionMetaDataEntity.java:198-209 | exceptiontrace/exceptiontrace-common/src/main/java/com/navercorp/pinpoint/exceptiontrace/common/model/ExceptionMetaData.java:238-249 \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":"exceptiontrace/exceptiontrace-collector/src/main/java/com/navercorp/pinpoint/exceptiontrace/collector/entity/ExceptionMetaDataEntity.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded145239bdd832315914d41168c2aad136b00f5aaca8dd222ed023bf5008187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/EmptyCommandService.java:38-49 | realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/EmptyCommandService.java:60-71 \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 \u0060realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/EmptyCommandService.java:38\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":"realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/EmptyCommandService.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"926f73a87923ab2890783373ed449ba3418473f65dde090223bbb223d47f25c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 14): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor.java:69-79 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor0.java:69-79 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor1.java:69-79 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor2.java:69-79 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor3.java:69-79 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor4.java:69-79 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor5.java:69-79 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedInterceptor.java:70-80 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedInterceptor0.java:70-80 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedInterceptor1.java:70-80 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedInterceptor2.java:70-80 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedInterceptor3.java:70-80 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedInterceptor4.java:70-80 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedInterceptor5.java:70-80 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor.java:69\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockInterceptor.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"51260e65ba7a93e5aed00b10c4b331cfd94f4d7784808186eaca6ffb35e6ff29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:309-319 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:417-427 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:507-517 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:617-627 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:758-768 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:845-855 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:935-945 \u2014 all 7 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 \u0060agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:309\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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"41edcfe26d3421a0dd172355edff4a527d3dffe08262a7a442bcbf667c76e99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedApiIdAwareAroundInterceptor.java:70-80 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockApiIdAwareAroundInterceptor.java:69-79 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedBlockStaticAroundInterceptor.java:69-79 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedInjectedAsyncContextApiIdAwareAroundInterceptor.java:67-77 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedStaticAroundInterceptor.java:70-80 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedApiIdAwareAroundInterceptor.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedApiIdAwareAroundInterceptor.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fe86987a75df9c92a127662dd2f91a5cd0d86609253899228baca00b4549ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpPlugin.java:120-130 | agent-module/plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/OpenwhiskPlugin.java:303-313 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/PekkoHttpPlugin.java:120-130 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpPlugin.java:120\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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpPlugin.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c403ddddc28a59a96a81b92776e104203e9eeb50c20a5a241af7c41f83cddcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/interceptor/StandardHostValveInvokeInterceptor.java:146-156 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:138-148 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java:139-149 \u2014 before extracting anything, compare \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java\u0060 and \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 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 \u0060agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/interceptor/StandardHostValveInvokeInterceptor.java:146\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":"agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/interceptor/StandardHostValveInvokeInterceptor.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b505e03cc20952eeac330d9fd87678b129a36e6ebcfb2de3381e34d35817d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java:133-143 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/JettyAsyncListener.java:133-143 | agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/JettyAsyncListener.java:122-132 \u2014 \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java\u0060 and \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/JettyAsyncListener.java\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 55 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java:133\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":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/JettyAsyncListener.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b4eab0e4c76d30547e5ef0e4a426f7d4538052bed9872a44f5122d8805dd05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/interceptor/PatternLayoutInterceptor.java:67-77 | agent-module/plugins/log4j2/src/main/java/com/navercorp/pinpoint/plugin/log4j2/interceptor/PatternLayoutInterceptor.java:67-77 | agent-module/plugins/logback/src/main/java/com/navercorp/pinpoint/plugin/logback/interceptor/PatternLayoutInterceptor.java:67-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/interceptor/PatternLayoutInterceptor.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e501fa7437b12e5d803893ce92327208a20e66ed0b1d23a3872dddbb265539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoClientImplConstructorInterceptor.java:61-71 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoClientsInterceptor.java:68-78 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/ReactiveMongoClientImplConstructorInterceptor.java:57-67 \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 \u0060agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoClientImplConstructorInterceptor.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoClientImplConstructorInterceptor.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0151774e133d5cb7fb1e58c4131ad206693095815f3038fb9bec856721d58d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): agent-module/plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/OpenwhiskPlugin.java:150-160 | agent-module/plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/OpenwhiskPlugin.java:166-176 | agent-module/plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/OpenwhiskPlugin.java:183-193 \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 \u0060agent-module/plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/OpenwhiskPlugin.java:150\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":"agent-module/plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/OpenwhiskPlugin.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"6058d68ab5e7795b80cfe7fd39ac365c7ffc8e155e1840e24f36819422e90f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java:261-271 | agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageProducerSendInterceptor.java:182-192 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"f785dee031668a13b1de4df1d463ecab25171d337796c0373923d17e0c7549e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/RequestContextImplCompleteInterceptor.java:59-69 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/interceptor/RequestContextImplCompleteInterceptor.java:59-69 \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 \u0060agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/RequestContextImplCompleteInterceptor.java:59\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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/RequestContextImplCompleteInterceptor.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"432dbb36d3c2ee7caaf523bdbf4bb1e3ce34a63065417bdd282ca0d2cccf81cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/cassandra4/src/main/java/com/navercorp/pinpoint/plugin/cassandra4/interceptor/DefaultPreparedStatementInterceptor.java:63-73 | agent-module/plugins/cassandra4/src/main/java/com/navercorp/pinpoint/plugin/cassandra4/interceptor/DefaultSimpleStatementConstructorInterceptor.java:72-82 \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 \u0060agent-module/plugins/cassandra4/src/main/java/com/navercorp/pinpoint/plugin/cassandra4/interceptor/DefaultPreparedStatementInterceptor.java:63\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":"agent-module/plugins/cassandra4/src/main/java/com/navercorp/pinpoint/plugin/cassandra4/interceptor/DefaultPreparedStatementInterceptor.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"20534a3706799b8962f4f2d7944915216855ed42cae2429498f532c9e67b184b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/clickhouse-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/clickhouse/ClickHousePlugin.java:74-84 | agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:81-91 \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 \u0060agent-module/plugins/clickhouse-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/clickhouse/ClickHousePlugin.java:74\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":"agent-module/plugins/clickhouse-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/clickhouse/ClickHousePlugin.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcaa8f443a815f40ae25b10fed6b242765ae4c46c9390524a8b6d5a64cec08e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:171-181 | agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:357-367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:171\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":"agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b1f808479712278479923cfcc50ace796b286a041e9637c002a3954bd6949b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:244-254 | agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:294-304 \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 \u0060agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:244\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":"agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebc42d76e39caa9092e0497ddf4d1b6540153fc0dac7ce1a88da2dc9b199e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/hikaricp/src/main/java/com/navercorp/pinpoint/plugin/hikaricp/HikariCpDataSourceMonitor.java:56-67 | agent-module/plugins/hikaricp/src/main/java/com/navercorp/pinpoint/plugin/hikaricp/HikariCpDataSourceMonitor.java:71-81 \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 \u0060agent-module/plugins/hikaricp/src/main/java/com/navercorp/pinpoint/plugin/hikaricp/HikariCpDataSourceMonitor.java:56\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":"agent-module/plugins/hikaricp/src/main/java/com/navercorp/pinpoint/plugin/hikaricp/HikariCpDataSourceMonitor.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee07a6d2226f300dc795de5d9eac987ed7aecdb2d70978cb1a20d06b4e1584d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/jdk-http/src/main/java/com/navercorp/pinpoint/plugin/jdk/http/JdkHttpClientRequestAdaptor.java:44-54 | agent-module/plugins/jdk-httpclient/src/main/java/com/navercorp/pinpoint/plugin/jdk/httpclient/HttpRequestImplClientRequestAdaptor.java:39-49 \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":"agent-module/plugins/jdk-http/src/main/java/com/navercorp/pinpoint/plugin/jdk/http/JdkHttpClientRequestAdaptor.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fadddc17afeca2b160e649170a0d85bd98426641f9fd8ea59bec8f57a0c506d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/interceptor/AddRecordsToTasksInterceptor.java:145-155 | agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/interceptor/ConsumerMultiRecordEntryPointInterceptor.java:124-134 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/interceptor/AddRecordsToTasksInterceptor.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3d3f617d24dba6e169964e44b9639c730419d50d0309c951ba26acbc3d9925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/interceptor/UriUtils.java:27-37 | agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/interceptor/UriUtils.java:22-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/interceptor/UriUtils.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":"agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/interceptor/UriUtils.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fbd622783859b1c28728dfcfff80b673de8dcbf21fae8c2703f97191bd681e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/interceptor/UriUtils.java:59-69 | agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/interceptor/UriUtils.java:40-50 \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":"agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/interceptor/UriUtils.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16a87573de01882ad18a19b8ffa2c514160adeee382b7480382322b6a71a115"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/interceptor/PatternLayoutInterceptor.java:49-59 | agent-module/plugins/log4j2/src/main/java/com/navercorp/pinpoint/plugin/log4j2/interceptor/PatternLayoutInterceptor.java:49-59 \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":"agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/interceptor/PatternLayoutInterceptor.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ce8382df2024614d1a031ef5ca236b31993d186dd9cafc33f39bd5c1ade2cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplReadOperationInterceptor.java:66-76 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplWriteOperationInterceptor.java:64-75 \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 \u0060agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplReadOperationInterceptor.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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplReadOperationInterceptor.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"03feb068f08add96aa1c44e7235f6a2b18afe9eef91848e33de870d32554ffc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/paho-mqtt/src/main/java/com/navercorp/pinpoint/plugin/paho/mqtt/interceptor/MqttV3CallbackMessageArrivedInterceptor.java:81-91 | agent-module/plugins/paho-mqtt/src/main/java/com/navercorp/pinpoint/plugin/paho/mqtt/interceptor/MqttV5CallbackMessageArrivedInterceptor.java:172-182 \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":"agent-module/plugins/paho-mqtt/src/main/java/com/navercorp/pinpoint/plugin/paho/mqtt/interceptor/MqttV3CallbackMessageArrivedInterceptor.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"71faaea9f556c61214ab53b6c2651ec115473e7232d7d141bb7ae5107be36dc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/interceptor/HttpIOHandlerObserverOnStateChangeInterceptor.java:60-70 | agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/interceptor/HttpIOHandlerObserverOnStateChangeInterceptor.java:118-129 \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":"agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/interceptor/HttpIOHandlerObserverOnStateChangeInterceptor.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab9f7493a69575f183da37e7a6609617995982f5f8b3f3e51de936f5159ba17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/interceptor/RunnableSubscriptionConstructorInterceptor.java:46-56 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/reactor/FluxAndMonoSubscribeOrReturnInterceptor.java:58-68 \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 \u0060agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/interceptor/RunnableSubscriptionConstructorInterceptor.java:46\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":"agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/interceptor/RunnableSubscriptionConstructorInterceptor.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5929f685e8fe7a0e40013b6d353784ae1b1bd9684a2832bfbfff6536508a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/LettuceMethodNameFilter.java:45-55 | agent-module/plugins/redis/src/main/java/com/navercorp/pinpoint/plugin/redis/jedis/JedisMethodNameFilter.java:47-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 \u0060agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/LettuceMethodNameFilter.java:45\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":"agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/LettuceMethodNameFilter.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18a2adaa158ab316a5e30404680856f898e9ecc3dd23cb42f6a6618301f4b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/redis/src/main/java/com/navercorp/pinpoint/plugin/redis/jedis/interceptor/ProtocolSendCommandAndReadMethodInterceptor.java:55-65 | agent-module/plugins/redis/src/main/java/com/navercorp/pinpoint/plugin/redis/jedis/interceptor/ProtocolSendCommandAndReadMethodInterceptor.java:85-95 \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 \u0060agent-module/plugins/redis/src/main/java/com/navercorp/pinpoint/plugin/redis/jedis/interceptor/ProtocolSendCommandAndReadMethodInterceptor.java:55\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":"agent-module/plugins/redis/src/main/java/com/navercorp/pinpoint/plugin/redis/jedis/interceptor/ProtocolSendCommandAndReadMethodInterceptor.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdbb46ba824aab8f19f459bbc5a6db16b44368f2a1702ccb57b2a680bad039a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:456-466 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:559-569 \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 \u0060agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:456\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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"d761838f12c5ab9a80be835d50f3c97c1086eda1fcbef0cae739fa4b75555dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:477-487 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:580-590 \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 \u0060agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:477\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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4c71317ed817ce02271cb199d8d976c0f6865851da416220e4dda605a0c8d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:177-187 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java:177-187 \u2014 before extracting anything, compare \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java\u0060 and \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 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 \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:177\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":"agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f486c13c2b48f85acce8e74372a5367b64f3c72fe69c5f2cbdb48afe3266e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/ServerConnectionHandleRequestInterceptor.java:232-242 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/request/ServletRequestListener.java:116-126 \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 \u0060agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/ServerConnectionHandleRequestInterceptor.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":"agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/ServerConnectionHandleRequestInterceptor.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08c6419135fa0c2686eda23c36138d07c5dfc376a53ae9d021ee35c049d92e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/HttpServerParameterExtractor.java:48-58 | agent-module/plugins/websphere/src/main/java/com/navercorp/pinpoint/plugin/websphere/IRequestParameterExtractor.java:49-59 \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":"agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/HttpServerParameterExtractor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cfd58624400a7e950adc418bcb709d5f93e91487b3b022c5a403a106b7a172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedApiIdAwareAroundInterceptor.java:48-58 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedResultReplaceAroundInterceptor.java:43-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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedApiIdAwareAroundInterceptor.java:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ExceptionHandleScopedApiIdAwareAroundInterceptor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62852c5da475c255b507949b9eb08b9abe307e4be06c730f699b998e4ea0422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor.java:42-52 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor1.java:42-52 \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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf92b41fadef7c471f9625dfd75672f5a88d0fd9174f4717ad8cd554af8b1bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor.java:57-67 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor1.java:57-67 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor.java:57\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"150a59bf03f7ac7d29d1f0bbcf1d57252802c1bb3f29363659aaf3d55d145cf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor0.java:57-67 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedInterceptor.java:57-67 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor0.java:57\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor0.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2374ef194404476593e4f2392a171c27aa01d77f99015f677c13d9b6a2619d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/TransactionCommitInterceptor.java:48-58 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/TransactionRollbackInterceptor.java:47-58 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/TransactionCommitInterceptor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5279eed8b51428f76c529d52c7db004627410f94189f268867d82f21be852c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/OffsetAutomaticBuffer.java:33-43 | commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/OffsetFixedBuffer.java:34-44 \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 \u0060commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/OffsetAutomaticBuffer.java:33\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":"commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/OffsetAutomaticBuffer.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b27c6313a8f14edebeda67ded51e78cfd62cc9b58ab25d0c8483bb94a04b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:663-673 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:473-483 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:663\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9da8b06c1a0230adcf555726dc58ac220c8bbbaa6bbb782b77e75155e55f8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:1727-1737 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:1439-1449 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:1727\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8ff8079c8eb35f0347ec3f6af08b70201e87fc85f3ddabacbdd01109e4e3cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): commons-timeseries/src/main/java/com/navercorp/pinpoint/common/timeseries/util/MathUtils.java:9-19 | commons/src/main/java/com/navercorp/pinpoint/common/util/MathUtils.java:31-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060commons-timeseries/src/main/java/com/navercorp/pinpoint/common/timeseries/util/MathUtils.java:9\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":"commons-timeseries/src/main/java/com/navercorp/pinpoint/common/timeseries/util/MathUtils.java"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"760c4719b3da296c2f127f3e0220ff5c073735fb0bdb34416acaa5c2b2ce4d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java:439-449 | web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java:506-516 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java:439\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":"web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"89393a4efcb264ecafa0e9679247a22a93d642e09ccc56e52c3795e3aa4702e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapAgentResponseDao.java:69-79 | collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapResponseDao.java:69-79 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapAgentResponseDao.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31ebe351918cc974255d785bbe1a33bc746b6601fb511b78849d14a30961cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapAgentResponseDao.java:97-107 | collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapResponseDao.java:97-107 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapAgentResponseDao.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5f8e3a5a9f26e1d7a8cff7f1fec34b683d118194c5e8e298d5726eb91d7b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature-flag/src/main/java/com/navercorp/pinpoint/featureflag/config/DatabaseFeatureFlagConfiguration.java:88-98 | service-module/src/main/java/com/navercorp/pinpoint/service/config/ServiceMysqlConfiguration.java:63-73 \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 \u0060feature-flag/src/main/java/com/navercorp/pinpoint/featureflag/config/DatabaseFeatureFlagConfiguration.java:88\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":"feature-flag/src/main/java/com/navercorp/pinpoint/featureflag/config/DatabaseFeatureFlagConfiguration.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"194f34d2a5561f75086f69d421e8c00156dc3002c504e1d08212a69fff3f9b00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): grpc/src/main/java/com/navercorp/pinpoint/grpc/ExecutorUtils.java:45-55 | grpc/src/main/java/com/navercorp/pinpoint/grpc/ManagedChannelUtils.java:43-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 \u0060grpc/src/main/java/com/navercorp/pinpoint/grpc/ExecutorUtils.java:45\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":"grpc/src/main/java/com/navercorp/pinpoint/grpc/ExecutorUtils.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2940c9d2c0c3d40510d631da6b2c9f3d5f09d6b062c7c55de92d27c2e1e50b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java:205-215 | otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanMapper.java:175-186 \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 \u0060otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java:205\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":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"188d5abb0c2c3a49ea1b7e768c3338391f75554c6566c7fcae1e88343679f512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java:292-304 | otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java:379-389 \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 \u0060otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java:292\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":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4d08797bfa161ed1d3faa3082986e65a2c682ce871de49d322f46cc5468d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/ReactorNettyPlugin.java:336-345 | agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/ReactorNettyPlugin.java:362-371 | agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:463-472 | agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:493-502 | agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:557-566 | agent-module/plugins/resilience4j/src/main/java/com/navercorp/pinpoint/plugin/resilience4j/Resilience4JPlugin.java:108-117 | agent-module/plugins/spring-cloud-sleuth/src/main/java/com/navercorp/pinpoint/plugin/spring/cloud/sleuth/SpringCloudSleuthPlugin.java:75-84 | agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/SpringWebFluxPlugin.java:372-381 \u2014 there are 8 copies across 5 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 8 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/ReactorNettyPlugin.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9994f4189c2bbbc9927b72f7baaa11ddc773a9b9080f39b88083d5816f95fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/ReactorNettyPlugin.java:320-329 | agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:256-267 | agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:392-403 | agent-module/plugins/resilience4j/src/main/java/com/navercorp/pinpoint/plugin/resilience4j/Resilience4JPlugin.java:71-81 | agent-module/plugins/resilience4j/src/main/java/com/navercorp/pinpoint/plugin/resilience4j/Resilience4JPlugin.java:91-101 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/ReactorNettyPlugin.java:320\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":"agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/ReactorNettyPlugin.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e255dea0ea48934c9ec84d9edc757cd0ce7352e259d32f4fb478b46dad5910a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/monitor/metric/DefaultCustomMetricRegistryService.java:57-66 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/monitor/metric/DefaultCustomMetricRegistryService.java:77-86 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/monitor/metric/DefaultCustomMetricRegistryService.java:97-106 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/monitor/metric/DefaultCustomMetricRegistryService.java:117-126 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/monitor/metric/DefaultCustomMetricRegistryService.java:137-146 \u2014 all 5 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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/monitor/metric/DefaultCustomMetricRegistryService.java:57\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/monitor/metric/DefaultCustomMetricRegistryService.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d952c826ca70dea9125995d41d22d582b2c58a02fc3788002d37750c64abf1c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): agent-module/plugins/clickhouse-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/clickhouse/ClickHousePlugin.java:266-275 | agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:262-271 | agent-module/plugins/mssql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mssql/MssqlPlugin.java:270-279 | agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:208-217 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/clickhouse-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/clickhouse/ClickHousePlugin.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61bafbb4c3449525552c2a5fcacf8d878548aafa61411265d649fd888433e3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): agent-module/agent-plugins/proxy-apache/src/main/java/com/navercorp/pinpoint/agent/plugin/proxy/apache/ApacheRequestParser.java:55-64 | agent-module/agent-plugins/proxy-app/src/main/java/com/navercorp/pinpoint/agent/plugin/proxy/app/AppRequestParser.java:57-67 | agent-module/agent-plugins/proxy-nginx/src/main/java/com/navercorp/pinpoint/agent/plugin/proxy/nginx/NginxRequestParser.java:55-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/agent-plugins/proxy-apache/src/main/java/com/navercorp/pinpoint/agent/plugin/proxy/apache/ApacheRequestParser.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. 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":"agent-module/agent-plugins/proxy-apache/src/main/java/com/navercorp/pinpoint/agent/plugin/proxy/apache/ApacheRequestParser.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a7e8766ed1ef7332c9d7f420ad9a6c34e1afe9eb174b1b41adf4a37e6da41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/ArcusPlugin.java:111-120 | agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/ArcusPlugin.java:214-223 | agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/ArcusPlugin.java:247-256 \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 \u0060agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/ArcusPlugin.java:111\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":"agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/ArcusPlugin.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9917cd24a7888430e3bf171f75c21fa65adea567117ea663d98597a0b1ebcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/DefaultRecord.java:33-43 | grpc/src/main/java/com/navercorp/pinpoint/grpc/server/ServerOption.java:94-105 | otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/model/PinotOtlpMetricDataRow.java:45-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/DefaultRecord.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9567fc841b6564e13e1121d17d6923aaf41c45ecb5fcc7abd74af5c030e9ac0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java:101-110 | agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java:99-108 \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 \u0060agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java:101\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":"agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1a5a5158c89f006ec8faa0ed8677903b85df2400712afc0054cd6b3d677f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java:235-244 | agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageProducerSendInterceptor.java:158-167 \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 \u0060agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.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":"agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/interceptor/ActiveMQMessageConsumerDispatchInterceptor.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad218192a51b27d466d9033d45c725ca9e3b754a51f8141b9b78293e3ce86de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/db2-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/db2/Db2Plugin.java:294-303 | agent-module/plugins/mssql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mssql/MssqlPlugin.java:302-313 \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":"agent-module/plugins/db2-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/db2/Db2Plugin.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d74fae9e681a51abd4661ef1664a448ae1170061f6da2c8af85af8dfd0979f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/dbcp/src/main/java/com/navercorp/pinpoint/plugin/commons/dbcp/CommonsDbcpPlugin.java:51-60 | agent-module/plugins/dbcp2/src/main/java/com/navercorp/pinpoint/plugin/commons/dbcp2/CommonsDbcp2Plugin.java:48-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 \u0060agent-module/plugins/dbcp/src/main/java/com/navercorp/pinpoint/plugin/commons/dbcp/CommonsDbcpPlugin.java:51\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":"agent-module/plugins/dbcp/src/main/java/com/navercorp/pinpoint/plugin/commons/dbcp/CommonsDbcpPlugin.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffdf8d80407a36f6d83f889486759db2f68914f62efeb7d11eb835744033cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/interceptor/ElasticsearchExecutorInterceptor.java:53-62 | agent-module/plugins/elasticsearch8/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch8/interceptor/ElasticsearchClientMethodInterceptor.java:51-60 \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":"agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/interceptor/ElasticsearchExecutorInterceptor.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb89dfb0a032e9801a72102c6a48c9808c482d852c30e7ae940d49fe2c6bac8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/interceptor/HttpMethodBaseRequestAndResponseMethodInterceptor.java:56-65 | agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/interceptor/HttpMethodBaseRequestAndResponseMethodInterceptor.java:80-89 \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 \u0060agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/interceptor/HttpMethodBaseRequestAndResponseMethodInterceptor.java:56\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":"agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/interceptor/HttpMethodBaseRequestAndResponseMethodInterceptor.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9ab06549df6ee36f28e4382ee2902cf628fa1f8d556c25062eaf107462a6b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/HttpRequestExecutorDoSendRequestAndDoReceiveResponseMethodInterceptor.java:54-63 | agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/HttpRequestExecutorDoSendRequestAndDoReceiveResponseMethodInterceptor.java:80-89 \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 \u0060agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/HttpRequestExecutorDoSendRequestAndDoReceiveResponseMethodInterceptor.java:54\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":"agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/HttpRequestExecutorDoSendRequestAndDoReceiveResponseMethodInterceptor.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e274a44eb05e7d71a9aaa4ac7218a9235650707ad2ece4dc6017d3b45bf974ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java:189-198 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java:199-212 \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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeebf0f991f1b9352278ffd2ce443c6977f90b2ee04a3a207c24bb20ac04616e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java:200-212 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java:219-228 \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 \u0060agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java:200\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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f7d8c566fada1bd3745780b598840838bdce287bc2d3e01fa5c9951f3746f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/WriteContext.java:141-150 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/WriteContext.java:161-170 \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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/WriteContext.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0663dae1854ee06398337dbce9e649965dcff2a22bbb4c884949661c8231e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/netty/src/main/java/com/navercorp/pinpoint/plugin/netty/NettyPlugin.java:132-141 | agent-module/plugins/netty/src/main/java/com/navercorp/pinpoint/plugin/netty/NettyPlugin.java:150-159 \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":"agent-module/plugins/netty/src/main/java/com/navercorp/pinpoint/plugin/netty/NettyPlugin.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e538335dcb4af9a4fa2a369936ef408aaaf56799ecfe49d2bbbffc2ed783df55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/netty/src/main/java/com/navercorp/pinpoint/plugin/netty/NettyUtils.java:37-46 | agent-module/plugins/rocketmq/src/main/java/com/navercorp/pinpoint/plugin/rocketmq/interceptor/ConsumerMessageEntryPointInterceptor.java:187-196 \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 \u0060agent-module/plugins/netty/src/main/java/com/navercorp/pinpoint/plugin/netty/NettyUtils.java:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"agent-module/plugins/netty/src/main/java/com/navercorp/pinpoint/plugin/netty/NettyUtils.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca5a9b3ea8f4294ffdc2d655a67ce3325f18f33cc0e2775d4b47a9513b4289c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/OkHttpPlugin.java:99-108 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/OkHttpPlugin.java:104-113 \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 \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/OkHttpPlugin.java:99\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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/OkHttpPlugin.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1438b971ba50a0476b571b7315c639f109c3cece33e088f081d1aa7e3826ee15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:446-455 | agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/LettucePlugin.java:247-256 \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":"agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"370926591c85d209b2d4db2cb4a65015fe40ea8a42403614d1a9586e3d899346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/interceptor/RedisPubSubListenerInterceptor.java:144-153 | agent-module/plugins/user/src/main/java/com/navercorp/pinpoint/plugin/user/interceptor/UserIncludeMethodInterceptor.java:148-157 \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 \u0060agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/interceptor/RedisPubSubListenerInterceptor.java:144\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":"agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/interceptor/RedisPubSubListenerInterceptor.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c6f11011b97b8e52d0c32de5d902dc5406fb55a6d2be97758fee12017d6779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/rocketmq/src/main/java/com/navercorp/pinpoint/plugin/rocketmq/interceptor/ProducerSendInterceptor.java:105-114 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/SpanRecursiveAroundInterceptor.java:80-90 \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 \u0060agent-module/plugins/rocketmq/src/main/java/com/navercorp/pinpoint/plugin/rocketmq/interceptor/ProducerSendInterceptor.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/rocketmq/src/main/java/com/navercorp/pinpoint/plugin/rocketmq/interceptor/ProducerSendInterceptor.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8760b62853085362c3ff6991f47a6818e9dc42395b1aacd6de992ed32f8fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:436-445 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:539-548 \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 \u0060agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:436\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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"9002dce9d22ee17994bd0d73256be91bc4b04675a65a9de15b10712fc44975e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:1166-1175 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:1208-1217 \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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0200a5fc37031f1fc69ae43e01ab1054ab6718b97cffa8571f81fefeb603b750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/DispatchHandlerHandleMethodInterceptor.java:46-55 | agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/ExchangeFunctionMethodInterceptor.java:46-55 \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 \u0060agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/DispatchHandlerHandleMethodInterceptor.java:46\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":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/DispatchHandlerHandleMethodInterceptor.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de7a182945b2f72713be135361663e8137e5d166c60bf8cfd4f36637234ac0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingDispatchHandlerHandleMethodInterceptor.java:55-64 | agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingExchangeFunctionMethodInterceptor.java:55-64 \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 \u0060agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingDispatchHandlerHandleMethodInterceptor.java:55\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":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingDispatchHandlerHandleMethodInterceptor.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7014b238ec8c0643c80e87516fde04ff976641aa22286effd60ae86bc3dda90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/RequestStartAsyncInterceptor.java:49-58 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/RequestStartAsyncInterceptor.java:50-59 \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":"agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/RequestStartAsyncInterceptor.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5866256f785d73861c12d8345a047c893f1e8133c8e3ec0d387610d3cf0421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:71-80 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java:72-81 \u2014 before extracting anything, compare \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java\u0060 and \u0060agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"382188bc76eb8fb16c1e1886ab8a3a0a18fcf0c5f4a3a234ec043f172dc07b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockApiIdAwareAroundInterceptor.java:120-129 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockSimpleAroundInterceptor.java:124-133 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockApiIdAwareAroundInterceptor.java:120\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockApiIdAwareAroundInterceptor.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"654994650fc5731545c3f86308f3386feceffb571917590fa17ce96b5047521d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointInterceptor.java:116-125 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventSimpleAroundInterceptor.java:111-120 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointInterceptor.java:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointInterceptor.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c95afac384bdbd73d4ee31d6f0994f4c62c16cd22d007e24594671142558f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/CallableStatementRegisterOutParameterInterceptor.java:51-60 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/TransactionSetAutoCommitInterceptor.java:47-57 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/CallableStatementRegisterOutParameterInterceptor.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e514a3c4ced7936aef5651b994033e1fa01da1b470a7478ee15b253282e3dd44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/util/spring/StringUtils.java:149-158 | commons/src/main/java/com/navercorp/pinpoint/common/util/StringUtils.java:259-268 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/util/spring/StringUtils.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddda479723168d3648aa5baafe4925e25b6431fc5ca3a2c82e8f68030f76e005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/AccessorAnalyzer.java:37-46 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/GetterAnalyzer.java:37-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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/AccessorAnalyzer.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. 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/AccessorAnalyzer.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aaf4897017edb8cac513968b4145d74d4b1b1bd3c1c631b8c55b3d0889eef07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/async/HbaseAsyncTemplate.java:385-394 | commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/HbaseTemplate.java:489-498 \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 \u0060commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/async/HbaseAsyncTemplate.java:385\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":"commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/async/HbaseAsyncTemplate.java"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a91735e6674c775114bcb2d8cae887ffdb09b9015065c6844428c7767fa4ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/config/AsyncWarmup.java:57-66 | commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/config/Warmup.java:56-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 \u0060commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/config/AsyncWarmup.java:57\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":"commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/config/AsyncWarmup.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b9a734ce34c8b567c1802b5601c58b9b6cbc19da8af67906f8cecd22c6e752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:1450-1459 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:1162-1171 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:1450\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1ee50abe37964d9de3b62cc1f7f7e095cc3ced0390e4946490e02dca10311a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncoderV0.java:313-322 | commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncoderV0.java:408-417 \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 \u0060commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncoderV0.java:313\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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncoderV0.java"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c33590996b5f0051061f89e3b2bc0026c0f40ff42c6be1166d290d3935ab229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/FilteredMapController.java:169-178 | web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/HeatMapController.java:131-140 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/FilteredMapController.java:169\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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/FilteredMapController.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b359d763e961484c432de6a7e6e23c08e3113d0d094757563f6aa7b9cf21c36e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/DefaultRecord.java:56-68 | pinot/pinot-batch/src/main/java/com/navercorp/pinpoint/pinot/alarm/vo/PinotAlarmRule.java:47-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/DefaultRecord.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e87a0d2e4710f158da4f554998401a7b85f46ccafd173354260f7cbcf3f7c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java:389-398 | web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java:456-465 \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":"web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d54c1af7adedbb6989e2269750182b805429efa622748e3d94ef33a8b2e1cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): webhook/src/main/java/com/navercorp/pinpoint/web/webhook/controller/WebhookController.java:48-57 | webhook/src/main/java/com/navercorp/pinpoint/web/webhook/controller/WebhookController.java:100-109 \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 \u0060webhook/src/main/java/com/navercorp/pinpoint/web/webhook/controller/WebhookController.java:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhook/src/main/java/com/navercorp/pinpoint/web/webhook/controller/WebhookController.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"622544927ab177df611782c99c03d51a0db64902388c5b1cf6d23dc424d84d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): channel/src/main/java/com/navercorp/pinpoint/channel/service/server/ChannelServiceServerImpl.java:112-121 | channel/src/main/java/com/navercorp/pinpoint/channel/service/server/ChannelServiceServerImpl.java:146-155 \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":"channel/src/main/java/com/navercorp/pinpoint/channel/service/server/ChannelServiceServerImpl.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee61f440ea07bb55714c0106fa3d453d73c732b61cf0122bac1dcb7bde150461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): collector/src/main/java/com/navercorp/pinpoint/collector/grpc/channelz/util/HTMLBuilder.java:62-71 | realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/controller/HTMLBuilder.java:62-71 \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 \u0060collector/src/main/java/com/navercorp/pinpoint/collector/grpc/channelz/util/HTMLBuilder.java:62\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":"collector/src/main/java/com/navercorp/pinpoint/collector/grpc/channelz/util/HTMLBuilder.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ae8fc39269349869eed67e044b89620b9748e430451a82445624c09c5b50c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultAgentStatService.java:95-104 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultAgentStatService.java:135-144 \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 \u0060inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultAgentStatService.java:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultAgentStatService.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"202cd455f7218c6736a7e5eba7d567c0f491fc9d7b7f6ce9a57cf7c5ca6fed69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/common/config/MetricCollectorPinotDaoConfiguration.java:45-54 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/web/config/MetricWebPinotDaoConfiguration.java:53-62 \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":"metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/common/config/MetricCollectorPinotDaoConfiguration.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8c3efdf4476d7f38f416dde6bc78163bab4895bf201f00346147c549728da9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/GaugeMapper.java:60-69 | otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/SumMapper.java:62-71 \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 \u0060otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/GaugeMapper.java:60\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":"otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/GaugeMapper.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e88d604ff12a8703d8ebe361d5f6780ad81531c15c067c8b85bb289acbec57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 9): agent-module/plugins/clickhouse-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/clickhouse/ClickHousePlugin.java:216-224 | agent-module/plugins/cubrid-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/cubrid/CubridPlugin.java:195-203 | agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/InformixPlugin.java:239-247 | agent-module/plugins/jtds/src/main/java/com/navercorp/pinpoint/plugin/jdbc/jtds/JtdsPlugin.java:201-209 | agent-module/plugins/mariadb-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mariadb/MariaDBPlugin.java:358-366 | agent-module/plugins/mssql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mssql/MssqlPlugin.java:221-229 | agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:227-235 | agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:280-288 | agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:450-458 \u2014 there are 9 copies across 8 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 9 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/clickhouse-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/clickhouse/ClickHousePlugin.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d17550c1abf47ea283997c6e1852ea63afc35425c1934499e276bfb2cfcf88d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): agent-module/plugins/cubrid-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/cubrid/CubridPlugin.java:197-205 | agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/InformixPlugin.java:241-249 | agent-module/plugins/jtds/src/main/java/com/navercorp/pinpoint/plugin/jdbc/jtds/JtdsPlugin.java:203-211 | agent-module/plugins/mssql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mssql/MssqlPlugin.java:223-231 | agent-module/plugins/oracle-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/oracle/OraclePlugin.java:220-228 | agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:452-460 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/cubrid-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/cubrid/CubridPlugin.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"268ff38ef9441cdfe1aaa5ca09d966cdff50137dc91702cebc6ebbe5c4674f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): agent-module/plugins/dbcp/src/main/java/com/navercorp/pinpoint/plugin/commons/dbcp/interceptor/DataSourceGetConnectionInterceptor.java:43-51 | agent-module/plugins/dbcp2/src/main/java/com/navercorp/pinpoint/plugin/commons/dbcp2/interceptor/DataSourceGetConnectionInterceptor.java:42-50 | agent-module/plugins/druid/src/main/java/com/navercorp/pinpoint/plugin/druid/interceptor/DataSourceGetConnectionInterceptor.java:50-58 | agent-module/plugins/hikaricp/src/main/java/com/navercorp/pinpoint/plugin/hikaricp/interceptor/DataSourceGetConnectionInterceptor.java:42-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/dbcp/src/main/java/com/navercorp/pinpoint/plugin/commons/dbcp/interceptor/DataSourceGetConnectionInterceptor.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c611ceb90d6ee74d2c6ed528e64fb18d977e21889b8e027d53035950858865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): agent-module/plugins/db2-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/db2/Db2Plugin.java:194-202 | agent-module/plugins/mariadb-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mariadb/MariaDBPlugin.java:290-299 | agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:383-392 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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":"agent-module/plugins/db2-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/db2/Db2Plugin.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"465225b88a1d4ffc8e63e2dad50646510bc6504337735ca3d685304953aba35b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/RequestStartAsyncInterceptor.java:54-62 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/interceptor/RequestStartAsyncInterceptor.java:53-61 | agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/interceptor/RequestStartAsyncInterceptor.java:47-55 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/RequestStartAsyncInterceptor.java:54\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":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/RequestStartAsyncInterceptor.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ff65cc8ef786c2a66431e732bcbfb7bfff0bdd75605b3e9ecbc123f453dfb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): agent-module/plugins/thread/src/main/java/com/navercorp/pinpoint/plugin/thread/ThreadPlugin.java:81-89 | agent-module/plugins/thread/src/main/java/com/navercorp/pinpoint/plugin/thread/ThreadPlugin.java:99-107 | agent-module/plugins/thread/src/main/java/com/navercorp/pinpoint/plugin/thread/ThreadPlugin.java:116-124 \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 \u0060agent-module/plugins/thread/src/main/java/com/navercorp/pinpoint/plugin/thread/ThreadPlugin.java:81\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":"agent-module/plugins/thread/src/main/java/com/navercorp/pinpoint/plugin/thread/ThreadPlugin.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c85ca3ec77a504e48e9686a8349178b38f77a57c92865ba0ec2af09917a8a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/MapHistogramController.java:142-150 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/MapHistogramController.java:187-196 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/ServerMapHistogramController.java:322-331 \u2014 there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart. 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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/MapHistogramController.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dec83d905908d449ab0e1d58155fb816b1e0e338c46ac587ad94c62ab3bcbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseApiMetaDataDao.java:71-79 | web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseSqlMetaDataDao.java:67-75 | web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseStringMetaDataDao.java:66-74 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseApiMetaDataDao.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"db850d262328ea3556353cd344a780aa78192c220d438661e6d7155ad0356b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/agentsdk-async/src/main/java/com/navercorp/pinpoint/plugin/sdk/AgentSdkAsyncPlugin.java:82-90 | agent-module/plugins/agentsdk-async/src/main/java/com/navercorp/pinpoint/plugin/sdk/AgentSdkAsyncPlugin.java:107-115 \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":"agent-module/plugins/agentsdk-async/src/main/java/com/navercorp/pinpoint/plugin/sdk/AgentSdkAsyncPlugin.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac00be5da233615d24c6f20c5a4f5071fcbc478bd2dcf6bf48cd65a90af55de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java:210-218 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/interceptor/DirectivesInterceptor.java:210-218 \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 \u0060agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java:210\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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"633a5ae187a25f7b772ad7a3ec24da9f79fb390839ffadfa984b18ed4352ae00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/RequestContextImplCompleteInterceptor.java:43-51 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/interceptor/RequestContextImplCompleteInterceptor.java:43-51 \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 \u0060agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/RequestContextImplCompleteInterceptor.java:43\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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/RequestContextImplCompleteInterceptor.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb817e4d2cfb7db214809b100e6c21ed2f6ed0ca75dac9b3233798ad88748cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpPlugin.java:109-117 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/PekkoHttpPlugin.java:109-117 \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 \u0060agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpPlugin.java:109\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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpPlugin.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd21a38241bea2278665cdcffb60ef1f4c56f104065cd2a62f8b028cfab8248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpPlugin.java:163-171 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/PekkoHttpPlugin.java:163-171 \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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpPlugin.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec0ea19c5ebdbe0e0b613800a793aa7c2c97774efde86a23eebea23c161555b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/HttpRequestAdaptor.java:64-72 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/HttpRequestAdaptor.java:61-69 \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 \u0060agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/HttpRequestAdaptor.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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/HttpRequestAdaptor.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cb312112075bfe9efea0650f40eeafcd77d7f2be79152dfecfdc481f3cf5ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/interceptor/InformixPreparedStatementCreateInterceptor.java:141-149 | agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/interceptor/InformixStatementCreateInterceptor.java:109-117 \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 \u0060agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/interceptor/InformixPreparedStatementCreateInterceptor.java:141\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":"agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/interceptor/InformixPreparedStatementCreateInterceptor.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"706c4417f5fa7a21f9fb990e86df9695977bab3178124a8f857ae4b874865b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/CommandContextFormatter.java:27-35 | agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/CommandContextFormatter.java:27-35 \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 \u0060agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/CommandContextFormatter.java:27\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":"agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/CommandContextFormatter.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"433cc718921e53be4677c7052b2e1493489b09a108801dec0293d430abd5b364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3CallContext.java:76-84 | agent-module/plugins/redis/src/main/java/com/navercorp/pinpoint/plugin/redis/jedis/CommandContext.java:76-84 \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":"agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3CallContext.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"360b25afac4f380ed6242c9c4123d9ac61a3004001fd4e0670a82bc6c0235047"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/jackson/src/main/java/com/navercorp/pinpoint/plugin/jackson/JacksonPlugin.java:92-100 | agent-module/plugins/jackson/src/main/java/com/navercorp/pinpoint/plugin/jackson/JacksonPlugin.java:139-147 \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 \u0060agent-module/plugins/jackson/src/main/java/com/navercorp/pinpoint/plugin/jackson/JacksonPlugin.java:92\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":"agent-module/plugins/jackson/src/main/java/com/navercorp/pinpoint/plugin/jackson/JacksonPlugin.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48dc224e803e7f9be86b10d07ada0f8ef5c984f51d296b3649b44bf6f79e9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java:65-73 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/interceptor/AbstractServerHandleInterceptor.java:65-73 \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 \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java:65\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":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe2ec925b20ea1f1303e2188d444b8a48dacdd2493ee4334bfa007139abff3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java:90-98 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/interceptor/AbstractServerHandleInterceptor.java:90-98 \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 \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java:90\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":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f836b6b792bfd5a12906bdd02af2cf6c404741690670cafd9fdf0ab3ece87b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java:124-132 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/interceptor/AbstractServerHandleInterceptor.java:124-132 \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 \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java:124\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"236880e9e2ac540acd2c90e4204653af05d5d6002d4f2d318cdc9707831a72a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/json-lib/src/main/java/com/navercorp/pinpoint/plugin/json_lib/JsonLibPlugin.java:97-105 | agent-module/plugins/json-lib/src/main/java/com/navercorp/pinpoint/plugin/json_lib/JsonLibPlugin.java:133-141 \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 \u0060agent-module/plugins/json-lib/src/main/java/com/navercorp/pinpoint/plugin/json_lib/JsonLibPlugin.java:97\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":"agent-module/plugins/json-lib/src/main/java/com/navercorp/pinpoint/plugin/json_lib/JsonLibPlugin.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5dec8c3f718e1d1dd8ed1043d674599ef6b0bce57722abad47b69f571aa0bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/interceptor/LoggingEventOfLog4jInterceptor.java:38-46 | agent-module/plugins/logback/src/main/java/com/navercorp/pinpoint/plugin/logback/interceptor/LoggingEventOfLogbackInterceptor.java:38-46 \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 \u0060agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/interceptor/LoggingEventOfLog4jInterceptor.java:38\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":"agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/interceptor/LoggingEventOfLog4jInterceptor.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e7a98265bc2cfb541433faa7bb4341d41ea9aaf493359726bfd85ef9ab51e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/Log4jPlugin.java:57-65 | agent-module/plugins/logback/src/main/java/com/navercorp/pinpoint/plugin/logback/LogbackPlugin.java:59-67 \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 \u0060agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/Log4jPlugin.java:57\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":"agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/Log4jPlugin.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c5306bea9a37a3447d8c3fb3dcc9a6d3a494f844eb7c5f7b721cd098b20793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplConstructorInterceptor.java:81-89 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/ReactiveMongoOperationPublisherConstructorInterceptor.java:92-100 \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 \u0060agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplConstructorInterceptor.java:81\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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplConstructorInterceptor.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fa4e2ea8d1498ec70c4cea5ecbae63ca3d47d57dca2de232ce759efd41dcdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java:515-523 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java:530-538 \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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52d1cce6ecbd186d5599b4507e5151ea862279f6bace76064f3661336dce3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/ning-asynchttpclient/src/main/java/com/navercorp/pinpoint/plugin/ning/asynchttpclient/NingCookieExtractorV1.java:43-51 | agent-module/plugins/ning-asynchttpclient/src/main/java/com/navercorp/pinpoint/plugin/ning/asynchttpclient/NingCookieExtractorV2.java:44-52 \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 \u0060agent-module/plugins/ning-asynchttpclient/src/main/java/com/navercorp/pinpoint/plugin/ning/asynchttpclient/NingCookieExtractorV1.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/ning-asynchttpclient/src/main/java/com/navercorp/pinpoint/plugin/ning/asynchttpclient/NingCookieExtractorV1.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c36f54cb3b9ad9a357da3a813f3d36cc33a07a00f3e6cb86e15482ef7bc705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/OkHttpPlugin.java:119-127 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/OkHttpPlugin.java:124-132 \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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/OkHttpPlugin.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c738f2606702d570d9c266a82e748e76a0859be9e1afb0348b70c571663b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java:170-178 | agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerHandleCompleteInboundCommandInterceptor.java:165-173 \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 \u0060agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java:170\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":"agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66517b64b9dc0f23a2f7a925a50b4b35974603f354af4808e04c54a7efd6d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/SocketChannelFrameHandlerConstructInterceptor.java:57-65 | agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/SocketFrameHandlerConstructInterceptor.java:62-70 \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":"agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/SocketChannelFrameHandlerConstructInterceptor.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"103985711a6926d4bdd4c3d55925a41f6fa9c2f3763d2d23ac628036fe002bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/interceptor/HttpServerParameterExtractor.java:51-59 | agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/ServletRequestImplParameterExtractor.java:50-60 \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":"agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/interceptor/HttpServerParameterExtractor.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cef65bbfb7b455709914d3073979a7b4cd2c186dcd8aacb2f37fc56d179e548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:504-513 | agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:537-545 \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 \u0060agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:504\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":"agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"705ac97e9d229389e97b5a35c596963a46623f2bfd8e81853f8d98215878cf0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/interceptor/RedisPubSubListenerInterceptor.java:52-60 | agent-module/plugins/user/src/main/java/com/navercorp/pinpoint/plugin/user/interceptor/UserIncludeMethodInterceptor.java:56-64 \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 \u0060agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/interceptor/RedisPubSubListenerInterceptor.java:52\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":"agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/interceptor/RedisPubSubListenerInterceptor.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d491ff7f859e686776f5c810dd9ac7d2ce52200a8ef692834cae1e094559cb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/StatementBindNullInterceptor.java:64-72 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/PreparedStatementBindVariableInterceptor.java:70-79 \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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/StatementBindNullInterceptor.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f845c8c55377c670677df4879771cd6306095e9e0c0fdd93123b073a284c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/interceptor/tprotocol/server/TProtocolReadFieldBeginInterceptor.java:74-82 | agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/interceptor/tprotocol/server/TProtocolReadTTypeInterceptor.java:73-81 \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 \u0060agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/interceptor/tprotocol/server/TProtocolReadFieldBeginInterceptor.java:74\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":"agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/interceptor/tprotocol/server/TProtocolReadFieldBeginInterceptor.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c362b039dfb828976b51d194f0ba81abf8b2ef2bd582714b66cd3d431ef79e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/undertow/src/main/java/com/navercorp/pinpoint/plugin/undertow/interceptor/HttpServerExchangeAdaptor.java:60-68 | agent-module/plugins/undertow/src/main/java/com/navercorp/pinpoint/plugin/undertow/interceptor/HttpServerExchangeResponseAdaptor.java:67-75 \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 \u0060agent-module/plugins/undertow/src/main/java/com/navercorp/pinpoint/plugin/undertow/interceptor/HttpServerExchangeAdaptor.java:60\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":"agent-module/plugins/undertow/src/main/java/com/navercorp/pinpoint/plugin/undertow/interceptor/HttpServerExchangeAdaptor.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1de37ad1697427fbec5ffbb0ddc12936efa4da83ab9b697490be1d5ad686b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptor.java:136-144 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptorV4.java:108-116 \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 \u0060agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptor.java:136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptor.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcb82c782fb939e97f51d239e00aa33c979de73ec59bfcb59b4b90c4a659e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/ServletRequestImplParameterExtractor.java:79-87 | agent-module/plugins/websphere/src/main/java/com/navercorp/pinpoint/plugin/websphere/IRequestParameterExtractor.java:76-84 \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 \u0060agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/ServletRequestImplParameterExtractor.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. 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":"agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/ServletRequestImplParameterExtractor.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0decef79f394c7aa6cb33259485732c0d32439ae0c5ebe274d80cc36be2213c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedApiIdAwareAroundInterceptor.java:44-52 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedResultReplaceAroundInterceptor.java:40-48 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedApiIdAwareAroundInterceptor.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c80e11734610434c5363be595a4df6e8d11dfe81ce10ac7235a1caa8df42d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor4.java:61-70 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedInterceptor5.java:62-70 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor4.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/scope/ScopedBlockInterceptor4.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e3b5d80d639b35405d3e6be715fba16c5fed2f64dc42c4c3910dcb98ea6ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/StatementExecuteQueryInterceptor.java:46-54 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/StatementExecuteUpdateInterceptor.java:50-58 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/interceptor/StatementExecuteQueryInterceptor.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a0f5430ed8b5b12383a7a7f746dc72fb4f44ac3e77a08b7ee4de2c078e1f3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/bootstraps/bootstrap-java9/src/main/java/com/navercorp/pinpoint/bootstrap/java9/module/RedefineModuleUtils.java:48-56 | agent-module/bootstraps/bootstrap-java9/src/main/java/com/navercorp/pinpoint/bootstrap/java9/module/RedefineModuleUtils.java:62-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-java9/src/main/java/com/navercorp/pinpoint/bootstrap/java9/module/RedefineModuleUtils.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e402f522dd47aba0a63520e591b6be04a9340797c7c95b2d5d1ab66a13ddecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClass.java:461-469 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClass.java:615-623 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClass.java:461\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClass.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"2798f3f3646a84c6387125973e0107ac1892a43ca157725c2086d50be7494b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMInterceptorHolder.java:290-298 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMInterceptorHolder.java:380-388 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMInterceptorHolder.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. 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMInterceptorHolder.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d5998afb9500a3102922c435e653310693c5a5ed1e6d6089dfc0bacfa28dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/name/v1/ObjectNameResolverV1.java:71-80 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/name/v4/ObjectNameResolverV4.java:64-72 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/name/v1/ObjectNameResolverV1.java:71\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/name/v1/ObjectNameResolverV1.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3bd0125d8f28f14f67ba919b6a261a6a24df22bb7697b4eb6425336f190165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/receiver/grpc/GrpcActiveThreadDumpService.java:120-128 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/receiver/grpc/GrpcActiveThreadLightDumpService.java:118-126 \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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/receiver/grpc/GrpcActiveThreadDumpService.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"978176d8752c64822900486a28a8f9809df6ebdf85ebcf389c1788d8b26fd04d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/async/HbaseAsyncTemplate.java:116-124 | commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/async/HbaseAsyncTemplate.java:202-210 \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":"commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/async/HbaseAsyncTemplate.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb1074efaa30b767b15cea35411a528c6fc0a5e2a86e5b4620205b05bce8b34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/async/HbaseAsyncTemplate.java:373-381 | commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/HbaseTemplate.java:478-486 \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 \u0060commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/async/HbaseAsyncTemplate.java:373\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":"commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/async/HbaseAsyncTemplate.java"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"1807a34608e390d4db9fca74de372d93bb89e4246992f25541d6bbea6d758078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:823-831 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:635-643 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:823\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62a87bdc3af811ef4cc5e1406cfeb1027c1fc86b7cca2f3d333ce85dfe12e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/util/TransactionIdUtils.java:88-96 | commons-server/src/main/java/com/navercorp/pinpoint/common/server/trace/PinpointServerTraceId.java:37-45 \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. 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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/util/TransactionIdUtils.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"08aa8d7ea2c2e2d369966a7bfb85d2aa842c0ef3968dfc348caf223e4373538d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncoderV0.java:299-307 | commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncoderV0.java:394-402 \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 \u0060commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncoderV0.java:299\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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncoderV0.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd94c625ec615e8021a39722541da1ee40eaaeb2be0b9e01373c8df80fa449b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/AnnotationTranscoder.java:355-363 | commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/AnnotationTranscoder.java:672-680 \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 \u0060commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/AnnotationTranscoder.java:355\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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/AnnotationTranscoder.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fde5055ffda5484e925fe548c08bbde35e35cc5fc21391382d0cb8472a20b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): commons-server/src/main/java/com/navercorp/pinpoint/common/server/scatter/TraceIndexRowKeyUtils.java:101-109 | commons-server/src/main/java/com/navercorp/pinpoint/common/server/util/AgentIdRowKeyUtils.java:113-121 \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 \u0060commons-server/src/main/java/com/navercorp/pinpoint/common/server/scatter/TraceIndexRowKeyUtils.java:101\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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/scatter/TraceIndexRowKeyUtils.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"56748e07624ca111dbfc32e7d79f6fc6a2db16d4ac075427fda88571fb5972bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): commons-server/src/main/java/com/navercorp/pinpoint/common/server/util/AgentEventMessageDeserializerV1.java:82-90 | commons-server/src/main/java/com/navercorp/pinpoint/common/server/util/AgentEventMessageDeserializerV1.java:100-108 \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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/util/AgentEventMessageDeserializerV1.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df82c6d2eae479ddd384de67c5469a81d63b26196d64e95e66f3e120947a765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java:147-155 | web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentsController.java:158-166 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java:147\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":"web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a6f807944bba3e7d145038ad3dc2b722d7688fbe84cf0bb0245aee10658a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/HistogramServiceImpl.java:70-78 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/MapServiceImpl.java:88-96 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/HistogramServiceImpl.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c45b71c01335d622742ba67c1ba67889c451f86f8ccd196486b9307fc552ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java:121-129 | web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java:184-192 \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":"web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6676b530813912f8639c9125006bff44ace5a4123243e2451f7452f1b352de64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/ProxyHeaderAnnotationArgumentHandler.java:101-109 | web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/ProxyHeaderAnnotationArgumentHandler.java:114-122 \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":"web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/ProxyHeaderAnnotationArgumentHandler.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bcaba3f07aecd26f15a3e1425aa379101b321a55a10e64e8de3a4be5056408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/ProxyHeaderAnnotationArgumentHandler.java:171-179 | web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/ProxyHeaderAnnotationArgumentHandler.java:181-189 \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":"web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/ProxyHeaderAnnotationArgumentHandler.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc64d3b6208f22bf90bbce040a9f111482c15f48de3bde74c9fe981d389abca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java:153-161 | web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java:183-191 \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":"web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdaa7680a392af6c734e43ae4894c8e5ccf60f1c147a9430f229dc72dc291a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): collector/src/main/java/com/navercorp/pinpoint/collector/dao/hbase/HbaseSqlMetaDataDao.java:63-71 | collector/src/main/java/com/navercorp/pinpoint/collector/dao/hbase/HbaseSqlUidMetaDataDao.java:56-64 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"collector/src/main/java/com/navercorp/pinpoint/collector/dao/hbase/HbaseSqlMetaDataDao.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d6836634fb15f3250bb920e21099fa0addb7f4e03b7a512112c48253ad6253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): collector/src/main/java/com/navercorp/pinpoint/collector/mapper/grpc/stat/GrpcAgentStatBatchMapper.java:41-49 | collector/src/main/java/com/navercorp/pinpoint/collector/mapper/grpc/stat/GrpcAgentStatMapper.java:42-51 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"collector/src/main/java/com/navercorp/pinpoint/collector/mapper/grpc/stat/GrpcAgentStatBatchMapper.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"111782f8fbac8da32ccf12ed4496a3614d76fb3026aa7ebb28423fd4754468e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): grpc/src/main/java/com/navercorp/pinpoint/grpc/client/config/ClientOption.java:90-99 | grpc/src/main/java/com/navercorp/pinpoint/grpc/server/ServerOption.java:103-111 \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":"grpc/src/main/java/com/navercorp/pinpoint/grpc/client/config/ClientOption.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acca83f9c683accf28390f040c060d51eb131438c4afc938285a1dae234eefb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/controller/AgentInspectorStatController.java:158-166 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/controller/AgentInspectorStatController.java:179-187 \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":"inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/controller/AgentInspectorStatController.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1f3f1b2c336b2aa9935003d1b6a404dee17b7bf6e2c209c69a522bcde98f86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/definition/metric/UsingDataSourceTagForAgentPreProcessor.java:54-62 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/definition/metric/UsingDataSourceTagForApplicationPreProcessor.java:52-60 \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 \u0060inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/definition/metric/UsingDataSourceTagForAgentPreProcessor.java:54\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":"inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/definition/metric/UsingDataSourceTagForAgentPreProcessor.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc278cb5a42c60791e6a6329bfa2e540cef096ac7b21f9d45d759a5ba955c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): agent-module/plugins/cubrid-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/cubrid/CubridPlugin.java:231-238 | agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:306-313 | agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/InformixPlugin.java:275-282 | agent-module/plugins/jtds/src/main/java/com/navercorp/pinpoint/plugin/jdbc/jtds/JtdsPlugin.java:237-244 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/cubrid-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/cubrid/CubridPlugin.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe30a43012c4f9a48ad038c2589cb2ea8a88c2f0b82bff61c709aa2a8503727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java:545-552 | agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:235-244 | agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:371-380 | agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/SpringWebFluxPlugin.java:355-364 \u2014 there are 4 copies across 3 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. 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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f6c64d927ab45e6327bb2fcd78cdd585d20221157652462c3bfe174754798b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:473-480 | agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:503-512 | agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:536-544 | agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java:567-575 \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. 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":"agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"030c2205f3534019cd2d2de5bebff878f1dcc15b20d1f3d826b9f3d006a3e85a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): agent-module/plugins/clickhouse-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/clickhouse/ClickHousePlugin.java:189-201 | agent-module/plugins/mariadb-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mariadb/MariaDBPlugin.java:180-187 | agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:205-213 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/clickhouse-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/clickhouse/ClickHousePlugin.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cf06eef89244974e214416fa37a71646cc21a151ba5ffb193b33877295ad06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineSendRequestMethodInterceptor.java:60-67 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/BridgeInterceptorInterceptMethodInterceptor.java:66-74 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/HttpEngineSendRequestMethodInterceptor.java:59-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineSendRequestMethodInterceptor.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5f472a0831099d9d5b19cb3733b99af1544523baf54ae427828825cd8956e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): batch/src/main/java/com/navercorp/pinpoint/batch/job/AgentIdCleanupTasklet.java:62-69 | grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV1.java:57-65 | grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV4.java:61-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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":"batch/src/main/java/com/navercorp/pinpoint/batch/job/AgentIdCleanupTasklet.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc7eeaa7ce4bca22e3efe04d63b0c6ce3ff336c0f722f724d375987a0a36897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java:173-180 | web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentsController.java:188-195 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/MapHistogramController.java:217-224 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java:173\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":"web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b53eff96253af52b0918f3dc14545f276206f3b70ce4498b0a2c38c54f739de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java:97-104 | web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java:120-127 | web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java:183-190 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9728dd591f5f16373b672713941bed337650fcb0b6a9fa781f2c1a8dfd4a540f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java:243-250 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/interceptor/DirectivesInterceptor.java:243-250 \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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d45ed27dd1c86715c606bbde9c964875e99bcf09bb787a3f8d6f27a1c4f29c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpConfig.java:52-59 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/PekkoHttpConfig.java:49-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/AkkaHttpConfig.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15edf42e449aa72582afc1de4bae65f9a5a25296de2d9a6578df42cc661ddc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:74-82 | agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/InformixPlugin.java:77-84 \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":"agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65fffd956191100e864ac9e15103e72365d10e64df66f63003e6f4e5ea13b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:160-168 | agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:278-285 \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 \u0060agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:160\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":"agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1b1ec5a6fcc13884ba8b7418c470c2f39bc01d3cfbb7ffa47507eea39fb143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/interceptor/InformixPreparedStatementCreateInterceptor.java:117-124 | agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/interceptor/InformixStatementCreateInterceptor.java:85-92 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/interceptor/InformixPreparedStatementCreateInterceptor.java:117\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":"agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/interceptor/InformixPreparedStatementCreateInterceptor.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bedce71b37341baa36a3f8b9378587ad897242047ff9028309ca745375746c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/mariadb-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mariadb/interceptor/PreparedStatementConstructorInterceptor.java:53-60 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/ConnectionCreateStatementInterceptor.java:59-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 \u0060agent-module/plugins/mariadb-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mariadb/interceptor/PreparedStatementConstructorInterceptor.java:53\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":"agent-module/plugins/mariadb-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mariadb/interceptor/PreparedStatementConstructorInterceptor.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1704648ca8b59ec740553db432356e9d75a46c5a6bf6df6e1cb042d92621ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:250-257 | agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:330-337 \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 \u0060agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.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":"agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f981cf5e8a6441e1567b7faca2d4f4d75ed1879fc094958f3b314915b049771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:299-306 | agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:361-368 \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 \u0060agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:299\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":"agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e220dd55e69355bcb97c5cfdef48adb41f74e33a6de55108154ca156247e2bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/interceptor/ElasticsearchExecutorInterceptor.java:73-80 | agent-module/plugins/elasticsearch8/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch8/interceptor/ElasticsearchClientMethodInterceptor.java:72-79 \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 \u0060agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/interceptor/ElasticsearchExecutorInterceptor.java:73\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":"agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/interceptor/ElasticsearchExecutorInterceptor.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e046289b5c9806e83c09eeece268cf0d0acd14e1c001af3092d0500608c9a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/ElasticsearchPluginConfig.java:31-38 | agent-module/plugins/elasticsearch8/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch8/Elasticsearch8PluginConfig.java:28-35 \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 \u0060agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/ElasticsearchPluginConfig.java:31\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":"agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/ElasticsearchPluginConfig.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"daab02ee4b91d4fdf611d53c82ead35e77baf8823d39ed1acfb23b98f49f5df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3ResponseHeaderAdaptor.java:59-66 | agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/HttpResponse4ClientHeaderAdaptor.java:70-77 \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 \u0060agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3ResponseHeaderAdaptor.java:59\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":"agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3ResponseHeaderAdaptor.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5156628ae1cde0e67bb2d187ac9d62e8ad2e2a27165af67282cfe63a330d14c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3ResponseHeaderAdaptor.java:75-82 | agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/HttpResponse4ClientHeaderAdaptor.java:86-93 \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 \u0060agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3ResponseHeaderAdaptor.java:75\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":"agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3ResponseHeaderAdaptor.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bcbde68781170e16db02a36f1e7dbffb7d99e68006d2606834786d104568e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/interceptor/AsyncExecCallbackHandleResponseInterceptor.java:43-50 | agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/interceptor/BasicClientExchangeHandlerConsumeResponseInterceptor.java:43-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 \u0060agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/interceptor/AsyncExecCallbackHandleResponseInterceptor.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/interceptor/AsyncExecCallbackHandleResponseInterceptor.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d96fddac696b21f4aa592559d0563dd7c5272383dd8367c6fa9bbfb22aac41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/interceptor/CloseableHttpAsyncClientDoExecuteInterceptor.java:140-147 | agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/interceptor/InternalHttpClientDoExecuteInterceptor.java:127-134 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/interceptor/CloseableHttpAsyncClientDoExecuteInterceptor.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"609b78af5ff1fe3d2f261b04615ffa8342cee903e4c96cbdb60afe953bbf8fb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/HttpClient5Plugin.java:58-66 | agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/SpringWebFluxPlugin.java:113-120 \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 \u0060agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/SpringWebFluxPlugin.java:113\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":"agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/HttpClient5Plugin.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f7d2b14ef4bd453d61572cb944b89f1987a5d905620709a9d6dd8f3b5a2bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/hystrix/src/main/java/com/navercorp/pinpoint/plugin/hystrix/interceptor/metrics/HystrixCircuitBreakerConstructInterceptor.java:50-57 | agent-module/plugins/hystrix/src/main/java/com/navercorp/pinpoint/plugin/hystrix/interceptor/metrics/HystrixCommandMetricsConstructInterceptor.java:50-57 \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 \u0060agent-module/plugins/hystrix/src/main/java/com/navercorp/pinpoint/plugin/hystrix/interceptor/metrics/HystrixCircuitBreakerConstructInterceptor.java:50\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":"agent-module/plugins/hystrix/src/main/java/com/navercorp/pinpoint/plugin/hystrix/interceptor/metrics/HystrixCircuitBreakerConstructInterceptor.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a1c2269fb13314a29e408f6d7d762e91228ac591d6c5e37054950ef8158c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/JettyPlugin.java:49-57 | agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/Jetty12Plugin.java:45-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/JettyPlugin.java:49\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":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/JettyPlugin.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6e0fee9e2013ffb1a8302735ed2370007b534ab1135cdebb59aecbcbb30f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/JettyPlugin.java:93-102 | agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/Jetty12Plugin.java:114-121 \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":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/JettyPlugin.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4a5c5775778a107a2e9f0d23085bd85477ed2238ce5a9a9d86e6f01c20f881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/log4j2/src/main/java/com/navercorp/pinpoint/plugin/log4j2/Log4j2Plugin.java:75-82 | agent-module/plugins/log4j2/src/main/java/com/navercorp/pinpoint/plugin/log4j2/Log4j2Plugin.java:99-106 \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":"agent-module/plugins/log4j2/src/main/java/com/navercorp/pinpoint/plugin/log4j2/Log4j2Plugin.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7844a44c74b6fbb339b311a694fb07fbc5aac85d78584090727ae2edeedc0d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/RabbitMQClientPlugin.java:281-288 | agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/RabbitMQClientPlugin.java:440-448 \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":"agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/RabbitMQClientPlugin.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"617e3b1dbd6cc2ae1d3938b1b6bf04c36d677d626a0f41c99b736c8b9a7853c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/ReactorNettyPlugin.java:275-282 | agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/ReactorNettyPlugin.java:393-400 \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":"agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/ReactorNettyPlugin.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e83f4e7e7cb7b2f0de996cad3d57392f694ac805c5893ebb2ea9b6c27173837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/redis-redisson/src/main/java/com/navercorp/pinpoint/plugin/redis/redisson/interceptor/ReactiveMethodInterceptor.java:65-72 | agent-module/plugins/redis-redisson/src/main/java/com/navercorp/pinpoint/plugin/redis/redisson/interceptor/WrappingReactiveMethodInterceptor.java:109-116 \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 \u0060agent-module/plugins/redis-redisson/src/main/java/com/navercorp/pinpoint/plugin/redis/redisson/interceptor/ReactiveMethodInterceptor.java:65\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":"agent-module/plugins/redis-redisson/src/main/java/com/navercorp/pinpoint/plugin/redis/redisson/interceptor/ReactiveMethodInterceptor.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a39eebf825ccaa93081e47e4afa2d004c1bf0b77c3b787a685ddbef06b355a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/ServletRequestImplParameterExtractor.java:48-55 | agent-module/plugins/websphere/src/main/java/com/navercorp/pinpoint/plugin/websphere/IRequestParameterExtractor.java:47-54 \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 \u0060agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/ServletRequestImplParameterExtractor.java:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/ServletRequestImplParameterExtractor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecbf6ef4e8926593d7d76cc679e0b481ec7f5ba06a386f6cd9081cbb03123f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/async/AsyncContextAccessorUtils.java:83-90 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/reactor/ReactorSubscriberAccessorUtils.java:64-71 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/async/AsyncContextAccessorUtils.java:83\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/async/AsyncContextAccessorUtils.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2334c8e06b919ddff900337b18bf4200a109ca6a393036022a9bf7d44ed2b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockSimpleAroundInterceptor.java:64-71 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventSimpleAroundInterceptor.java:67-74 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockSimpleAroundInterceptor.java:64\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockSimpleAroundInterceptor.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b6703abc427d40073310fa696deb9b3cc1a2ac660d05e96b74e7dbaa86b56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/DefaultDatabaseInfo.java:44-51 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/MongoDatabaseInfo.java:49-56 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/DefaultDatabaseInfo.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02da729230ac5c5301d4e8d5b9f6a5a56cbbeca8bec12822511d58539aee609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/bootstraps/bootstrap-java9/src/main/java/com/navercorp/pinpoint/bootstrap/java9/module/RedefineModuleUtils.java:76-83 | agent-module/bootstraps/bootstrap-java9/src/main/java/com/navercorp/pinpoint/bootstrap/java9/module/RedefineModuleUtils.java:91-98 \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":"agent-module/bootstraps/bootstrap-java9/src/main/java/com/navercorp/pinpoint/bootstrap/java9/module/RedefineModuleUtils.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dce82126862dc4a36936b5305fe9cc14ac653c0353bb5fc0366de5c92e0f568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/plugins-test-module/plugins-it-utils-jdbc/src/main/java/com/navercorp/pinpoint/it/plugin/utils/jdbc/DataBaseTestCase.java:232-239 | agent-module/plugins-test-module/plugins-it-utils-jdbc/src/main/java/com/navercorp/pinpoint/it/plugin/utils/jdbc/DataBaseTestCase.java:320-327 \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":"agent-module/plugins-test-module/plugins-it-utils-jdbc/src/main/java/com/navercorp/pinpoint/it/plugin/utils/jdbc/DataBaseTestCase.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbc69220812a0f235db5c0f96742db0a2674c6ee2d12b50d1cf3e441f77a81b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClassNodeAdapter.java:314-321 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClassNodeAdapter.java:327-334 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClassNodeAdapter.java:314\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClassNodeAdapter.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d710a43946bf85f5e383bd41f2c0259541b5ef2201f04e286befeada8f1818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/active/DefaultActiveTraceRepository.java:113-120 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/active/DefaultActiveTraceRepository.java:138-145 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/active/DefaultActiveTraceRepository.java:113\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/active/DefaultActiveTraceRepository.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dae8f00c876103ee1399c5282494290304a9000772ed582eb5d03a59885bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/name/v1/IdValidatorV1.java:87-94 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/name/v4/IdValidatorV4.java:81-88 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/name/v1/IdValidatorV1.java:87\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/name/v1/IdValidatorV1.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b5dba6f4c7f13b2420b498f0b7a52121661413606c69ae675f68ff25cd8c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:772-779 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:582-589 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:772\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e2b1e918f3c3e53282749be8dfa90109ea860629b1f9b55627af2091102bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:789-796 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:599-606 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:789\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ae17099d74880e566ec634c7c5321143db873c3ed426e4f3eef04d978e05f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:1694-1701 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:1406-1413 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:1694\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"080e6f65597997110c62c0fdd9ad5a0635402209243502a69c8783ca87e028fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/vo/activethread/AgentActiveThreadDumpFactory.java:60-68 | web/src/main/java/com/navercorp/pinpoint/web/vo/activethread/AgentActiveThreadDumpFactory.java:101-108 \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":"web/src/main/java/com/navercorp/pinpoint/web/vo/activethread/AgentActiveThreadDumpFactory.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"745e95def74d5e87269c06d14f435199dbf0085ebf6d58aad738f8103da22d09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java:183-190 | web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentsController.java:198-206 \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":"web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"714df52128605ee51df36ab5139d0aa09ffe38eb706fa8ea6f12c62029d44712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/appender/histogram/DefaultNodeHistogramFactory.java:114-121 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/appender/histogram/SimplifiedNodeHistogramFactory.java:83-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/appender/histogram/DefaultNodeHistogramFactory.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90beece31d0407db4eac84e3cf0cc023657238d79bf5cdf79211dfcf25ab4a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/appender/server/DefaultServerGroupListFactory.java:49-56 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/appender/server/StatisticsServerGroupListFactory.java:90-97 \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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/appender/server/DefaultServerGroupListFactory.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"35747058da37877e8ad07e2bc4a408d9515f02e6ee927b0b46ea76faab29a8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapAgentResponseTimeDao.java:82-89 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapResponseDao.java:76-83 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapAgentResponseTimeDao.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9427b2a50a82f85a27b32fa283d5cda0f7480c67f46cff949239a14c9a7f48e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapInLinkDao.java:103-110 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapOutLinkDao.java:102-109 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapInLinkDao.java:103\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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapInLinkDao.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebb962b48b0d9aea1de42594ab128a4105cd8edb5548867694eadb6c3b2813a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/v3/ApplicationResponseTimeV3ResultExtractor.java:98-105 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/v3/ResponseTimeV3ResultExtractor.java:107-114 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/v3/ApplicationResponseTimeV3ResultExtractor.java:98\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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/v3/ApplicationResponseTimeV3ResultExtractor.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ff7f671102e301e4772da4d08eed860f60993c559cf609d7af28bd4dbebaf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java:158-165 | web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java:264-271 \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":"web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ca5e1922eb5c2fb27a2d8808d72905eeb2edc3fc1ce820f05fb019800c61f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java:214-221 | web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java:238-245 \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":"web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a6eadc00f4a10d608764433aa39bfe00d9d72f5070c8c2f424afc0e9d2ab26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseAgentInfoDao.java:161-168 | web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseAgentInfoDao.java:213-220 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseAgentInfoDao.java:161\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":"web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseAgentInfoDao.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"75165702060474ed42a812c59770230f55c8c7d8a6c09cdf7ab0e30a5fd39fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java:417-424 | web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java:484-491 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java:417\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":"web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5145587c7a5b1d88a944a809dcaab0563dadba3e6f4a39f03eb5628261d8947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): collector/src/main/java/com/navercorp/pinpoint/collector/grpc/config/GrpcSpanReceiverConfiguration.java:117-124 | collector/src/main/java/com/navercorp/pinpoint/collector/grpc/config/GrpcStatReceiverConfiguration.java:100-107 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"collector/src/main/java/com/navercorp/pinpoint/collector/grpc/config/GrpcSpanReceiverConfiguration.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"afccfe82c2194f681961aa3f25460360c4902dfbff486ebbf52f764560e36507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): collector/src/main/java/com/navercorp/pinpoint/collector/scheduler/AvgMaxLinkScheduler.java:59-66 | collector/src/main/java/com/navercorp/pinpoint/collector/scheduler/StatisticsLinkScheduler.java:59-66 \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 \u0060collector/src/main/java/com/navercorp/pinpoint/collector/scheduler/AvgMaxLinkScheduler.java:59\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":"collector/src/main/java/com/navercorp/pinpoint/collector/scheduler/AvgMaxLinkScheduler.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6ee1794d38d1971d3aa11da3cacab9f16d7684095a0e1a453bd284782eb445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/OtlpMetricDataMapper.java:41-48 | otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/OtlpMetricDataMapper.java:58-65 \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 \u0060otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/OtlpMetricDataMapper.java:41\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. 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":"otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/OtlpMetricDataMapper.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d4d612446b068f60ee1f1a8cb1c6fb9bf1b971e93066fbbc710fbcaaad5525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java:191-198 | otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanMapper.java:159-167 \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 \u0060otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java:191\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":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"29994c463a8ba22851c766eb23ea1653c7d0a3a975cecc0437a3988e8c254f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10): agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/interceptor/StandardHostValveInvokeInterceptor.java:81-87 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java:68-74 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/interceptor/AbstractServerHandleInterceptor.java:68-74 | agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/interceptor/AbstractServletHandlerHandleInterceptor.java:82-88 | agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/interceptor/NettyHttp1HandlerHandleRequestInterceptor.java:59-65 | agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/interceptor/HttpServerHandleInterceptor.java:72-78 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:84-90 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java:85-91 | agent-module/plugins/undertow/src/main/java/com/navercorp/pinpoint/plugin/undertow/interceptor/ConnectorsExecuteRootHandlerInterceptor.java:68-74 | agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/interceptor/WebAppServletContextExecuteInterceptor.java:58-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/interceptor/StandardHostValveInvokeInterceptor.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5429483f78b1865bb1f1bc9dae34d097a798c5ecff1c9413de4adf9d0dd36658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/KtorPlugin.java:50-56 | agent-module/plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/OpenwhiskPlugin.java:62-68 | agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/ReactorNettyPlugin.java:74-80 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/TomcatPlugin.java:52-58 | agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/WeblogicPlugin.java:48-54 | agent-module/plugins/websphere/src/main/java/com/navercorp/pinpoint/plugin/websphere/WebspherePlugin.java:47-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/KtorPlugin.java:50\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":"agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/KtorPlugin.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cafb880d5b4e8e3fc7ac50cce1f3fec95bb44637288e7dbf8b480ce4c16f5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): agent-module/plugins/apache-dubbo/src/main/java/com/navercorp/pinpoint/plugin/apache/dubbo/ApacheDubboPlugin.java:49-55 | agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/KtorPlugin.java:51-57 | agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/ReactorNettyPlugin.java:75-81 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/TomcatPlugin.java:53-59 | agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/WeblogicPlugin.java:49-55 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/apache-dubbo/src/main/java/com/navercorp/pinpoint/plugin/apache/dubbo/ApacheDubboPlugin.java:49\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":"agent-module/plugins/apache-dubbo/src/main/java/com/navercorp/pinpoint/plugin/apache/dubbo/ApacheDubboPlugin.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c8d059fb6d9390c5fcde91e8e4c900241bec9c293f04818a794697634db2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseApiMetaDataDao.java:93-99 | web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseSqlMetaDataDao.java:89-95 | web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseSqlUidMetaDataDao.java:82-88 | web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseStringMetaDataDao.java:88-94 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseApiMetaDataDao.java:93\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":"web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseApiMetaDataDao.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d74a5d7eba59808648cc86b0b7b2fb26b920f34bb0f13dafda8896ad3e98c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/filter/ArcusMethodFilter.java:89-95 | agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/filter/FrontCacheMemcachedMethodFilter.java:72-78 | agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/filter/MemcachedMethodFilter.java:73-79 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/filter/ArcusMethodFilter.java:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/arcus/src/main/java/com/navercorp/pinpoint/plugin/arcus/filter/ArcusMethodFilter.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7c11b2b7234842f771e41d7c1f2cbadd1955dab3a478e9fbc62a0484626a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:314-320 | agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:321-327 | agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:328-334 \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 \u0060agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:314\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":"agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e4f97dc0c70c9abd2199899af758cbbd597493f60e3d452c985351e71cda6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): agent-module/plugins/db2-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/db2/Db2Plugin.java:144-150 | agent-module/plugins/db2-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/db2/Db2Plugin.java:206-212 | agent-module/plugins/db2-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/db2/Db2Plugin.java:215-221 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/db2-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/db2/Db2Plugin.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6ef38955e273de3439834254d066b27856b64fa44b8e78bd74e6e8cc2e6060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/interceptor/HttpMethodBaseRequestAndResponseMethodInterceptor.java:89-95 | agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/HttpRequestExecutorDoSendRequestAndDoReceiveResponseMethodInterceptor.java:89-95 | agent-module/plugins/redis/src/main/java/com/navercorp/pinpoint/plugin/redis/jedis/interceptor/ProtocolSendCommandAndReadMethodInterceptor.java:95-101 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/interceptor/HttpMethodBaseRequestAndResponseMethodInterceptor.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d35964802bc6e71f27c4a74911cd647ebf76ac8364e333bbc70672ac6507044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/JbossConfig.java:52-58 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/TomcatConfig.java:52-58 | agent-module/plugins/undertow/src/main/java/com/navercorp/pinpoint/plugin/undertow/UndertowConfig.java:50-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/JbossConfig.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67dc7ee190101391af8bf8e0a025ecbabf1e8f8bb98e8fd7fec37885d6b2a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): agent-module/plugins/json-lib/src/main/java/com/navercorp/pinpoint/plugin/json_lib/JsonLibPlugin.java:66-72 | agent-module/plugins/json-lib/src/main/java/com/navercorp/pinpoint/plugin/json_lib/JsonLibPlugin.java:90-96 | agent-module/plugins/json-lib/src/main/java/com/navercorp/pinpoint/plugin/json_lib/JsonLibPlugin.java:118-124 \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 \u0060agent-module/plugins/json-lib/src/main/java/com/navercorp/pinpoint/plugin/json_lib/JsonLibPlugin.java:66\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":"agent-module/plugins/json-lib/src/main/java/com/navercorp/pinpoint/plugin/json_lib/JsonLibPlugin.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebbf0eab9cebcbcc1b1e05629bd870688576d2f9885f0264313d3bbfdb4a290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:296-302 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:745-751 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:926-932 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fda5b61647981793aaa049175a26183dc3f97bd1289167b7389b8bc404cff65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:403-409 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:494-500 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:832-838 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d57f9fc69b71678b94e077b9a9014a07c4f03ab3cdfe2fd8c55d28298077cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockSimpleAroundInterceptor.java:123-129 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventEndPointInterceptor.java:125-131 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventSimpleAroundInterceptor.java:120-126 \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 \u0060agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockSimpleAroundInterceptor.java:123\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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/interceptor/AsyncContextSpanEventBlockSimpleAroundInterceptor.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf39fc04b960f4d1972bf87c41e957e2fcdf14f630d900f5111d065e9a6e167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/ActiveMQClientPlugin.java:185-191 | agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/ActiveMQClientPlugin.java:193-200 \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 \u0060agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/ActiveMQClientPlugin.java:185\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":"agent-module/plugins/activemq-client/src/main/java/com/navercorp/pinpoint/plugin/activemq/client/ActiveMQClientPlugin.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c84b45356d55e273f6896376fcb090de3feefca74274f9c4f061c4628fe1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/db2-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/db2/Db2Plugin.java:71-77 | agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:72-78 \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":"agent-module/plugins/db2-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/db2/Db2Plugin.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"71453d37bd069d42f59671b95b7b7bb6feb237b5e5c2271dddbec843e5d12950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:216-222 | agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:466-472 \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":"agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b4f99f8552c71322d6c180be8d7acc386090f9f9c92dbafd2ffe976e26213f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/cxf/src/main/java/com/navercorp/pinpoint/plugin/cxf/CxfPlugin.java:53-59 | agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/KafkaPlugin.java:84-90 \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 \u0060agent-module/plugins/cxf/src/main/java/com/navercorp/pinpoint/plugin/cxf/CxfPlugin.java:53\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":"agent-module/plugins/cxf/src/main/java/com/navercorp/pinpoint/plugin/cxf/CxfPlugin.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f21f511299ef8b9d860b2506807e899e4084d33a150181e7ff3fbf39a197fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/ElasticsearchPlugin.java:75-81 | agent-module/plugins/elasticsearch8/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch8/Elasticsearch8Plugin.java:48-54 \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 \u0060agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/ElasticsearchPlugin.java:75\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":"agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/ElasticsearchPlugin.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a3077dc3196476a6c5adc40adfacc2693a26c9d528e9e00ab680c9e7816ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/HttpClientConnectionManagerConnectMethodInterceptor.java:44-50 | agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/ManagedClientConnectionOpenMethodInterceptor.java:44-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 \u0060agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/HttpClientConnectionManagerConnectMethodInterceptor.java:44\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":"agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/HttpClientConnectionManagerConnectMethodInterceptor.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebce5051b64673a50d580879bb0788b42a36041524096e1e3647df4569ca74d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/HttpClient4Plugin.java:128-134 | agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/HttpClient4Plugin.java:154-160 \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 \u0060agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/HttpClient4Plugin.java:128\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":"agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/HttpClient4Plugin.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"59439dc8b421aa9ab20c42683a08a483af3195ec8d829952c66a44a4935d109c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/jdk-completable-future/src/main/java/com/navercorp/pinpoint/plugin/jdk/completable/JdkCompletableFuturePlugin.java:47-53 | agent-module/plugins/resilience4j/src/main/java/com/navercorp/pinpoint/plugin/resilience4j/Resilience4JPlugin.java:53-59 \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":"agent-module/plugins/jdk-completable-future/src/main/java/com/navercorp/pinpoint/plugin/jdk/completable/JdkCompletableFuturePlugin.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4122fbf40d7f24b1b3a30e76ee934ba2942000e7fda2f96a8ff21d739983e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java:103-109 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/interceptor/AbstractServerHandleInterceptor.java:103-109 \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 \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java:103\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":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8205adf40d082ffb9524779161d5b2a4843560e165d735844c501b0a7d77c116"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/interceptor/ConsumerRecordEntryPointInterceptor.java:178-184 | agent-module/plugins/rocketmq/src/main/java/com/navercorp/pinpoint/plugin/rocketmq/interceptor/ConsumerMessageEntryPointInterceptor.java:156-163 \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 \u0060agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/interceptor/ConsumerRecordEntryPointInterceptor.java:178\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":"agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/interceptor/ConsumerRecordEntryPointInterceptor.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2a06ac8c1e80c894126a94a57e53e87cc88ad5db3614c51df91d9a95d5996e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/KafkaPlugin.java:266-281 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java:334-340 \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 \u0060agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/KafkaPlugin.java:266\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":"agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/KafkaPlugin.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"986fb82946c7bdbccb17b92c5738a665427bf500bb84aa1ca9dfd73704094ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java:354-360 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java:437-443 \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 \u0060agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java:354\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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d7a8aa5f62426e0c93bf088ba48da6fa174400594522418f7068f8e44ca0ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/OkHttpPlugin.java:78-84 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/OkHttpPlugin.java:83-89 \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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/OkHttpPlugin.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"beebc16916817ffbb35af3ba7d535e4a03fa4104a3352c2e69f63e36647423f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/pulsar/src/main/java/com/navercorp/pinpoint/plugin/pulsar/interceptor/ConsumerImplEntryPointInterceptor.java:230-236 | agent-module/plugins/rocketmq/src/main/java/com/navercorp/pinpoint/plugin/rocketmq/interceptor/ConsumerMessageEntryPointInterceptor.java:246-252 \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 \u0060agent-module/plugins/pulsar/src/main/java/com/navercorp/pinpoint/plugin/pulsar/interceptor/ConsumerImplEntryPointInterceptor.java:230\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":"agent-module/plugins/pulsar/src/main/java/com/navercorp/pinpoint/plugin/pulsar/interceptor/ConsumerImplEntryPointInterceptor.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba336fb13e302aaad716eec561168bf3ed91eba3a57d1998dad30097e38b81a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java:240-246 | agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerHandleCompleteInboundCommandInterceptor.java:234-240 \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 \u0060agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java:240\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":"agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee2a2912fb639c1f9c99d0567798abdcf891db970c71784101ee6847d4c4c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/LettucePlugin.java:74-80 | agent-module/plugins/redis-redisson/src/main/java/com/navercorp/pinpoint/plugin/redis/redisson/RedissonPlugin.java:61-67 \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":"agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/LettucePlugin.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"997ac62343887495f1782f79193649e604ac8bf2132fe77d0aa61438e10241d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/BodyInserterRequestBuilderWriteToInterceptor.java:53-59 | agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingBodyInserterRequestBuilderWriteToInterceptor.java:93-99 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/BodyInserterRequestBuilderWriteToInterceptor.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee65d2edf1a2216b1d19e0ecbe8a69b66f296fb478c575a4c29b47a4d229bcce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/BodyInserterRequestBuilderWriteToInterceptor.java:102-108 | agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/WrappingBodyInserterRequestBuilderWriteToInterceptor.java:195-201 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/interceptor/BodyInserterRequestBuilderWriteToInterceptor.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"de20c48dca36221efc643a2e3813b0bc1b91e6295d70789c7545c6ec31a385fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/Http1xClientConnectionCreateRequestInterceptor.java:60-66 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientStreamInterceptor.java:54-60 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/Http1xClientConnectionCreateRequestInterceptor.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"950385a01689820176133761ddc62a45e6d873a74f585068ce58fb3a5767f54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClass.java:310-316 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClass.java:360-366 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClass.java:310\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMClass.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cf13d4031203eb57f2f4013965fd4d816f0a2aa0aeb7f4d891d84582894674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/DeadlockMonitorTask.java:103-109 | web/src/main/java/com/navercorp/pinpoint/web/util/ThreadDumpUtils.java:58-65 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/DeadlockMonitorTask.java:103\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/DeadlockMonitorTask.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aacee522330d4d98b60be4db4d784888a81e7f406c4948c5698e2f459c8e1bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/receiver/grpc/GrpcActiveThreadDumpService.java:80-86 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/receiver/grpc/GrpcActiveThreadLightDumpService.java:78-84 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/receiver/grpc/GrpcActiveThreadDumpService.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4425d2c036ce1b7a9651b526693c335488a65cbd36456afde2dc5755fd2f51d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/AgentOption.java:40-46 | grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV1.java:56-63 \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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/AgentOption.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d0e2cf85c29aa101398405ac5246568d0f66fe4e2c706aa7b7d895dcb0761a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java:318-324 | commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java:375-382 \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 \u0060commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java:318\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. 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":"commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc6d8ccb1c0b21f395095c37a6bd7cf84c65f216bc334ea8162fd9a8f89d264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/appender/histogram/DefaultNodeHistogramFactory.java:92-98 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/appender/histogram/SimplifiedNodeHistogramFactory.java:68-74 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/applicationmap/appender/histogram/DefaultNodeHistogramFactory.java:92\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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/appender/histogram/DefaultNodeHistogramFactory.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a911c5ff89a1a7f16674fc128ac1a1d15dd5548ecb732423cbb20d1c6d51de1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/HistogramServiceImpl.java:113-119 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/ResponseTimeHistogramServiceImpl.java:250-256 \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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/HistogramServiceImpl.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1920d57cf3c5738490421848b9ad1024a7314d7ead091c8b0b8491052f8351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/ResponseTimeHistogramServiceImpl.java:165-171 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/ResponseTimeHistogramServiceImpl.java:195-202 \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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/ResponseTimeHistogramServiceImpl.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"088bad29706ff94cb19fda9d8bccf63842d963dd9936ed9f06fbf4bd41a9153a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/heatmap/util/TimeSeriesBuilder.java:60-66 | web/src/main/java/com/navercorp/pinpoint/web/heatmap/util/TimeSeriesBuilder.java:73-79 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/heatmap/util/TimeSeriesBuilder.java:60\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":"web/src/main/java/com/navercorp/pinpoint/web/heatmap/util/TimeSeriesBuilder.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f0aa4375f00b62be987a64354037826dc014a910a28707a88b3bdc3ee09bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/metric/common/model/Tag.java:53-59 | metric-module/metric-commons/src/main/java/com/navercorp/pinpoint/metric/common/model/Tag.java:53-59 \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":"web/src/main/java/com/navercorp/pinpoint/web/metric/common/model/Tag.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1755e51976a68927867255df9b38e1364a556e5c6a1c1e24e1db46654d61ac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/service/CachingServiceModelResolver.java:123-129 | collector/src/main/java/com/navercorp/pinpoint/collector/uid/service/CachingServiceLookupService.java:144-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/service/CachingServiceModelResolver.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2b7e453e523912cc1c64769835d9de2387ddadfd0388532a02e73891ad6616"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/trace/controller/TransactionController.java:166-172 | web/src/main/java/com/navercorp/pinpoint/web/trace/controller/TransactionController.java:236-243 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/trace/controller/TransactionController.java:166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/controller/TransactionController.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9db79418090cca91703046616931dc3af66d04dc11da0c572fa387dbefb440d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapInLinkDao.java:95-102 | collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapOutLinkDao.java:84-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 \u0060collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapInLinkDao.java:95\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":"collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapInLinkDao.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c70e3c3c6987cc9c889ed0f306a7c698c051cfde27cd7a578bab7ca3c1765e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): grpc/src/main/java/com/navercorp/pinpoint/grpc/server/HeaderPropagationInterceptor.java:65-71 | log/log-collector/src/main/java/com/navercorp/pinpoint/log/collector/grpc/context/LogHeaderPropagationInterceptor.java:62-68 \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 \u0060grpc/src/main/java/com/navercorp/pinpoint/grpc/server/HeaderPropagationInterceptor.java:65\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":"grpc/src/main/java/com/navercorp/pinpoint/grpc/server/HeaderPropagationInterceptor.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1481a61bf14413b1c63b7a61159f33eec9bc14726f4258d9656de7012575840f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): otlpmetric/otlpmetric-web/src/main/java/com/navercorp/pinpoint/otlp/web/vo/handler/FieldAttributeHandler.java:50-56 | otlpmetric/otlpmetric-web/src/main/java/com/navercorp/pinpoint/otlp/web/vo/handler/FieldAttributeHandler.java:66-72 \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 \u0060otlpmetric/otlpmetric-web/src/main/java/com/navercorp/pinpoint/otlp/web/vo/handler/FieldAttributeHandler.java:50\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":"otlpmetric/otlpmetric-web/src/main/java/com/navercorp/pinpoint/otlp/web/vo/handler/FieldAttributeHandler.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"904eeebdf1ad9162128a131facd31d9c47c9458b22c08868525b4235c688578c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java:184-190 | otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanMapper.java:152-158 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c55b73675ad57e9e9e95641a21f327b0aa052581a789d378b977bd404bd360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptor.java:123-128 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptor.java:130-135 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptor.java:136-141 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptorV4.java:96-101 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptorV4.java:102-107 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptorV4.java:108-113 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptor.java:123\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":"agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/interceptor/HttpClientImplDoRequestInterceptor.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fff063a7211f12f6a914093cf50a035e16820eb1ccb3be4186794f0c3935fe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java:76-82 | agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/javax/interceptor/AbstractServerHandleInterceptor.java:76-82 | agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/interceptor/AbstractServletHandlerHandleInterceptor.java:90-95 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/jakarta/interceptor/StandardHostValveInvokeInterceptor.java:92-98 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/javax/interceptor/StandardHostValveInvokeInterceptor.java:93-99 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java:76\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":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/jakarta/interceptor/AbstractServerHandleInterceptor.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b546991c51ee379b71558d4204a514d3f581eb5b59eee384cfdbd2616622f2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:154-159 | agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:318-324 | agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:325-331 | agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:332-338 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java:154\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":"agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"682258c783c71dfd5499d3eaa9e130e43dc85b0db39724864ca8335473e0bcfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/KtorPluginConfig.java:50-56 | agent-module/plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/ReactorNettyPluginConfig.java:56-62 | agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/TomcatConfig.java:57-63 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/VertxHttpServerConfig.java:45-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. 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":"agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/KtorPluginConfig.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f57d4d171a7ad6070bd39fefb7d18dfa829e04ce0327fd72e8cadde53c4cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/controller/AgentInspectorStatController.java:81-86 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/controller/AgentInspectorStatController.java:118-123 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/controller/ApplicationInspectorStatController.java:57-62 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/controller/ApplicationInspectorStatController.java:92-97 \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. 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":"inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/controller/AgentInspectorStatController.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c73cbc9c5fe44c50c858a8c2e6fdcb4135a239e86099efb2ee61bcd708ab1f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/ExponentialHistogramMapper.java:61-66 | otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/GaugeMapper.java:50-55 | otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/SumMapper.java:52-57 | otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/SummaryMapper.java:49-54 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/ExponentialHistogramMapper.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b0a8eb9691924813e959d5d32216c021a3d9d8a62cc4297356f0b4c267a5ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/VertxPlugin.java:405-410 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/VertxPlugin.java:411-416 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/VertxPlugin.java:417-423 \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. 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":"agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/VertxPlugin.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50debf0fce3044b7b23530a0c1357a8503e58f54caaab0e8db39c61b7233e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/interceptor/DefaultInterceptorDefinition.java:36-41 | grpc/src/main/java/com/navercorp/pinpoint/grpc/ClientHeaderFactoryV4.java:42-48 | grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV4.java:59-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/interceptor/DefaultInterceptorDefinition.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2a1f5596f4da73e4e3becfc6a280cd67afd849f2426f8662ae210744e49ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): hbase/hbase-schema-manager/src/main/java/com/navercorp/pinpoint/hbase/manager/task/HelpTask.java:41-46 | hbase/hbase-schema-manager/src/main/java/com/navercorp/pinpoint/hbase/manager/task/HelpTask.java:47-52 | hbase/hbase-schema-manager/src/main/java/com/navercorp/pinpoint/hbase/manager/task/HelpTask.java:58-63 \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. 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":"hbase/hbase-schema-manager/src/main/java/com/navercorp/pinpoint/hbase/manager/task/HelpTask.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caf86c2cfe0584b59cf161efa1112a9463e172bae277332d9deccd8fd42bed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java:70-75 | agent-module/plugins/pekko-http/src/main/java/com/navercorp/pinpoint/plugin/pekko/http/interceptor/DirectivesInterceptor.java:70-75 \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":"agent-module/plugins/akka-http/src/main/java/com/navercorp/pinpoint/plugin/akka/http/interceptor/DirectivesInterceptor.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b144fb7d2023761af1861397d539cf28f7d1a8fb6553a1f036e9bcb17b2b9e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/cassandra/src/main/java/com/navercorp/pinpoint/plugin/cassandra/CassandraPlugin.java:62-67 | agent-module/plugins/cassandra4/src/main/java/com/navercorp/pinpoint/plugin/cassandra4/CassandraPlugin.java:56-61 \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":"agent-module/plugins/cassandra/src/main/java/com/navercorp/pinpoint/plugin/cassandra/CassandraPlugin.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"265fe087e6a464cafcd5de669068001355f8daec9f3707e73d82736fe654271e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:327-332 | agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:358-363 \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 \u0060agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java:327\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":"agent-module/plugins/mysql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/mysql/MySqlPlugin.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2f7884efe641548fe9167a95f1375742618c0c07087ee8398b359681004a49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:160-165 | agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java:393-398 \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":"agent-module/plugins/postgresql-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlPlugin.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"033b90eb0644ab1aebc9c00a1ada973f59672b96dcbc81f76678be7ca460a3bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/ElasticsearchPluginConfig.java:46-51 | agent-module/plugins/elasticsearch8/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch8/Elasticsearch8PluginConfig.java:43-48 \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":"agent-module/plugins/elasticsearch/src/main/java/com/navercorp/pinpoint/plugin/elasticsearch/ElasticsearchPluginConfig.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f1e7ce3bfd4bb1dbc52fad39cec394f5d61b9c5b468fb94ce073b939d1cfff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/fastjson/src/main/java/com/navercorp/pinpoint/plugin/fastjson/FastjsonPlugin.java:62-67 | agent-module/plugins/gson/src/main/java/com/navercorp/pinpoint/plugin/gson/GsonPlugin.java:49-54 \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":"agent-module/plugins/fastjson/src/main/java/com/navercorp/pinpoint/plugin/fastjson/FastjsonPlugin.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f5b056abdb3837f3c3bb1570d61dd650139278f86e780cdf63dea5120f3fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/interceptor/CloseableHttpAsyncClientDoExecuteInterceptor.java:63-69 | agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/interceptor/InternalHttpClientDoExecuteInterceptor.java:61-66 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/interceptor/CloseableHttpAsyncClientDoExecuteInterceptor.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf02b64ba2b6b583ed84ef81c30ab715e2c55c97bc0ea30e50f69f275156c83a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/hystrix/src/main/java/com/navercorp/pinpoint/plugin/hystrix/HystrixPlugin.java:93-98 | agent-module/plugins/hystrix/src/main/java/com/navercorp/pinpoint/plugin/hystrix/HystrixPlugin.java:123-128 \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 \u0060agent-module/plugins/hystrix/src/main/java/com/navercorp/pinpoint/plugin/hystrix/HystrixPlugin.java:93\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":"agent-module/plugins/hystrix/src/main/java/com/navercorp/pinpoint/plugin/hystrix/HystrixPlugin.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8d5193c9e59ce852a508e0874e92b4b8b171a639253475b15bd4db5ea43c76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/ibatis/src/main/java/com/navercorp/pinpoint/plugin/ibatis/IBatisPlugin.java:127-132 | agent-module/plugins/mybatis/src/main/java/com/navercorp/pinpoint/plugin/mybatis/MyBatisPlugin.java:82-87 \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 \u0060agent-module/plugins/ibatis/src/main/java/com/navercorp/pinpoint/plugin/ibatis/IBatisPlugin.java:127\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":"agent-module/plugins/ibatis/src/main/java/com/navercorp/pinpoint/plugin/ibatis/IBatisPlugin.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a734a583b9cdf5fbea552e454342806bb4e031e69f4719bccff0a59728a6ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/JettyConfiguration.java:41-47 | agent-module/plugins/jetty12/src/main/java/com/navercorp/pinpoint/plugin/jetty12/Jetty12Configuration.java:37-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/JettyConfiguration.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03c8f8561c37257a5a45757e1d28b630f5017d680c1f5b4f26e4f6002c749d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplReadOperationInterceptor.java:47-52 | agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplWriteOperationInterceptor.java:46-51 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplReadOperationInterceptor.java:47\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":"agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/interceptor/MongoCollectionImplReadOperationInterceptor.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd267c80ed28effe531d3b5c1daa341559c88798f5e59bb9c5813f0a3a2bcd4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/OkHttpPlugin.java:54-59 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/OkHttpPlugin.java:55-60 \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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/OkHttpPlugin.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e1daa8441d97de657e935a831b51be530655c2d0de2a82a99eb93778d8ce5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/OkHttpPlugin.java:222-227 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/OkHttpPlugin.java:234-239 \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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/OkHttpPlugin.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cef2d74286378b6f26d6d05f7a0dfb03330ea9d91c841cc9ea10baa97de727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/pulsar/src/main/java/com/navercorp/pinpoint/plugin/pulsar/interceptor/SendAsyncInterceptor.java:126-133 | agent-module/plugins/rocketmq/src/main/java/com/navercorp/pinpoint/plugin/rocketmq/interceptor/ProducerSendInterceptor.java:187-192 \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":"agent-module/plugins/pulsar/src/main/java/com/navercorp/pinpoint/plugin/pulsar/interceptor/SendAsyncInterceptor.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"71160105e204fd9170c83842d08cf2c53b28811cc0c521b3b8c285c9ea7cfcb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java:195-200 | agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerHandleCompleteInboundCommandInterceptor.java:191-196 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8042ae40d0e183c7f2601f5355be12a281a708a47b6a676fc98c56e64b1a3a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/rxjava/src/main/java/com/navercorp/pinpoint/plugin/rxjava/RxJavaPlugin.java:148-153 | agent-module/plugins/rxjava/src/main/java/com/navercorp/pinpoint/plugin/rxjava/RxJavaPlugin.java:154-159 \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 \u0060agent-module/plugins/rxjava/src/main/java/com/navercorp/pinpoint/plugin/rxjava/RxJavaPlugin.java:148\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/rxjava/src/main/java/com/navercorp/pinpoint/plugin/rxjava/RxJavaPlugin.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"57830107a2b7f5db467e438e873ec9ca1fbeaa00de1b453e597d9f53d69388a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/SpringBeansPlugin.java:81-86 | agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/SpringBeansPlugin.java:111-117 \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":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/SpringBeansPlugin.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e07b13bc777c1d9e01149b1793429c53ac5fc42193c85a6c17140d4ddf78fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/SpringWebMvcPlugin.java:140-145 | agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/SpringWebMvcPlugin.java:150-155 \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 \u0060agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/SpringWebMvcPlugin.java:140\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":"agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/SpringWebMvcPlugin.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b35ef49758f81ccd3278d5a30b253350ab18724c7dd2bede60b936457c81fe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/TomcatConfig.java:118-123 | agent-module/plugins/undertow/src/main/java/com/navercorp/pinpoint/plugin/undertow/UndertowConfig.java:120-125 \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":"agent-module/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/TomcatConfig.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97ee016d85b09b90e4825cb7640fcc59ab9fdd26b175a0081617ee9c0a7c55c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMInterceptorHolder.java:271-276 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMInterceptorHolder.java:346-351 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMInterceptorHolder.java:271\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMInterceptorHolder.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"312a2093937bf5eceecf0e2ac0c95bcbee184c91b441919841d5fa8852edee75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/collector/AgentStatCollector.java:71-76 | collector/src/main/java/com/navercorp/pinpoint/collector/receiver/grpc/service/ServerCallStream.java:47-53 \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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/collector/AgentStatCollector.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2e395c59d89322dbfc063ff69b35bfa3849ad1f9494501b8cf93b93a11a779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/util/ThreadDumpUtils.java:75-80 | collector/src/main/java/com/navercorp/pinpoint/collector/mapper/grpc/event/GrpcThreadDumpBoMapper.java:47-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/util/ThreadDumpUtils.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdfc36fe69f1f6e6db9b1dfdd849849d69a2fb76f11904765957344da616ff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/DefaultAgentContextOption.java:31-37 | commons-server/src/main/java/com/navercorp/pinpoint/common/server/trace/DefaultApiDescription.java:39-44 \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. 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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/DefaultAgentContextOption.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"264976bb2bbace89208ddb9627fc9dc56db37fa1092f225bad5d4bf2f7026238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/FixedBuffer.java:359-364 | commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java:143-148 \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 \u0060commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/FixedBuffer.java:359\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":"commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/FixedBuffer.java"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"984caf9dc530e1dba86947488cc3883f43b2775374323565bcb52a4f210e19bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/FixedBuffer.java:372-377 | commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java:156-161 \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 \u0060commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/FixedBuffer.java:372\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":"commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/FixedBuffer.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e46ddf21e5c8639f0bbd1f6108d9fe05e5a1f5af2909b41f96f3af88884b984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/FixedBuffer.java:456-461 | commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java:205-210 \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 \u0060commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/FixedBuffer.java:456\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":"commons-buffer/src/main/java/com/navercorp/pinpoint/common/buffer/FixedBuffer.java"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b824c982f20d5a3abd321bf0f1f063218766adca821487b8e343fd980b6e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:624-629 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:643-648 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:624\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6808f2314d94cf31fa89784e40e825451208ae373e408707d9db0c0fb63f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:434-439 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:453-458 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:434\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce7b152aaec8058ff671c61ed2f802a7ab11be8e7abbcd80af7db4b5b9548e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): commons-server/src/main/java/com/navercorp/pinpoint/common/server/io/GrpcSpanBinder.java:321-326 | collector/src/main/java/com/navercorp/pinpoint/collector/handler/grpc/GrpcExceptionMetaDataHandler.java:153-158 \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 \u0060commons-server/src/main/java/com/navercorp/pinpoint/common/server/io/GrpcSpanBinder.java:321\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":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/io/GrpcSpanBinder.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f165966740a08d7e6d07c33ffaa19192918ac511d9dd32a24e4bb7127eeefbc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): basic-login/src/main/java/com/navercorp/pinpoint/login/basic/service/PinpointMemoryUserDetailsService.java:49-54 | basic-login/src/main/java/com/navercorp/pinpoint/login/basic/service/PinpointMemoryUserDetailsService.java:59-64 \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 \u0060basic-login/src/main/java/com/navercorp/pinpoint/login/basic/service/PinpointMemoryUserDetailsService.java:49\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":"basic-login/src/main/java/com/navercorp/pinpoint/login/basic/service/PinpointMemoryUserDetailsService.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb0189eab07e9fd6af96d58cf125fd7a565961f0cf38b635a2c4953e80006a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): batch-alarmsender/src/main/java/com/navercorp/pinpoint/batch/alarm/sender/AlarmMailTemplate.java:69-74 | batch-alarmsender/src/main/java/com/navercorp/pinpoint/batch/alarm/sender/PinotAlarmMailTemplate.java:42-47 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"batch-alarmsender/src/main/java/com/navercorp/pinpoint/batch/alarm/sender/AlarmMailTemplate.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96ea9d93592066ab7e8d74ab24354d596476687e48310b27f7cea101f8770eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java:98-103 | web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentsController.java:101-106 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"340220dc6c16edc178d4f2adaf88103b403f379b72f77e94592279b8a64b1129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/AdminController.java:87-92 | web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/AdminController.java:125-130 \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":"web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/AdminController.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66fe1affdf9305475721d88ea8674a4cf80b9544ffb726a46e6b8b5e01dc572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java:299-304 | web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java:333-338 \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":"web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ResponseTimeController.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"343db48a099debc32819d408b6347422e5a5adfab65ce8606f1cf455f711bdc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseApplicationDao.java:80-85 | collector/src/main/java/com/navercorp/pinpoint/collector/dao/hbase/HbaseApplicationDao.java:34-39 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseApplicationDao.java:80\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":"web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/HbaseApplicationDao.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbfbe58b25499eab2e1f2eb482a38aad15663918c0f9b512f239d5378b6f1ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/scatter/dao/hbase/HbaseTraceIndexDao.java:101-106 | web/src/main/java/com/navercorp/pinpoint/web/scatter/dao/hbase/HbaseTraceIndexDao.java:154-159 \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":"web/src/main/java/com/navercorp/pinpoint/web/scatter/dao/hbase/HbaseTraceIndexDao.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f7a6e2665b2ccf9b9241b6ff82b85ecb1822720c4bb7d6cd711113e9fbfab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/trace/controller/TransactionController.java:148-153 | web/src/main/java/com/navercorp/pinpoint/web/trace/controller/TransactionController.java:217-223 \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":"web/src/main/java/com/navercorp/pinpoint/web/trace/controller/TransactionController.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eb63033ed3ea9be917bb6e1dda0357f1d3a61ca84f47b4334af9c832f06433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): collector/src/main/java/com/navercorp/pinpoint/collector/receiver/grpc/service/KeepAliveService.java:53-58 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/common/model/SystemMetric.java:43-48 \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 \u0060collector/src/main/java/com/navercorp/pinpoint/collector/receiver/grpc/service/KeepAliveService.java:53\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":"collector/src/main/java/com/navercorp/pinpoint/collector/receiver/grpc/service/KeepAliveService.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3201a1dcd89795e97021371d0cfc1eeb114413c99d38f2a42ef096c452964155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): collector/src/main/java/com/navercorp/pinpoint/collector/scheduler/AvgMaxLinkScheduler.java:49-54 | collector/src/main/java/com/navercorp/pinpoint/collector/scheduler/StatisticsLinkScheduler.java:49-54 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"collector/src/main/java/com/navercorp/pinpoint/collector/scheduler/AvgMaxLinkScheduler.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb3551969887c4b56f724dcde25d8d955527b2fb57db4f21e1d51ce04a390e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): exceptiontrace/exceptiontrace-common/src/main/java/com/navercorp/pinpoint/exceptiontrace/common/model/ExceptionMetaData.java:76-81 | otlpmetric/otlpmetric-common/src/main/java/com/navercorp/pinpoint/otlp/common/web/defined/AppMetricDefinition.java:49-54 \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":"exceptiontrace/exceptiontrace-common/src/main/java/com/navercorp/pinpoint/exceptiontrace/common/model/ExceptionMetaData.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a0c04269dc447d5980b5bfda94f39d517b6214d7349a8fa1e136cca94a5a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/definition/YMLInspectorManager.java:52-57 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/web/service/YMLSystemMetricBasicGroupManager.java:55-61 \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 \u0060inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/definition/YMLInspectorManager.java:52\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":"inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/definition/YMLInspectorManager.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"170f47e6f5c84e438540ba5bc5f7085e805a87065790875994e00becf95d9e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/model/InspectorDataSearchKey.java:54-60 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/web/model/MetricDataSearchKey.java:44-49 \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":"inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/model/InspectorDataSearchKey.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae9b1db0dd10d551bf0dea6909ac5a3d3f8846a5835a6f86bff809460d21549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/common/model/MetricTagCollection.java:81-86 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/common/model/MetricTagKey.java:76-81 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/common/model/MetricTagCollection.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f501954bc2b95fa030020d503dcc84e168511319476bedb91e31f14043f46b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/ExponentialHistogramMapper.java:86-91 | otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/ExponentialHistogramMapper.java:110-115 \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 \u0060otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/ExponentialHistogramMapper.java:86\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":"otlpmetric/otlpmetric-collector/src/main/java/com/navercorp/pinpoint/otlp/collector/mapper/ExponentialHistogramMapper.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b30cb20797bd67ae68b0d87f08c03263771af80fc5c5251dd5258bdd5ed4ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): otlpmetric/otlpmetric-common/src/main/java/com/navercorp/pinpoint/otlp/common/web/defined/AppMetricDefinition.java:51-58 | uristat/uristat-collector/src/main/java/com/navercorp/pinpoint/uristat/collector/model/UriStat.java:56-61 \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. 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":"otlpmetric/otlpmetric-common/src/main/java/com/navercorp/pinpoint/otlp/common/web/defined/AppMetricDefinition.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4119ed2657ff17efa521ed2cef9272abbda88d2e8aa970c3885f97817bcb3a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): otlpmetric/otlpmetric-web/src/main/java/com/navercorp/pinpoint/otlp/web/vo/OtlpMetricChartQueryParameter.java:116-121 | otlpmetric/otlpmetric-web/src/main/java/com/navercorp/pinpoint/otlp/web/vo/OtlpMetricDataQueryParameter.java:157-162 \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":"otlpmetric/otlpmetric-web/src/main/java/com/navercorp/pinpoint/otlp/web/vo/OtlpMetricChartQueryParameter.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"330189abc9a5365411eb44d77ea63203f5be447ea243887f3fa4805e1d7be107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/message/KafkaAttributeUtils.java:87-92 | otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/message/PulsarAttributeUtils.java:64-69 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/message/KafkaAttributeUtils.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea388b9eb9100dd3ddae3bc478e28abbb864f03320de6cafee6ed5888b54a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/mapper/ActiveThreadDumpMapper.java:28-33 | realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/mapper/ActiveThreadDumpMapper.java:39-44 \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":"realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/mapper/ActiveThreadDumpMapper.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a298c7d8f0947e6207e79e62439fc68d1f1428ac601437bff93951edd3e71fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 67): agent-module/bootstraps/bootstrap/src/main/java/com/navercorp/pinpoint/bootstrap/config/ProfilePropertyLoader.java:49-54 | agent-module/bootstraps/bootstrap/src/main/java/com/navercorp/pinpoint/bootstrap/config/PropertyLoaderFactory.java:45-49 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/request/ServletRequestListener.java:69-73 | agent-module/bootstraps/bootstrap/src/main/java/com/navercorp/pinpoint/bootstrap/DefaultAgentOption.java:48-53 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/interceptor/InterceptorDefinitionFactory.java:157-161 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/DefaultEngineComponent.java:46-50 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/module/GrpcModuleLifeCycle.java:73-77 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/MetadataGrpcDataSenderProvider.java:67-71 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/SpanBatchGrpcDataSenderProvider.java:72-76 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/SpanGrpcDataSenderProvider.java:80-86 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/BaseTraceFactoryProvider.java:63-69 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/ClassFileTransformerProvider.java:78-83 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/InstrumentEngineProvider.java:59-63 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/ObjectBinderFactoryProvider.java:54-58 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/TraceContextProvider.java:65-70 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/recorder/AbstractRecorder.java:55-59 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/recorder/DefaultRecorderFactory.java:60-64 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/ChildTrace.java:62-67 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultBaseTraceFactory.java:72-77 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTrace.java:72-77 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTraceContext.java:75-80 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/interceptor/factory/AnnotatedInterceptorFactory.java:140-144 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/plugin/DefaultProfilerPluginContextLoader.java:58-62 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/plugin/PluginInstrumentContext.java:58-62 | commons/src/main/java/com/navercorp/pinpoint/common/trace/BaseHistogramSchema.java:45-52 | web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java:81-85 | web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentsController.java:82-87 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/FilteredMapController.java:88-92 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/MapController.java:91-95 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/ServerMapHistogramController.java:109-114 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseHostApplicationMapDao.java:77-82 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapInLinkDao.java:73-77 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapOutLinkDao.java:73-77 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapResponseDao.java:66-71 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/v3/ApplicationResponseTimeV3ResultExtractor.java:62-67 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/v3/InLinkV3Mapper.java:76-82 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/v3/OutLinkV3Mapper.java:65-71 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/v3/ResponseTimeV3ResultExtractor.java:66-71 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/FilteredMapServiceImpl.java:90-94 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/servicemap/ServiceMapViewBuilder.java:46-50 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/view/NodeView.java:58-63 | web/src/main/java/com/navercorp/pinpoint/web/filter/transaction/LinkContext.java:56-61 | web/src/main/java/com/navercorp/pinpoint/web/filter/transaction/NodeContext.java:39-43 | web/src/main/java/com/navercorp/pinpoint/web/filter/transaction/WasToWasFilter.java:57-63 | web/src/main/java/com/navercorp/pinpoint/web/filter/FilterDescriptor.java:74-78 | web/src/main/java/com/navercorp/pinpoint/web/service/AgentInfoServiceImpl.java:72-76 | web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/RecordFactory.java:67-72 | web/src/main/java/com/navercorp/pinpoint/web/trace/controller/TransactionController.java:102-106 | web/src/main/java/com/navercorp/pinpoint/web/trace/service/RecorderFactoryProvider.java:51-55 | channel/src/main/java/com/navercorp/pinpoint/channel/service/AbstractChannelServiceProtocol.java:42-47 | collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseHostApplicationMapDao.java:64-69 | collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapAgentResponseDao.java:59-63 | collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapInLinkDao.java:63-68 | collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapOutLinkDao.java:59-64 | collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapResponseDao.java:59-63 | collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/v3/HbaseMapApplicationResponseDao.java:51-55 | collector/src/main/java/com/navercorp/pinpoint/collector/dao/hbase/HbaseTraceDaoV2.java:75-79 | collector/src/main/java/com/navercorp/pinpoint/collector/receiver/grpc/service/MetadataService.java:66-70 | collector/src/main/java/com/navercorp/pinpoint/collector/receiver/grpc/service/SpanService.java:72-77 | collector/src/main/java/com/navercorp/pinpoint/collector/receiver/grpc/service/StatService.java:71-75 | collector/src/main/java/com/navercorp/pinpoint/collector/service/async/AgentLifeCycleAsyncTaskService.java:56-60 | grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV4.java:58-62 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/dao/model/InspectorQueryGroupParameter.java:48-52 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/web/mapping/Metric.java:41-45 | otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanMapper.java:69-73 | pinot/pinot-datasource/src/main/java/com/navercorp/pinpoint/pinot/mybatis/PinotAsyncTemplate.java:179-183 | realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/receiver/grpc/GrpcCommandService.java:72-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 67 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 67 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap/src/main/java/com/navercorp/pinpoint/bootstrap/config/ProfilePropertyLoader.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9866afdebc7260f5532234411071927dc5dece9eee2ae4f64bda74a87a52f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 45): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/request/ServletRequestListener.java:70-74 | agent-module/bootstraps/bootstrap/src/main/java/com/navercorp/pinpoint/bootstrap/DefaultAgentOption.java:49-54 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/interceptor/InterceptorDefinitionFactory.java:158-162 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/collector/AgentStatCollector.java:74-78 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/module/GrpcModuleLifeCycle.java:74-78 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/AgentGrpcDataSenderProvider.java:96-104 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/SpanBatchGrpcDataSenderProvider.java:73-77 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/SpanGrpcDataSenderProvider.java:81-87 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/BaseTraceFactoryProvider.java:65-70 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/ClassFileTransformerProvider.java:79-84 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/ObjectBinderFactoryProvider.java:55-60 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/TraceContextProvider.java:66-72 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/recorder/DefaultRecorderFactory.java:61-65 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/ChildTrace.java:63-69 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultBaseTraceFactory.java:73-78 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTrace.java:73-79 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTraceContext.java:76-81 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/interceptor/factory/AnnotatedInterceptorFactory.java:141-146 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/plugin/DefaultProfilerPluginContextLoader.java:59-63 | commons/src/main/java/com/navercorp/pinpoint/common/trace/BaseHistogramSchema.java:47-53 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/FilteredMapController.java:89-93 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/MapController.java:92-96 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/ServerMapHistogramController.java:111-115 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseHostApplicationMapDao.java:78-83 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapInLinkDao.java:74-78 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapOutLinkDao.java:74-78 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapResponseDao.java:67-72 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/v3/InLinkV3Mapper.java:77-83 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/FilteredMapServiceImpl.java:91-95 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/view/NodeView.java:60-64 | web/src/main/java/com/navercorp/pinpoint/web/filter/transaction/LinkContext.java:58-63 | web/src/main/java/com/navercorp/pinpoint/web/filter/transaction/WasToWasFilter.java:58-64 | web/src/main/java/com/navercorp/pinpoint/web/trace/callstacks/RecordFactory.java:68-73 | web/src/main/java/com/navercorp/pinpoint/web/trace/controller/TransactionController.java:103-107 | web/src/main/java/com/navercorp/pinpoint/web/trace/service/RecorderFactoryProvider.java:52-56 | collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseHostApplicationMapDao.java:65-70 | collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapInLinkDao.java:64-69 | collector/src/main/java/com/navercorp/pinpoint/collector/dao/hbase/HbaseTraceDaoV2.java:76-81 | collector/src/main/java/com/navercorp/pinpoint/collector/receiver/grpc/service/SpanService.java:73-78 | collector/src/main/java/com/navercorp/pinpoint/collector/receiver/grpc/service/StatService.java:72-76 | grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV4.java:59-63 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/dao/model/InspectorQueryGroupParameter.java:49-53 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/web/mapping/Metric.java:42-46 | otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanMapper.java:70-74 | pinot/pinot-datasource/src/main/java/com/navercorp/pinpoint/pinot/mybatis/PinotAsyncTemplate.java:180-184 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 45 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 45 times. 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":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/request/ServletRequestListener.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"955f74f52ad98b64f96c707c6dace94cbf8e4f3d3a595295938c68e30877af57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3PluginConfig.java:38-42 | agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/HttpClient4PluginConfig.java:40-44 | agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/HttpClient5PluginConfig.java:36-40 | agent-module/plugins/jdk-httpclient/src/main/java/com/navercorp/pinpoint/plugin/jdk/httpclient/JdkHttpClientPluginConfig.java:35-39 | agent-module/plugins/ning-asynchttpclient/src/main/java/com/navercorp/pinpoint/plugin/ning/asynchttpclient/NingAsyncHttpClientPluginConfig.java:38-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3PluginConfig.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaeddc151fc06b9618fa70ccd30a7211aed80af5fac9fa730f9a748de6eed52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/custom/DoubleGaugeMetricVo.java:40-44 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/custom/IntCountMetricVo.java:40-44 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/custom/IntGaugeMetricVo.java:40-44 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/custom/LongCountMetricVo.java:40-44 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/custom/LongGaugeMetricVo.java:40-44 \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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/custom/DoubleGaugeMetricVo.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0061a5ca20a5faf83b43255013034d59cbb08acccd7a737b131f7a420e6244f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/common/model/MetricTag.java:43-47 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/common/model/MetricTagCollection.java:39-43 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/common/model/MetricTagKey.java:35-39 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/collector/dao/pinot/PinotMetricTagDao.java:94-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. 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":"metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/common/model/MetricTag.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a57fb7792b7b9e22bafa26d10531f9d24a58e378573a9c4ed934e187d47fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3Plugin.java:52-56 | agent-module/plugins/pulsar/src/main/java/com/navercorp/pinpoint/plugin/pulsar/PulsarPlugin.java:58-62 | agent-module/plugins/rocketmq/src/main/java/com/navercorp/pinpoint/plugin/rocketmq/RocketMQPlugin.java:62-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/httpclient3/src/main/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClient3Plugin.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b34b7454440599fdea166b91ad2cd1c04720bbed67d0b4305af5c53e50f8b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): commons-server/src/main/java/com/navercorp/pinpoint/common/server/io/DefaultServerHeader.java:25-30 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/common/model/MetricTag.java:43-47 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/common/model/MetricTagCollection.java:39-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/io/DefaultServerHeader.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf8e30822158ebd750e0d7b2a850ef8f4e355802bd510a04095e8b0ccff5d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): web/src/main/java/com/navercorp/pinpoint/web/heatmap/vo/HeatmapSearchKey.java:45-49 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/model/InspectorDataSearchKey.java:56-61 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/web/model/MetricDataSearchKey.java:46-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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":"web/src/main/java/com/navercorp/pinpoint/web/heatmap/vo/HeatmapSearchKey.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d645aa0470dc588db1713b2dd492a0b2e44a2ee5e737ac50d0723aef6451dc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): exceptiontrace/exceptiontrace-web/src/main/java/com/navercorp/pinpoint/exceptiontrace/web/controller/ExceptionTraceController.java:91-95 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/controller/AgentInspectorStatController.java:64-68 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/controller/ApplicationInspectorStatController.java:42-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exceptiontrace/exceptiontrace-web/src/main/java/com/navercorp/pinpoint/exceptiontrace/web/controller/ExceptionTraceController.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"73299b266d840cc09d2940a6ded7d30c5345bb2714570268e9366ed8a0827ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/cassandra/src/main/java/com/navercorp/pinpoint/plugin/cassandra/CassandraConfig.java:28-32 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/JdbcConfig.java:45-49 \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":"agent-module/plugins/cassandra/src/main/java/com/navercorp/pinpoint/plugin/cassandra/CassandraConfig.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea9957f600f5150d65ad622a44cf28f8696806504b266df84f292511e482bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/DefaultClientExchangeHandlerImplStartMethodInterceptor.java:74-78 | agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/HttpRequestExecutorExecuteMethodInterceptor.java:77-83 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/httpclient4/src/main/java/com/navercorp/pinpoint/plugin/httpclient4/interceptor/DefaultClientExchangeHandlerImplStartMethodInterceptor.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde26a8ceab226642a0472e20e784b5d9b356ba5c40e2d3ca05c5366a49462cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/KafkaPlugin.java:429-433 | agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/KafkaPlugin.java:446-450 \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 \u0060agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/KafkaPlugin.java:429\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":"agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/KafkaPlugin.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"5372e6d0971c4fcd141568b0d9e94054424990425a0fbd5871fad6cdb1dc4149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/interceptor/NettyHttp1HandlerHandleRequestInterceptor.java:66-71 | agent-module/plugins/weblogic/src/main/java/com/navercorp/pinpoint/plugin/weblogic/interceptor/WebAppServletContextExecuteInterceptor.java:65-69 \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 \u0060agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/interceptor/NettyHttp1HandlerHandleRequestInterceptor.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":"agent-module/plugins/ktor/src/main/java/com/navercorp/pinpoint/plugin/ktor/interceptor/NettyHttp1HandlerHandleRequestInterceptor.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c887726a5033ffd592e5849d076d476fc7842f17ac39a90f711713a8c6e42d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/Log4jConfig.java:43-47 | agent-module/plugins/log4j2/src/main/java/com/navercorp/pinpoint/plugin/log4j2/Log4j2Config.java:46-50 \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":"agent-module/plugins/log4j/src/main/java/com/navercorp/pinpoint/plugin/log4j/Log4jConfig.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"869c42980d4f4cc4043d3979d9648833c03d43983754318cb760604dfdd6ab8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java:50-54 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/HttpEngineReadResponseMethodInterceptor.java:50-54 \u2014 before extracting anything, compare \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java\u0060 and \u0060agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/HttpEngineReadResponseMethodInterceptor.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/HttpEngineReadResponseMethodInterceptor.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9d1d65055fa547265988ac9daa011a9c58db84fc9fc5e7bba92913762084cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/RequestBuilderBuildMethodInterceptor.java:44-48 | agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v3/interceptor/RequestBuilderBuildMethodInterceptor.java:114-118 \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":"agent-module/plugins/okhttp/src/main/java/com/navercorp/pinpoint/plugin/okhttp/v2/interceptor/RequestBuilderBuildMethodInterceptor.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c369e85b55e276c2c2c8204327fbeb9a1a5cf88583d74f9a16b39b9450d4ff7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java:235-239 | agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerHandleCompleteInboundCommandInterceptor.java:229-233 \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 \u0060agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java:235\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":"agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerDispatchInterceptor.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f4bcebdb9d31f4e75a0043914394516554e8391e0dc7559982ab4ea057d933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/redis-redisson/src/main/java/com/navercorp/pinpoint/plugin/redis/redisson/RedissonPlugin.java:69-74 | agent-module/plugins/redis-redisson/src/main/java/com/navercorp/pinpoint/plugin/redis/redisson/RedissonPlugin.java:139-143 \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":"agent-module/plugins/redis-redisson/src/main/java/com/navercorp/pinpoint/plugin/redis/redisson/RedissonPlugin.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca26fb2f5307af7a328fc630e6b0b397ea9feab431f6c0c84ef2c3546abf3efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/rxjava/src/main/java/com/navercorp/pinpoint/plugin/rxjava/RxJavaPlugin.java:131-135 | agent-module/plugins/rxjava/src/main/java/com/navercorp/pinpoint/plugin/rxjava/RxJavaPlugin.java:160-164 \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 \u0060agent-module/plugins/rxjava/src/main/java/com/navercorp/pinpoint/plugin/rxjava/RxJavaPlugin.java:131\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":"agent-module/plugins/rxjava/src/main/java/com/navercorp/pinpoint/plugin/rxjava/RxJavaPlugin.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6ceaae30e19b127eabf30449478e05f7a56915f1743b3424458052da9dd1c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/postgresql/PostgresqlConnectionConfigurationInterceptor.java:68-72 | agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/postgresql/PostgresqlConnectionConfigurationInterceptor.java:77-81 \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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/interceptor/postgresql/PostgresqlConnectionConfigurationInterceptor.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54fca2b8e79e5cc265b2ebb0029fd6bbbfcaa30e99afa5543f6eb50a7932b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java:126-130 | agent-module/plugins/spring-tx/src/main/java/com/navercorp/pinpoint/plugin/spring/tx/SpringTxPlugin.java:56-60 \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":"agent-module/plugins/spring-data-r2dbc/src/main/java/com/navercorp/pinpoint/plugin/spring/r2dbc/SpringDataR2dbcPlugin.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"070fc93dd6cfea140b9b7ac42b559d202bcbda5a8c53197f0e02173bacb17860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/SpringWebFluxPluginConfig.java:45-49 | agent-module/plugins/vertx/src/main/java/com/navercorp/pinpoint/plugin/vertx/VertxHttpClientConfig.java:33-37 \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":"agent-module/plugins/spring-webflux/src/main/java/com/navercorp/pinpoint/plugin/spring/webflux/SpringWebFluxPluginConfig.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9a88953dc4fd72c1dd51703f742182bc2169aa55dced9bd99a094d93b79ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/DefaultDatabaseInfo.java:105-109 | agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/MongoDatabaseInfo.java:124-128 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/plugin/jdbc/DefaultDatabaseInfo.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e52d587bb3e8f5b3f9f6625733881e1c5f0d98a0f861e4c038fce627c4166d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/plugins-test-module/plugins-it-utils-jdbc/src/main/java/com/navercorp/pinpoint/it/plugin/utils/jdbc/DataBaseTestCase.java:244-248 | agent-module/plugins-test-module/plugins-it-utils-jdbc/src/main/java/com/navercorp/pinpoint/it/plugin/utils/jdbc/DataBaseTestCase.java:331-336 \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":"agent-module/plugins-test-module/plugins-it-utils-jdbc/src/main/java/com/navercorp/pinpoint/it/plugin/utils/jdbc/DataBaseTestCase.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae21a34bbeed049ad522f37be2a6f097458772842c46a1ba4c18df0f2b3cb99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/classreading/ClassReaderWrapper.java:187-191 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/classreading/ClassReaderWrapper.java:194-198 \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 \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/classreading/ClassReaderWrapper.java:187\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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/classreading/ClassReaderWrapper.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef9da1bd2f6ea8a425c8159937e77d1ca4bf627a60e88afd4138ebed368cb8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/AgentGrpcDataSenderProvider.java:91-96 | agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/StatGrpcDataSenderProvider.java:67-71 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/grpc/AgentGrpcDataSenderProvider.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"678d067442f738c2b7a66817829f1146025eae7b604d131d05ccf483d7b87f3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/plugin/ProfilerPluginContextLoaderProvider.java:56-61 | metric-module/metric/src/main/java/com/navercorp/pinpoint/metric/web/controller/SystemMetricController.java:64-68 \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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/provider/plugin/ProfilerPluginContextLoaderProvider.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f7fe3684f84f344b9236f087c49a7a565d8930af6f02e7efab1d3a08079c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/transformer/DefaultClassFileTransformerDispatcher.java:53-58 | otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java:78-82 \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":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/transformer/DefaultClassFileTransformerDispatcher.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2224cd3bc16d94e77f6844b6988773e23ca20d50a57014b701b96fc33039866b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:244-248 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:194-198 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff81be5f4808588a155aa7a2a2c1d987671c607a8a766d18d39dd3f7830ab00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:602-606 | commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentWeakHashMap.java:417-421 \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 \u0060commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java:602\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":"commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/concurrent/jsr166/ConcurrentReferenceHashMap.java"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b0442b440199475b7c02c1622838d40295c08d87f48c712da9be10f8e18868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): commons/src/main/java/com/navercorp/pinpoint/common/util/apache/IntHashMap.java:167-171 | commons/src/main/java/com/navercorp/pinpoint/common/util/apache/IntHashMap.java:226-230 \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 \u0060commons/src/main/java/com/navercorp/pinpoint/common/util/apache/IntHashMap.java:167\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":"commons/src/main/java/com/navercorp/pinpoint/common/util/apache/IntHashMap.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b986aa400ff3b34ba040b3264d00f0f557e3c8326b77b846d251f0724c0173a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java:269-273 | commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java:303-307 \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 \u0060commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java:269\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":"commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6eb92b0025da7af3fc14d7958a28223e7575ae343aaf293ed43a7c1ec86d785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): batch/src/main/java/com/navercorp/pinpoint/batch/alarm/collector/pinot/JvmCpuDataCollector.java:57-61 | batch/src/main/java/com/navercorp/pinpoint/batch/alarm/collector/pinot/SystemCpuDataCollector.java:55-59 \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 \u0060batch/src/main/java/com/navercorp/pinpoint/batch/alarm/collector/pinot/JvmCpuDataCollector.java:57\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":"batch/src/main/java/com/navercorp/pinpoint/batch/alarm/collector/pinot/JvmCpuDataCollector.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6480d35420d9bd1f6795f56900e4b4a0a8029be4e1955d1bf4be9ff54d4bab6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java:119-124 | web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentsController.java:125-129 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/agentlist/controller/AgentNamesController.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c778ae8677191d12b89524fc60cb46653ccf84851c6610b44248d2e99c9684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/MapHistogramController.java:95-99 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/ServerMapHistogramController.java:113-117 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/controller/MapHistogramController.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2378e20d479e3cddb472692fccbd673f1606df56a1fa73e04abb9d6ada3c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/map/LinkSelectorFactory.java:53-57 | web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java:119-123 \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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/map/LinkSelectorFactory.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd96f6bbb7cfa782ac69c0d6f969f29e2bba417ea65bfd6b8e914e7ce8d8f5ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/MapServiceImpl.java:73-77 | web/src/main/java/com/navercorp/pinpoint/web/trace/service/SpanServiceImpl.java:120-124 \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. 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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/MapServiceImpl.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3414289aa7fdf072c41da30ef743b166a1b917ac1750e0362fd3b900b96d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/interceptor/PerformanceLoggingInterceptor.java:73-77 | web/src/main/java/com/navercorp/pinpoint/web/interceptor/PerformanceLoggingInterceptor.java:82-86 \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 \u0060web/src/main/java/com/navercorp/pinpoint/web/interceptor/PerformanceLoggingInterceptor.java:73\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":"web/src/main/java/com/navercorp/pinpoint/web/interceptor/PerformanceLoggingInterceptor.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"543908d5578bf2b24873921d963303876898fbdf3b79b25c52cbec51134e9cc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/trace/controller/TransactionController.java:127-131 | web/src/main/java/com/navercorp/pinpoint/web/trace/controller/TransactionController.java:195-200 \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":"web/src/main/java/com/navercorp/pinpoint/web/trace/controller/TransactionController.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4047d6a7e91c9e3ea0d38e6b120015596f2f56a7535da56db52c10fca4f3fcb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): collector/src/main/java/com/navercorp/pinpoint/collector/service/HbaseTraceService.java:57-61 | otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/service/HbaseOtlpTraceService.java:62-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"collector/src/main/java/com/navercorp/pinpoint/collector/service/HbaseTraceService.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ed5a7904f9720ae1833a36f00b99e6d555b1067b0a7215c258a988546ceae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): exceptiontrace/exceptiontrace-web/src/main/java/com/navercorp/pinpoint/exceptiontrace/web/mapper/ExceptionEntityMapper.java:95-99 | exceptiontrace/exceptiontrace-web/src/main/java/com/navercorp/pinpoint/exceptiontrace/web/mapper/ExceptionEntityMapper.java:114-118 \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 \u0060exceptiontrace/exceptiontrace-web/src/main/java/com/navercorp/pinpoint/exceptiontrace/web/mapper/ExceptionEntityMapper.java:95\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":"exceptiontrace/exceptiontrace-web/src/main/java/com/navercorp/pinpoint/exceptiontrace/web/mapper/ExceptionEntityMapper.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3415723643862e5f992db61129043739a4aa9e8708315893ec336cb49068224c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grpc/src/main/java/com/navercorp/pinpoint/grpc/server/ServerHeaderReaderV1.java:68-72 | grpc/src/main/java/com/navercorp/pinpoint/grpc/server/ServerHeaderReaderV4.java:56-60 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/src/main/java/com/navercorp/pinpoint/grpc/server/ServerHeaderReaderV1.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fff32c9e86abd653b73c6e641af647ba929112c7010315b15e8a33036d9c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV1.java:153-157 | grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV4.java:162-166 \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":"grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV1.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1764c22b42da18566c97bd9e17046344ee3a2701251e0ebf6bea80ed5b15a1a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV1.java:164-168 | grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV4.java:173-177 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/src/main/java/com/navercorp/pinpoint/grpc/HeaderV1.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bb671d691ea142c6e510b9f219c7a7e2f4bfae06305fc1028633334fbd3697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultApdexStatService.java:130-134 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultApdexStatService.java:176-180 \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":"inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultApdexStatService.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6ecdd60a204d4bee7fc704b36c8a89979bedd901c16d89a61771170e5fc65f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultApplicationStatService.java:72-76 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultApplicationStatService.java:141-145 \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 \u0060inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultApplicationStatService.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultApplicationStatService.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f762dd2cc44e5b2df210dba27b6c5e2b259b9510e9646e189d1091ae286edfd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultApplicationStatService.java:85-89 | inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultApplicationStatService.java:154-158 \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 \u0060inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultApplicationStatService.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":"inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultApplicationStatService.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f907930c228b7b405cf1ee0ed4376ffbaf00f5b28a6e9ce8f38ba2a9860035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpClientTypeResolver.java:64-68 | otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpServerTypeResolver.java:65-69 \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 \u0060otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpClientTypeResolver.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":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpClientTypeResolver.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb0a93d3445cb6e1b0e4e59bf9dd197486ee46cbfe77e8860fbb72865229ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 3): agent-module/plugins/cubrid-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/cubrid/CubridPlugin.java:105-159 | agent-module/plugins/jtds/src/main/java/com/navercorp/pinpoint/plugin/jdbc/jtds/JtdsPlugin.java:107-163 | agent-module/plugins/oracle-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/oracle/OraclePlugin.java:113-168 \u2014 before extracting anything, compare \u0060agent-module/plugins/cubrid-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/cubrid/CubridPlugin.java\u0060 and \u0060agent-module/plugins/jtds/src/main/java/com/navercorp/pinpoint/plugin/jdbc/jtds/JtdsPlugin.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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":"agent-module/plugins/cubrid-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/cubrid/CubridPlugin.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fe9088a65dafd975b513db94c8a549c043af2d0dffa0905d25fb031eb97b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): agent-module/plugins/cubrid-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/cubrid/CubridPlugin.java:256-276 | agent-module/plugins/informix-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/informix/InformixPlugin.java:199-219 | agent-module/plugins/jtds/src/main/java/com/navercorp/pinpoint/plugin/jdbc/jtds/JtdsPlugin.java:262-282 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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":"agent-module/plugins/cubrid-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/cubrid/CubridPlugin.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1857fc81dcb6a6de9d77af589f11fc6a51242c1aae61f094e42cffbcb19c1c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/interceptor/RedisPubSubListenerInterceptor.java:103-141 | agent-module/plugins/user/src/main/java/com/navercorp/pinpoint/plugin/user/interceptor/UserIncludeMethodInterceptor.java:107-145 \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":"agent-module/plugins/redis-lettuce/src/main/java/com/navercorp/pinpoint/plugin/redis/lettuce/interceptor/RedisPubSubListenerInterceptor.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d9996b3def67d7922285c0ad3c54ce6cd606b529d8821533bee09d2cc5f75b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): web/src/main/java/com/navercorp/pinpoint/web/applicationmap/view/ResponseTimeViewModelBuilder.java:24-42 | web/src/main/java/com/navercorp/pinpoint/web/applicationmap/view/TimeseriesHistogramViewBuilder.java:42-60 \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":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/view/ResponseTimeViewModelBuilder.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d76c6ce6398748162728ad480bff601f81a7283cff1fa2e8943ccdd6683b949"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanMapper.java: otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanMapper.java changed 36 times in last 90 days, max complexity 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanMapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a27390949886db08746cfbf3c227abb92c6ce125300fca1bb06fdc30bfb620"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java: otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java changed 24 times in last 90 days, max complexity 23. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"559dc1801e4ceb8e2633a8f8d09a89279b4b43972e9836794167e752e5addb5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web-frontend/src/main/v3/packages/ui/src/components/ServerMap/ServerMapChartBoard.tsx: web-frontend/src/main/v3/packages/ui/src/components/ServerMap/ServerMapChartBoard.tsx changed 8 times in last 90 days, max complexity 49. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-frontend/src/main/v3/packages/ui/src/components/ServerMap/ServerMapChartBoard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"726dc12ecea0473931e6f5e98b697c10fd4f9742dc4c1fcbcc1a59d7ee6ef07f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceMapper.java: otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceMapper.java changed 13 times in last 90 days, max complexity 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceMapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23413d8ad0eabb51da3e759311bb10245473be2b830cf21cca2472a7f56e79a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanDecoderV0.java: commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanDecoderV0.java changed 9 times in last 90 days, max complexity 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanDecoderV0.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c36a1d9161c5471b60cf3dfeff097c8ed06021009894d38f496df2c0ba9774"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web-frontend/src/main/v3/packages/ui/src/components/Layout/LayoutWithSideNavigation.tsx: web-frontend/src/main/v3/packages/ui/src/components/Layout/LayoutWithSideNavigation.tsx changed 6 times in last 90 days, max complexity 20. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-frontend/src/main/v3/packages/ui/src/components/Layout/LayoutWithSideNavigation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9729f44a82100cda03cb26646a6dab51d832cb41d512c511250fc06dc0707c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncoderV0.java: commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncoderV0.java changed 7 times in last 90 days, max complexity 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncoderV0.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f36b768e1e8c75c1bf581e84707810878a993b8aaeca726ce04b3b801ddfeb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web/src/main/java/com/navercorp/pinpoint/web/trace/service/TransactionInfoServiceImpl.java: web/src/main/java/com/navercorp/pinpoint/web/trace/service/TransactionInfoServiceImpl.java changed 5 times in last 90 days, max complexity 19. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/trace/service/TransactionInfoServiceImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1f1c612035be6257d37567529e941e94295c615ed9c8985ad1d1f441c6a80e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web-frontend/src/main/v3/packages/ui/src/components/ServerMap/ServerMapCore.tsx: web-frontend/src/main/v3/packages/ui/src/components/ServerMap/ServerMapCore.tsx changed 6 times in last 90 days, max complexity 15. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-frontend/src/main/v3/packages/ui/src/components/ServerMap/ServerMapCore.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42514d7c8fd41c1ad68b2766ecd5cb70093834a44cfd574e63ca6736267b4957"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/interceptor/factory/AnnotatedInterceptorFactory.java: agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/interceptor/factory/AnnotatedInterceptorFactory.java changed 2 times in last 90 days, max complexity 21. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/interceptor/factory/AnnotatedInterceptorFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23be186cda4016464bf096d5e1e65f4520a997636f8babf258b0768c1a5e146e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 161 significant file(s) lose their only recent owner: commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/AnnotationTranscoder.java, agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/WriteContext.java, commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/HbaseTemplate.java, commons/src/main/java/com/navercorp/pinpoint/common/util/BytesUtils.java, agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/grpc/config/GrpcTransportConfig.java, commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/async/HbaseAsyncTemplate.java, commons-server/src/main/java/com/navercorp/pinpoint/common/server/io/GrpcSpanBinder.java, agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/util/JavaAssistUtils.java (\u002B153 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ffca2e50ff252545e3cea8c9d5546e47ddfa4dcbd063f075406a2a7f119c6c9e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 125 significant file(s) lose their only recent owner: web-frontend/src/main/v3/packages/ui/src/components/ServerMap/ServerMapCore.tsx, web-frontend/src/main/v3/packages/ui/src/components/ui/sidebar.tsx, web-frontend/src/main/v3/packages/scatter-chart/src/ui/ScatterChart.ts, web-frontend/src/main/v3/packages/ui/src/components/Heatmap/core/HeatmapChart.tsx, web-frontend/src/main/v3/packages/ui/src/components/Application/ApplicationCombinedListForCommon.tsx, web-frontend/src/main/v3/packages/ui/src/components/ServerMap/ServerMapChartBoard.tsx, web-frontend/src/main/v3/packages/server-map/src/ui/ServerMap.tsx, web-frontend/src/main/v3/packages/ui/src/components/Layout/LayoutWithSideNavigation.tsx (\u002B117 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"68d479bf64565a5776c3461e1e294f39eba442010936ea2395dbcf1dc7ea9868"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 43 significant file(s) lose their only recent owner: agent-module/plugins/mongodb/src/main/java/com/navercorp/pinpoint/plugin/mongo/MongoPlugin.java, agent-module/plugins/kafka/src/main/java/com/navercorp/pinpoint/plugin/kafka/KafkaPlugin.java, agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMMethodVariables.java, agent-module/plugins/reactor/src/main/java/com/navercorp/pinpoint/plugin/reactor/ReactorPlugin.java, agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/interceptor/factory/AnnotatedInterceptorFactory.java, agent-module/plugins/httpclient5/src/main/java/com/navercorp/pinpoint/plugin/httpclient5/HttpClient5Plugin.java, otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceConstants.java, agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/ASMInterceptorHolder.java (\u002B35 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c0d91468e3d5edfa6d2be82b4ffdf9123d64104f414d99008999576d87921714"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 17 significant file(s) lose their only recent owner: batch/src/main/java/com/navercorp/pinpoint/batch/config/CleanupAgentAndApplicationJobConfig.java, batch/src/main/java/com/navercorp/pinpoint/batch/job/AgentIdCleanupTasklet.java, web/src/main/java/com/navercorp/pinpoint/web/scatter/vo/DotMetaData.java, commons-server/src/main/java/com/navercorp/pinpoint/common/server/util/AgentIdRowKeyUtils.java, commons-server/src/main/java/com/navercorp/pinpoint/common/server/scatter/TraceIndexRowKeyUtils.java, collector/src/main/java/com/navercorp/pinpoint/collector/service/CachedApplicationServiceTypeService.java, collector/src/main/java/com/navercorp/pinpoint/collector/grpc/lifecycle/DefaultPingEventHandler.java, commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/LastRowWithTiesResultsExtractor.java (\u002B9 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d7bbdd00bdaaa14b6798902b868876451f956a21681367775148becfc3584b26"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 14 significant file(s) lose their only recent owner: batch/src/main/java/com/navercorp/pinpoint/batch/config/AlarmJobConfig.java, batch/src/main/java/com/navercorp/pinpoint/batch/alarm/dao/model/BatchQueryParameter.java, inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/dao/model/InspectorQueryParameter.java, web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/ActiveThreadDumpController.java, web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/AlarmController.java, inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/AgentWarningStatServiceImpl.java, web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/WebhookAlarmController.java, service-module/src/main/java/com/navercorp/pinpoint/service/web/controller/ServiceRegistryController.java (\u002B6 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"11dd53c3e5976d84aff6dcb4feaa5949476fbc7b44a0172d8237e68b073cf39c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 10 significant file(s) lose their only recent owner: user/src/main/java/com/navercorp/pinpoint/user/service/UserGroupServiceImpl.java, webhook/src/main/java/com/navercorp/pinpoint/web/webhook/support/WebhookUrlValidator.java, batch-alarmsender/src/main/java/com/navercorp/pinpoint/batch/alarm/AlarmSenderConfiguration.java, basic-login/src/main/java/com/navercorp/pinpoint/login/basic/config/BasicLoginProperties.java, batch-alarmsender/src/main/java/com/navercorp/pinpoint/batch/alarm/sender/WebhookSenderImpl.java, basic-login/src/main/java/com/navercorp/pinpoint/login/basic/service/BasicLoginService.java, batch-alarmsender/src/main/java/com/navercorp/pinpoint/batch/alarm/vo/sender/payload/WebhookPayload.java, batch-alarmsender/src/main/java/com/navercorp/pinpoint/batch/alarm/vo/sender/payload/WebhookPayloadSerializer.java (\u002B2 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8bedbcab269cc03b541197c720fcd1716899c15df88b2274f5970a197979ce34"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (375 single-owned of 2231 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #7 (3 file(s)), anonymized user #8 (1 file(s)), anonymized user #9 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D19","level":"note","message":{"text":"The HBase Schema Manager README explains how to build/run the binary jar but does not describe what change sets are supported or where schema-definition files live.: Add a brief note on which change set types (create, drop, flush) and their order are supported so new users know what to expect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hbase/schema-manager/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f56675d9b68a47f769c4770646ed27a6fec4f9fddc3e00250d0ee2d7015aa1"}},{"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":"154d27952c1438c02c6bc25ffd359d75fac158866100954d04d2afca251fcdf1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"098fdbede6415b1ffd6e16510ea80580c579bc3cf5c6b9ad8b708555a7e61573"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47bd1a623fd402d82422dada71ca15d59a5e458cd9dda8adb15053d39ab2da4b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1fe807f04b835141d1c833db1d61059f528bb3840f9cf0e3b6c7d033b20bf97"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be92b258a8d0f0a88c0f0c7d642b97774095cb8e60297e1afbf380bd144fe444"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ce5c5eef80ee775bb3339da08bb41fcd04b98328aae6eed5ff0145a51c51b51"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8172959afdf3504b4ee1ee122908060fd460b26d003a62b6c2ede5c2f1a97a85"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad5a5a9333d36ba278d4635c41799cc896dbf1e2fc8a889470e3a4ace5611fa0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22e53f2428be60499e5bff632202163d2919f29b2e282f261ffe149ba8f0b987"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0a628608807bc10ae69f15671c904ec9a1a105361d7d7dd4420d56f5f054d00"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9566dce6d7233232729458c3b85dffc28ff878a6b6c306548c1c4ff53f9f2804"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2c8eef09145bba47a4aba5c4b29bc0fed519ae5c28378da99bbe638094b4250"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee423431c4716247d35ef7bf12565c39c55884b5108749d262e3838d76924ea6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b96509361cfcad34264f43b4dedac764dd4dd81c99bbdaca59e4e7e99e6c640"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbf67518e10d42a716ef2221323d95bedbaf4a5f5f28718fcb9703765bd5ca66"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4904e0ed52014fe35ae40558f4ee40d679450bb1751ba9119d94369ac493d4bf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f25f7b12a8e700f7995ec042242372710eb5bff2abc7ef963b3db070afbb98b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0479e0ffcda82e021a7fcbff378f36d1432f9555fa1cad72dcd27a2805101390"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4391291a9bb54040ad387d426eb7d1241e69332852521442d4bfae000e2adfde"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f791242192e3bf347c4207ae14f2f67a89328d1afc481433d03da7c198e7cad1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c421ed0a79df23b1ffeeb7923acb78c34b94a1b10fbc5db48e8351c8dbb38ff5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12f86a6a1d724ef4accb3ec76f3a80ba05c683a3a45321e4e738d09a31fbc0f4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"179f6c105688eabf7311226bf6f32b0faad954d97f820af8156750b3d9377198"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af19a466440ebb2798771ce8dbb27944f7bfd63f04180b720c47b11df4748c94"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"775e1a2da0c39fc09ae966ed302b946c6f03eedbd928248213b4319f98474a30"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40aeb3783e79fe1917dfd808dbfc30b521e8fda0cfc9bb140e5413c3bba98249"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"becd98a9475e391f6f6d1369dc3b09d83ddbb27396b531f26ccb18d45faeaee9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d22cb05b6dd0edcce2b144a14a614c54b4d768d0e4a7b2b2d26c07a9f92f97bb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9ff19b687e2070155e8ba6dc8abb3b60cf03f126db8423b23606ef18e4649d0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32ba98fb6b510e934ff492f8814e7e262e06d2a7ad78d37e42d67784057c3db5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4476ab59e413506299d9ecac386dc9f72f613f3cc71e1d4f4619f5ef68617a3d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cbfaf6641175150c65672c09cbbe833d251b0015a9ab2d83804f7361f8170e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4bf319ef061d84def64bb1bcc34baaf2fc2539032742ce84761925afe11c969b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66a4fd943ae277ae7a42d63ac3d1e2bc70dfabd79ed0270384a49eb5107b5abb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6669899ef345e970d7c0feedf7b581d2ae843173da8ac2ca600f57d189795c4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6404a855e16da803be723fd4737a504d461b71e3b412421c2fd68217b9ea5297"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a80e1813da4cd97f7f728bc3275143ac496eac12701a71664846bd592a31e541"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53777a93a7f578e67e0103cff3189f103e405bb8ac1b0354002ff36774ba229e"},"taxa":[{"id":"CWE-611","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":"77c2644a7603aacab26e06b92085474c1aadf93c3ef39a46089c6a4e0e3b316a"},"taxa":[{"id":"CWE-611","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":"34fa0245e9c1c00ce786cf12eee1cdc66bea859107577e5cb2b23996e77bd6bc"},"taxa":[{"id":"CWE-23","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83a90ba7e839796d085e84ec94d5ca4dbdab619689cea8abd844e941716d309b"},"taxa":[{"id":"CWE-326","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdeddbe1011c5c1046196fdc21d61d4c3829ca31ab38add3f72c6a58774cb959"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d24272cb73765aba47afefc43c20504229457d8bea4cfff48f72ec34de6741b0"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"816829538af37b5022878d45b083c53a26607a4b787148529916d169c86bf352"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3f2856375b70a9affa4f9a45803d80b34731f37cae0a67d25d5e49a8b913ae7"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d53acd3ca8960786304363a1653ccb80a4818fc08f5d0b7b79ed658787455dfe"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f08a879d11c58c33753cea05879ef7099ff525f92283b676a4dc03c39b998ce"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c281d15f953b8a019790a5a64b332a339983eebb8d1da5a696a6be0f7de5a503"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74bcc6c9bcc8ba582869b26929c9a6594a12c037b47b010e61698dcb50a2bbda"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1184ef82a510559f2d7618ebdd88b83c78cafdb86d69a8478078e48edb6ab4e9"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","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":"7782d63a0025b90221edd1730b4e70efcdf877a3c603cac2abb764bcc8e0a1f0"}},{"ruleId":"D31","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":"b167848f0563d6b3b689d5e1b950743094fe58c8f167b82c40ee5a54c5155261"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3833e132166dfb4cda5a95247ca9d21194842b2aab908166988e5a259032ec77"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a5b66dbaee295bc57e6566f51b6975429863cd54db32f5bb221cea8439f5d95"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/plugins/dameng-jdbc/src/main/java/com/navercorp/pinpoint/plugin/jdbc/dameng/DamengPlugin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7237e14fe3026d8ab59be06d237b4dc38b6112c20a9cfce0876e62bdb2f12696"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 151 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than listed individually (152 orphaned of 2257 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: HbaseMapInLinkDao.java, HbaseMapOutLinkDao.java, HbaseMapResponseDao.java: 3 files \u2014 \u0060collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapInLinkDao.java\u0060, \u0060collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapOutLinkDao.java\u0060, \u0060collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapResponseDao.java\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"collector/src/main/java/com/navercorp/pinpoint/collector/applicationmap/dao/hbase/HbaseMapInLinkDao.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcec997bd68e9cdcb1f1a605bde1ba01ee85b8324031b9f26d0f0d26abb733db"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SpanService.java \u2194 StatService.java: \u0060collector/src/main/java/com/navercorp/pinpoint/collector/receiver/grpc/service/SpanService.java\u0060 and \u0060collector/src/main/java/com/navercorp/pinpoint/collector/receiver/grpc/service/StatService.java\u0060 change together 93% of the time (13 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"collector/src/main/java/com/navercorp/pinpoint/collector/receiver/grpc/service/SpanService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6ca2176a67d5654702d131e216bcfdab95873d24e44a71e9912d5f046bb9a9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: OtlpTraceSpanChunkMapper.java \u2194 OtlpTraceSpanMapper.java: \u0060otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanChunkMapper.java\u0060 and \u0060otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanMapper.java\u0060 change together 91% of the time (10 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanChunkMapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"153f6f5f6028e8e1b1fdc060a63a147268375991c11706b666d631f81cbcdae9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: HbaseMapAgentResponseTimeDao.java, HbaseMapInLinkDao.java, HbaseMapOutLinkDao.java: 3 files \u2014 \u0060web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapAgentResponseTimeDao.java\u0060, \u0060web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapInLinkDao.java\u0060, \u0060web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapOutLinkDao.java\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/applicationmap/dao/hbase/HbaseMapAgentResponseTimeDao.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14487de442d6175790cd8648c60a973f6a8e689b1cc8c292cd30744c30e3cdd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HeatmapChartController.java \u2194 HeatmapChartServiceImpl.java: \u0060web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/HeatmapChartController.java\u0060 and \u0060web/src/main/java/com/navercorp/pinpoint/web/heatmap/service/HeatmapChartServiceImpl.java\u0060 change together 82% of the time (9 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web/src/main/java/com/navercorp/pinpoint/web/authorization/controller/HeatmapChartController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf8ffebf24294dfc02fea162692b484b1e60d9a3abfb0eb18808a6dd0b286af"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DefaultTrace.java \u2194 DisableTrace.java: \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTrace.java\u0060 and \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DisableTrace.java\u0060 change together 79% of the time (19 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTrace.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f820a7ca94a806f3f0224cc7e6251467843f93d4e1fa7ec4615587ff3895d7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PinotAgentStatDao.java \u2194 DefaultAgentStatService.java: \u0060inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/dao/pinot/PinotAgentStatDao.java\u0060 and \u0060inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/service/DefaultAgentStatService.java\u0060 change together 75% of the time (9 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"inspector-module/inspector-web/src/main/java/com/navercorp/pinpoint/inspector/web/dao/pinot/PinotAgentStatDao.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c117ff1c5a6ab32f5a2ffa832a0c19cfeeda9034f8d11ab2bd3144308b04d03d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: OtlpTraceLinkMapper.java \u2194 OtlpTraceSpanEventMapper.java: \u0060otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceLinkMapper.java\u0060 and \u0060otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceSpanEventMapper.java\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otlptrace/otlptrace-collector/src/main/java/com/navercorp/pinpoint/otlp/trace/collector/mapper/OtlpTraceLinkMapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"539aed1573dc97c69c62b5c2c32d1d7fa6b1672799cc0d189f64f0287aad3692"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ChildTrace.java \u2194 DefaultTrace.java: \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/ChildTrace.java\u0060 and \u0060agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTrace.java\u0060 change together 72% of the time (13 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/ChildTrace.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6492978cb62848624dfa470420ead036297e1a0ff2ed56bb9a3102e3b81af00"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"D38","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":"c6fe843cb2511941f3fbe2893085938e0706f1b8cdc4c3cb17812ea35fee7db3"}},{"ruleId":"D38","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":"21e70af56dabd0776f400e95f9350296a853ccfa58f691a9604805d33fb7e485"}},{"ruleId":"D38","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":"45f3eb59b880c4bbdb22e1b6158b5d423e4f00a0f82a924ebafe6a4324116ed3"}},{"ruleId":"D38","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":"3c3139e64317242f783991606bb77d1706c7d9dbd2818b668783b1a9d22300cd"}},{"ruleId":"D38","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":"1a3b9484afd11b5fae1dcc2615cd74987302a45fcc695a575b4f1980421057c9"}},{"ruleId":"D38","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":"c3a2036932666caad052d3ff040bb64b4ee3216d6fa5701ceb7ca9b6bef85ae4"}},{"ruleId":"D38","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":"b1e742437d2803757000c4dca7632ea57890088a4806fd892ce7a11ec59d4f51"}},{"ruleId":"D38","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":"21a990ae80979971190b66a54e30febf0646264bd9f2d51ab802237d1e869850"}},{"ruleId":"D38","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":"f8fffe304b80ec05f40cdf47639f7a2eb8a6ac042913f6d3cfb709393f78e119"}},{"ruleId":"D38","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":"5fbd251a72b6a29cb97557cda7ba0633898fed6fbfcf6b891db0aa4f8344f9cb"}},{"ruleId":"D38","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":"ab24f0547a07d61718fa39d56b687890d90e0535af5031307b3dc7829649c208"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e2777caeb21a816cad5bb5e182d92800cdfaf95c093b65d6f6283125b89df4a"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4697e6ae12f9f2f231251e328a5423266f7354633910f8ce5ed1de0b45e48e2d"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66d0bcd5cdc00e0acf3ae74d91815b64b664ea6e0cde407a747cfd8b5ffc0d02"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"202f2cb029c3e7833c2d6b6121873096c394f25d0c2ec67512914b952a889e97"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23256791425dd62950b5ee01262e2e6823a205f43c2ef3d7c6b3db815b8d3efc"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eeddf2217c4d140bd054fffd74506693f46ceeb95710457adec42a51998ed82e"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f91ff4acbf89e22c6283b087450817320f190ee5eb8b501076e29ab149890f6"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2fcaf101261541e31e0e92b58348266b665018766125ff048d8892aba880a794"}},{"ruleId":"D38","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":"07645b2157dc74053c3c1df4a1ee6d9dda84c24eb2a9882db62a7efcaa36afa3"}},{"ruleId":"D38","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":"7990dce55633960ce21f7f4fe05e1814291414bdbdc8f6274e2be1868ed9e0cd"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-23","guid":"aeb15a6e-38a2-ef5b-a46d-9f787a34986b","name":"CWE-23","shortDescription":{"text":"CWE-23"},"helpUri":"https://cwe.mitre.org/data/definitions/23.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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"CWE-319","shortDescription":{"text":"CWE-319"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-326","guid":"7ee78bef-7589-f65f-a9d7-619f3485e844","name":"CWE-326","shortDescription":{"text":"CWE-326"},"helpUri":"https://cwe.mitre.org/data/definitions/326.html"},{"id":"CWE-352","guid":"2afe7bdb-7330-195f-b3bf-8cf5b789b3ae","name":"CWE-352","shortDescription":{"text":"CWE-352"},"helpUri":"https://cwe.mitre.org/data/definitions/352.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"CWE-611","shortDescription":{"text":"CWE-611"},"helpUri":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.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":79,"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."]}]}