Skip to content

fix: check every config entry in a file #3903

fix: check every config entry in a file

fix: check every config entry in a file #3903

Triggered via pull request November 13, 2024 13:11
Status Success
Total duration 1m 40s
Artifacts

pr-static-code-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Verify: internal/template/parse.go#L109
cognitive complexity 38 of func `convert` is high (> 25) (gocognit)
Verify: pkg/persistence/account/loader/load.go#L59
cognitive complexity 42 of func `load` is high (> 25) (gocognit)
Verify: pkg/client/clientset.go#L253
cognitive complexity 27 of func `CreateClientSet` is high (> 25) (gocognit)
Verify: pkg/persistence/config/loader/config_entry_loader.go#L154
cognitive complexity 27 of func `getConfigFromDefinition` is high (> 25) (gocognit)
Verify: pkg/deploy/internal/classic/validation.go#L49
cognitive complexity 32 of func `(*validator).Validate` is high (> 25) (gocognit)
Verify: pkg/download/id_extraction/id_extraction.go#L41
cognitive complexity 38 of func `ExtractIDsIntoYAML` is high (> 25) (gocognit)
Verify: cmd/monaco/generate/deletefile/deletefile.go#L235
cognitive complexity 37 of func `createConfigAPIEntry` is high (> 25) (gocognit)
Verify: cmd/monaco/deploy/deploy.go#L281
cognitive complexity 32 of func `validateAuthenticationWithProjectConfigs` is high (> 25) (gocognit)
Verify: cmd/monaco/download/download_configs.go#L250
cognitive complexity 43 of func `downloadConfigs` is high (> 25) (gocognit)
Verify: internal/idutils/numeric_id.go#L59
G115: integer overflow conversion uint64 -> int (gosec)
Verify
Restore cache failed: Dependencies file is not found in /home/runner/work/dynatrace-configuration-as-code/dynatrace-configuration-as-code. Supported file pattern: go.sum