Preparing report...

Report for github.com/howood/cryptotools

A+    Excellent!    Found 1 issues across 31 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


golint96%

Golint is a linter for Go source code.

    • cryptotools/internal/encrypter/edwards25519/edwards25519.go
    • Line 20: warning: exported function FeZero should have comment or be unexported (golint)
    • Line 24: warning: exported function FeOne should have comment or be unexported (golint)
    • Line 29: warning: exported function FeAdd should have comment or be unexported (golint)
    • Line 42: warning: exported function FeSub should have comment or be unexported (golint)
    • Line 55: warning: exported function FeCopy should have comment or be unexported (golint)
    • Line 59: warning: comment on exported function FeCMove should be of the form "FeCMove ..." (golint)
    • Line 94: warning: exported function FeFromBytes should have comment or be unexported (golint)
    • Line 221: warning: exported function FeIsNegative should have comment or be unexported (golint)
    • Line 227: warning: exported function FeIsNonZero should have comment or be unexported (golint)
    • Line 260: warning: exported function FeCombine should have comment or be unexported (golint)
    • Line 507: warning: exported function FeInvert should have comment or be unexported (golint)
    • Line 632: warning: exported type ProjectiveGroupElement should have comment or be unexported (golint)
    • Line 636: warning: exported type ExtendedGroupElement should have comment or be unexported (golint)
    • Line 640: warning: exported type CompletedGroupElement should have comment or be unexported (golint)
    • Line 644: warning: exported type PreComputedGroupElement should have comment or be unexported (golint)
    • Line 648: warning: exported type CachedGroupElement should have comment or be unexported (golint)
    • Line 652: warning: exported method ProjectiveGroupElement.Zero should have comment or be unexported (golint)
    • Line 658: warning: exported method ProjectiveGroupElement.Double should have comment or be unexported (golint)
    • Line 672: warning: exported method ProjectiveGroupElement.ToBytes should have comment or be unexported (golint)
    • Line 682: warning: exported method ExtendedGroupElement.Zero should have comment or be unexported (golint)
    • Line 689: warning: exported method ExtendedGroupElement.Double should have comment or be unexported (golint)
    • Line 695: warning: exported method ExtendedGroupElement.ToCached should have comment or be unexported (golint)
    • Line 702: warning: exported method ExtendedGroupElement.ToProjective should have comment or be unexported (golint)
    • Line 708: warning: exported method ExtendedGroupElement.ToBytes should have comment or be unexported (golint)
    • Line 718: warning: exported method ExtendedGroupElement.FromBytes should have comment or be unexported (golint)
    • Line 764: warning: exported method CompletedGroupElement.ToProjective should have comment or be unexported (golint)
    • Line 770: warning: exported method CompletedGroupElement.ToExtended should have comment or be unexported (golint)
    • Line 777: warning: exported method PreComputedGroupElement.Zero should have comment or be unexported (golint)
    • Line 943: warning: exported function PreComputedGroupElementCMove should have comment or be unexported (golint)
    • Line 1018: warning: comment on exported function ScMulAdd should be of the form "ScMulAdd ..." (golint)
    • Line 1451: warning: comment on exported function ScReduce should be of the form "ScReduce ..." (golint)

gocyclo100%

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.

No problems detected. Good job!


ineffassign96%

IneffAssign detects ineffectual assignments in Go code.

    • cryptotools/internal/encrypter/edwards25519/edwards25519.go
    • Line 1167: warning: ineffectual assignment to s23 (ineffassign)
    • Line 1175: warning: ineffectual assignment to s22 (ineffassign)
    • Line 1183: warning: ineffectual assignment to s21 (ineffassign)
    • Line 1191: warning: ineffectual assignment to s20 (ineffassign)
    • Line 1199: warning: ineffectual assignment to s19 (ineffassign)
    • Line 1207: warning: ineffectual assignment to s18 (ineffassign)
    • Line 1250: warning: ineffectual assignment to s17 (ineffassign)
    • Line 1258: warning: ineffectual assignment to s16 (ineffassign)
    • Line 1266: warning: ineffectual assignment to s15 (ineffassign)
    • Line 1274: warning: ineffectual assignment to s14 (ineffassign)
    • Line 1282: warning: ineffectual assignment to s13 (ineffassign)
    • Line 1381: warning: ineffectual assignment to s12 (ineffassign)
    • Line 1489: warning: ineffectual assignment to s23 (ineffassign)
    • Line 1497: warning: ineffectual assignment to s22 (ineffassign)
    • Line 1505: warning: ineffectual assignment to s21 (ineffassign)
    • Line 1513: warning: ineffectual assignment to s20 (ineffassign)
    • Line 1521: warning: ineffectual assignment to s19 (ineffassign)
    • Line 1529: warning: ineffectual assignment to s18 (ineffassign)
    • Line 1574: warning: ineffectual assignment to s17 (ineffassign)
    • Line 1582: warning: ineffectual assignment to s16 (ineffassign)
    • Line 1590: warning: ineffectual assignment to s15 (ineffassign)
    • Line 1598: warning: ineffectual assignment to s14 (ineffassign)
    • Line 1606: warning: ineffectual assignment to s13 (ineffassign)
    • Line 1705: warning: ineffectual assignment to s12 (ineffassign)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!