{"$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":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Layers.toLayers (cyclomatic 24): Layers.toLayers has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-cli/src/main/java/com/google/cloud/tools/jib/cli/buildfile/Layers.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"533b51e2baa91a27152be76f0e65bd64c4ddb786a439fd806c3443f6f0f40805"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginConfigurationProcessor.computeEntrypoint (cyclomatic 24): PluginConfigurationProcessor.computeEntrypoint has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ad66cce9d729e5d2e042c09ebdef851bc5ae031645877863b7308c8b66a03a"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaContainerBuilder.toContainerBuilder (cyclomatic 17): JavaContainerBuilder.toContainerBuilder has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/api/JavaContainerBuilder.java"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09b1ea1de9de514840946927f858618e3f3760a40d0dae9dafed3e5ae4f996b"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildDockerMojo.execute (cyclomatic 17): BuildDockerMojo.execute has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildDockerMojo.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c99bbc63b3d3791b9b063c4d352d6202f475e1c275bd99fd0b881755615600"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildImageMojo.execute (cyclomatic 17): BuildImageMojo.execute has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildImageMojo.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4b2f8075ce7a1467ed83aee220d4fcc85a7e3a7594810514c6a1f05b23a0e7"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCredentialRetrievers.asList (cyclomatic 17): DefaultCredentialRetrievers.asList has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/DefaultCredentialRetrievers.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"81786ed01f02f949d56ae384e97b517a53c6c4b5a13113a302c68d2e0f75f1e7"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonToImageTranslator.configureBuilderWithContainerConfiguration (cyclomatic 16): JsonToImageTranslator.configureBuilderWithContainerConfiguration has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/image/json/JsonToImageTranslator.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fe49f68c974c0eed5f5b1b700f8c351881aed37aba46c072f73513c8d9789d"}},{"ruleId":"D2","level":"warning","message":{"text":"Layers.toLayers (cognitive 96): Layers.toLayers has cognitive complexity 96 (threshold 15). Drivers by points: if/else 64, loops 20, ternaries 9, boolean chains 3 (nesting depth added 72). 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":"jib-cli/src/main/java/com/google/cloud/tools/jib/cli/buildfile/Layers.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b665472554c25207fb0e33c0c3d55ad5438e0988ac2e9305b65ea08e3c8987f2"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginConfigurationProcessor.computeEntrypoint (cognitive 34): PluginConfigurationProcessor.computeEntrypoint has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16, boolean chains 7, ternaries 7, loops 2, error handling 1, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"25420da5fb21035f0909c205b0ce346d53d44bb5a7523493197d6939ff2e97de"}},{"ruleId":"D2","level":"warning","message":{"text":"DockerConfigCredentialRetriever.retrieve (cognitive 28): DockerConfigCredentialRetriever.retrieve has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21, boolean chains 3, error handling 3, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/registry/credentials/DockerConfigCredentialRetriever.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a866f210d51d65a0b309847fc7e89b2b9ec54505e55d8b4f9597e186575045cf"}},{"ruleId":"D2","level":"warning","message":{"text":"XdgDirectories.getOsSpecificDirectory (cognitive 27): XdgDirectories.getOsSpecificDirectory has cognitive complexity 27 (threshold 15). Drivers by points: if/else 22, boolean chains 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/filesystem/XdgDirectories.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c568dfb296e1cd56b77d0a4bb83b68cdf7f92d16a9c098877eac6eb5e63dc1f6"}},{"ruleId":"D2","level":"warning","message":{"text":"JibPlugin.apply (cognitive 26): JibPlugin.apply has cognitive complexity 26 (threshold 15). Drivers by points: if/else 25, boolean chains 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":"jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/JibPlugin.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"648f816b6d7ef0c884be0af1200fb854eb780cfc02b34f0cd3e2ae0537ef98fa"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonToImageTranslator.configureBuilderWithContainerConfiguration (cognitive 25): JsonToImageTranslator.configureBuilderWithContainerConfiguration has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18, error handling 5, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/image/json/JsonToImageTranslator.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"be322d5569956d7bb505acec7b614e5fb199f57a3062f3349ce4df790ecef892"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesMojoV2.collectWatchParameters (cognitive 25): FilesMojoV2.collectWatchParameters has cognitive complexity 25 (threshold 15). Drivers by points: if/else 25 (nesting depth added 18). 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":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/skaffold/FilesMojoV2.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c8f104f081fb3406764239c66ec89aa32a0119cce0e5e253c9f21c0545e5ab"}},{"ruleId":"D2","level":"warning","message":{"text":"PullBaseImageStep.call (cognitive 23): PullBaseImageStep.call has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, error handling 5, loops 2, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/PullBaseImageStep.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e4608835b9fdcfa75a9588c3e78edf4b027b87b5c20c4c28976a4c6a20d922"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesMojoV2.collectExtraDirectories (cognitive 23): FilesMojoV2.collectExtraDirectories has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18, loops 5 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/skaffold/FilesMojoV2.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d912de98d35432db80ecc8ca427e9b93df2d1c4e42df757f5283e88464e8073"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCredentialRetrievers.asList (cognitive 23): DefaultCredentialRetrievers.asList has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20, boolean chains 2, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/DefaultCredentialRetrievers.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"afffff155d9ebc6a9a7bf2b267f4fb10fe89bf57e6ba203cf27b23a1815f2c79"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryEndpointCaller.call (cognitive 22): RegistryEndpointCaller.call has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15, error handling 4, ternaries 2, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryEndpointCaller.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ef4b833e29635570dd1c8edb888b1af58662546c178abaff30a563b8ba541a"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaContainerBuilder.toContainerBuilder (cognitive 21): JavaContainerBuilder.toContainerBuilder has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9, loops 8, match/switch 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/api/JavaContainerBuilder.java"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6df4fc28565294c05ac8c8285b93ecea9f2eb120d6aafb2dcd17d1eb52bf65b"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesTaskV2.findProjectDependencies (cognitive 21): FilesTaskV2.findProjectDependencies has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, loops 8 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/skaffold/FilesTaskV2.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"204252e6da3620395b811ad3e9d681742c627c1d4267f4397f1e5a7862b7ac82"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractManifestPuller.getManifestTemplateFromJson (cognitive 20): AbstractManifestPuller.getManifestTemplateFromJson has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/registry/AbstractManifestPuller.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1104847cfc9a95493226b8bdbf5c206f4582dcbb1ce8a6e9aed89147ecc27a76"}},{"ruleId":"D2","level":"warning","message":{"text":"MainClassFinder.find (cognitive 17): MainClassFinder.find has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, error handling 6, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/api/MainClassFinder.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"0670cc040df9e621be57bd886a5dec100217c01049db354be5040d293270b1b8"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheStorageReader.verifyImageMetadata (cognitive 17): CacheStorageReader.verifyImageMetadata has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 3 (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":"jib-core/src/main/java/com/google/cloud/tools/jib/cache/CacheStorageReader.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f172d341096182299874515272426842e86995e1431d0d0b2808d67df5e73a"}},{"ruleId":"D2","level":"warning","message":{"text":"FailoverHttpClient.call (cognitive 17): FailoverHttpClient.call has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, error handling 4, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/http/FailoverHttpClient.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"62830daddd39e64400673c06463884f75dd7d916ea0cd649a120a0d8f1537ce7"}},{"ruleId":"D2","level":"warning","message":{"text":"MavenProjectProperties.getJarArtifact (cognitive 17): MavenProjectProperties.getJarArtifact has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 2, loops 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenProjectProperties.java"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f21f3fc7077687e4b0589d25a2cce656fff78400737557c58170b16b4d65bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"JibBuildRunner.runBuild (cognitive 17): JibBuildRunner.runBuild has cognitive complexity 17 (threshold 15). Drivers by points: error handling 9, if/else 6, ternaries 2 (nesting depth added 2). 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":"jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/JibBuildRunner.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce0f78b27ae36cf1358a5324f1b7af27d708df7aa0ffd41db0b26d575989831"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildDockerMojo.execute (cognitive 16): BuildDockerMojo.execute has cognitive complexity 16 (threshold 15). Drivers by points: error handling 13, if/else 2, ternaries 1. 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":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildDockerMojo.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b36f5b0ca9ef51e58b7b1fcd77d76fbe7d645a00d60f96bf944831f1777abe6"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildImageMojo.execute (cognitive 16): BuildImageMojo.execute has cognitive complexity 16 (threshold 15). Drivers by points: error handling 13, if/else 3. 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":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildImageMojo.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d72e7bbfb7c9a41a30ab7c008c6e3692eb9f3cf2e67a6bb3487737d73df165b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JibPluginConfiguration: TooManyMethods \u2014 47 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b4d567dc4b927635a283ca8598694497a01117ddeb04673996d25bbd74b8b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JibContainerBuilder: TooManyMethods \u2014 40 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":"jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a66c4484f79d0a0c5f03d893dd7cf33f53cbdfc3c39edfb55dfe08ddbd1cba8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/PluginConfigurationProcessor.java: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: PluginConfigurationProcessor (77-1131). 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":"jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d9c62f17a0a228e3fc3c7c9091cdc13433db6ca3c0ce4d94b0051d7206d4a5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContainerConfigurationTemplate: TooManyMethods \u2014 39 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":"jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff05e0330b8bcfe0f1e88f3871d548c907d42d4144aff4b518c35c896dd56fdc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GradleRawConfiguration: TooManyMethods \u2014 37 methods. Most of these members implement common.RawConfiguration (36 of 37 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":"jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/GradleRawConfiguration.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"51023ded34486f378ba66479a3265aa85eea7181b1fd737e22b8677755a4f24d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MavenRawConfiguration: TooManyMethods \u2014 37 methods. Most of these members implement common.RawConfiguration (36 of 37 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":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenRawConfiguration.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ece5b68989b6b05011a2cfea8ce0c8ab640be9f193205038dbf193fd2d47a31"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JavaContainerBuilder: TooManyMethods \u2014 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/api/JavaContainerBuilder.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b8da7a1c2faa8479036a71b5165243ebb34f4699acbebf8655994f9ac0d9b1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContainerParameters: TooManyMethods \u2014 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/ContainerParameters.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbd7b15a4cbdd5c579e628b214ef629d76fbab859a55dcf0e6ce08d3b255d17"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StepsRunner: 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":"jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/StepsRunner.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"126c6882868cccfd44314411e9e36cdb83464ba6a33c56cd60b23d803c178414"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MavenProjectProperties: TooManyMethods \u2014 32 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenProjectProperties.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a0e247a930993053007659e0bed05c44915b5c428821c7b09768d615bcb02c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Containerizer: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/api/Containerizer.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3707582e5fc0deeb64ad5e093d088b984efe49c71744af70aca9150028ca32e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildDockerTask.java:154-170 | jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildImageTask.java:149-165 | jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildTarTask.java:171-187 \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 \u0060jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildDockerTask.java:154\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildDockerTask.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc41c2af441fa757afd8b47fe5e31c1e0a61cff26858e7b494b0358136fe37e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildDockerMojo.java:130-146 | jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildImageMojo.java:144-160 | jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildTarMojo.java:122-138 \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 \u0060jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildDockerMojo.java: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":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildDockerMojo.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecbdf31f8d759705b72d003572e763dfd3a64685e99bf22081d360ca5ebcb3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildDockerMojo.java:78-91 | jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildImageMojo.java:92-105 | jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildTarMojo.java:70-83 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildDockerMojo.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf50ff7db8d5254c6734c3ddfc4fa2b1ee3455a44a2853f45bb15b905e28a972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jib-core/src/main/java/com/google/cloud/tools/jib/cache/CacheStorageReader.java:159-171 | jib-core/src/main/java/com/google/cloud/tools/jib/cache/CacheStorageReader.java:197-209 \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 \u0060jib-core/src/main/java/com/google/cloud/tools/jib/cache/CacheStorageReader.java:159\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/cache/CacheStorageReader.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17a8b9a9770a954ca05b032ce223eb19746208327f9fa1fafd0a41984a75c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildImageTask.java:117-129 | jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildTarTask.java:139-151 \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 \u0060jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildImageTask.java:117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildImageTask.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6afe6309a5607ce503ae351cc153173f66e47d0324d3a801fb3c7714c39f75d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildImageTask.java:93-104 | jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildTarTask.java:124-135 \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":"jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildImageTask.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c501177aa3f29cd18a8ab1abc890bca23c0b39f78a8dcd079cddd7a9c87bc35c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/TaskCommon.java:55-66 | jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MojoCommon.java:58-69 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/TaskCommon.java:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/TaskCommon.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c98d9e45fe1b450c4bd3438a0c301749c619ea58e59fe5ec735c447194604c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildDockerTask.java:106-116 | jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildImageTask.java:94-104 | jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildTarTask.java:125-135 \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":"jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BuildDockerTask.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8caeb528ad898e11bf8ffdb2d6a88ab45b2a7b2df1983727018cbd0cc75dd074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jib-cli/src/main/java/com/google/cloud/tools/jib/cli/jar/JarLayers.java:66-76 | jib-cli/src/main/java/com/google/cloud/tools/jib/cli/jar/JarLayers.java:81-91 \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":"jib-cli/src/main/java/com/google/cloud/tools/jib/cli/jar/JarLayers.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"83550ff88330a9da3677026867009d854fa66a65640dc52747f10c9824471bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/GradleProjectProperties.java:477-487 | jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenProjectProperties.java:626-636 \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 \u0060jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/GradleProjectProperties.java:477\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/GradleProjectProperties.java"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"851732564dfa570f6d4838a27db2d5650b12acd1a2493f888b93bb6357bc624c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/ContainerBuildPlan.java:409-418 | jib-core/src/main/java/com/google/cloud/tools/jib/configuration/BuildContext.java:426-435 | jib-core/src/main/java/com/google/cloud/tools/jib/configuration/ContainerConfiguration.java:355-364 | jib-core/src/main/java/com/google/cloud/tools/jib/image/Image.java:343-352 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/ContainerBuildPlan.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0baa573d4444019d0841073b9c1cafde5c650e9aabaef58fe01cb87a69fdb4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Build.java:104-113 | jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Jar.java:88-97 | jib-cli/src/main/java/com/google/cloud/tools/jib/cli/War.java:75-84 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Build.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4222464084bd4023c81aabf5b0aec161ba2ebb764daa929bc06b132ad4763a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Build.java:148-157 | jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Jar.java:139-148 | jib-cli/src/main/java/com/google/cloud/tools/jib/cli/War.java:123-132 \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 \u0060jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Build.java:148\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Build.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb5d1cbe851b8f350253fc09d0d0c0442caadb370dd532b498ed199b02519f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jib-core/src/main/java/com/google/cloud/tools/jib/docker/CliDockerClient.java:281-290 | jib-core/src/main/java/com/google/cloud/tools/jib/docker/CliDockerClient.java:302-311 \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 \u0060jib-core/src/main/java/com/google/cloud/tools/jib/docker/CliDockerClient.java:281\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":"jib-core/src/main/java/com/google/cloud/tools/jib/docker/CliDockerClient.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"94940a71721fb691af84af40caa1ac1970fa47db7745acd8e91df22560a065ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java:151-159 | jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java:221-229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"98337f0d9193b100ef97397d0812bae9af2d997a529f5b67cd3ab807e11ac435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jib-cli/src/main/java/com/google/cloud/tools/jib/cli/ContainerBuilders.java:68-75 | jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Containerizers.java:80-87 \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":"jib-cli/src/main/java/com/google/cloud/tools/jib/cli/ContainerBuilders.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d216a53e0338e884bd749f548eb12fbb0d88b8da5570c1baacecc3ad42c11c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Jar.java:129-136 | jib-cli/src/main/java/com/google/cloud/tools/jib/cli/War.java:113-120 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Jar.java:129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Jar.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a1ffd5b9dabb0d3e83a156384476cb3cf06c68f214649fe71ba95abf0b00e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jib-core/src/main/java/com/google/cloud/tools/jib/tar/TarExtractor.java:81-88 | jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/ZipUtil.java:78-86 \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 \u0060jib-core/src/main/java/com/google/cloud/tools/jib/tar/TarExtractor.java:81\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":"jib-core/src/main/java/com/google/cloud/tools/jib/tar/TarExtractor.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"335b8e7fc718026069b063ba854a9be27c07c074aff6925b6f6c79a98ca82c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/PlatformParameters.java:33-40 | jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java:143-150 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/PlatformParameters.java:33\u0060 it begins part-way through the construct above it, so those exact 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":"jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/PlatformParameters.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"194b539b57142b2822c0d064b7c4530509dd182ba07cfa0cebc90edd2aec86cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java:668-674 | jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java:681-687 \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 \u0060jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java:668\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba98e326865e175a91c78fd46fd5b2393a3be274dcc1fd7268256482948fb959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Jar.java:100-106 | jib-cli/src/main/java/com/google/cloud/tools/jib/cli/War.java:87-93 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Jar.java:100\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":"jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Jar.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"909a9250a3da9878735608c3189b79b4a84f4f07d276dbb2b00709d0f552264a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/skaffold/FilesMojoV2.java:237-243 | jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/skaffold/FilesMojoV2.java:271-277 \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 \u0060jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/skaffold/FilesMojoV2.java:237\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":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/skaffold/FilesMojoV2.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"edce6e890e21b8a0028df18a647b2a953e8fd4fb2e5c699d02de39a03611bd02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jib-cli/src/main/java/com/google/cloud/tools/jib/cli/jar/SpringBootPackagedProcessor.java:54-59 | jib-cli/src/main/java/com/google/cloud/tools/jib/cli/jar/StandardPackagedProcessor.java:71-76 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"jib-cli/src/main/java/com/google/cloud/tools/jib/cli/jar/SpringBootPackagedProcessor.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2931b2035420d6c85a58f059db743a9078ee4430f2640f4b4cdcde06e3724eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenProjectProperties.java:494-499 | jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenProjectProperties.java:525-530 \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 \u0060jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenProjectProperties.java:494\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenProjectProperties.java"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab35b80bf74a70f8125b05bbd56e9262d9f31c233cc9107b3ee39cbcdaa67395"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: jib-core/src/main/java/com/google/cloud/tools/jib/image/json/OciIndexTemplate.java, jib-core/src/main/java/com/google/cloud/tools/jib/image/json/V22ManifestListTemplate.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dbb929411002900be1f23ec626ec278a68372bd875c57e3ac2d1491d5376c074"}},{"ruleId":"D19","level":"note","message":{"text":"Step 1 identifies the Java runtime location but does not explain how to verify that the build tool uses the same JRE.: Add a brief verification step confirming the identified JRE matches the one used by the build command."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/self_sign_cert.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dd01b132832de3b5abf18ed963e6cee58f4c5316fe0d2ef2e34dd86c76852f"}},{"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":"1243924b3fa111407a8bd2b63e6cc240e0af2c2d9b33d900fe703b2511deadc4"},"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":"da383eb44867848cd29349c751fb22e924efa03233f7bffe355ac0a5a630475b"},"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":"0580cbfa8eda0e72f2cf9fd5281163188a4ef99990d1dc42bef93460a40e25ff"},"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":"d41b0f23db09c9b6e4d4064d156e18ff4383c9a065c406304acc13d9a4897eaf"},"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":"06e073f78f436b06b0be4410e90669369e601698a0011011fddd2b8eb4c74823"},"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":"a76e955998b8a31a1aff79b2e0bcd7ca122dc5361afb3f0e6074eb4ada9ac05f"},"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":"38aa0f122cca420c2dcb8bb68dd7ae478ac32e83908749f3e9a7e0adadc038c1"},"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":"a3d49c8d3bf84cf78784bec8bd0ac0f56f89573570df6446805958b6fc1a2a53"},"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":"89e0e1ca5f568e828345aaf9e9da30698cad9fea0ed00c4bb80aa6cd4dfee1ba"},"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":"ca897921effdeb13c4ee1d3770f463b1832950f849577319de3fe1569a26f760"},"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":"942e24ca2ee1361d6d8442d4d85f26c5387eb4fea2694885db3931fee8667443"},"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":"c130cfbb8049a99fc4145a8baf83eae3113506a1577f28bae66858cfb4704a8a"},"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":"1960deb99a39daf299c4fbc9788b8d6885451af3a86d5c2ae335f79dbf5ee321"},"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":"f6f9c8cb2d1ecdf8fb89e2c3ef7903b137eb16e7fc320e3621113d2489d06b58"},"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":"ff100483fb0768d2190a352d4c698dabebfb1e06c73947bc4b02ab09a6053305"},"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":"3e6414bc982f95ab98c19ad6fe07af9032d9baf6267665b1e3b17da9efe2cbd1"},"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":"e86be2134c78a0f3759f09126509e7dc9ddb0a2330a5aa1f0c5c92219052e1d3"},"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":"ac4e0b8b0fd8526a32bf0a382fa1a35497b5dae362bb154a9293ddae22d58537"},"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":"1d3fd602484db92374b3f679622c2e05f0b725413d9ebb22fb73c4cb4717539e"},"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":"eb99ebef6a9649d8adbeee9942207c9f95313a8d1294ab77c06dc395c23d3eb9"},"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":"e01d09b209fe940aeb3d222c28a5d5ea10af7e91dbd98d75b5d9f1db3c399c5e"},"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":"edb63e703efd1c57477cc5116a69fbdb097b175ac578556e09ce8970bb3f7b53"},"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":"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":"09c3013740580078c081928217d2a64a14c2f353934ad4abd0c58a14102216ad"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a415cca0835e249f2897ce92f5058cc6a2228806d34e54efb089fd1a9b8a017"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"868df3c9706d35004eaaf95ddf6244c13fec16a5ec82fb3fde0bbd48bcb80e12"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a3098a1633832e265aa5ae4432746c6811dbf350ace8640918bcac5ad764cd0f"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33319293eb1274e3b0b3817ae0892c49c239d0ce07e1df44e4ccd6451705ab0c"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"a3fb0d782ffb3fec25659f8d948bbf54a590dc84a2077728a579823015e94519"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 190 of 193 significant files have no living knowledge, while the repository is still being changed at a low rate (7 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 190 separate risks. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdadd6352495d9d7564ceb225df6284195cc5ab5a13904355e2dd89156e5b94"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8f84f921b675681be53632e9acf128ac3b716506956603b532820ff33b243a"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/StepsRunner.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f17d90714f38dbd06d969db56f94441eb8399eca629e913fa7babd62148eb38"}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"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"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-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-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"CWE-295","shortDescription":{"text":"CWE-295"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-352","guid":"2afe7bdb-7330-195f-b3bf-8cf5b789b3ae","name":"CWE-352","shortDescription":{"text":"CWE-352"},"helpUri":"https://cwe.mitre.org/data/definitions/352.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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-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":33,"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."]}]}