{"$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":"BookSearchHelper.toConditionInternal (cyclomatic 56): BookSearchHelper.toConditionInternal has cyclomatic complexity 56 (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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/BookSearchHelper.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2938a1c73ccb974ffddbc0704d78c09398ab0235e158e9f2273b0ebe453cea0"}},{"ruleId":"D1","level":"warning","message":{"text":"SeriesSearchHelper.toConditionInternal (cyclomatic 56): SeriesSearchHelper.toConditionInternal has cyclomatic complexity 56 (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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/SeriesSearchHelper.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47da869f10bf0d7bd28b368e47a29d6d1b6be16c72b2c7b303b0805cb288885"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskHandler.handleTask (cyclomatic 30): TaskHandler.handleTask has cyclomatic complexity 30 (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":"komga/src/main/kotlin/org/gotson/komga/application/tasks/TaskHandler.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2c44b16c44bb8425cbf5dada427e7506b70738394d526158e6cc4f7c77180a"}},{"ruleId":"D1","level":"warning","message":{"text":"BookImporter.importBook (cyclomatic 28): BookImporter.importBook has cyclomatic complexity 28 (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":"komga/src/main/kotlin/org/gotson/komga/domain/service/BookImporter.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d72d62799104f21c001faffa0a46e53771b742006fe94d8ab71dd12aa8e8811"}},{"ruleId":"D1","level":"warning","message":{"text":"KoboController.syncLibrary (cyclomatic 28): KoboController.syncLibrary has cyclomatic complexity 28 (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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo/KoboController.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef92df318dc015d1cb65b4ab8c3b224c4c0b345e28e0e00479e654dc9bd8f389"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryContentLifecycle.scanRootFolder (cyclomatic 25): LibraryContentLifecycle.scanRootFolder has cyclomatic complexity 25 (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":"komga/src/main/kotlin/org/gotson/komga/domain/service/LibraryContentLifecycle.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e831af1b6a3655be405686a268e44379f15b4695041c0101b4b2faf26f7c4d"}},{"ruleId":"D1","level":"warning","message":{"text":"SeriesController.getSeriesDeprecated (cyclomatic 21): SeriesController.getSeriesDeprecated 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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4e35ebf9a418834d67cf3922f44659aab86467c75f235b2c45b9ba4cedcc9c"}},{"ruleId":"D1","level":"warning","message":{"text":"FileSystemScanner.scanRootFolder (cyclomatic 18): FileSystemScanner.scanRootFolder 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":"komga/src/main/kotlin/org/gotson/komga/domain/service/FileSystemScanner.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38112f3daecf04bbeccfe51469f557697acf1930942b64386fa1b67891fcec5"}},{"ruleId":"D1","level":"warning","message":{"text":"SeriesController.getSeriesAlphabeticalGroupsDeprecated (cyclomatic 18): SeriesController.getSeriesAlphabeticalGroupsDeprecated has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f41f7bc63ecafcd85cc756a28e4d4f9f68afbef91c62f6250dda259f3bd217"}},{"ruleId":"D1","level":"warning","message":{"text":"ThumbnailBook.equals (cyclomatic 17): ThumbnailBook.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":"komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailBook.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd626c1b784d0c1a61fd921a52075bd98b921012abfc982c002fd75a893c2e4"}},{"ruleId":"D1","level":"warning","message":{"text":"ThumbnailSeries.equals (cyclomatic 17): ThumbnailSeries.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":"komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailSeries.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e3493be06de56a40bd58448412cdc6f0cc88fd37c2e4810abb29c66889a857"}},{"ruleId":"D1","level":"warning","message":{"text":"BookDtoDao.findAll (cyclomatic 17): BookDtoDao.findAll 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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDtoDao.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27beb1b07760f6158df37145da17a178830353d55abbcd460b9446307e238c1"}},{"ruleId":"D2","level":"warning","message":{"text":"BookSearchHelper.toConditionInternal (cognitive 54): BookSearchHelper.toConditionInternal has cognitive complexity 54 (threshold 15). Drivers by points: if/else 24, match/switch 24, boolean chains 6 (nesting depth added 28). 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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/BookSearchHelper.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f035644f914bae976b17615c6e754e789df468010eaa8ec34266f399851717"}},{"ruleId":"D2","level":"warning","message":{"text":"SeriesSearchHelper.toConditionInternal (cognitive 40): SeriesSearchHelper.toConditionInternal has cognitive complexity 40 (threshold 15). Drivers by points: match/switch 26, if/else 12, boolean chains 2 (nesting depth added 22). 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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/SeriesSearchHelper.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"797a01fcdaad835e84097342771a7e2b56e9e305862a2e05f72df13dfbdbae20"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryContentLifecycle.scanRootFolder (cognitive 37): LibraryContentLifecycle.scanRootFolder has cognitive complexity 37 (threshold 15). Drivers by points: if/else 23, match/switch 8, boolean chains 5, error handling 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":"komga/src/main/kotlin/org/gotson/komga/domain/service/LibraryContentLifecycle.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1030f3363102b5eb53fe2aad7662645b745d5a476dd87659448409f509d45d6e"}},{"ruleId":"D2","level":"warning","message":{"text":"KoboController.syncLibrary (cognitive 35): KoboController.syncLibrary has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18, boolean chains 15, error handling 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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo/KoboController.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5939b2950cfe199355fb3d04b04bc1365d558469a991aee70d95fd15e7aa14c3"}},{"ruleId":"D2","level":"warning","message":{"text":"BookImporter.importBook (cognitive 30): BookImporter.importBook has cognitive complexity 30 (threshold 15). Drivers by points: if/else 19, error handling 5, boolean chains 3, match/switch 3 (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":"komga/src/main/kotlin/org/gotson/komga/domain/service/BookImporter.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b00d0a5533b04486b3c29b2519f9621111f2f494db35697b7c547a3a12d035"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystemScanner.scanRootFolder (cognitive 22): FileSystemScanner.scanRootFolder has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, boolean chains 6 (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":"komga/src/main/kotlin/org/gotson/komga/domain/service/FileSystemScanner.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08177e85c844be50c069be9bdd9ba5616ceeefa367cea9a9aed15a4f221e010"}},{"ruleId":"D2","level":"warning","message":{"text":"SeriesController.getSeriesDeprecated (cognitive 20): SeriesController.getSeriesDeprecated has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, match/switch 2. 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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c832ea31ce25ab70d5537b78d844766040ef9ea482ddf37c51fdc5714084381"}},{"ruleId":"D2","level":"warning","message":{"text":"ThumbnailBook.equals (cognitive 18): ThumbnailBook.equals has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18 (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":"komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailBook.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7ffb8210798803a65b631b1674548c2ef879ec94d96e1f8877af897ea1a0c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ThumbnailSeries.equals (cognitive 18): ThumbnailSeries.equals has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18 (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":"komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailSeries.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea6f5fe464b682b661e207a8cf143912be6d0c1f750a3b9ae2e8ad4c3a91a6d"}},{"ruleId":"D2","level":"warning","message":{"text":"SeriesController.updateSeriesMetadata (cognitive 18): SeriesController.updateSeriesMetadata has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18 (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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"801d03747969e4b33d9e3909811220046e4f3f0591220e4b51b6b5c8a11d2eb7"}},{"ruleId":"D2","level":"warning","message":{"text":"SeriesController.getSeriesAlphabeticalGroupsDeprecated (cognitive 17): SeriesController.getSeriesAlphabeticalGroupsDeprecated has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be6a361b6a3b6bfe957e68ac7b3dd8b0d17fcfe3ea80f357d0d1113a4cc71e4"}},{"ruleId":"D2","level":"warning","message":{"text":"SeriesMetadataLifecycle.refreshMetadata (cognitive 16): SeriesMetadataLifecycle.refreshMetadata has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, error handling 4, match/switch 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"komga/src/main/kotlin/org/gotson/komga/domain/service/SeriesMetadataLifecycle.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bda17ee8b9b17496d600edaeb8fa0d01f4321bf6038cbc639d60b7c26d8564"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/Opds2Controller.kt: FileTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: contentRestrictionChecker (77-934). 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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ec7c3fef4f3a562d4f815db130910e7387864d3d5ba928f77935f91bf310fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rest/SeriesController.kt: FileTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: contentRestrictionChecker (121-878). 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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c07f6902c6124e5622f438a52882a58d72dc6468d9cb90f70c7f84af3311d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReferentialDao: TooManyMethods \u2014 42 methods. Most of these members implement persistence.ReferentialRepository (35 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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReferentialDao.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe65bd990b18fed489e1ec04a334956975b5cd2621289e568cbaa686c3563f7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v1/OpdsController.kt: FileTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: pdfImageType (117-820). 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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b392c40e35f4d9dfeedae37a9db3686cf79a44c902e31310d66a47c0e71ad9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rest/BookController.kt: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: commonBookController (117-770). 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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d340005167e7fbb4a6d171c4e542b54bbb90a7f793f8b403f661ce49eb593501"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: main/ReferentialDao.kt: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ReferentialDao (25-679). 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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReferentialDao.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae5f13fd18253bb712a453f2eee4207e877012dd6c1c66ef5469ebf741866c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kobo/KoboController.kt: FileTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: objectMapper (178-852). 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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo/KoboController.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f75d75dc9aab342baea6bd3a4ced2e027665855cc465bbc80a46e205549a24"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TaskEmitter: 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":"komga/src/main/kotlin/org/gotson/komga/application/tasks/TaskEmitter.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24b8827f35e19b9c6953d0572a4b55c435dc350fd3d9f8d44a5a2a8adbdc577"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BookDao: 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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDao.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bed74a3a7a10bd2e56aea0f5960fd4ef78ca042c5830f8761260e02bc3f941"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BookController: 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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3791676abe1ae13bf7e056f4f5caec8c399ebb4170f91a344d825b3f89a6c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:357-374 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:396-413 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:357\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"630b23d06f33301db01d5d3f13f20ab38193b92599bde90467b086c3b2bc4dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/domain/model/SeriesMetadata.kt:86-100 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesMetadataDao.kt:306-320 \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":"komga/src/main/kotlin/org/gotson/komga/domain/model/SeriesMetadata.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdbfb788c022914a54fdb29b65174ebc2f0e3a9079b5cd1a168a611b9d33e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt:139-153 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:163-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"85594e1c094fb528422ba7f9457320223f40e29666b926373db74479d75e6cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt:184-198 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:238-252 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt:184\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5159b893adcdf538f9f8d0c8d87faec46adf73a8d26d41ecc1afbdde51bf857e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:500-512 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:542-554 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:626-638 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:500\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5ea51abf554a78fa9d093436a8e56cd22716945f43de880ac891beeadc491e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:529-541 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:613-625 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:529\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"835a6bf51cf0e8f2c05373ffd572ec0df985e6610bc1ff8f0ee8862bfe006b3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:209-221 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:324-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:209\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa98c8ab8c838c4a4dbb56ba36d6afa45fec55a392342ae9f283ce04c373c337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:323-334 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:360-371 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:401-412 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:323\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5ec511ae3a1f4179902cb1f243c200e3f98271950ab71c3d993f3cfbd25389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SyncPointDao.kt:542-553 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SyncPointDao.kt:573-584 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SyncPointDao.kt:542\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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SyncPointDao.kt"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5971cef401dc11207e6555156ca65f3ceca7c77b5e6ab56ae9d0c7f1d4180a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:445-456 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:589-600 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:445\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"780e10b79ff575eff691da4d2a9dbc4ab99f55bc6ae17e673eff7198f07e4207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo/KoboController.kt:365-375 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo/KoboController.kt:376-386 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo/KoboController.kt:365\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo/KoboController.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ba4881a91d8c80d5e1223ba6675732f22cf423b0dbd1ee3a66996efe1381b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/kosync/KoreaderSyncController.kt:55-65 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/kosync/KoreaderSyncController.kt:116-126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/kosync/KoreaderSyncController.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1579f163a6d827611416c19bf0a2fa45c509859d381470c784280b62236a56ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt:258-268 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt:298-308 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt:258\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3075c6f0fe45e221b8efa89d7a2d2c299aa267355ebdbb4fc7cfbcf8bfe87f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt:619-629 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:571-581 \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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"c659e2021460db95df7306d6dd4f607d12668ef80a0acca3d4ff2cc779ca7177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/domain/service/BookConverter.kt:106-115 | komga/src/main/kotlin/org/gotson/komga/domain/service/BookPageEditor.kt:108-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 \u0060komga/src/main/kotlin/org/gotson/komga/domain/service/BookConverter.kt:106\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":"komga/src/main/kotlin/org/gotson/komga/domain/service/BookConverter.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4eb24f3a45f73097befa0e436b4c39a9dea533ff2497327d8cef0b66f13956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDtoDao.kt:176-185 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDtoDao.kt:430-439 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDtoDao.kt:176\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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDtoDao.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d93c5b9d64a8702b59f6fa6867dbce04b2cbd613ebb01bbe9aa2c14e28f64a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDtoDao.kt:190-199 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:280-289 \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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDtoDao.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ec12a5706031133fbeb0ee2eaef8d7f371e1f30fc3f77c4bb922ae164e3240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/HistoricalEventDtoDao.kt:53-62 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/PageHashDao.kt:171-180 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/HistoricalEventDtoDao.kt: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. 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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/HistoricalEventDtoDao.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d714591a893c95b1d95ada21330fbc016e73c0a0fa1e142b34c8f0dc65ce00fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:212-221 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:252-261 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:212\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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"015f235c202a30fe199ac474a07dac7c6acbfb200eac238ea287deace9c411a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt:596-605 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt:640-649 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt:596\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"de07cc06042e53b4a58c067ebc575a1787b8dce4d75f46ee8702720da87d969e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt:658-667 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:650-659 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt:658\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6aff357df7410801fac42c388e926d29bbc5efe33e6a0181de14a25ac8e574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:225-234 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:423-432 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:225\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"628edbc83ff5dfdd208ada89fefb911a0659266ae8313778861b29415dfe177f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/AuthenticationActivityDao.kt:87-95 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/HistoricalEventDtoDao.kt:57-65 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/PageHashDao.kt:91-99 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/PageHashDao.kt:134-142 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/PageHashDao.kt:175-183 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReadListDao.kt:121-129 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesCollectionDao.kt:119-127 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/AuthenticationActivityDao.kt: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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/AuthenticationActivityDao.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcb1403c69fde48aa260e6bc497b0014f0bf1743b8440ffeb87d3029db13d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/BookSearchHelper.kt:190-199 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/SeriesSearchHelper.kt:162-170 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/BookSearchHelper.kt:190\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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/BookSearchHelper.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a593a5d2803c6eb13044e875ffb347a0fc6fa4162a284107973dbeabca0f731a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDao.kt:139-147 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDao.kt:164-172 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDao.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDao.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f98a99c4dac69de51494b37943a6ba0f210e235985d371c478b84f3af3263f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/KomgaUserDao.kt:111-119 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/KomgaUserDao.kt:143-151 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/KomgaUserDao.kt: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. 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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/KomgaUserDao.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5cddaf804d3fca971abe3bd49d7be9c490ed6e410838460a8e1ce1069be6de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SyncPointDao.kt:270-278 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SyncPointDao.kt:301-310 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SyncPointDao.kt:270\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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SyncPointDao.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7069c535324ef2de6ebbcb8566cf429e1396a0cbcbf1ffbe48e0dd1c947b5dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/CommonBookController.kt:139-147 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/CommonBookController.kt:211-219 \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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/CommonBookController.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5d50a2b7f1d6e9c5d2744464fdd5e0ea465df0a913b67012aa50426a3d574e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:191-199 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:216-224 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:191\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"692b2621e430fdfc36a9f254ee32f22a266780686026061bedec5f74f44154a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:238-246 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:436-444 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt:238\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9169b43ddf8da02aab23ee91ca616fc7484091e35043c1aec41cbec5bda6753f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:158-165 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:208-215 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:248-255 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt: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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"877d8a9d5bc265d15080b664050ced045b406fda88229641244438db49c0d228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailBook.kt:39-45 | komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailSeries.kt:38-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":"komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailBook.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8eb70595d9aebed03d819159295e6119c30e023db7f43ec7cfdf81482ec467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/BookSearchHelper.kt:166-172 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/SeriesSearchHelper.kt:135-141 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/BookSearchHelper.kt: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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/BookSearchHelper.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42cb7f4fd8e3cf079fa243607b4c7fbeafdf9dd8a9f225276729f793c85417d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReadProgressDtoDao.kt:70-76 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReadProgressDtoDao.kt:110-116 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReadProgressDtoDao.kt: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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReadProgressDtoDao.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01769dc75f87d6aec3a65bf2e27242f9d932c688644d3b7c29db8ca9bf1fd66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReadProgressDtoDao.kt:98-104 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReadProgressDtoDao.kt:114-120 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReadProgressDtoDao.kt: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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReadProgressDtoDao.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2362fc38eb4c2230095aefb8eb2b8a69a8098d9fd357743b2709f79c431cc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:146-152 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:236-242 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:146\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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb932e02d3c812c451f383d2d848a0e0906de2c928a040653450ea914ed3b5e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/mediacontainer/divina/Rar5Extractor.kt:56-62 | komga/src/main/kotlin/org/gotson/komga/infrastructure/mediacontainer/divina/RarExtractor.kt:37-43 \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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/mediacontainer/divina/Rar5Extractor.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a4b9d9306ccb551b32ecc5e219a3926e17000d4c76cd973754c8fb1c7c4867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt:391-397 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:535-541 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt:391\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0be235e921c2bef6a1fd76975a5e8e63af3a9c8691c81033de8ebe1b8e1f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/ReadListController.kt:207-213 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesCollectionController.kt:182-188 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/ReadListController.kt: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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/ReadListController.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"be28fd502e65ed30c93e0c181a3afeb8f6a9de074179bd1ed49b1bec4b395402"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:177-183 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:292-298 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt: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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb64dc79857142b2c233230873247794e0e469afad1191d5fbf81a26676655e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDao.kt:126-131 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:154-159 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:204-209 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDtoDao.kt:244-249 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDao.kt:126\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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDao.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a96b8e950b66d2805da428cea43bc85c50f83d1948f32799863db4630213f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesCollectionController.kt:333-338 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:192-197 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt:307-312 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesCollectionController.kt:333\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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesCollectionController.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a53bb3665bb202372365a7b1ab19c9b89ed0cd2628d9b95da26fdfbcbbe4764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailBook.kt:61-66 | komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailSeries.kt:60-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailBook.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c1993b89b8da5a4530de6fa2f6211b260d26cf306474be86221d937e2a0827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailReadList.kt:28-33 | komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailSeriesCollection.kt:28-33 \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":"komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailReadList.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"272436313bd1cd7701dfdbbf51bfd9da49e5db66e2b08106ae813169d4d067b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailReadList.kt:43-48 | komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailSeriesCollection.kt:43-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":"komga/src/main/kotlin/org/gotson/komga/domain/model/ThumbnailReadList.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed12c3400c1ccac018ad86017615b49b493e7e40de9238e382a7e10bbdfbd99a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDao.kt:130-135 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDao.kt:155-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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDao.kt:130\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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDao.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"81507b8779e81beaa6a150ae29b6aa38dafb68c04804b4036b5acc170ccf0082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/LibraryDao.kt:87-92 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/LibraryDao.kt:124-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/LibraryDao.kt: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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/LibraryDao.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"22885164acddaf752d6cefc6c950e61dc85d622d6cac440d4932003a8e3e69cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReferentialDao.kt:471-476 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReferentialDao.kt:485-490 \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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ReferentialDao.kt"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"97440c697af87b758991ef4d539959c85255336fdaaf031dbbf57eab5aeeac1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesMetadataDao.kt:92-97 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesMetadataDao.kt:128-133 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesMetadataDao.kt: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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesMetadataDao.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f426ae121bd9e32c19183c4db08b015c4e58a8c923cabf91af8889b5bd27a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailReadListDao.kt:50-55 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailReadListDao.kt:64-69 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailReadListDao.kt: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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailReadListDao.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4038594dd9ce8bcc4898f1689739de7a5165d7d4be1bf3d74abf2d927661498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailSeriesCollectionDao.kt:50-55 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailSeriesCollectionDao.kt:64-69 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailSeriesCollectionDao.kt: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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailSeriesCollectionDao.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"04de4fbced7519f1d66f5094e53c0f9a65979beca736ed2d276fd1717beeda3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookMetadataAggregationDao.kt:42-46 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookMetadataDao.kt:51-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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookMetadataAggregationDao.kt:42\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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookMetadataAggregationDao.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7207830b8b54ac4598465ebbf984543c622a2b738288204680b31b57c9245422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailBookDao.kt:98-102 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailBookDao.kt:113-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailBookDao.kt: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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailBookDao.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d588dfd9e645e611dc9fb696c44a05b0cc043f228f3242fb845cb9607b46b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailSeriesDao.kt:68-72 | komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailSeriesDao.kt:84-88 \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 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailSeriesDao.kt:68\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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/ThumbnailSeriesDao.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76767a5a1781cfa3aa64eb3556eae83174b909901ce08aa0801a937331e0845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): komga/src/main/kotlin/org/gotson/komga/interfaces/api/ContentRestrictionChecker.kt:31-35 | komga/src/main/kotlin/org/gotson/komga/interfaces/api/ContentRestrictionChecker.kt:48-52 \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 \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/ContentRestrictionChecker.kt: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":"komga/src/main/kotlin/org/gotson/komga/interfaces/api/ContentRestrictionChecker.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1337bcff6c944f62161479e9d06d605f85ca3890417c9d8dd82eb4f6a65d42"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 49 significant file(s) lose their only recent owner: komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/SeriesController.kt, komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v2/Opds2Controller.kt, komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt, komga/src/main/kotlin/org/gotson/komga/interfaces/api/opds/v1/OpdsController.kt, komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/ReadListController.kt, komga/src/main/kotlin/org/gotson/komga/domain/service/BookLifecycle.kt, komga/src/main/kotlin/org/gotson/komga/domain/service/LibraryContentLifecycle.kt, komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SyncPointDao.kt (\u002B41 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f8f677df4c8fd57d7301b5a4ca29b2a39b9289f2f6a1c54bbb594df9ef5ea66c"}},{"ruleId":"D19","level":"note","message":{"text":"The app icon is shown inline and the image path points to .github/readme-images rather than the main README, making it inaccessible from the top-level Komga docs.: Update the inline reference so the app icon appears in the main README and link to the GitHub releases page for a downloadable badge."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/readme-images/app-icon.png"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"501e21ce34ab3f3b388ea0011ad38584c2900527ccd94b3b9468d08d1cd9a080"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6904115412568a259384d42b747ad3f68789f8b252b747af1490263693e9fa7"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","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":"68f13c6c2b41d7534cd4413524a656a143f308f1cb2effd40b382a749891666c"},"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":"bbf6f24e7112ebe0a7128f3c60ef56477cc7acb0864a2bf9337278eda866d39c"},"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":"580ae9e8d56f834bfa61b79f81c8a9007e93e87b65d7bbef3d46633d2629c340"},"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":"db45103e484a77e85ada197e0861b06f57691e6d2e5c4ea0d20c3fa60ceeae9a"},"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":"f9f8b133be5861178ba7e1fcb299eb327d3392e2c9373f4e6e10b31a83508d4a"},"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":"a463341869fa2bef9f30e4401a1767ff8511c514503fe9df0ea1a6a4442e8f02"},"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":"44fd4aceef9a2c6b311a23180263f5c4b067d26ede3cf6873a83b60008a6c5a6"},"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":"c21d9922c3b130a881fb94849772532da00b875e357b81a52a05f949e71020d1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"232526e51ccc0bf9ff8267d90534161f3528ad85581672f0d670037239eac468"},"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":"28a11899053da5fc43a6a7748395c49c569e7e52e22767b3c92502822d8944c7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f0a16112392c96bce4f0ec0fba8067e07df18fe1ddbc94c299633f186ec7e0f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc808bb3a53db34d256527d3d39e8cc4bff9afdd1f79c1cd484a5c27bdd1a4ce"},"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":"b8ef127ba62dcf31e079a1ee0f8d2ffdfc288d7913c0d81a41e410f96c3158cb"},"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":"a8b744797e7311e0706c205d8828838811d9dacc81737623c6f4aefe7385a86a"},"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":"bf316118ebf549747fa8fc9ccce4271e3ef9ab61a5c10bd82c160ff28c127899"},"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":"1c3b3c62f1e2ada6fe1e5fd7546b3574e89df3245b9bcdac1a02ad3c3fdf31b0"},"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":"86f2cfb2cc32d82d657295c4fcd1e6a40c50b9d9e79bc6e760ea1dd0687097c2"},"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":"31ecb96fea05d880955e50edfb1c5b50f22fdc3cdad5f5c8e762a9a9157d6e7e"},"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":"cb9e663b1d6dadf6fb1b0b890cac8b8b9a25c633443f4b44b810bc1514282aad"},"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":"eae8d761f4d42d659730d16d3ac375e20efa0d2635b9573694496e421143b753"},"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":"ce2405d59fc0aff10da513b3f452bb92e4af80ff02efc4c04911b24c862ab535"},"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":"b929484ce1639cd0750deba4fb18e617806cb1c4e7cda8dea6610aafacc806c1"},"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":"fda6373ca1cebee87a3c0768b384063a48e7ed4e5ef6ee3e7fb19b2cf4617397"},"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":"4ba207d65f2f61a6d0636887595aabc524b5e0acc7f799aded1febb116e5aca3"},"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":"7de4017a9d038d68a1ac818aa1c47d51b8285e8c5c32b0c7d3128da722ac8630"},"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":"baf6a7f4fdde169f51d10ffdac64b65aaf18c53ad367bfa31605122a917ae488"},"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":"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":"3f40de6ba784193716b305f852bd2278d5cb2f6147daa0530f8144e79f760504"}},{"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":"671c71102719375c77407b12b0a1ba15434586493b32fc50ea1bffcc02a05c46"}},{"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":"ef1c87390c675e7e886831ddab4b9a6f20856c8498388a71e5ddf58c73859efe"}},{"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":"594969cf73ca7d947de1184f44a781ade6451e40ee46499e584e6b1de664c164"}},{"ruleId":"D31","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":"0d8036d8b13d08ddd8320318c863370fe2ad09b11e9717d76a9ce28b6ad2600f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: LibraryDao.kt, LibraryCreationDto.kt, LibraryDto.kt, LibraryUpdateDto.kt: 4 files \u2014 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/LibraryDao.kt\u0060, \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/dto/LibraryCreationDto.kt\u0060, \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/dto/LibraryDto.kt\u0060, \u0060komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/dto/LibraryUpdateDto.kt\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 6 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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/LibraryDao.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4df517727185e2ef2b10ef8f588e0c88e81e2235e54d3cf67ee1cbe065f618f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: UsersList.vue \u2194 komga-users.service.ts: \u0060komga-webui/src/components/UsersList.vue\u0060 and \u0060komga-webui/src/services/komga-users.service.ts\u0060 change together 60% of the time (6 of the 10 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":"komga-webui/src/components/UsersList.vue"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbe6fa16a3c4ef4f3b1c39501d5d5a2d6f5641519da6269fe74f83a70649ac2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: router.ts \u2194 StartupView.vue: \u0060komga-webui/src/router.ts\u0060 and \u0060komga-webui/src/views/StartupView.vue\u0060 change together 60% of the time (6 of the 10 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":"komga-webui/src/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cd67c535ec21c78276b820cfee926b252439d3428f0a9f3703a464357ed0e5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: BookDao.kt, SeriesDao.kt, SidecarDao.kt: 3 files \u2014 \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDao.kt\u0060, \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SeriesDao.kt\u0060, \u0060komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/SidecarDao.kt\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":"komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/BookDao.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a082bf0431bf7b247f2fc24777ec4db354c22faeeb2d4615aa2beae0ad6cd90"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Book.kt \u2194 Series.kt: \u0060komga/src/main/kotlin/org/gotson/komga/domain/model/Book.kt\u0060 and \u0060komga/src/main/kotlin/org/gotson/komga/domain/model/Series.kt\u0060 change together 58% of the time (21 of the 36 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":"komga/src/main/kotlin/org/gotson/komga/domain/model/Book.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86436137bd4f4f92d185e675413d9638a74659e19d788bbf87bfca941bf8a51c"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"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":"f41eb5a37041728b7e2233c9dab8b0d2c326c9a2074cd2748cf0957593cb4f0c"}},{"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":"5291bfd5fc021b8f57d283ef2615a6d6f4887f306daa88180f7a13ba12a7efb0"}},{"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":"8155b38f5c6f3cdab7c443e2ccb62f24cef36ec5e9205adbcf05917a9ef37089"}},{"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":"d5a892d8ce926241d98ceb898d99ec0a7e4dd7ee20cb8223392489af687b07fe"}},{"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":"8c14298b66a691fffd1e77d50cc437851fdbd38c9ccff6f6401c455bceafa106"}},{"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":"fd4b5988b50a2e5f41cc3ab68f94f4eef0affb5a35dbb6597ccf8a9f4ec0b282"}},{"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":"b5da79bbf3039ef6106944102b0422dfe0527e7b821f3688f21b63d9fe25b00d"}},{"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":"8958bba50ad5ba0c2abde0c08dee2605d56eb4be249e8db3905f3684b0b96b9d"}},{"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":"0cf5b45a488295b63a688b2207615f4c03ac3cef7c9afc35ddb40d5666144f24"}},{"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":"dfd1644f11c8d44618c2a50349ebf90825c5a598185b219d45eed36f41021847"}},{"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":"e8ef904df17abe65bb0ada1baaa39ba395ecc814afd2889f94d3f582df7bfa87"}},{"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":"6f9594cdcc975c0ab25afa965a2e290e554e5af5f54d688df21fa11c9f6d0b33"}},{"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":"c411b5099022e7b5f2779e645a3f20ad2326254d33e1fc2fe2c321d1a4257621"}},{"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":"31a0619c474c8ec383c9e42b6fe0db80c97f3fe50be772714c52a4365df17bd5"}},{"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":"abcf44800668621ba261bc35a50caeea28e843cabe08651ce02b227996b6d974"}},{"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":"918da2694c5adc38865d35a58d4b55717c39ed2337634e2cacedb61e6c8a0216"}},{"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":"becbb90cf54ac791fd02ac2db5239564f05b7c9b2999e2c5f7d63f7d3d881739"}},{"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":"c602dec806f8dfbed7f3ee3f342aab31b47f614686f838f5b9dc0726eb4b4037"}},{"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":"9d9a3095957ce4db27526740c37c349b88500439122237266025b005c762ab85"}},{"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":"8ee23057dc753edb8d799c75eead374f853013de6827f030c55d40c0e8ac5129"}},{"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":"38f5a7e4719def4c529695b4f61413031b115fc539c7e131868399d212400834"}},{"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":"82f5260803317909b1147174dd0531c4690d47f8f3688b10d88cf3e434e850b8"}},{"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":"741d28ecaf95de517fd3f184953095037cb2969459b018abd001d1efbe2a9680"}},{"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":"99fa34d29daf6e0e60beab0754312e4ffc4c8f90c732d236cebf13c59c810ff7"}},{"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":"ee252cf0186c986ce574c41512274cc569aff3a6e2842a7ab9f0afa1f898728d"}},{"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":"c906a851eed8841f10c604ee9d0b20e7db7e8c9cdc558ac74f66c32df31635a2"}},{"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":"512c2107abda3b32dd5ec77807e9c121dffcd6b2441f0fb182556e41a35ac1f0"}},{"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":"35f8aafb5a35bf7cd2c1e65a58305596d4c24911dfffab88d2568df83caf6584"}},{"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":"3b00da1be3426c9e8a135831165dcc5ed63eb5482f4d59989f2225e6148307d2"}},{"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":"2aa350db923a57162293b0214030b46f7799773ae28c9734675262e8c93e3f19"}},{"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":"fb7ab39893643eb6600416ffa549d1b54bdde4e91b73de6b5b8a1f15a66d5c6d"}},{"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":"cb9699ca80dfa05c9096c88d2bb500e4c815f48e401d9fefc727e67fea5bbc0b"}},{"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":"c2e931eb83302d0b72118a098965d66b6c9f3d66163244f90a82c29da454479a"}},{"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":"f71b32833056ba4217d32ae3067058656aef740f06fa652c9b6601e66b66bb14"}},{"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":"e25ff948ee29e839d165cb1f1cf1e94b6d29e6bb986e8972c0a5e122c0085f56"}},{"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":"e6da3ab30b5379485e13da273cc06d8d9541dbfca271b002edff21984b759da1"}},{"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":"0d9816c0b7bce1b7bd75ff658fd195ff717defece327dccc06528012484b3611"}},{"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":"95257de7e1c675991ae9541f211db920b6d221e39e6d8ab4bcc34ad180444fb5"}},{"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":"5669e235d8b9bfb3f5fbcfde0ac5d0f56ee12a464660386f9ffe79b9171cc294"}},{"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":"a325d688e15d5841ec448819f7f85816c273bdb391a70952ae398314f5163e9a"}},{"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":"b4449a7a74679dcd3bdeecb3076f715232a7c782db95af85458cbca2ed38997e"}}],"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-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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":80,"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."]}]}