Preparing report...

Report for github.com/i582/phpstats

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


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.


golint22%

Golint is a linter for Go source code.

    • phpstats/internal/grapher/templates/edges.go
    • Line 7: warning: exported function TemplateImplementEdgeStyle should have comment or be unexported (golint)
    • Line 19: warning: exported function TemplateExtendEdgeStyle should have comment or be unexported (golint)
    • Line 31: warning: exported function TemplateNamespaceConnectionEdgeStyle should have comment or be unexported (golint)
    • Line 38: warning: exported function TemplateClassConnectionEdgeStyle should have comment or be unexported (golint)
    • Line 45: warning: exported function TemplateFunctionConnectionEdgeStyle should have comment or be unexported (golint)
    • Line 52: warning: exported function TemplateRootFileEdgeStyle should have comment or be unexported (golint)
    • Line 63: warning: exported function TemplateBlockFileEdgeStyle should have comment or be unexported (golint)
    • phpstats/internal/graph/graph.go
    • Line 8: warning: exported type SubGraphs should have comment or be unexported (golint)
    • Line 20: warning: exported type Graph should have comment or be unexported (golint)
    • Line 60: warning: exported method Graph.AddNode should have comment or be unexported (golint)
    • Line 74: warning: exported method Graph.GetNode should have comment or be unexported (golint)
    • Line 84: warning: exported method Graph.GetNodeInSubgraphs should have comment or be unexported (golint)
    • Line 102: warning: exported method Graph.AddEdge should have comment or be unexported (golint)
    • Line 120: warning: exported method Graph.AddEdgeByNode should have comment or be unexported (golint)
    • Line 142: warning: exported method Graph.AddSubGraph should have comment or be unexported (golint)
    • Line 153: warning: exported method Graph.GetSubGraph should have comment or be unexported (golint)
    • Line 163: warning: exported method Graph.GetOrCreateSubGraph should have comment or be unexported (golint)
    • phpstats/internal/grapher/class.go
    • Line 13: warning: exported method Grapher.ClassSuperGlobalsDeps should have comment or be unexported (golint)
    • Line 50: warning: exported method Grapher.ClassImplementsExtendsDeps should have comment or be unexported (golint)
    • Line 131: warning: exported function ColorizeClassGraph should have comment or be unexported (golint)
    • Line 163: warning: exported method Grapher.ClassDeps should have comment or be unexported (golint)
    • Line 259: warning: exported function AddedCountLinksInGraphNodes should have comment or be unexported (golint)
    • Line 265: warning: exported method Grapher.Lcom4 should have comment or be unexported (golint)
    • phpstats/internal/stats/symbols/fields.go
    • Line 8: warning: exported type FieldKey should have comment or be unexported (golint)
    • Line 13: warning: exported function NewFieldKey should have comment or be unexported (golint)
    • Line 20: warning: exported var FieldsCount should have comment or be unexported (golint)
    • Line 22: warning: exported type Field should have comment or be unexported (golint)
    • Line 31: warning: exported function NewField should have comment or be unexported (golint)
    • Line 41: warning: exported method Field.ID should have comment or be unexported (golint)
    • Line 49: warning: exported type Fields should have comment or be unexported (golint)
    • Line 55: warning: exported function NewFields should have comment or be unexported (golint)
    • Line 61: warning: exported method Fields.Len should have comment or be unexported (golint)
    • Line 65: warning: exported method Fields.Add should have comment or be unexported (golint)
    • Line 71: warning: exported method Fields.Get should have comment or be unexported (golint)
    • Line 78: warning: exported method Fields.AddMethodAccess should have comment or be unexported (golint)
    • phpstats/internal/grapher/templates/colors.go
    • Line 8: warning: exported const DefaultSubgraphFillColor should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported function ColorByScale should have comment or be unexported (golint)
    • Line 51: warning: exported function ColorizeByScale should have comment or be unexported (golint)
    • phpstats/internal/representator/utils.go
    • Line 30: warning: exported function ColorOutputBoolZeroableValue should have comment or be unexported (golint)
    • Line 37: warning: exported function ColorOutputIntZeroableValue should have comment or be unexported (golint)
    • Line 44: warning: exported function ColorOutputFloatZeroableValue should have comment or be unexported (golint)
    • Line 51: warning: exported function ColorOutputFloatZeroablePercentValue should have comment or be unexported (golint)
    • Line 58: warning: exported function ColorWidthOutputIntZeroableValue should have comment or be unexported (golint)
    • Line 65: warning: exported function ColorWidthOutputFloatZeroableValue should have comment or be unexported (golint)
    • Line 72: warning: exported function ColorWidthOutputFloatZeroablePercentValue should have comment or be unexported (golint)
    • phpstats/internal/graph/edge.go
    • Line 8: warning: exported type Edges should have comment or be unexported (golint)
    • Line 22: warning: exported type Edge should have comment or be unexported (golint)
    • Line 29: warning: exported function NewEdge should have comment or be unexported (golint)
    • phpstats/internal/relations/class_class.go
    • Line 9: warning: exported type Class2ClassRelation should have comment or be unexported (golint)
    • Line 36: warning: exported function NewClass2ClassRelation should have comment or be unexported (golint)
    • Line 97: warning: exported function GetClass2ClassRelation should have comment or be unexported (golint)
    • phpstats/internal/graph/node.go
    • Line 7: warning: exported type Nodes should have comment or be unexported (golint)
    • Line 19: warning: exported method Nodes.DeleteNode should have comment or be unexported (golint)
    • Line 23: warning: exported method Nodes.AddNode should have comment or be unexported (golint)
    • Line 27: warning: exported type Node should have comment or be unexported (golint)
    • Line 42: warning: exported method Node.Scale should have comment or be unexported (golint)
    • Line 55: warning: exported method Node.ForceScale should have comment or be unexported (golint)
    • phpstats/internal/shell/flags/flags.go
    • Line 11: warning: exported type Flag should have comment or be unexported (golint)
    • Line 44: warning: exported type Flags should have comment or be unexported (golint)
    • Line 48: warning: exported function NewFlags should have comment or be unexported (golint)
    • Line 60: warning: exported method Flags.Contains should have comment or be unexported (golint)
    • Line 65: warning: exported method Flags.Get should have comment or be unexported (golint)
    • Line 77: warning: exported function ParseFlag should have comment or be unexported (golint)
    • Line 100: warning: exported function ParseFlags should have comment or be unexported (golint)
    • phpstats/internal/stats/symbols/functions.go
    • Line 16: warning: exported type FuncKey should have comment or be unexported (golint)
    • Line 21: warning: exported function NewFuncKey should have comment or be unexported (golint)
    • Line 27: warning: exported function NewMethodKey should have comment or be unexported (golint)
    • Line 34: warning: exported method FuncKey.IsMethod should have comment or be unexported (golint)
    • Line 50: warning: exported method FuncKey.Equal should have comment or be unexported (golint)
    • Line 54: warning: exported type Functions should have comment or be unexported (golint)
    • Line 60: warning: exported method Functions.Len should have comment or be unexported (golint)
    • Line 64: warning: exported method Functions.CyclomaticComplexity should have comment or be unexported (golint)
    • Line 72: warning: exported method Functions.CountMagicNumbers should have comment or be unexported (golint)
    • Line 80: warning: exported method Functions.MaxMinAvgMethodCyclomaticComplexity should have comment or be unexported (golint)
    • Line 84: warning: exported method Functions.MaxMinAvgFunctionsCyclomaticComplexity should have comment or be unexported (golint)
    • Line 130: warning: exported method Functions.MaxMinAvgMethodCountMagicNumbers should have comment or be unexported (golint)
    • Line 134: warning: exported method Functions.MaxMinAvgFunctionsCountMagicNumbers should have comment or be unexported (golint)
    • Line 180: warning: exported method Functions.CountFunctions should have comment or be unexported (golint)
    • Line 198: warning: exported method Functions.CountMethods should have comment or be unexported (golint)
    • Line 208: warning: exported method Functions.GetFunctionByPartOfName should have comment or be unexported (golint)
    • Line 221: warning: exported method Functions.GetFullFuncName should have comment or be unexported (golint)
    • Line 252: warning: exported function NewFunctions should have comment or be unexported (golint)
    • Line 258: warning: exported method Functions.Add should have comment or be unexported (golint)
    • Line 264: warning: exported method Functions.Get should have comment or be unexported (golint)
    • Line 271: warning: exported var FunctionCount should have comment or be unexported (golint)
    • Line 273: warning: exported type Function should have comment or be unexported (golint)
    • Line 304: warning: exported method Function.ID should have comment or be unexported (golint)
    • Line 308: warning: exported function NewFunction should have comment or be unexported (golint)
    • Line 323: warning: exported function NewMethod should have comment or be unexported (golint)
    • Line 329: warning: exported function IsEmbeddedFunc should have comment or be unexported (golint)
    • Line 333: warning: exported method Function.IsVendorFunction should have comment or be unexported (golint)
    • Line 337: warning: exported method Function.IsEmbeddedFunc should have comment or be unexported (golint)
    • Line 341: warning: exported method Function.IsMethod should have comment or be unexported (golint)
    • Line 345: warning: exported method Function.Equal should have comment or be unexported (golint)
    • Line 349: warning: exported method Function.Deps should have comment or be unexported (golint)
    • Line 370: warning: exported method Function.CountDeps should have comment or be unexported (golint)
    • Line 374: warning: exported method Function.DepsBy should have comment or be unexported (golint)
    • Line 395: warning: exported method Function.CountDepsBy should have comment or be unexported (golint)
    • Line 399: warning: exported method Function.AddCalled should have comment or be unexported (golint)
    • Line 409: warning: exported method Function.AddCalledBy should have comment or be unexported (golint)
    • Line 422: warning: exported method Function.AddUse should have comment or be unexported (golint)
    • phpstats/internal/relations/func_reachability.go
    • Line 13: warning: exported type ReachabilityExcludedMap should have comment or be unexported (golint)
    • Line 15: warning: exported type ReachabilityFunctionJsonResult should have comment or be unexported (golint)
    • Line 24: warning: exported type ReachabilityFunctionResult should have comment or be unexported (golint)
    • Line 37: warning: exported function NewReachabilityFunctionResult should have comment or be unexported (golint)
    • Line 67: warning: exported method ReachabilityFunctionResult.Json should have comment or be unexported (golint)
    • Line 112: warning: exported function GetReachabilityFunction should have comment or be unexported (golint)
    • phpstats/internal/config/config.go
    • Line 10: warning: exported type Config should have comment or be unexported (golint)
    • Line 23: warning: exported type Packages should have comment or be unexported (golint)
    • Line 25: warning: exported type Package should have comment or be unexported (golint)
    • Line 30: warning: exported function OpenConfig should have comment or be unexported (golint)
    • Line 45: warning: exported method Config.AddPackagesToContext should have comment or be unexported (golint)
    • Line 53: warning: exported method Config.ToCliArgs should have comment or be unexported (golint)
    • Line 81: warning: exported method Packages.GetPackage should have comment or be unexported (golint)
    • phpstats/internal/representator/func.go
    • Line 12: warning: exported type FunctionData should have comment or be unexported (golint)
    • Line 59: warning: exported function GetShortStringFunctionRepr should have comment or be unexported (golint)
    • Line 69: warning: exported function GetStringFunctionRepr should have comment or be unexported (golint)
    • Line 93: warning: exported function GetJsonFunctionRepr should have comment or be unexported (golint)
    • Line 104: warning: exported function GetPrettifyJsonFunctionsRepr should have comment or be unexported (golint)
    • Line 119: warning: exported function GetJsonFunctionReprWithFlag should have comment or be unexported (golint)
    • phpstats/internal/grapher/dot.go
    • Line 9: warning: exported type OutputFormat should have comment or be unexported (golint)
    • Line 13: warning: exported const Svg should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type Dot should have comment or be unexported (golint)
    • Line 33: warning: exported method Dot.Execute should have comment or be unexported (golint)
    • phpstats/internal/shell/executor.go
    • Line 12: warning: exported type Executors should have comment or be unexported (golint)
    • Line 14: warning: exported type Executor should have comment or be unexported (golint)
    • Line 30: warning: exported method Executor.HelpPage should have comment or be unexported (golint)
    • Line 95: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 107: warning: exported method Executor.Execute should have comment or be unexported (golint)
    • Line 141: warning: exported method Executor.AddExecutor should have comment or be unexported (golint)
    • phpstats/internal/stats/symbols/namespaces.go
    • Line 8: warning: exported type Namespaces should have comment or be unexported (golint)
    • Line 14: warning: exported function NewNamespaces should have comment or be unexported (golint)
    • Line 20: warning: exported method Namespaces.Len should have comment or be unexported (golint)
    • Line 24: warning: exported method Namespaces.Count should have comment or be unexported (golint)
    • Line 36: warning: exported method Namespaces.CreateNamespace should have comment or be unexported (golint)
    • Line 45: warning: exported method Namespaces.AddFileToNamespace should have comment or be unexported (golint)
    • Line 57: warning: exported method Namespaces.AddClassToNamespace should have comment or be unexported (golint)
    • Line 66: warning: exported method Namespaces.AddFunctionToNamespace should have comment or be unexported (golint)
    • Line 103: warning: exported method Namespaces.GetNamespace should have comment or be unexported (golint)
    • Line 130: warning: exported method Namespaces.Add should have comment or be unexported (golint)
    • Line 140: warning: exported method Namespaces.Get should have comment or be unexported (golint)
    • Line 147: warning: exported method Namespaces.GetNamespacesWithSpecificLevel should have comment or be unexported (golint)
    • Line 186: warning: exported type Namespace should have comment or be unexported (golint)
    • Line 202: warning: exported function NewNamespace should have comment or be unexported (golint)
    • Line 213: warning: exported method Namespace.CountChildNamespaces should have comment or be unexported (golint)
    • Line 225: warning: exported method Namespace.CountAbstractAndAllClasses should have comment or be unexported (golint)
    • phpstats/internal/shell/context.go
    • Line 14: warning: exported type Context should have comment or be unexported (golint)
    • Line 25: warning: exported method Context.ContainsFlag should have comment or be unexported (golint)
    • Line 43: warning: exported method Context.GetIntFlagValue should have comment or be unexported (golint)
    • Line 49: warning: exported method Context.GetFlagValue should have comment or be unexported (golint)
    • Line 67: warning: exported method Context.ShowHelpPage should have comment or be unexported (golint)
    • Line 72: warning: exported method Context.ValidateFilePath should have comment or be unexported (golint)
    • Line 90: warning: exported method Context.ValidateFile should have comment or be unexported (golint)
    • phpstats/internal/representator/namespace.go
    • Line 14: warning: exported type NamespaceData should have comment or be unexported (golint)
    • Line 33: warning: exported function NamespaceToData should have comment or be unexported (golint)
    • Line 58: warning: exported function GetShortStringNamespaceRepr should have comment or be unexported (golint)
    • Line 68: warning: exported function GetStringNamespaceRepr should have comment or be unexported (golint)
    • Line 91: warning: exported function GetJsonNamespaceRepr should have comment or be unexported (golint)
    • Line 102: warning: exported function GetPrettifyJsonNamespacesRepr should have comment or be unexported (golint)
    • Line 117: warning: exported function GetJsonNamespaceReprWithFlag should have comment or be unexported (golint)
    • phpstats/internal/representator/class.go
    • Line 12: warning: exported type ClassData should have comment or be unexported (golint)
    • Line 37: warning: exported function ClassToData should have comment or be unexported (golint)
    • Line 81: warning: exported function GetStringClassRepr should have comment or be unexported (golint)
    • Line 102: warning: exported function GetJsonClassRepr should have comment or be unexported (golint)
    • Line 113: warning: exported function GetPrettifyJsonClassesRepr should have comment or be unexported (golint)
    • Line 128: warning: exported function GetJsonClassReprWithFlag should have comment or be unexported (golint)
    • phpstats/internal/representator/file.go
    • Line 13: warning: exported type FileData should have comment or be unexported (golint)
    • Line 41: warning: exported function GetShortStringFileRepr should have comment or be unexported (golint)
    • Line 51: warning: exported function GetStringFileRepr should have comment or be unexported (golint)
    • Line 69: warning: exported function GetJsonFileRepr should have comment or be unexported (golint)
    • Line 80: warning: exported function GetPrettifyJsonFilesRepr should have comment or be unexported (golint)
    • Line 95: warning: exported function GetJsonFileReprWithFlag should have comment or be unexported (golint)
    • phpstats/internal/stats/symbols/constants.go
    • Line 9: warning: exported type Constant should have comment or be unexported (golint)
    • Line 16: warning: exported function NewConstant should have comment or be unexported (golint)
    • Line 24: warning: exported function NewConstantKey should have comment or be unexported (golint)
    • Line 31: warning: exported method Constant.IsSuperGlobal should have comment or be unexported (golint)
    • Line 35: warning: exported method Constant.IsEmbedded should have comment or be unexported (golint)
    • Line 47: warning: exported type Constants should have comment or be unexported (golint)
    • Line 53: warning: exported function NewConstants should have comment or be unexported (golint)
    • Line 59: warning: exported method Constants.Len should have comment or be unexported (golint)
    • Line 63: warning: exported method Constants.Add should have comment or be unexported (golint)
    • Line 70: warning: exported method Constants.Get should have comment or be unexported (golint)
    • Line 77: warning: exported method Constants.AddMethodAccess should have comment or be unexported (golint)
    • phpstats/internal/relations/func_func.go
    • Line 12: warning: exported type Func2FuncRelation should have comment or be unexported (golint)
    • Line 29: warning: exported function NewFunc2FuncRelation should have comment or be unexported (golint)
    • Line 78: warning: exported function GetFunc2FuncRelation should have comment or be unexported (golint)
    • phpstats/internal/grapher/namespaces.go
    • Line 10: warning: exported function ColorizeNamespacesDepsGraph should have comment or be unexported (golint)
    • Line 42: warning: exported method Grapher.NamespacesDeps should have comment or be unexported (golint)
    • Line 155: warning: exported method Grapher.Namespaces should have comment or be unexported (golint)
    • phpstats/internal/stats/symbols/classes.go
    • Line 11: warning: exported type Classes should have comment or be unexported (golint)
    • Line 17: warning: exported function NewClasses should have comment or be unexported (golint)
    • Line 23: warning: exported method Classes.Len should have comment or be unexported (golint)
    • Line 27: warning: exported method Classes.CountClasses should have comment or be unexported (golint)
    • Line 37: warning: exported method Classes.CountConcreteClasses should have comment or be unexported (golint)
    • Line 47: warning: exported method Classes.CountAbstractClasses should have comment or be unexported (golint)
    • Line 57: warning: exported method Classes.CountIfaces should have comment or be unexported (golint)
    • Line 67: warning: exported method Classes.CountTraits should have comment or be unexported (golint)
    • Line 77: warning: exported method Classes.MaxMinAvgCyclomaticComplexity should have comment or be unexported (golint)
    • Line 108: warning: exported method Classes.MaxMinAvgCountMagicNumbers should have comment or be unexported (golint)
    • Line 144: warning: exported method Classes.GetInterfaceByPartOfName should have comment or be unexported (golint)
    • Line 175: warning: exported method Classes.GetTraitByPartOfName should have comment or be unexported (golint)
    • Line 206: warning: exported method Classes.GetClassByPartOfName should have comment or be unexported (golint)
    • Line 237: warning: exported method Classes.GetAnyTypeClassByPartOfName should have comment or be unexported (golint)
    • Line 253: warning: exported method Classes.GetFullClassName should have comment or be unexported (golint)
    • Line 277: warning: exported method Classes.Add should have comment or be unexported (golint)
    • Line 287: warning: exported method Classes.Get should have comment or be unexported (golint)
    • Line 294: warning: exported type Class should have comment or be unexported (golint)
    • Line 332: warning: exported function NewClass should have comment or be unexported (golint)
    • Line 349: warning: exported function NewInterface should have comment or be unexported (golint)
    • Line 356: warning: exported function NewAbstractClass should have comment or be unexported (golint)
    • Line 363: warning: exported function NewTrait should have comment or be unexported (golint)
    • Line 370: warning: exported method Class.AddMethod should have comment or be unexported (golint)
    • Line 374: warning: exported method Class.AddImplements should have comment or be unexported (golint)
    • Line 379: warning: exported method Class.AddExtends should have comment or be unexported (golint)
    • Line 384: warning: exported method Class.AddDeps should have comment or be unexported (golint)
    • Line 392: warning: exported method Class.AddDepsBy should have comment or be unexported (golint)
    • Line 400: warning: exported method Class.Type should have comment or be unexported (golint)
    • Line 414: warning: exported method Class.NamespaceName should have comment or be unexported (golint)
    • Line 423: warning: exported method Class.ClassName should have comment or be unexported (golint)
    • Line 432: warning: exported method Class.CountFullyTypedMethods should have comment or be unexported (golint)
    • phpstats/internal/relations/class_func.go
    • Line 11: warning: exported type Class2FuncRelation should have comment or be unexported (golint)
    • Line 26: warning: exported function NewClass2FuncRelation should have comment or be unexported (golint)
    • Line 68: warning: comment on exported function GetClass2FuncRelation should be of the form "GetClass2FuncRelation ..." (golint)
    • phpstats/internal/shell/shell.go
    • Line 18: warning: exported type Shell should have comment or be unexported (golint)
    • Line 28: warning: exported method Shell.AddExecutor should have comment or be unexported (golint)
    • Line 36: warning: exported method Shell.GetExecutor should have comment or be unexported (golint)
    • Line 45: warning: exported function NewShell should have comment or be unexported (golint)
    • Line 88: warning: exported method Executors.GetSuggests should have comment or be unexported (golint)
    • Line 183: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 221: warning: exported method Shell.ImprovedShell should have comment or be unexported (golint)
    • Line 239: warning: exported method Shell.OldShell should have comment or be unexported (golint)
    • Line 277: warning: exported method Shell.Run should have comment or be unexported (golint)
    • phpstats/internal/graph/styles.go
    • Line 7: warning: exported type Styles should have comment or be unexported (golint)
    • Line 45: warning: exported type NodeStyles should have comment or be unexported (golint)
    • Line 100: warning: exported type EdgeStyles should have comment or be unexported (golint)
    • phpstats/internal/graph/web.go
    • Line 3: warning: exported const WebAdditionHeader should have comment or be unexported (golint)
    • Line 296: warning: exported const WebAdditionFooter should have comment or be unexported (golint)
    • phpstats/internal/utils/utils.go
    • Line 77: warning: exported function GenIndent should have comment or be unexported (golint)
    • Line 85: warning: exported function IsEmbeddedConstant should have comment or be unexported (golint)
    • Line 90: warning: exported function IsSuperGlobal should have comment or be unexported (golint)
    • Line 103: warning: exported function DefaultCacheDir should have comment or be unexported (golint)
    • Line 113: warning: exported function DefaultGraphsDir should have comment or be unexported (golint)
    • Line 123: warning: exported function NormalizeSlashes should have comment or be unexported (golint)
    • Line 127: warning: exported var NameToIdentifierRegexp should have comment or be unexported (golint)
    • Line 129: warning: exported function NameToIdentifier should have comment or be unexported (golint)
    • Line 133: warning: exported function OpenFile should have comment or be unexported (golint)
    • Line 150: warning: exported function Exists should have comment or be unexported (golint)
    • Line 161: warning: exported function Percent should have comment or be unexported (golint)
    • phpstats/internal/stats/symbols/files.go
    • Line 13: warning: exported type Files should have comment or be unexported (golint)
    • Line 19: warning: exported function NewFiles should have comment or be unexported (golint)
    • Line 25: warning: exported method Files.Len should have comment or be unexported (golint)
    • Line 29: warning: exported method Files.CountLines should have comment or be unexported (golint)
    • Line 37: warning: exported method Files.GetFileByPartOfName should have comment or be unexported (golint)
    • Line 50: warning: exported method Files.GetFullFileName should have comment or be unexported (golint)
    • Line 70: warning: exported method Files.Add should have comment or be unexported (golint)
    • Line 76: warning: exported method Files.Get should have comment or be unexported (golint)
    • Line 83: warning: exported type File should have comment or be unexported (golint)
    • Line 97: warning: exported function NewFile should have comment or be unexported (golint)
    • Line 111: warning: exported method File.UniqueId should have comment or be unexported (golint)
    • Line 116: warning: exported method File.AddRequiredFile should have comment or be unexported (golint)
    • Line 120: warning: exported method File.AddRequiredRootFile should have comment or be unexported (golint)
    • Line 124: warning: exported method File.AddRequiredByFile should have comment or be unexported (golint)
    • Line 128: warning: exported method File.AddClass should have comment or be unexported (golint)
    • Line 132: warning: exported method File.AddFunc should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!