Skip to content

Conversation

@qodana-cloud
Copy link
Contributor

@qodana-cloud qodana-cloud bot commented Sep 30, 2025

Adds qodana.yaml and GitHub workflow file that runs Qodana static analysis on each pull request.

@github-actions
Copy link

Benchmark comparison w/ base branch

goos: linux
goarch: amd64
pkg: github.com/zimmermanncode/go-require
cpu: AMD EPYC 7763 64-Core Processor                
            │ base-bench.txt │          head-bench.txt           │
            │     sec/op     │   sec/op     vs base              │
NilPtr-4         2.189n ± 4%   2.181n ± 1%       ~ (p=0.438 n=7)
NotNilPtr-4      2.492n ± 0%   2.495n ± 1%       ~ (p=0.083 n=7)
geomean          2.336n        2.333n       -0.12%

            │ base-bench.txt │           head-bench.txt           │
            │      B/op      │    B/op     vs base                │
NilPtr-4        0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
NotNilPtr-4     0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
geomean                    ²               +0.00%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

            │ base-bench.txt │           head-bench.txt           │
            │   allocs/op    │ allocs/op   vs base                │
NilPtr-4        0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
NotNilPtr-4     0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
geomean                    ²               +0.00%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

@github-actions
Copy link

github-actions bot commented Sep 30, 2025

Qodana for Go

It seems all right 👌

No new problems were found according to the checks applied

☁️ View the detailed Qodana report

Detected 11 dependencies

Third-party software list

This page lists the third-party software dependencies used in project

Dependency Version Licenses
github.com/davecgh/go-spew v1.1.1 ISC
github.com/pmezard/go-difflib v1.0.0 BSD-3-Clause
github.com/samber/lo v1.51.0 MIT
github.com/stretchr/objx v0.5.2 MIT
github.com/stretchr/testify v1.11.1 MIT
golang.org/x/mod v0.27.0 BSD-3-Clause
golang.org/x/sync v0.17.0 BSD-3-Clause
golang.org/x/text v0.29.0 BSD-3-Clause
golang.org/x/tools v0.36.0 BSD-3-Clause
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 BSD-2-Clause
gopkg.in/yaml.v3 v3.0.1 Apache-2.0
MIT
Contact Qodana team

Contact us at [email protected]

@userzimmermann userzimmermann self-assigned this Sep 30, 2025
@userzimmermann userzimmermann added the enhancement New feature or request label Sep 30, 2025
@userzimmermann userzimmermann force-pushed the qodana-automation-1272366307 branch from 4e12596 to 5f07222 Compare October 1, 2025 06:00
@github-actions
Copy link

github-actions bot commented Oct 1, 2025

Benchmark comparison w/ base branch

goos: linux
goarch: amd64
pkg: github.com/zimmermanncode/go-require
cpu: AMD EPYC 7763 64-Core Processor                
            │ base-bench.txt │          head-bench.txt           │
            │     sec/op     │   sec/op     vs base              │
NilPtr-4         2.181n ± 1%   2.179n ± 1%       ~ (p=0.329 n=7)
NotNilPtr-4      2.182n ± 4%   2.179n ± 1%       ~ (p=0.332 n=7)
geomean          2.181n        2.179n       -0.11%

            │ base-bench.txt │           head-bench.txt           │
            │      B/op      │    B/op     vs base                │
NilPtr-4        0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
NotNilPtr-4     0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
geomean                    ²               +0.00%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

            │ base-bench.txt │           head-bench.txt           │
            │   allocs/op    │ allocs/op   vs base                │
NilPtr-4        0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
NotNilPtr-4     0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
geomean                    ²               +0.00%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

@userzimmermann userzimmermann force-pushed the qodana-automation-1272366307 branch from 5f07222 to 86d4949 Compare October 1, 2025 06:29
@github-actions
Copy link

github-actions bot commented Oct 1, 2025

Benchmark comparison w/ base branch

goos: linux
goarch: amd64
pkg: github.com/zimmermanncode/go-require
cpu: AMD EPYC 7763 64-Core Processor                
            │ base-bench.txt │          head-bench.txt           │
            │     sec/op     │   sec/op     vs base              │
NilPtr-4         2.181n ± 4%   2.182n ± 0%       ~ (p=0.597 n=7)
NotNilPtr-4      2.181n ± 0%   2.181n ± 1%       ~ (p=0.977 n=7)
geomean          2.181n        2.181n       +0.02%

            │ base-bench.txt │           head-bench.txt           │
            │      B/op      │    B/op     vs base                │
NilPtr-4        0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
NotNilPtr-4     0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
geomean                    ²               +0.00%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

            │ base-bench.txt │           head-bench.txt           │
            │   allocs/op    │ allocs/op   vs base                │
NilPtr-4        0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
NotNilPtr-4     0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
geomean                    ²               +0.00%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

@github-actions
Copy link

github-actions bot commented Oct 1, 2025

Benchmark comparison w/ base branch

goos: linux
goarch: amd64
pkg: github.com/zimmermanncode/go-require
cpu: AMD EPYC 7763 64-Core Processor                
            │ base-bench.txt │          head-bench.txt           │
            │     sec/op     │   sec/op     vs base              │
NilPtr-4         2.181n ± 3%   2.183n ± 2%       ~ (p=0.470 n=7)
NotNilPtr-4      2.181n ± 0%   2.180n ± 0%       ~ (p=0.402 n=7)
geomean          2.181n        2.181n       +0.02%

            │ base-bench.txt │           head-bench.txt           │
            │      B/op      │    B/op     vs base                │
NilPtr-4        0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
NotNilPtr-4     0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
geomean                    ²               +0.00%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

            │ base-bench.txt │           head-bench.txt           │
            │   allocs/op    │ allocs/op   vs base                │
NilPtr-4        0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
NotNilPtr-4     0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
geomean                    ²               +0.00%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

* Added qodana.yaml & GitHub workflow.
* & addressed all linting problems.

Co-authored-by: Qodana Application <[email protected]>

Signed-off-by: Stefan Zimmermann <[email protected]>
@userzimmermann userzimmermann force-pushed the qodana-automation-1272366307 branch from ed96d3a to 016c560 Compare October 1, 2025 06:51
@github-actions
Copy link

github-actions bot commented Oct 1, 2025

Benchmark comparison w/ base branch

goos: linux
goarch: amd64
pkg: github.com/zimmermanncode/go-require
cpu: AMD EPYC 7763 64-Core Processor                
            │ base-bench.txt │          head-bench.txt           │
            │     sec/op     │   sec/op     vs base              │
NilPtr-4         2.179n ± 0%   2.180n ± 1%       ~ (p=0.396 n=7)
NotNilPtr-4      2.179n ± 0%   2.181n ± 0%       ~ (p=0.766 n=7)
geomean          2.179n        2.180n       +0.07%

            │ base-bench.txt │           head-bench.txt           │
            │      B/op      │    B/op     vs base                │
NilPtr-4        0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
NotNilPtr-4     0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
geomean                    ²               +0.00%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

            │ base-bench.txt │           head-bench.txt           │
            │   allocs/op    │ allocs/op   vs base                │
NilPtr-4        0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
NotNilPtr-4     0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=7) ¹
geomean                    ²               +0.00%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

@userzimmermann userzimmermann merged commit fb905a2 into main Oct 1, 2025
11 checks passed
@userzimmermann userzimmermann deleted the qodana-automation-1272366307 branch October 1, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants