Registry / utility / yagipy-maintidx

yagipy-maintidx

JSON →
library1.0.0gogounverified

A Go linter that calculates the maintainability index of Go functions and reports complex code.

go get github.com/yagipy/maintidx
INSTALL
IMPORT
SIG · YAGIPY-MAINTIDX
Y
yagipy-maintidx
utilitygov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

maintidx
github.com/yagipy/maintidx

Analyzes a Go file and prints its maintainability index.

package main import ( "fmt" "github.com/yagipy/maintidx" ) func main() { // Example: analyze a Go file result, err := maintidx.AnalyzeFile("example.go") if err != nil { panic(err) } fmt.Printf("Maintainability index: %d\n", result.Index) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
yagipy-maintidx — go get yagipy-maintidx · libregistry