Skip to content

Add copyright declaration and package comments #220

Add copyright declaration and package comments

Add copyright declaration and package comments #220

Re-run triggered September 19, 2024 04:52
Status Success
Total duration 52s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: pprofparser/domain/quantity/kind.go#L16
don't use `init` function (gochecknoinits)
build: pprofparser/service/parsing/aggregators.go#L126
string `<unknown>` has 8 occurrences, but such constant `UnknownInfo` already exists (goconst)
build: pprofparser/domain/quantity/quantity.go#L46
ifElseChain: rewrite if-else to switch statement (gocritic)
build: pprofparser/service/parsing/aggregators.go#L196
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
build: pprofparser/service/parsing/aggregators.go#L206
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
build: pprofparser/service/parsing/aggregators.go#L216
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
build: pprofparser/service/parsing/aggregators.go#L279
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
build: pprofparser/service/parsing/collapse.go#L208
ifElseChain: rewrite if-else to switch statement (gocritic)
build: pprofparser/service/parsing/collapse.go#L369
ifElseChain: rewrite if-else to switch statement (gocritic)
build: pprofparser/service/parsing/display.go#L19
captLocal: `D' should not be capitalized (gocritic)
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/