Preparing report...

Report for github.com/glalanne/provider-databricks

(v0.0.0-20241120033708-76751b11065d)

A+    Excellent!    Found 4 issues across 165 files

Tweet

go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


gocyclo98%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • apis/databricks/v1alpha1/zz_generated.deepcopy.go
    • Line 17710: warning: cyclomatic complexity 69 of function (*JobObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 14893: warning: cyclomatic complexity 67 of function (*JobInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 17991: warning: cyclomatic complexity 67 of function (*JobParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 4488: warning: cyclomatic complexity 58 of function (*ClusterObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 4758: warning: cyclomatic complexity 51 of function (*ClusterParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 3052: warning: cyclomatic complexity 51 of function (*ClusterInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 21433: warning: cyclomatic complexity 49 of function (*JobTaskNewClusterObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 21657: warning: cyclomatic complexity 49 of function (*JobTaskNewClusterParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 26527: warning: cyclomatic complexity 49 of function (*NewClusterInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 27879: warning: cyclomatic complexity 49 of function (*NewClusterObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 20081: warning: cyclomatic complexity 49 of function (*JobTaskNewClusterInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 28103: warning: cyclomatic complexity 49 of function (*NewClusterParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 16402: warning: cyclomatic complexity 49 of function (*JobNewClusterInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 45599: warning: cyclomatic complexity 49 of function (*TaskNewClusterObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 45823: warning: cyclomatic complexity 49 of function (*TaskNewClusterParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 17196: warning: cyclomatic complexity 49 of function (*JobNewClusterObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 17420: warning: cyclomatic complexity 49 of function (*JobNewClusterParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 44247: warning: cyclomatic complexity 49 of function (*TaskNewClusterInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 46416: warning: cyclomatic complexity 48 of function (*TaskObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 42423: warning: cyclomatic complexity 48 of function (*TaskInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 46612: warning: cyclomatic complexity 48 of function (*TaskParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 32266: warning: cyclomatic complexity 47 of function (*PipelineObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 10240: warning: cyclomatic complexity 46 of function (*ForEachTaskTaskInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 32482: warning: cyclomatic complexity 46 of function (*PipelineParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 31777: warning: cyclomatic complexity 46 of function (*PipelineInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 10429: warning: cyclomatic complexity 46 of function (*ForEachTaskTaskObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 10618: warning: cyclomatic complexity 46 of function (*ForEachTaskTaskParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 30930: warning: cyclomatic complexity 44 of function (*PermissionsParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 30529: warning: cyclomatic complexity 44 of function (*PermissionsInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 31380: warning: cyclomatic complexity 34 of function (*PipelineClusterObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 31219: warning: cyclomatic complexity 34 of function (*PipelineClusterInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 31541: warning: cyclomatic complexity 34 of function (*PipelineClusterParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 37850: warning: cyclomatic complexity 31 of function (*SQLTableObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 22751: warning: cyclomatic complexity 28 of function (*JobTaskRunJobTaskParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 47039: warning: cyclomatic complexity 28 of function (*TaskRunJobTaskInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 22481: warning: cyclomatic complexity 28 of function (*JobTaskRunJobTaskInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 22616: warning: cyclomatic complexity 28 of function (*JobTaskRunJobTaskObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 47309: warning: cyclomatic complexity 28 of function (*TaskRunJobTaskParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 47174: warning: cyclomatic complexity 28 of function (*TaskRunJobTaskObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 37682: warning: cyclomatic complexity 27 of function (*SQLTableInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 30788: warning: cyclomatic complexity 27 of function (*PermissionsObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 14507: warning: cyclomatic complexity 27 of function (*InstancePoolObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 38007: warning: cyclomatic complexity 27 of function (*SQLTableParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 14631: warning: cyclomatic complexity 26 of function (*InstancePoolParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 35905: warning: cyclomatic complexity 26 of function (*SQLEndpointObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 14356: warning: cyclomatic complexity 26 of function (*InstancePoolInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 37202: warning: cyclomatic complexity 23 of function (*SQLQueryParameterParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 37107: warning: cyclomatic complexity 23 of function (*SQLQueryParameterObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 37012: warning: cyclomatic complexity 23 of function (*SQLQueryParameterInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 33887: warning: cyclomatic complexity 21 of function (*QueryObservation_2).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 1758: warning: cyclomatic complexity 19 of function (*CatalogObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 1865: warning: cyclomatic complexity 18 of function (*CatalogParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 1624: warning: cyclomatic complexity 18 of function (*CatalogInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 8105: warning: cyclomatic complexity 17 of function (*EmailNotificationsParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 42117: warning: cyclomatic complexity 17 of function (*TaskEmailNotificationsObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 42042: warning: cyclomatic complexity 17 of function (*TaskEmailNotificationsInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 10090: warning: cyclomatic complexity 17 of function (*ForEachTaskTaskEmailNotificationsObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 10015: warning: cyclomatic complexity 17 of function (*ForEachTaskTaskEmailNotificationsInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 42192: warning: cyclomatic complexity 17 of function (*TaskEmailNotificationsParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 8030: warning: cyclomatic complexity 17 of function (*EmailNotificationsObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 554: warning: cyclomatic complexity 17 of function (*AlertObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 11787: warning: cyclomatic complexity 17 of function (*GrantsObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 10165: warning: cyclomatic complexity 17 of function (*ForEachTaskTaskEmailNotificationsParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 40076: warning: cyclomatic complexity 17 of function (*ServicePrincipalObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 36927: warning: cyclomatic complexity 17 of function (*SQLQueryObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 7955: warning: cyclomatic complexity 17 of function (*EmailNotificationsInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 39954: warning: cyclomatic complexity 16 of function (*ServicePrincipalInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 11668: warning: cyclomatic complexity 16 of function (*GrantsInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 11879: warning: cyclomatic complexity 16 of function (*GrantsParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 33662: warning: cyclomatic complexity 16 of function (*QueryInitParameters_2).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 8978: warning: cyclomatic complexity 16 of function (*ExternalLocationObservation).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 40171: warning: cyclomatic complexity 16 of function (*ServicePrincipalParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 34216: warning: cyclomatic complexity 16 of function (*QueryParameters_2).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 36815: warning: cyclomatic complexity 16 of function (*SQLQueryInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 35789: warning: cyclomatic complexity 16 of function (*SQLEndpointInitParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 36033: warning: cyclomatic complexity 16 of function (*SQLEndpointParameters).DeepCopyInto() is high (> 15) (gocyclo)
    • Line 37297: warning: cyclomatic complexity 16 of function (*SQLQueryParameters).DeepCopyInto() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell98%

Misspell Finds commonly misspelled English words

    • apis/databricks/v1alpha1/zz_job_types.go
    • Line 1344: warning: "Specifices" is a misspelling of "Specifics" (misspell)
    • Line 1377: warning: "Specifices" is a misspelling of "Specifics" (misspell)
    • Line 1392: warning: "prinicipal" is a misspelling of "principal" (misspell)
    • Line 2317: warning: "Specifices" is a misspelling of "Specifics" (misspell)
    • Line 2353: warning: "Specifices" is a misspelling of "Specifics" (misspell)
    • Line 2368: warning: "prinicipal" is a misspelling of "principal" (misspell)
    • Line 2452: warning: "Specifices" is a misspelling of "Specifics" (misspell)
    • Line 2496: warning: "Specifices" is a misspelling of "Specifics" (misspell)
    • Line 2516: warning: "prinicipal" is a misspelling of "principal" (misspell)