Preparing report...

Report for github.com/vkcom/noverify

A+    Excellent!    Found 73 issues across 220 files

Tweet

gofmt99%

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!


golint74%

Golint is a linter for Go source code.

    • noverify/src/phpdoc/parser.go
    • Line 11: warning: exported type Comment should have comment or be unexported (golint)
    • Line 17: warning: exported type CommentPart should have comment or be unexported (golint)
    • Line 22: warning: exported type RawCommentPart should have comment or be unexported (golint)
    • Line 29: warning: exported method RawCommentPart.Line should have comment or be unexported (golint)
    • Line 30: warning: exported method RawCommentPart.Name should have comment or be unexported (golint)
    • Line 32: warning: exported type TypeCommentPart should have comment or be unexported (golint)
    • Line 39: warning: exported method TypeCommentPart.Line should have comment or be unexported (golint)
    • Line 40: warning: exported method TypeCommentPart.Name should have comment or be unexported (golint)
    • Line 42: warning: exported type TypeVarCommentPart should have comment or be unexported (golint)
    • Line 51: warning: exported method TypeVarCommentPart.Line should have comment or be unexported (golint)
    • Line 52: warning: exported method TypeVarCommentPart.Name should have comment or be unexported (golint)
    • noverify/src/linttest/golden_linttest.go
    • Line 21: warning: exported type GoldenTestSuite should have comment or be unexported (golint)
    • Line 89: warning: exported method GoldenTestSuite.AddDeps should have comment or be unexported (golint)
    • Line 93: warning: exported method GoldenTestSuite.AddDisabled should have comment or be unexported (golint)
    • Line 97: warning: exported method GoldenTestSuite.Run should have comment or be unexported (golint)
    • Line 186: warning: exported type CommandE2ETestSuite should have comment or be unexported (golint)
    • Line 206: warning: exported type GoldenE2ETestSuite should have comment or be unexported (golint)
    • Line 215: warning: exported function NewGoldenE2ETestSuite should have comment or be unexported (golint)
    • Line 222: warning: exported method GoldenE2ETestSuite.RegisterTest should have comment or be unexported (golint)
    • Line 226: warning: exported method GoldenE2ETestSuite.Run should have comment or be unexported (golint)
    • Line 239: warning: exported method GoldenE2ETestSuite.BuildNoVerify should have comment or be unexported (golint)
    • Line 252: warning: exported method GoldenE2ETestSuite.RemoveNoVerify should have comment or be unexported (golint)
    • Line 256: warning: exported method GoldenE2ETestSuite.RemoveTestsFiles should have comment or be unexported (golint)
    • Line 269: warning: exported method GoldenE2ETestSuite.RunOnlyTests should have comment or be unexported (golint)
    • Line 334: warning: exported method GoldenE2ETestSuite.RegisterCommandTest should have comment or be unexported (golint)
    • Line 339: warning: exported method GoldenE2ETestSuite.RunCommandsTest should have comment or be unexported (golint)
    • noverify/src/ir/node_types.go
    • Line 1401: warning: exported type TraitMethodRefStmt should have comment or be unexported (golint)
    • Line 1407: warning: exported type TraitUseStmt should have comment or be unexported (golint)
    • Line 1418: warning: exported type TraitUseAliasStmt should have comment or be unexported (golint)
    • Line 1428: warning: exported type TraitUsePrecedenceStmt should have comment or be unexported (golint)
    • Line 1461: warning: exported type UseStmt should have comment or be unexported (golint)
    • Line 1470: warning: exported type UseListStmt should have comment or be unexported (golint)
    • noverify/src/meta/metainfo.go
    • Line 8: warning: exported type FuncFlags should have comment or be unexported (golint)
    • Line 11: warning: exported const FuncStatic should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported type PropertyFlags should have comment or be unexported (golint)
    • Line 26: warning: exported type PhpDocInfo should have comment or be unexported (golint)
    • Line 31: warning: exported type AccessLevel should have comment or be unexported (golint)
    • Line 34: warning: exported const Public should have comment (or a comment on this block) or be unexported (golint)
    • Line 60: warning: exported type FuncParam should have comment or be unexported (golint)
    • Line 66: warning: exported type FuncInfo should have comment or be unexported (golint)
    • Line 78: warning: exported method FuncInfo.IsStatic should have comment or be unexported (golint)
    • Line 79: warning: exported method FuncInfo.IsAbstract should have comment or be unexported (golint)
    • Line 80: warning: exported method FuncInfo.IsPure should have comment or be unexported (golint)
    • Line 81: warning: exported method FuncInfo.IsFromAnnotation should have comment or be unexported (golint)
    • Line 83: warning: exported type OverrideType should have comment or be unexported (golint)
    • Line 96: warning: exported type OverrideProperties should have comment or be unexported (golint)
    • Line 115: warning: exported type PropertyInfo should have comment or be unexported (golint)
    • Line 122: warning: exported method PropertyInfo.IsFromAnnotation should have comment or be unexported (golint)
    • Line 124: warning: exported type ConstInfo should have comment or be unexported (golint)
    • Line 131: warning: exported type ClassFlags should have comment or be unexported (golint)
    • Line 134: warning: exported const ClassAbstract should have comment (or a comment on this block) or be unexported (golint)
    • Line 139: warning: exported type ClassInfo should have comment or be unexported (golint)
    • Line 153: warning: exported method ClassInfo.IsAbstract should have comment or be unexported (golint)
    • Line 154: warning: exported method ClassInfo.IsShape should have comment or be unexported (golint)
    • Line 156: warning: comment on exported type ClassParseState should be of the form "ClassParseState ..." (with optional leading article) (golint)
    • Line 171: warning: exported type FunctionsOverrideMap should have comment or be unexported (golint)
    • Line 172: warning: exported type PropertiesMap should have comment or be unexported (golint)
    • Line 173: warning: exported type ConstantsMap should have comment or be unexported (golint)
    • Line 175: warning: exported type ElementPosition should have comment or be unexported (golint)
    • noverify/src/phpgrep/phpgrep.go
    • Line 32: warning: exported type CapturedNode should have comment or be unexported (golint)
    • Line 37: warning: exported type MatchData should have comment or be unexported (golint)
    • Line 42: warning: exported method MatchData.CapturedByName should have comment or be unexported (golint)
    • noverify/src/cmd/main.go
    • Line 270: warning: exported function FormatReport should have comment or be unexported (golint)
    • Line 386: warning: exported function LoadEmbeddedStubs should have comment or be unexported (golint)
    • noverify/src/cmd/flags.go
    • Line 11: warning: exported const AllNonNoticeChecks should have comment or be unexported (golint)
    • Line 12: warning: exported const AllChecks should have comment or be unexported (golint)
    • Line 14: warning: exported type ParsedFlags should have comment or be unexported (golint)
    • Line 86: warning: exported function DefaultCacheDir should have comment or be unexported (golint)
    • Line 96: warning: exported function RegisterCheckFlags should have comment or be unexported (golint)
    • noverify/src/meta/case_insensitive_map.go
    • Line 11: warning: exported type ClassesMap should have comment or be unexported (golint)
    • Line 15: warning: exported function NewClassesMap should have comment or be unexported (golint)
    • Line 19: warning: exported method ClassesMap.Len should have comment or be unexported (golint)
    • Line 20: warning: exported method ClassesMap.Delete should have comment or be unexported (golint)
    • Line 22: warning: exported method ClassesMap.Get should have comment or be unexported (golint)
    • Line 27: warning: exported method ClassesMap.Set should have comment or be unexported (golint)
    • Line 31: warning: exported type FunctionsMap should have comment or be unexported (golint)
    • Line 35: warning: exported function NewFunctionsMap should have comment or be unexported (golint)
    • Line 39: warning: exported method FunctionsMap.Len should have comment or be unexported (golint)
    • Line 40: warning: exported method FunctionsMap.Delete should have comment or be unexported (golint)
    • Line 42: warning: exported method FunctionsMap.Get should have comment or be unexported (golint)
    • Line 47: warning: exported method FunctionsMap.Set should have comment or be unexported (golint)
    • noverify/src/linttest/linttest.go
    • Line 248: warning: exported type RunResult should have comment or be unexported (golint)
    • Line 341: warning: exported function ParseTestFile should have comment or be unexported (golint)
    • Line 360: warning: exported function FindPHPFiles should have comment or be unexported (golint)
    • Line 391: warning: exported method Suite.UseConfig should have comment or be unexported (golint)
    • Line 396: warning: exported method Suite.UseLinter should have comment or be unexported (golint)
    • Line 401: warning: exported method Suite.Linter should have comment or be unexported (golint)
    • Line 405: warning: exported method Suite.Config should have comment or be unexported (golint)
    • Line 409: warning: exported method Suite.IgnoreUndeclaredChecks should have comment or be unexported (golint)
    • noverify/src/solver/closure.go
    • Line 21: warning: exported function IsSupportedFunction should have comment or be unexported (golint)
    • Line 32: warning: exported function GetClosure should have comment or be unexported (golint)
    • noverify/src/phpdoc/type_parser.go
    • Line 3: warning: exported type ExprShape should have comment or be unexported (golint)
    • Line 5: warning: exported type ExprKind should have comment or be unexported (golint)
    • Line 7: warning: exported type Type should have comment or be unexported (golint)
    • Line 12: warning: exported method Type.Clone should have comment or be unexported (golint)
    • Line 18: warning: exported method Type.IsEmpty should have comment or be unexported (golint)
    • Line 20: warning: exported type TypeExpr should have comment or be unexported (golint)
    • Line 29: warning: exported method TypeExpr.Clone should have comment or be unexported (golint)
    • Line 131: warning: exported const ShapeDefault should have comment (or a comment on this block) or be unexported (golint)
    • Line 155: warning: exported type TypeParser should have comment or be unexported (golint)
    • Line 165: warning: exported function NewTypeParser should have comment or be unexported (golint)
    • Line 171: warning: exported method TypeParser.Parse should have comment or be unexported (golint)
    • noverify/src/workspace/filename_filter.go
    • Line 9: warning: exported type FilenameFilter should have comment or be unexported (golint)
    • Line 17: warning: exported function NewFilenameFilter should have comment or be unexported (golint)
    • Line 24: warning: exported method FilenameFilter.EnableGitignore should have comment or be unexported (golint)
    • Line 26: warning: exported method FilenameFilter.GitignoreIsEnabled should have comment or be unexported (golint)
    • Line 28: warning: exported method FilenameFilter.InitialGitignorePush should have comment or be unexported (golint)
    • Line 36: warning: exported method FilenameFilter.GitignorePush should have comment or be unexported (golint)
    • Line 46: warning: exported method FilenameFilter.GitignorePop should have comment or be unexported (golint)
    • Line 56: warning: exported method FilenameFilter.IgnoreFile should have comment or be unexported (golint)
    • Line 60: warning: exported method FilenameFilter.IgnoreDir should have comment or be unexported (golint)
    • noverify/src/cmd/command.go
    • Line 7: warning: exported type Argument should have comment or be unexported (golint)
    • Line 12: warning: exported type Example should have comment or be unexported (golint)
    • Line 17: warning: exported type Command should have comment or be unexported (golint)
    • noverify/src/rules/rules.go
    • Line 11: warning: exported type Parser should have comment or be unexported (golint)
    • Line 13: warning: exported function NewParser should have comment or be unexported (golint)
    • Line 17: warning: exported method Parser.Parse should have comment or be unexported (golint)
    • Line 50: warning: exported method ScopedSet.Add should have comment or be unexported (golint)
    • Line 55: warning: exported method ScopedSet.Set should have comment or be unexported (golint)
    • Line 60: warning: exported type RuleDoc should have comment or be unexported (golint)
    • noverify/src/types/predicates.go
    • Line 7: warning: exported function IsClass should have comment or be unexported (golint)
    • Line 11: warning: exported function IsShape should have comment or be unexported (golint)
    • Line 15: warning: exported function IsClosure should have comment or be unexported (golint)
    • Line 19: warning: exported function IsArray should have comment or be unexported (golint)
    • Line 23: warning: exported function IsTrivial should have comment or be unexported (golint)
    • Line 27: warning: exported function IsAlias should have comment or be unexported (golint)
    • Line 32: warning: exported function Alias should have comment or be unexported (golint)
    • Line 37: warning: exported function ArrayType should have comment or be unexported (golint)
    • noverify/src/ir/irconv/irconv.go
    • Line 16: warning: exported function ConvertNode should have comment or be unexported (golint)
    • Line 21: warning: exported type Converter should have comment or be unexported (golint)
    • Line 39: warning: exported method Converter.ConvertRoot should have comment or be unexported (golint)
    • Line 43: warning: exported method Converter.ConvertNode should have comment or be unexported (golint)
    • noverify/src/linter/conf.go
    • Line 16: warning: exported type Config should have comment or be unexported (golint)
    • Line 69: warning: exported function NewConfig should have comment or be unexported (golint)
    • noverify/src/meta/info.go
    • Line 33: warning: exported function NewInfo should have comment or be unexported (golint)
    • Line 49: warning: exported method Info.OnIndexingComplete should have comment or be unexported (golint)
    • Line 69: warning: exported method Info.IsIndexingComplete should have comment or be unexported (golint)
    • Line 73: warning: exported method Info.SetIndexingComplete should have comment or be unexported (golint)
    • Line 83: warning: exported method Info.GetConstant should have comment or be unexported (golint)
    • Line 88: warning: exported method Info.NumConstants should have comment or be unexported (golint)
    • Line 92: warning: exported method Info.GetClass should have comment or be unexported (golint)
    • Line 96: warning: exported method Info.GetTrait should have comment or be unexported (golint)
    • Line 100: warning: exported method Info.GetClassOrTrait should have comment or be unexported (golint)
    • Line 109: warning: exported method Info.NumClasses should have comment or be unexported (golint)
    • Line 113: warning: exported method Info.GetFunction should have comment or be unexported (golint)
    • Line 118: warning: exported method Info.GetFunctionOverride should have comment or be unexported (golint)
    • Line 123: warning: exported method Info.NumFunctions should have comment or be unexported (golint)
    • Line 127: warning: exported method Info.NumFilesWithFunctions should have comment or be unexported (golint)
    • Line 131: warning: exported method Info.FindFunctions should have comment or be unexported (golint)
    • Line 140: warning: exported method Info.FindConstants should have comment or be unexported (golint)
    • Line 149: warning: exported method Info.InitKphpStubs should have comment or be unexported (golint)
    • Line 248: warning: exported method Info.InitStubs should have comment or be unexported (golint)
    • Line 276: warning: exported method Info.AddFilenameNonLocked should have comment or be unexported (golint)
    • Line 280: warning: exported method Info.FileExists should have comment or be unexported (golint)
    • Line 284: warning: exported method Info.GetMetaForFile should have comment or be unexported (golint)
    • Line 304: warning: exported method Info.DeleteMetaForFileNonLocked should have comment or be unexported (golint)
    • Line 342: warning: exported method Info.AddClassesNonLocked should have comment or be unexported (golint)
    • Line 354: warning: exported method Info.AddTraitsNonLocked should have comment or be unexported (golint)
    • Line 366: warning: exported method Info.AddFunctionsNonLocked should have comment or be unexported (golint)
    • Line 378: warning: exported method Info.AddFunctionsOverridesNonLocked should have comment or be unexported (golint)
    • Line 386: warning: exported method Info.AddConstantsNonLocked should have comment or be unexported (golint)
    • Line 398: warning: exported method Info.AddToGlobalScopeNonLocked should have comment or be unexported (golint)
    • Line 404: warning: exported method Info.IsInternalClass should have comment or be unexported (golint)
    • Line 409: warning: exported method Info.GetInternalFunctionInfo should have comment or be unexported (golint)
    • Line 413: warning: exported method Info.GetInternalFunctionOverrideInfo should have comment or be unexported (golint)
    • noverify/src/workspace/file.go
    • Line 34: warning: exported function NewFile should have comment or be unexported (golint)
    • Line 46: warning: exported method File.Name should have comment or be unexported (golint)
    • Line 50: warning: exported method File.NumLines should have comment or be unexported (golint)
    • Line 54: warning: exported method File.Line should have comment or be unexported (golint)
    • Line 62: warning: exported method File.NumLinesPosition should have comment or be unexported (golint)
    • Line 66: warning: exported method File.LinePosition should have comment or be unexported (golint)
    • Line 73: warning: exported method File.Contents should have comment or be unexported (golint)
    • Line 77: warning: exported method File.AutoGenerated should have comment or be unexported (golint)
    • Line 92: warning: exported function FileIsAutoGenerated should have comment or be unexported (golint)
    • noverify/src/vscode/params.go
    • Line 5: warning: exported type Capability should have comment or be unexported (golint)
    • Line 12: warning: exported type WorkspaceCapabilities should have comment or be unexported (golint)
    • Line 20: warning: exported type TextDocumentCapabilities should have comment or be unexported (golint)
    • Line 38: warning: exported type CapabilitiesSections should have comment or be unexported (golint)
    • Line 43: warning: exported type TextDocumentDidOpenParams should have comment or be unexported (golint)
    • Line 52: warning: exported type InitializeParams should have comment or be unexported (golint)
    • Line 60: warning: exported type ContentChange should have comment or be unexported (golint)
    • Line 64: warning: exported type TextDocumentDidChangeParams should have comment or be unexported (golint)
    • Line 72: warning: exported type DefinitionParams should have comment or be unexported (golint)
    • Line 79: warning: exported type ReferencesParams should have comment or be unexported (golint)
    • Line 90: warning: exported const Created should have comment (or a comment on this block) or be unexported (golint)
    • Line 95: warning: exported type FileEvent should have comment or be unexported (golint)
    • Line 100: warning: exported type DidChangeWatchedFilesParams should have comment or be unexported (golint)
    • noverify/src/types/lazy.go
    • Line 172: warning: exported function WrapBaseMethodParam should have comment or be unexported (golint)
    • Line 176: warning: exported function UnwrapBaseMethodParam should have comment or be unexported (golint)
    • Line 180: warning: exported function WrapStaticMethodCall should have comment or be unexported (golint)
    • Line 184: warning: exported function UnwrapStaticMethodCall should have comment or be unexported (golint)
    • Line 188: warning: exported function WrapInstanceMethodCall should have comment or be unexported (golint)
    • Line 192: warning: exported function UnwrapInstanceMethodCall should have comment or be unexported (golint)
    • Line 196: warning: exported function WrapClassConstFetch should have comment or be unexported (golint)
    • Line 200: warning: exported function UnwrapClassConstFetch should have comment or be unexported (golint)
    • Line 204: warning: exported function WrapStaticPropertyFetch should have comment or be unexported (golint)
    • Line 211: warning: exported function UnwrapStaticPropertyFetch should have comment or be unexported (golint)
    • Line 215: warning: exported function WrapInstancePropertyFetch should have comment or be unexported (golint)
    • Line 219: warning: exported function UnwrapInstancePropertyFetch should have comment or be unexported (golint)
    • Line 223: warning: exported function WrapFunctionCall should have comment or be unexported (golint)
    • Line 227: warning: exported function UnwrapFunctionCall should have comment or be unexported (golint)
    • Line 231: warning: exported function WrapArrayOf should have comment or be unexported (golint)
    • Line 235: warning: exported function UnwrapArrayOf should have comment or be unexported (golint)
    • Line 239: warning: exported function WrapArray2 should have comment or be unexported (golint)
    • Line 244: warning: exported function WrapElemOf should have comment or be unexported (golint)
    • Line 253: warning: exported function UnwrapElemOf should have comment or be unexported (golint)
    • Line 257: warning: exported function WrapElemOfKey should have comment or be unexported (golint)
    • Line 264: warning: exported function UnwrapElemOfKey should have comment or be unexported (golint)
    • Line 268: warning: exported function WrapGlobal should have comment or be unexported (golint)
    • Line 272: warning: exported function UnwrapGlobal should have comment or be unexported (golint)
    • Line 276: warning: exported function WrapConstant should have comment or be unexported (golint)
    • Line 280: warning: exported function UnwrapConstant should have comment or be unexported (golint)
    • Line 284: warning: exported function FormatType should have comment or be unexported (golint)
    • noverify/src/linter/linter.go
    • Line 13: warning: exported type Linter should have comment or be unexported (golint)
    • Line 19: warning: exported function NewLinter should have comment or be unexported (golint)
    • Line 26: warning: exported method Linter.Config should have comment or be unexported (golint)
    • Line 30: warning: exported method Linter.MetaInfo should have comment or be unexported (golint)
    • Line 34: warning: exported method Linter.NewLintingWorker should have comment or be unexported (golint)
    • Line 40: warning: exported method Linter.NewIndexingWorker should have comment or be unexported (golint)
    • Line 106: warning: exported method Linter.InitStubs should have comment or be unexported (golint)
    • noverify/src/cmd/stubs/phpstorm_stubs.go
    • Line 432: warning: don't use underscores in Go names; var _stubsPhpstormStubsPhp_cs should be _stubsPhpstormStubsPhpCs (golint)
    • Line 434: warning: don't use underscores in Go names; func stubsPhpstormStubsPhp_csBytes should be stubsPhpstormStubsPhpCsBytes (golint)
    • Line 441: warning: don't use underscores in Go names; func stubsPhpstormStubsPhp_cs should be stubsPhpstormStubsPhpCs (golint)
    • Line 512: warning: don't use underscores in Go names; var _stubsPhpstormStubsCoreCore_cPhp should be _stubsPhpstormStubsCoreCoreCPhp (golint)
    • Line 514: warning: don't use underscores in Go names; func stubsPhpstormStubsCoreCore_cPhpBytes should be stubsPhpstormStubsCoreCoreCPhpBytes (golint)
    • Line 521: warning: don't use underscores in Go names; func stubsPhpstormStubsCoreCore_cPhp should be stubsPhpstormStubsCoreCoreCPhp (golint)
    • Line 532: warning: don't use underscores in Go names; var _stubsPhpstormStubsCoreCore_dPhp should be _stubsPhpstormStubsCoreCoreDPhp (golint)
    • Line 534: warning: don't use underscores in Go names; func stubsPhpstormStubsCoreCore_dPhpBytes should be stubsPhpstormStubsCoreCoreDPhpBytes (golint)
    • Line 541: warning: don't use underscores in Go names; func stubsPhpstormStubsCoreCore_dPhp should be stubsPhpstormStubsCoreCoreDPhp (golint)
    • Line 1292: warning: don't use underscores in Go names; var _stubsPhpstormStubsSplSpl_c1Php should be _stubsPhpstormStubsSplSplC1Php (golint)
    • Line 1294: warning: don't use underscores in Go names; func stubsPhpstormStubsSplSpl_c1PhpBytes should be stubsPhpstormStubsSplSplC1PhpBytes (golint)
    • Line 1301: warning: don't use underscores in Go names; func stubsPhpstormStubsSplSpl_c1Php should be stubsPhpstormStubsSplSplC1Php (golint)
    • Line 1312: warning: don't use underscores in Go names; var _stubsPhpstormStubsSplSpl_fPhp should be _stubsPhpstormStubsSplSplFPhp (golint)
    • Line 1314: warning: don't use underscores in Go names; func stubsPhpstormStubsSplSpl_fPhpBytes should be stubsPhpstormStubsSplSplFPhpBytes (golint)
    • Line 1321: warning: don't use underscores in Go names; func stubsPhpstormStubsSplSpl_fPhp should be stubsPhpstormStubsSplSplFPhp (golint)
    • Line 1672: warning: don't use underscores in Go names; var _stubsPhpstormStubsCom_dotnetCom_dotnetPhp should be _stubsPhpstormStubsComDotnetComDotnetPhp (golint)
    • Line 1674: warning: don't use underscores in Go names; func stubsPhpstormStubsCom_dotnetCom_dotnetPhpBytes should be stubsPhpstormStubsComDotnetComDotnetPhpBytes (golint)
    • Line 1681: warning: don't use underscores in Go names; func stubsPhpstormStubsCom_dotnetCom_dotnetPhp should be stubsPhpstormStubsComDotnetComDotnetPhp (golint)
    • Line 1832: warning: don't use underscores in Go names; var _stubsPhpstormStubsCurlCurl_dPhp should be _stubsPhpstormStubsCurlCurlDPhp (golint)
    • Line 1834: warning: don't use underscores in Go names; func stubsPhpstormStubsCurlCurl_dPhpBytes should be stubsPhpstormStubsCurlCurlDPhpBytes (golint)
    • Line 1841: warning: don't use underscores in Go names; func stubsPhpstormStubsCurlCurl_dPhp should be stubsPhpstormStubsCurlCurlDPhp (golint)
    • Line 1872: warning: don't use underscores in Go names; var _stubsPhpstormStubsDateDate_cPhp should be _stubsPhpstormStubsDateDateCPhp (golint)
    • Line 1874: warning: don't use underscores in Go names; func stubsPhpstormStubsDateDate_cPhpBytes should be stubsPhpstormStubsDateDateCPhpBytes (golint)
    • Line 1881: warning: don't use underscores in Go names; func stubsPhpstormStubsDateDate_cPhp should be stubsPhpstormStubsDateDateCPhp (golint)
    • Line 1892: warning: don't use underscores in Go names; var _stubsPhpstormStubsDateDate_dPhp should be _stubsPhpstormStubsDateDateDPhp (golint)
    • Line 1894: warning: don't use underscores in Go names; func stubsPhpstormStubsDateDate_dPhpBytes should be stubsPhpstormStubsDateDateDPhpBytes (golint)
    • Line 1901: warning: don't use underscores in Go names; func stubsPhpstormStubsDateDate_dPhp should be stubsPhpstormStubsDateDateDPhp (golint)
    • Line 1992: warning: don't use underscores in Go names; var _stubsPhpstormStubsDomDom_cPhp should be _stubsPhpstormStubsDomDomCPhp (golint)
    • Line 1994: warning: don't use underscores in Go names; func stubsPhpstormStubsDomDom_cPhpBytes should be stubsPhpstormStubsDomDomCPhpBytes (golint)
    • Line 2001: warning: don't use underscores in Go names; func stubsPhpstormStubsDomDom_cPhp should be stubsPhpstormStubsDomDomCPhp (golint)
    • Line 2492: warning: don't use underscores in Go names; var _stubsPhpstormStubsIbm_db2Ibm_db2Php should be _stubsPhpstormStubsIbmDb2IbmDb2Php (golint)
    • Line 2494: warning: don't use underscores in Go names; func stubsPhpstormStubsIbm_db2Ibm_db2PhpBytes should be stubsPhpstormStubsIbmDb2IbmDb2PhpBytes (golint)
    • Line 2501: warning: don't use underscores in Go names; func stubsPhpstormStubsIbm_db2Ibm_db2Php should be stubsPhpstormStubsIbmDb2IbmDb2Php (golint)
    • Line 3172: warning: don't use underscores in Go names; var _stubsPhpstormStubsMysql_xdevapiMysql_xdevapiPhp should be _stubsPhpstormStubsMysqlXdevapiMysqlXdevapiPhp (golint)
    • Line 3174: warning: don't use underscores in Go names; func stubsPhpstormStubsMysql_xdevapiMysql_xdevapiPhpBytes should be stubsPhpstormStubsMysqlXdevapiMysqlXdevapiPhpBytes (golint)
    • Line 3181: warning: don't use underscores in Go names; func stubsPhpstormStubsMysql_xdevapiMysql_xdevapiPhp should be stubsPhpstormStubsMysqlXdevapiMysqlXdevapiPhp (golint)
    • Line 4172: warning: don't use underscores in Go names; var _stubsPhpstormStubsPdo_ibmPdo_ibmPhp should be _stubsPhpstormStubsPdoIbmPdoIbmPhp (golint)
    • Line 4174: warning: don't use underscores in Go names; func stubsPhpstormStubsPdo_ibmPdo_ibmPhpBytes should be stubsPhpstormStubsPdoIbmPdoIbmPhpBytes (golint)
    • Line 4181: warning: don't use underscores in Go names; func stubsPhpstormStubsPdo_ibmPdo_ibmPhp should be stubsPhpstormStubsPdoIbmPdoIbmPhp (golint)
    • Line 4192: warning: don't use underscores in Go names; var _stubsPhpstormStubsPdo_mysqlPdo_mysqlPhp should be _stubsPhpstormStubsPdoMysqlPdoMysqlPhp (golint)
    • Line 4194: warning: don't use underscores in Go names; func stubsPhpstormStubsPdo_mysqlPdo_mysqlPhpBytes should be stubsPhpstormStubsPdoMysqlPdoMysqlPhpBytes (golint)
    • Line 4201: warning: don't use underscores in Go names; func stubsPhpstormStubsPdo_mysqlPdo_mysqlPhp should be stubsPhpstormStubsPdoMysqlPdoMysqlPhp (golint)
    • Line 4212: warning: don't use underscores in Go names; var _stubsPhpstormStubsPdo_pgsqlPdo_pgsqlPhp should be _stubsPhpstormStubsPdoPgsqlPdoPgsqlPhp (golint)
    • Line 4214: warning: don't use underscores in Go names; func stubsPhpstormStubsPdo_pgsqlPdo_pgsqlPhpBytes should be stubsPhpstormStubsPdoPgsqlPdoPgsqlPhpBytes (golint)
    • Line 4221: warning: don't use underscores in Go names; func stubsPhpstormStubsPdo_pgsqlPdo_pgsqlPhp should be stubsPhpstormStubsPdoPgsqlPdoPgsqlPhp (golint)
    • Line 4232: warning: don't use underscores in Go names; var _stubsPhpstormStubsPdo_sqlitePdo_sqlitePhp should be _stubsPhpstormStubsPdoSqlitePdoSqlitePhp (golint)
    • Line 4234: warning: don't use underscores in Go names; func stubsPhpstormStubsPdo_sqlitePdo_sqlitePhpBytes should be stubsPhpstormStubsPdoSqlitePdoSqlitePhpBytes (golint)
    • Line 4241: warning: don't use underscores in Go names; func stubsPhpstormStubsPdo_sqlitePdo_sqlitePhp should be stubsPhpstormStubsPdoSqlitePdoSqlitePhp (golint)
    • Line 5672: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandard_standard_manualPhp should be _stubsPhpstormStubsStandardStandardManualPhp (golint)
    • Line 5674: warning: don't use underscores in Go names; func stubsPhpstormStubsStandard_standard_manualPhpBytes should be stubsPhpstormStubsStandardStandardManualPhpBytes (golint)
    • Line 5681: warning: don't use underscores in Go names; func stubsPhpstormStubsStandard_standard_manualPhp should be stubsPhpstormStubsStandardStandardManualPhp (golint)
    • Line 5692: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandard_typesPhp should be _stubsPhpstormStubsStandardTypesPhp (golint)
    • Line 5694: warning: don't use underscores in Go names; func stubsPhpstormStubsStandard_typesPhpBytes should be stubsPhpstormStubsStandardTypesPhpBytes (golint)
    • Line 5701: warning: don't use underscores in Go names; func stubsPhpstormStubsStandard_typesPhp should be stubsPhpstormStubsStandardTypesPhp (golint)
    • Line 5752: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandardStandard_0Php should be _stubsPhpstormStubsStandardStandard0Php (golint)
    • Line 5754: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_0PhpBytes should be stubsPhpstormStubsStandardStandard0PhpBytes (golint)
    • Line 5761: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_0Php should be stubsPhpstormStubsStandardStandard0Php (golint)
    • Line 5772: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandardStandard_1Php should be _stubsPhpstormStubsStandardStandard1Php (golint)
    • Line 5774: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_1PhpBytes should be stubsPhpstormStubsStandardStandard1PhpBytes (golint)
    • Line 5781: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_1Php should be stubsPhpstormStubsStandardStandard1Php (golint)
    • Line 5792: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandardStandard_2Php should be _stubsPhpstormStubsStandardStandard2Php (golint)
    • Line 5794: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_2PhpBytes should be stubsPhpstormStubsStandardStandard2PhpBytes (golint)
    • Line 5801: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_2Php should be stubsPhpstormStubsStandardStandard2Php (golint)
    • Line 5812: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandardStandard_3Php should be _stubsPhpstormStubsStandardStandard3Php (golint)
    • Line 5814: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_3PhpBytes should be stubsPhpstormStubsStandardStandard3PhpBytes (golint)
    • Line 5821: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_3Php should be stubsPhpstormStubsStandardStandard3Php (golint)
    • Line 5832: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandardStandard_4Php should be _stubsPhpstormStubsStandardStandard4Php (golint)
    • Line 5834: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_4PhpBytes should be stubsPhpstormStubsStandardStandard4PhpBytes (golint)
    • Line 5841: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_4Php should be stubsPhpstormStubsStandardStandard4Php (golint)
    • Line 5852: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandardStandard_5Php should be _stubsPhpstormStubsStandardStandard5Php (golint)
    • Line 5854: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_5PhpBytes should be stubsPhpstormStubsStandardStandard5PhpBytes (golint)
    • Line 5861: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_5Php should be stubsPhpstormStubsStandardStandard5Php (golint)
    • Line 5872: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandardStandard_6Php should be _stubsPhpstormStubsStandardStandard6Php (golint)
    • Line 5874: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_6PhpBytes should be stubsPhpstormStubsStandardStandard6PhpBytes (golint)
    • Line 5881: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_6Php should be stubsPhpstormStubsStandardStandard6Php (golint)
    • Line 5892: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandardStandard_7Php should be _stubsPhpstormStubsStandardStandard7Php (golint)
    • Line 5894: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_7PhpBytes should be stubsPhpstormStubsStandardStandard7PhpBytes (golint)
    • Line 5901: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_7Php should be stubsPhpstormStubsStandardStandard7Php (golint)
    • Line 5912: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandardStandard_8Php should be _stubsPhpstormStubsStandardStandard8Php (golint)
    • Line 5914: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_8PhpBytes should be stubsPhpstormStubsStandardStandard8PhpBytes (golint)
    • Line 5921: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_8Php should be stubsPhpstormStubsStandardStandard8Php (golint)
    • Line 5932: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandardStandard_9Php should be _stubsPhpstormStubsStandardStandard9Php (golint)
    • Line 5934: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_9PhpBytes should be stubsPhpstormStubsStandardStandard9PhpBytes (golint)
    • Line 5941: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_9Php should be stubsPhpstormStubsStandardStandard9Php (golint)
    • Line 5952: warning: don't use underscores in Go names; var _stubsPhpstormStubsStandardStandard_definesPhp should be _stubsPhpstormStubsStandardStandardDefinesPhp (golint)
    • Line 5954: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_definesPhpBytes should be stubsPhpstormStubsStandardStandardDefinesPhpBytes (golint)
    • Line 5961: warning: don't use underscores in Go names; func stubsPhpstormStubsStandardStandard_definesPhp should be stubsPhpstormStubsStandardStandardDefinesPhp (golint)
    • Line 6032: warning: don't use underscores in Go names; var _stubsPhpstormStubsSuperglobals_superglobalsPhp should be _stubsPhpstormStubsSuperglobalsSuperglobalsPhp (golint)
    • Line 6034: warning: don't use underscores in Go names; func stubsPhpstormStubsSuperglobals_superglobalsPhpBytes should be stubsPhpstormStubsSuperglobalsSuperglobalsPhpBytes (golint)
    • Line 6041: warning: don't use underscores in Go names; func stubsPhpstormStubsSuperglobals_superglobalsPhp should be stubsPhpstormStubsSuperglobalsSuperglobalsPhp (golint)
    • Line 6072: warning: don't use underscores in Go names; var _stubsPhpstormStubsSybaseSybase_ctPhp should be _stubsPhpstormStubsSybaseSybaseCtPhp (golint)
    • Line 6074: warning: don't use underscores in Go names; func stubsPhpstormStubsSybaseSybase_ctPhpBytes should be stubsPhpstormStubsSybaseSybaseCtPhpBytes (golint)
    • Line 6081: warning: don't use underscores in Go names; func stubsPhpstormStubsSybaseSybase_ctPhp should be stubsPhpstormStubsSybaseSybaseCtPhp (golint)
    • Line 6932: warning: don't use underscores in Go names; var _stubsPhpstormStubsUuidUuid_cPhp should be _stubsPhpstormStubsUUIDUUIDCPhp (golint)
    • Line 6934: warning: don't use underscores in Go names; func stubsPhpstormStubsUuidUuid_cPhpBytes should be stubsPhpstormStubsUUIDUUIDCPhpBytes (golint)
    • Line 6941: warning: don't use underscores in Go names; func stubsPhpstormStubsUuidUuid_cPhp should be stubsPhpstormStubsUUIDUUIDCPhp (golint)
    • Line 6972: warning: don't use underscores in Go names; var _stubsPhpstormStubsUvUv_functionsPhp should be _stubsPhpstormStubsUvUvFunctionsPhp (golint)
    • Line 6974: warning: don't use underscores in Go names; func stubsPhpstormStubsUvUv_functionsPhpBytes should be stubsPhpstormStubsUvUvFunctionsPhpBytes (golint)
    • Line 6981: warning: don't use underscores in Go names; func stubsPhpstormStubsUvUv_functionsPhp should be stubsPhpstormStubsUvUvFunctionsPhp (golint)
    • Line 7292: warning: don't use underscores in Go names; var _stubsPhpstormStubsYafYaf_namespacePhp should be _stubsPhpstormStubsYafYafNamespacePhp (golint)
    • Line 7294: warning: don't use underscores in Go names; func stubsPhpstormStubsYafYaf_namespacePhpBytes should be stubsPhpstormStubsYafYafNamespacePhpBytes (golint)
    • Line 7301: warning: don't use underscores in Go names; func stubsPhpstormStubsYafYaf_namespacePhp should be stubsPhpstormStubsYafYafNamespacePhp (golint)
    • Line 7372: warning: don't use underscores in Go names; var _stubsPhpstormStubsZendZend_dPhp should be _stubsPhpstormStubsZendZendDPhp (golint)
    • Line 7374: warning: don't use underscores in Go names; func stubsPhpstormStubsZendZend_dPhpBytes should be stubsPhpstormStubsZendZendDPhpBytes (golint)
    • Line 7381: warning: don't use underscores in Go names; func stubsPhpstormStubsZendZend_dPhp should be stubsPhpstormStubsZendZendDPhp (golint)
    • Line 7392: warning: don't use underscores in Go names; var _stubsPhpstormStubsZendZend_fPhp should be _stubsPhpstormStubsZendZendFPhp (golint)
    • Line 7394: warning: don't use underscores in Go names; func stubsPhpstormStubsZendZend_fPhpBytes should be stubsPhpstormStubsZendZendFPhpBytes (golint)
    • Line 7401: warning: don't use underscores in Go names; func stubsPhpstormStubsZendZend_fPhp should be stubsPhpstormStubsZendZendFPhp (golint)
    • noverify/src/ir/irutil/nodepath.go
    • Line 10: warning: exported type NodePath should have comment or be unexported (golint)
    • Line 14: warning: exported function NewNodePath should have comment or be unexported (golint)
    • Line 26: warning: exported method NodePath.Parent should have comment or be unexported (golint)
    • Line 30: warning: exported method NodePath.Current should have comment or be unexported (golint)
    • Line 34: warning: exported method NodePath.Conditional should have comment or be unexported (golint)
    • Line 38: warning: exported method NodePath.NthParent should have comment or be unexported (golint)
    • Line 46: warning: exported method NodePath.ConditionalUntil should have comment or be unexported (golint)
    • Line 74: warning: exported method NodePath.Push should have comment or be unexported (golint)
    • Line 78: warning: exported method NodePath.Pop should have comment or be unexported (golint)
    • noverify/src/meta/const_value.go
    • Line 9: warning: exported type ConstValueType should have comment or be unexported (golint)
    • Line 21: warning: exported var UnknownValue should have comment or be unexported (golint)
    • Line 171: warning: exported method ConstValue.GobEncode should have comment or be unexported (golint)
    • Line 210: warning: exported method ConstValue.GobDecode should have comment or be unexported (golint)
    • noverify/src/cmd/cli.go
    • Line 13: warning: exported type AppContext should have comment or be unexported (golint)
    • Line 24: warning: exported method AppContext.FormatFlags should have comment or be unexported (golint)
    • Line 38: warning: exported method AppContext.CountDefinedFlags should have comment or be unexported (golint)
    • Line 47: warning: exported type App should have comment or be unexported (golint)
    • Line 56: warning: exported method App.GetRawCommandByName should have comment or be unexported (golint)
    • Line 241: warning: exported method App.Run should have comment or be unexported (golint)
    • noverify/src/types/map.go
    • Line 22: warning: exported type Type should have comment or be unexported (golint)
    • Line 52: warning: exported method Map.MarkAsImprecise should have comment or be unexported (golint)
    • Line 101: warning: exported function NewMapFromTypes should have comment or be unexported (golint)
    • Line 125: warning: exported function NewPreciseMap should have comment or be unexported (golint)
    • Line 234: warning: exported method Map.Clone should have comment or be unexported (golint)
    • Line 330: warning: exported method Map.Contains should have comment or be unexported (golint)
    • noverify/src/linter/custom.go
    • Line 109: warning: exported method BlockCheckerDefaults.BeforeEnterNode should have comment or be unexported (golint)
    • Line 110: warning: exported method BlockCheckerDefaults.AfterEnterNode should have comment or be unexported (golint)
    • Line 111: warning: exported method BlockCheckerDefaults.BeforeLeaveNode should have comment or be unexported (golint)
    • Line 112: warning: exported method BlockCheckerDefaults.AfterLeaveNode should have comment or be unexported (golint)
    • Line 124: warning: exported method RootCheckerDefaults.BeforeEnterFile should have comment or be unexported (golint)
    • Line 125: warning: exported method RootCheckerDefaults.AfterLeaveFile should have comment or be unexported (golint)
    • Line 126: warning: exported method RootCheckerDefaults.BeforeEnterNode should have comment or be unexported (golint)
    • Line 127: warning: exported method RootCheckerDefaults.AfterEnterNode should have comment or be unexported (golint)
    • Line 128: warning: exported method RootCheckerDefaults.BeforeLeaveNode should have comment or be unexported (golint)
    • Line 129: warning: exported method RootCheckerDefaults.AfterLeaveNode should have comment or be unexported (golint)
    • Line 148: warning: exported method RootContext.ReportByLine should have comment or be unexported (golint)
    • Line 202: warning: exported method BlockContext.ReportByLine should have comment or be unexported (golint)
    • Line 232: warning: exported method BlockContext.PrematureExitFlags should have comment or be unexported (golint)
    • Line 258: warning: exported const LevelError should have comment (or a comment on this block) or be unexported (golint)
    • Line 264: warning: exported type CheckersRegistry should have comment or be unexported (golint)
    • Line 303: warning: exported method CheckersRegistry.DeclareRules should have comment or be unexported (golint)
    • noverify/src/linter/worker.go
    • Line 33: warning: exported type ParseResult should have comment or be unexported (golint)
    • Line 80: warning: exported method Worker.ID should have comment or be unexported (golint)
    • Line 82: warning: exported method Worker.MetaInfo should have comment or be unexported (golint)
    • noverify/src/meta/scope.go
    • Line 16: warning: exported type VarFlags should have comment or be unexported (golint)
    • Line 21: warning: exported const VarAlwaysDefined should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported method VarFlags.IsNoReplace should have comment or be unexported (golint)
    • Line 30: warning: exported method VarFlags.IsAlwaysDefined should have comment or be unexported (golint)
    • Line 32: warning: exported method VarFlags.SetAlwaysDefined should have comment or be unexported (golint)
    • Line 52: warning: exported method Scope.GobWrite should have comment or be unexported (golint)
    • Line 141: warning: exported method Scope.Iterate should have comment or be unexported (golint)
    • Line 147: warning: exported method Scope.Len should have comment or be unexported (golint)
    • noverify/src/solver/solver.go
    • Line 36: warning: comment on exported type ResolverMap should be of the form "ResolverMap ..." (with optional leading article) (golint)
    • Line 297: warning: exported type FindMethodResult should have comment or be unexported (golint)
    • Line 304: warning: exported method FindMethodResult.ImplName should have comment or be unexported (golint)
    • Line 427: warning: exported type FindPropertyResult should have comment or be unexported (golint)
    • Line 433: warning: exported method FindPropertyResult.ImplName should have comment or be unexported (golint)
    • noverify/src/ir/irutil/irtutil.go
    • Line 11: warning: exported function NodeSliceClone should have comment or be unexported (golint)
    • Line 30: warning: exported function NodeSliceEqual should have comment or be unexported (golint)
    • Line 42: warning: exported function IsAssign should have comment or be unexported (golint)
    • noverify/src/vscode/types.go
    • Line 7: warning: exported type Position should have comment or be unexported (golint)
    • Line 19: warning: exported type Location should have comment or be unexported (golint)
    • Line 24: warning: exported type Range should have comment or be unexported (golint)
    • Line 37: warning: comment on exported const Error should be of the form "Error ..." (golint)
    • Line 41: warning: comment on exported const Warning should be of the form "Warning ..." (golint)
    • Line 45: warning: comment on exported const Information should be of the form "Information ..." (golint)
    • Line 49: warning: comment on exported const Hint should be of the form "Hint ..." (golint)
    • Line 55: warning: exported type Diagnostic should have comment or be unexported (golint)
    • Line 87: warning: exported type PublishDiagnosticsParams should have comment or be unexported (golint)
    • Line 100: warning: exported const CompletionKindText should have comment (or a comment on this block) or be unexported (golint)
    • Line 120: warning: exported type CompletionItem should have comment or be unexported (golint)
    • Line 169: warning: exported type SymbolInformation should have comment or be unexported (golint)

gocyclo87%

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.

    • noverify/src/phpgrep/matcher.go
    • Line 239: warning: cyclomatic complexity 329 of function (*matcher).eqNode() is high (> 15) (gocyclo)
    • Line 858: warning: cyclomatic complexity 29 of function (*matcher).eqVar() is high (> 15) (gocyclo)
    • Line 122: warning: cyclomatic complexity 16 of function (*matcher).eqNodeSlice() is high (> 15) (gocyclo)
    • Line 62: warning: cyclomatic complexity 16 of function (*matcher).eqArrayItemSlice() is high (> 15) (gocyclo)
    • noverify/src/linter/block_linter.go
    • Line 21: warning: cyclomatic complexity 62 of function (*blockLinter).enterNode() is high (> 15) (gocyclo)
    • Line 682: warning: cyclomatic complexity 24 of function (*blockLinter).checkArray() is high (> 15) (gocyclo)
    • Line 547: warning: cyclomatic complexity 19 of function (*blockLinter).checkSwitch() is high (> 15) (gocyclo)
    • Line 1200: warning: cyclomatic complexity 18 of function (*blockLinter).checkFormatString() is high (> 15) (gocyclo)
    • Line 1009: warning: cyclomatic complexity 16 of function (*blockLinter).checkMethodCall() is high (> 15) (gocyclo)
    • noverify/src/linter/block.go
    • Line 255: warning: cyclomatic complexity 64 of function (*blockWalker).EnterNode() is high (> 15) (gocyclo)
    • Line 1536: warning: cyclomatic complexity 22 of function (*blockWalker).handleSwitch() is high (> 15) (gocyclo)
    • Line 1321: warning: cyclomatic complexity 18 of function (*blockWalker).handleVariable() is high (> 15) (gocyclo)
    • Line 1819: warning: cyclomatic complexity 17 of function (*blockWalker).handleAssign() is high (> 15) (gocyclo)
    • Line 639: warning: cyclomatic complexity 17 of function (*blockWalker).handleTry() is high (> 15) (gocyclo)
    • noverify/src/ir/normalize/normalize.go
    • Line 250: warning: cyclomatic complexity 49 of function (*normalizer).normalizedExpr() is high (> 15) (gocyclo)
    • Line 140: warning: cyclomatic complexity 21 of function (*normalizer).EnterNode() is high (> 15) (gocyclo)
    • Line 67: warning: cyclomatic complexity 18 of function (*normalizer).sortStatements() is high (> 15) (gocyclo)
    • noverify/src/solver/solver.go
    • Line 72: warning: cyclomatic complexity 39 of function (*resolver).resolveTypeNoLateStaticBinding() is high (> 15) (gocyclo)
    • Line 340: warning: cyclomatic complexity 17 of function findMethod() is high (> 15) (gocyclo)
    • noverify/src/rules/parser.go
    • Line 132: warning: cyclomatic complexity 44 of function (*parser).parseRuleInfo() is high (> 15) (gocyclo)
    • Line 311: warning: cyclomatic complexity 16 of function (*parser).parseRule() is high (> 15) (gocyclo)
    • noverify/src/linter/root.go
    • Line 149: warning: cyclomatic complexity 41 of function (*rootWalker).EnterNode() is high (> 15) (gocyclo)
    • Line 909: warning: cyclomatic complexity 25 of function (*rootWalker).enterClassMethod() is high (> 15) (gocyclo)
    • Line 315: warning: cyclomatic complexity 24 of function (*rootWalker).report() is high (> 15) (gocyclo)
    • Line 1079: warning: cyclomatic complexity 22 of function (*rootWalker).isValidPHPDocRef() is high (> 15) (gocyclo)
    • Line 541: warning: cyclomatic complexity 20 of function (*rootWalker).handleFuncStmts() is high (> 15) (gocyclo)
    • Line 681: warning: cyclomatic complexity 18 of function (*rootWalker).checkMagicMethod() is high (> 15) (gocyclo)
    • Line 1235: warning: cyclomatic complexity 17 of function (*rootWalker).parsePHPDoc() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell98%

Misspell Finds commonly misspelled English words

    • noverify/src/tests/checkers/misspell_test.go
    • Line 17: warning: "perfektion" is a misspelling of "perfection" (misspell)
    • Line 22: warning: "performace" is a misspelling of "performance" (misspell)
    • Line 26: warning: "informitive" is a misspelling of "informative" (misspell)
    • Line 31: warning: "inefficeint" is a misspelling of "inefficient" (misspell)
    • Line 36: warning: "inexpencive" is a misspelling of "inexpensive" (misspell)
    • Line 42: warning: "perfektion" is a misspelling of "perfection" (misspell)
    • Line 43: warning: "performace" is a misspelling of "performance" (misspell)
    • Line 44: warning: "informitive" is a misspelling of "informative" (misspell)
    • Line 45: warning: "inexpencive" is a misspelling of "inexpensive" (misspell)
    • Line 46: warning: "inefficeint" is a misspelling of "inefficient" (misspell)
    • Line 56: warning: "Responsable" is a misspelling of "Responsible" (misspell)
    • Line 59: warning: "Responsable" is a misspelling of "Responsible" (misspell)
    • Line 60: warning: "Responsable" is a misspelling of "Responsible" (misspell)
    • Line 62: warning: "Responsable" is a misspelling of "Responsible" (misspell)
    • Line 91: warning: "unconditionnally" is a misspelling of "unconditionally" (misspell)
    • Line 93: warning: "notificaton" is a misspelling of "notification" (misspell)
    • Line 97: warning: "normallized" is a misspelling of "normalized" (misspell)
    • Line 100: warning: "Mocrotransactions" is a misspelling of "Microtransactions" (misspell)
    • Line 103: warning: "overpoweing" is a misspelling of "overpowering" (misspell)
    • Line 107: warning: "persistance" is a misspelling of "persistence" (misspell)
    • Line 111: warning: "unconditionnally" is a misspelling of "unconditionally" (misspell)
    • Line 112: warning: "notificaton" is a misspelling of "notification" (misspell)
    • Line 113: warning: "normallized" is a misspelling of "normalized" (misspell)
    • Line 114: warning: "Mocrotransactions" is a misspelling of "Microtransactions" (misspell)
    • Line 115: warning: "overpoweing" is a misspelling of "overpowering" (misspell)
    • Line 116: warning: "persistance" is a misspelling of "persistence" (misspell)
    • Line 126: warning: "includ" is a misspelling of "include" (misspell)
    • Line 129: warning: "impelments" is a misspelling of "implements" (misspell)