Add CodeQL to CI (#78) #1
Annotations
10 errors and 1 warning
build:
parser.go#L405
cognitive complexity 69 of func `(*Parser).parseEntityNameAndVersion` is high (> 30) (gocognit)
|
build:
expression.go#L366
cognitive complexity 46 of func `(*Expression).match` is high (> 30) (gocognit)
|
build:
parser.go#L231
`if head != nil` has complex nested blocks (complexity: 12) (nestif)
|
build:
parser.go#L454
`if i > 0` has complex nested blocks (complexity: 9) (nestif)
|
build:
parser.go#L297
named return "tail" with type "string" found (nonamedreturns)
|
build:
parser.go#L321
named return "tail" with type "string" found (nonamedreturns)
|
build:
parser.go#L368
named return "identifier" with type "string" found (nonamedreturns)
|
build:
parser.go#L653
named return "attrName" with type "AttributeName" found (nonamedreturns)
|
build:
parser.go#L684
named return "attrVal" with type "string" found (nonamedreturns)
|
build:
parser.go#L695
named return "val" with type "string" found (nonamedreturns)
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|