Preparing report...

Report for github.com/cklxx/Alex-Code

(v0.0.0-20250711170912-3204191b6151)

A    Great!    Found 32 issues across 79 files

Tweet

gofmt86%

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


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!


gocyclo73%

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.

    • pkg/types/types.go
    • Line 534: warning: cyclomatic complexity 30 of function gatherProjectSummary() is high (> 15) (gocyclo)
    • Line 315: warning: cyclomatic complexity 25 of function gatherDirectoryInfo() is high (> 15) (gocyclo)
    • Line 436: warning: cyclomatic complexity 18 of function generateDirectoryDescription() is high (> 15) (gocyclo)
    • cmd/cobra_cli.go
    • Line 254: warning: cyclomatic complexity 32 of function (*CLI).deepCodingStreamCallback() is high (> 15) (gocyclo)
    • internal/tools/builtin/file_operations.go
    • Line 497: warning: cyclomatic complexity 62 of function (*FileListTool).Execute() is high (> 15) (gocyclo)
    • Line 872: warning: cyclomatic complexity 25 of function getFileIcon() is high (> 15) (gocyclo)
    • Line 220: warning: cyclomatic complexity 22 of function (*FileUpdateTool).Execute() is high (> 15) (gocyclo)
    • benchmarks/swe_bench/config.go
    • Line 233: warning: cyclomatic complexity 25 of function (*ConfigManager).MergeConfigs() is high (> 15) (gocyclo)
    • Line 124: warning: cyclomatic complexity 22 of function (*ConfigManager).validateDatasetConfig() is high (> 15) (gocyclo)
    • internal/config/manager.go
    • Line 145: warning: cyclomatic complexity 19 of function (*Manager).Set() is high (> 15) (gocyclo)
    • Line 195: warning: cyclomatic complexity 16 of function (*Manager).setNestedValue() is high (> 15) (gocyclo)
    • cmd/modern_tui.go
    • Line 207: warning: cyclomatic complexity 33 of function (ModernChatModel).Update() is high (> 15) (gocyclo)
    • Line 370: warning: cyclomatic complexity 23 of function (ModernChatModel).processUserInput() is high (> 15) (gocyclo)

ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


license0%

Checks whether your project has a LICENSE file.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!