Preparing report...

Report for github.com/aidenesco/netroutine

A    Great!    Found 59 issues across 59 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!


golint0%

Golint is a linter for Go source code.

    • netroutine/BlockFlagVariables.go
    • Line 9: warning: exported type BlockFlagVariables should have comment or be unexported (golint)
    • Line 26: warning: exported method BlockFlagVariables.Run should have comment or be unexported (golint)
    • netroutine/BlockMathMultiply.go
    • Line 10: warning: exported type BlockMathMultiply should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockMathMultiply.Run should have comment or be unexported (golint)
    • netroutine/BlockParseHeader.go
    • Line 10: warning: exported type BlockParseHeader should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockParseHeader.Run should have comment or be unexported (golint)
    • netroutine/BlockSliceAppend.go
    • Line 14: warning: exported type BlockSliceAppend should have comment or be unexported (golint)
    • Line 31: warning: exported method BlockSliceAppend.Run should have comment or be unexported (golint)
    • netroutine/BlockURLDecode.go
    • Line 11: warning: exported type BlockURLDecode should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockURLDecode.Run should have comment or be unexported (golint)
    • netroutine/BlockUnix.go
    • Line 12: warning: exported type BlockUnix should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockUnix.Run should have comment or be unexported (golint)
    • netroutine/BlockUnixNano.go
    • Line 12: warning: exported type BlockUnixNano should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockUnixNano.Run should have comment or be unexported (golint)
    • netroutine/BlockBasicAuth.go
    • Line 11: warning: exported type BlockBasicAuth should have comment or be unexported (golint)
    • Line 29: warning: exported method BlockBasicAuth.Run should have comment or be unexported (golint)
    • netroutine/BlockMathAdd.go
    • Line 10: warning: exported type BlockMathAdd should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockMathAdd.Run should have comment or be unexported (golint)
    • netroutine/BlockMathFloor.go
    • Line 11: warning: exported type BlockMathFloor should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockMathFloor.Run should have comment or be unexported (golint)
    • netroutine/BlockParseJSON.go
    • Line 11: warning: exported type BlockParseJSON should have comment or be unexported (golint)
    • Line 30: warning: exported method BlockParseJSON.Run should have comment or be unexported (golint)
    • netroutine/BlockGenerateString.go
    • Line 18: warning: exported type BlockGenerateString should have comment or be unexported (golint)
    • Line 35: warning: exported method BlockGenerateString.Run should have comment or be unexported (golint)
    • netroutine/BlockMathTotal.go
    • Line 10: warning: exported type BlockMathTotal should have comment or be unexported (golint)
    • Line 27: warning: exported method BlockMathTotal.Run should have comment or be unexported (golint)
    • netroutine/BlockRequest.go
    • Line 17: warning: exported type BlockRequest should have comment or be unexported (golint)
    • Line 26: warning: exported type URLBuilder should have comment or be unexported (golint)
    • Line 32: warning: exported type HeaderBuilder should have comment or be unexported (golint)
    • Line 39: warning: exported type Key should have comment or be unexported (golint)
    • Line 57: warning: exported method BlockRequest.Run should have comment or be unexported (golint)
    • Line 142: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 160: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • netroutine/BlockParseLR.go
    • Line 11: warning: exported type BlockParseLR should have comment or be unexported (golint)
    • Line 31: warning: exported method BlockParseLR.Run should have comment or be unexported (golint)
    • netroutine/BlockRecaptcha.go
    • Line 11: warning: exported type BlockRecaptcha should have comment or be unexported (golint)
    • Line 29: warning: exported method BlockRecaptcha.Run should have comment or be unexported (golint)
    • netroutine/BlockTimeFromUnix.go
    • Line 11: warning: exported type BlockTimeFromUnix should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockTimeFromUnix.Run should have comment or be unexported (golint)
    • netroutine/BlockParseURL.go
    • Line 10: warning: exported type BlockParseURL should have comment or be unexported (golint)
    • Line 26: warning: exported method BlockParseURL.Run should have comment or be unexported (golint)
    • netroutine/BlockUUID.go
    • Line 11: warning: exported type BlockUUID should have comment or be unexported (golint)
    • Line 27: warning: exported method BlockUUID.Run should have comment or be unexported (golint)
    • netroutine/BlockUnixMilli.go
    • Line 12: warning: exported type BlockUnixMilli should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockUnixMilli.Run should have comment or be unexported (golint)
    • netroutine/BlockBodyToReader.go
    • Line 11: warning: exported type BlockBodyToReader should have comment or be unexported (golint)
    • Line 27: warning: exported method BlockBodyToReader.Run should have comment or be unexported (golint)
    • netroutine/BlockSetVariable.go
    • Line 10: warning: exported type BlockSetVariable should have comment or be unexported (golint)
    • Line 27: warning: exported method BlockSetVariable.Run should have comment or be unexported (golint)
    • netroutine/BlockTimeNowToVar.go
    • Line 11: warning: exported type BlockTimeNowToVar should have comment or be unexported (golint)
    • Line 27: warning: exported method BlockTimeNowToVar.Run should have comment or be unexported (golint)
    • netroutine/BlockURLEncodedBuilder.go
    • Line 11: warning: exported type BlockURLEncodedBuilder should have comment or be unexported (golint)
    • Line 16: warning: exported type URLEncodedValueBuilder should have comment or be unexported (golint)
    • Line 35: warning: exported method BlockURLEncodedBuilder.Run should have comment or be unexported (golint)
    • netroutine/BlockSliceMerge.go
    • Line 10: warning: exported type BlockSliceMerge should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockSliceMerge.Run should have comment or be unexported (golint)
    • netroutine/BlockToFloat.go
    • Line 10: warning: exported type BlockToFloat should have comment or be unexported (golint)
    • Line 27: warning: exported method BlockToFloat.Run should have comment or be unexported (golint)
    • netroutine/BlockURLEncode.go
    • Line 11: warning: exported type BlockURLEncode should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockURLEncode.Run should have comment or be unexported (golint)
    • netroutine/BlockFlagToStatus.go
    • Line 9: warning: exported type BlockFlagToStatus should have comment or be unexported (golint)
    • Line 27: warning: exported method BlockFlagToStatus.Run should have comment or be unexported (golint)
    • Line 40: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • netroutine/BlockMD5Hash.go
    • Line 12: warning: exported type BlockMD5Hash should have comment or be unexported (golint)
    • Line 29: warning: exported method BlockMD5Hash.Run should have comment or be unexported (golint)
    • netroutine/BlockParseRegex.go
    • Line 11: warning: exported type BlockParseRegex should have comment or be unexported (golint)
    • Line 29: warning: exported method BlockParseRegex.Run should have comment or be unexported (golint)
    • netroutine/Environment.go
    • Line 19: warning: exported type Environment should have comment or be unexported (golint)
    • Line 33: warning: exported type Result should have comment or be unexported (golint)
    • Line 39: warning: exported function AddUniversalEnvironmentOption should have comment or be unexported (golint)
    • Line 43: warning: exported type EnvironmentOption should have comment or be unexported (golint)
    • Line 45: warning: exported method Environment.CleanUp should have comment or be unexported (golint)
    • Line 58: warning: exported method Environment.ToResult should have comment or be unexported (golint)
    • Line 66: warning: exported method Environment.FullLogs should have comment or be unexported (golint)
    • Line 70: warning: exported method Environment.LastLog should have comment or be unexported (golint)
    • Line 78: warning: exported method Environment.StatusString should have comment or be unexported (golint)
    • Line 179: warning: exported function NewEnvironment should have comment or be unexported (golint)
    • Line 199: warning: exported function WithUniqueTransport should have comment or be unexported (golint)
    • Line 215: warning: exported function WithTransport should have comment or be unexported (golint)
    • Line 222: warning: exported function WithHTTPTimeout should have comment or be unexported (golint)
    • Line 229: warning: exported function WithProxyURL should have comment or be unexported (golint)
    • Line 247: warning: exported function WithProxyFunc should have comment or be unexported (golint)
    • Line 258: warning: exported function WithRetrySleep should have comment or be unexported (golint)
    • Line 265: warning: exported function WithRetryLimit should have comment or be unexported (golint)
    • Line 272: warning: exported function WithSecret should have comment or be unexported (golint)
    • Line 279: warning: exported function WithWorkingVar should have comment or be unexported (golint)
    • Line 286: warning: exported function WithExportVar should have comment or be unexported (golint)
    • netroutine/Routine.go
    • Line 12: warning: exported type Status should have comment or be unexported (golint)
    • Line 15: warning: exported const Success should have comment (or a comment on this block) or be unexported (golint)
    • Line 84: warning: exported type Routine should have comment or be unexported (golint)
    • Line 88: warning: exported type Runnable should have comment or be unexported (golint)
    • Line 100: warning: exported function RoutineFromBytes should have comment or be unexported (golint)
    • Line 129: warning: exported method Routine.ToBytes should have comment or be unexported (golint)
    • Line 143: warning: exported method Routine.Run should have comment or be unexported (golint)
    • Line 178: warning: exported method Routine.ToSum should have comment or be unexported (golint)
    • Line 187: warning: exported function NewRoutine should have comment or be unexported (golint)
    • netroutine/BlockMathDivide.go
    • Line 10: warning: exported type BlockMathDivide should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockMathDivide.Run should have comment or be unexported (golint)
    • netroutine/BlockRandomUA.go
    • Line 11: warning: exported type BlockRandomUA should have comment or be unexported (golint)
    • Line 27: warning: exported method BlockRandomUA.Run should have comment or be unexported (golint)
    • netroutine/BlockVarToCap.go
    • Line 10: warning: exported type BlockVarToCap should have comment or be unexported (golint)
    • Line 26: warning: exported method BlockVarToCap.Run should have comment or be unexported (golint)
    • netroutine/BlockMathCondition.go
    • Line 9: warning: exported type BlockMathCondition should have comment or be unexported (golint)
    • Line 29: warning: exported method BlockMathCondition.Run should have comment or be unexported (golint)
    • netroutine/BlockStringBuilder.go
    • Line 10: warning: exported type BlockStringBuilder should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockStringBuilder.Run should have comment or be unexported (golint)
    • netroutine/BlockBase64Encode.go
    • Line 11: warning: exported type BlockBase64Encode should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockBase64Encode.Run should have comment or be unexported (golint)
    • netroutine/BlockSetCookie.go
    • Line 12: warning: exported type BlockSetCookie should have comment or be unexported (golint)
    • Line 32: warning: exported method BlockSetCookie.Run should have comment or be unexported (golint)
    • netroutine/BlockSubroutine.go
    • Line 9: warning: exported type BlockSubroutine should have comment or be unexported (golint)
    • Line 52: warning: exported method BlockSubroutine.Run should have comment or be unexported (golint)
    • netroutine/BlockTimeFlagPassed.go
    • Line 11: warning: exported type BlockTimeFlagPassed should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockTimeFlagPassed.Run should have comment or be unexported (golint)
    • netroutine/BlockAppId.go
    • Line 12: warning: exported type BlockAppId should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockAppId.Run should have comment or be unexported (golint)
    • netroutine/BlockParseCookies.go
    • Line 11: warning: exported type BlockParseCookies should have comment or be unexported (golint)
    • Line 30: warning: exported method BlockParseCookies.Run should have comment or be unexported (golint)
    • netroutine/BlockRecaptchaV3.go
    • Line 11: warning: exported type BlockRecaptchaV3 should have comment or be unexported (golint)
    • Line 30: warning: exported method BlockRecaptchaV3.Run should have comment or be unexported (golint)
    • netroutine/BlockTimeAddDuration.go
    • Line 11: warning: exported type BlockTimeAddDuration should have comment or be unexported (golint)
    • Line 29: warning: exported method BlockTimeAddDuration.Run should have comment or be unexported (golint)
    • netroutine/BlockBase64Decode.go
    • Line 11: warning: exported type BlockBase64Decode should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockBase64Decode.Run should have comment or be unexported (golint)
    • netroutine/BlockJSONBuilder.go
    • Line 11: warning: exported type BlockJSONBuilder should have comment or be unexported (golint)
    • Line 16: warning: exported type JSONValueBuilder should have comment or be unexported (golint)
    • Line 35: warning: exported method BlockJSONBuilder.Run should have comment or be unexported (golint)
    • netroutine/BlockVarLenFilter.go
    • Line 9: warning: exported type BlockVarLenFilter should have comment or be unexported (golint)
    • Line 26: warning: exported method BlockVarLenFilter.Run should have comment or be unexported (golint)
    • netroutine/BlockSHA1Hash.go
    • Line 12: warning: exported type BlockSHA1Hash should have comment or be unexported (golint)
    • Line 29: warning: exported method BlockSHA1Hash.Run should have comment or be unexported (golint)
    • netroutine/BlockTimeToUnix.go
    • Line 11: warning: exported type BlockTimeToUnix should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockTimeToUnix.Run should have comment or be unexported (golint)
    • netroutine/BlockFlagToSubroutine.go
    • Line 9: warning: exported type BlockFlagToSubroutine should have comment or be unexported (golint)
    • Line 74: warning: exported method BlockFlagToSubroutine.Run should have comment or be unexported (golint)
    • Line 88: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • netroutine/BlockMathCeil.go
    • Line 11: warning: exported type BlockMathCeil should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockMathCeil.Run should have comment or be unexported (golint)
    • netroutine/BlockMathRound.go
    • Line 9: warning: exported const IDBlockMathRound should have comment or be unexported (golint)
    • Line 15: warning: exported type BlockMathRound should have comment or be unexported (golint)
    • Line 32: warning: exported method BlockMathRound.Run should have comment or be unexported (golint)
    • netroutine/BlockMathSubtract.go
    • Line 10: warning: exported type BlockMathSubtract should have comment or be unexported (golint)
    • Line 28: warning: exported method BlockMathSubtract.Run should have comment or be unexported (golint)

gocyclo94%

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.


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


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!