Preparing report...

Report for github.com/ARM-software/golang-utils

A+    Excellent!    Found 31 issues across 54 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!


gocyclo98%

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.


golint42%

Golint is a linter for Go source code.

    • golang-utils/utils/collection/parseLists.go
    • Line 1: warning: package comment should be of the form "Package collection ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 25: warning: exported function ParseCommaSeparatedList should have comment or be unexported (golint)
    • golang-utils/utils/hashing/hash.go
    • Line 1: warning: package comment should be of the form "Package hashing ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 27: warning: exported const HashMd5 should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type IHash should have comment or be unexported (golint)
    • Line 62: warning: exported function NewHashingAlgorithm should have comment or be unexported (golint)
    • Line 86: warning: exported function CalculateMD5Hash should have comment or be unexported (golint)
    • Line 90: warning: exported function CalculateHash should have comment or be unexported (golint)
    • golang-utils/utils/config/service_configuration.go
    • Line 1: warning: package comment should be of the form "Package config ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 17: warning: exported type IServiceConfiguration should have comment or be unexported (golint)
    • Line 22: warning: comment on exported function Load should be of the form "Load ..." (golint)
    • Line 30: warning: comment on exported function LoadFromViper should be of the form "LoadFromViper ..." (golint)
    • Line 60: warning: comment on exported function BindFlagToEnv should be of the form "BindFlagToEnv ..." (golint)
    • golang-utils/utils/logs/message_logger.go
    • Line 1: warning: package comment should be of the form "Package logs ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 17: warning: comment on exported type JSONLoggers should be of the form "JSONLoggers ..." (with optional leading article) (golint)
    • Line 27: warning: exported method JSONLoggers.SetLogSource should have comment or be unexported (golint)
    • Line 34: warning: exported method JSONLoggers.SetLoggerSource should have comment or be unexported (golint)
    • Line 41: warning: exported method JSONLoggers.GetSource should have comment or be unexported (golint)
    • Line 46: warning: exported method JSONLoggers.GetLoggerSource should have comment or be unexported (golint)
    • Line 52: warning: comment on exported method JSONLoggers.Check should be of the form "Check ..." (golint)
    • Line 63: warning: exported method JSONLoggers.Configure should have comment or be unexported (golint)
    • Line 71: warning: comment on exported method JSONLoggers.Log should be of the form "Log ..." (golint)
    • Line 79: warning: comment on exported method JSONLoggers.LogError should be of the form "LogError ..." (golint)
    • Line 87: warning: comment on exported method JSONLoggers.Close should be of the form "Close ..." (golint)
    • Line 94: warning: exported function NewJSONLogger should have comment or be unexported (golint)
    • golang-utils/utils/commonerrors/errors.go
    • Line 1: warning: package comment should be of the form "Package commonerrors ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 13: warning: exported var ErrNotImplemented should have comment or be unexported (golint)
    • Line 37: warning: exported function Any should have comment or be unexported (golint)
    • Line 46: warning: exported function None should have comment or be unexported (golint)
    • Line 55: warning: comment on exported function ConvertContextError should be of the form "ConvertContextError ..." (golint)
    • golang-utils/utils/parallelisation/parallelisation.go
    • Line 1: warning: package comment should be of the form "Package parallelisation ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 17: warning: comment on exported function DetermineContextError should be of the form "DetermineContextError ..." (golint)
    • Line 27: warning: comment on exported function Parallelise should be of the form "Parallelise ..." (golint)
    • Line 62: warning: comment on exported function SleepWithContext should be of the form "SleepWithContext ..." (golint)
    • Line 70: warning: comment on exported function SleepWithInterruption should be of the form "SleepWithInterruption ..." (golint)
    • Line 78: warning: comment on exported function Schedule should be of the form "Schedule ..." (golint)
    • Line 107: warning: comment on exported function RunActionWithTimeout should be of the form "RunActionWithTimeout ..." (golint)
    • Line 130: warning: comment on exported function RunActionWithTimeoutAndContext should be of the form "RunActionWithTimeoutAndContext ..." (golint)
    • Line 138: warning: comment on exported function RunActionWithTimeoutAndCancelStore should be of the form "RunActionWithTimeoutAndCancelStore ..." (golint)
    • Line 156: warning: comment on exported function RunActionWithParallelCheck should be of the form "RunActionWithParallelCheck ..." (golint)
    • golang-utils/utils/filesystem/extendedosfs.go
    • Line 1: warning: package comment should be of the form "Package filesystem ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 13: warning: exported type ExtendedOsFs should have comment or be unexported (golint)
    • Line 17: warning: exported method ExtendedOsFs.ChownIfPossible should have comment or be unexported (golint)
    • Line 21: warning: exported method ExtendedOsFs.LinkIfPossible should have comment or be unexported (golint)
    • Line 25: warning: exported function NewExtendedOsFs should have comment or be unexported (golint)
    • golang-utils/utils/filesystem/filesystem.go
    • Line 1: warning: package comment should be of the form "Package filesystem ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 17: warning: exported const StandardFS should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported var FileSystemTypes should have comment or be unexported (golint)
    • Line 25: warning: exported function NewInMemoryFileSystem should have comment or be unexported (golint)
    • Line 29: warning: exported function NewStandardFileSystem should have comment or be unexported (golint)
    • Line 33: warning: exported function NewFs should have comment or be unexported (golint)
    • Line 43: warning: exported function ConvertFileSytemError should have comment or be unexported (golint)
    • golang-utils/utils/filesystem/lockfile.go
    • Line 1: warning: package comment should be of the form "Package filesystem ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 20: warning: exported const LockFilePrefix should have comment or be unexported (golint)
    • Line 22: warning: exported type RemoteLockFile should have comment or be unexported (golint)
    • Line 33: warning: exported function NewGenericRemoteLockFile should have comment or be unexported (golint)
    • Line 46: warning: comment on exported function NewRemoteLockFile should be of the form "NewRemoteLockFile ..." (golint)
    • Line 72: warning: exported method RemoteLockFile.IsStale should have comment or be unexported (golint)
    • Line 105: warning: exported method RemoteLockFile.ReleaseIfStale should have comment or be unexported (golint)
    • Line 112: warning: comment on exported method RemoteLockFile.TryLock should be of the form "TryLock ..." (golint)
    • Line 154: warning: comment on exported method RemoteLockFile.Lock should be of the form "Lock ..." (golint)
    • Line 174: warning: comment on exported method RemoteLockFile.LockWithTimeout should be of the form "LockWithTimeout ..." (golint)
    • Line 202: warning: comment on exported method RemoteLockFile.MakeStale should be of the form "MakeStale ..." (golint)
    • golang-utils/utils/reflection/reflection.go
    • Line 1: warning: package comment should be of the form "Package reflection ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 15: warning: exported function GetUnexportedStructureField should have comment or be unexported (golint)
    • Line 19: warning: exported function GetStructureField should have comment or be unexported (golint)
    • Line 25: warning: exported function SetUnexportedStructureField should have comment or be unexported (golint)
    • Line 28: warning: exported function SetStructureField should have comment or be unexported (golint)
    • Line 41: warning: comment on exported function GetStructField should be of the form "GetStructField ..." (golint)
    • Line 57: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 62: warning: comment on exported function SetStructField should be of the form "SetStructField ..." (golint)
    • Line 123: warning: comment on exported function InheritsFrom should be of the form "InheritsFrom ..." (golint)
    • golang-utils/utils/logs/string_logger.go
    • Line 1: warning: package comment should be of the form "Package logs ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 15: warning: exported type StringWriter should have comment or be unexported (golint)
    • Line 28: warning: exported method StringWriter.Close should have comment or be unexported (golint)
    • Line 35: warning: exported method StringWriter.GetFullContent should have comment or be unexported (golint)
    • Line 41: warning: exported type StringLoggers should have comment or be unexported (golint)
    • Line 46: warning: exported method StringLoggers.Check should have comment or be unexported (golint)
    • Line 50: warning: exported method StringLoggers.GetLogContent should have comment or be unexported (golint)
    • Line 54: warning: comment on exported method StringLoggers.Close should be of the form "Close ..." (golint)
    • Line 64: warning: comment on exported function CreateStringLogger should be of the form "CreateStringLogger ..." (golint)
    • golang-utils/utils/http/client.go
    • Line 1: warning: package comment should be of the form "Package http ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 36: warning: exported type RetryableClient should have comment or be unexported (golint)
    • Line 40: warning: exported function NewRetryableClient should have comment or be unexported (golint)
    • Line 44: warning: exported method RetryableClient.Head should have comment or be unexported (golint)
    • Line 48: warning: exported method RetryableClient.Post should have comment or be unexported (golint)
    • Line 52: warning: exported method RetryableClient.PostForm should have comment or be unexported (golint)
    • Line 56: warning: exported method RetryableClient.StandardClient should have comment or be unexported (golint)
    • Line 60: warning: exported method RetryableClient.Get should have comment or be unexported (golint)
    • Line 64: warning: exported method RetryableClient.Do should have comment or be unexported (golint)
    • Line 72: warning: exported method RetryableClient.Delete should have comment or be unexported (golint)
    • Line 80: warning: exported method RetryableClient.Put should have comment or be unexported (golint)
    • golang-utils/utils/filesystem/interface.go
    • Line 1: warning: package comment should be of the form "Package filesystem ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 16: warning: exported type FileTimeInfo should have comment or be unexported (golint)
    • Line 26: warning: comment on exported type ILock should be of the form "ILock ..." (with optional leading article) (golint)
    • Line 38: warning: exported type FS should have comment or be unexported (golint)
    • golang-utils/utils/logs/log.go
    • Line 1: warning: package comment should be of the form "Package logs ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 18: warning: exported type Loggers should have comment or be unexported (golint)
    • Line 32: warning: comment on exported type GenericLoggers should be of the form "GenericLoggers ..." (with optional leading article) (golint)
    • Line 38: warning: comment on exported method GenericLoggers.Check should be of the form "Check ..." (golint)
    • Line 46: warning: exported method GenericLoggers.SetLogSource should have comment or be unexported (golint)
    • Line 50: warning: exported method GenericLoggers.SetLoggerSource should have comment or be unexported (golint)
    • Line 54: warning: comment on exported method GenericLoggers.Log should be of the form "Log ..." (golint)
    • Line 59: warning: comment on exported method GenericLoggers.LogError should be of the form "LogError ..." (golint)
    • Line 64: warning: comment on exported method GenericLoggers.Close should be of the form "Close ..." (golint)
    • Line 69: warning: exported type AsynchronousLoggers should have comment or be unexported (golint)
    • Line 76: warning: exported method AsynchronousLoggers.Check should have comment or be unexported (golint)
    • Line 86: warning: exported method AsynchronousLoggers.SetLogSource should have comment or be unexported (golint)
    • Line 98: warning: exported method AsynchronousLoggers.SetLoggerSource should have comment or be unexported (golint)
    • Line 105: warning: exported method AsynchronousLoggers.GetLoggerSource should have comment or be unexported (golint)
    • Line 111: warning: exported method AsynchronousLoggers.Log should have comment or be unexported (golint)
    • Line 115: warning: exported method AsynchronousLoggers.LogError should have comment or be unexported (golint)
    • Line 119: warning: exported method AsynchronousLoggers.Close should have comment or be unexported (golint)
    • Line 131: warning: exported function NewAsynchronousLoggers should have comment or be unexported (golint)
    • golang-utils/utils/logs/writer.go
    • Line 1: warning: package comment should be of the form "Package logs ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 15: warning: exported type WriterWithSource should have comment or be unexported (golint)
    • Line 20: warning: exported type MultipleWritersWithSource should have comment or be unexported (golint)
    • Line 25: warning: exported method MultipleWritersWithSource.GetWriters should have comment or be unexported (golint)
    • Line 31: warning: exported method MultipleWritersWithSource.AddWriters should have comment or be unexported (golint)
    • Line 48: warning: exported method MultipleWritersWithSource.SetSource should have comment or be unexported (golint)
    • Line 59: warning: exported method MultipleWritersWithSource.Close should have comment or be unexported (golint)
    • Line 73: warning: exported function CreateMultipleWritersWithSource should have comment or be unexported (golint)
    • Line 79: warning: exported type DiodeWriter should have comment or be unexported (golint)
    • Line 89: warning: exported method DiodeWriter.Close should have comment or be unexported (golint)
    • Line 100: warning: exported method DiodeWriter.SetSource should have comment or be unexported (golint)
    • Line 104: warning: exported function NewDiodeWriterForSlowWriter should have comment or be unexported (golint)
    • golang-utils/utils/subprocess/executor.go
    • Line 1: warning: package comment should be of the form "Package subprocess ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 28: warning: exported type Subprocess should have comment or be unexported (golint)
    • Line 58: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 65: warning: comment on exported function Execute should be of the form "Execute ..." (golint)
    • Line 89: warning: comment on exported method Subprocess.Check should be of the form "Check ..." (golint)
    • Line 102: warning: comment on exported method Subprocess.Setup should be of the form "Setup ..." (golint)
    • Line 136: warning: comment on exported method Subprocess.IsOn should be of the form "IsOn ..." (golint)
    • Line 141: warning: comment on exported method Subprocess.Start should be of the form "Start ..." (golint)
    • Line 165: warning: exported method Subprocess.Cancel should have comment or be unexported (golint)
    • Line 181: warning: comment on exported method Subprocess.Execute should be of the form "Execute ..." (golint)
    • Line 210: warning: comment on exported method Subprocess.Stop should be of the form "Stop ..." (golint)
    • Line 234: warning: comment on exported method Subprocess.Restart should be of the form "Restart ..." (golint)
    • golang-utils/utils/idgen/uuid.go
    • Line 1: warning: package comment should be of the form "Package idgen ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 9: warning: comment on exported function GenerateUUID4 should be of the form "GenerateUUID4 ..." (golint)
    • Line 18: warning: exported function IsValidUUID should have comment or be unexported (golint)
    • golang-utils/utils/serialization/xml.go
    • Line 1: warning: package comment should be of the form "Package serialization ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 14: warning: comment on exported function UnmarshallXML should be of the form "UnmarshallXML ..." (golint)
    • golang-utils/utils/config/validation.go
    • Line 1: warning: package comment should be of the form "Package config ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 9: warning: exported type Validator should have comment or be unexported (golint)
    • Line 13: warning: comment on exported function ValidateEmbedded should be of the form "ValidateEmbedded ..." (golint)
    • golang-utils/utils/logs/logrus_logger.go
    • Line 1: warning: package comment should be of the form "Package logs ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 14: warning: comment on exported function NewLogrusLogger should be of the form "NewLogrusLogger ..." (golint)
    • golang-utils/utils/logs/noop_logger.go
    • Line 1: warning: package comment should be of the form "Package logs ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 12: warning: exported function NewNoopLogger should have comment or be unexported (golint)
    • golang-utils/utils/logs/std_logger.go
    • Line 1: warning: package comment should be of the form "Package logs ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 16: warning: exported type StdWriter should have comment or be unexported (golint)
    • Line 24: warning: exported method StdWriter.Close should have comment or be unexported (golint)
    • Line 28: warning: exported method StdWriter.SetSource should have comment or be unexported (golint)
    • Line 33: warning: exported type StdErrWriter should have comment or be unexported (golint)
    • Line 41: warning: exported method StdErrWriter.Close should have comment or be unexported (golint)
    • Line 45: warning: exported method StdErrWriter.SetSource should have comment or be unexported (golint)
    • Line 49: warning: comment on exported function CreateStdLogger should be of the form "CreateStdLogger ..." (golint)
    • Line 58: warning: exported function NewAsynchronousStdLogger should have comment or be unexported (golint)
    • golang-utils/utils/platform/os.go
    • Line 1: warning: package comment should be of the form "Package platform ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 17: warning: comment on exported function IsWindows should be of the form "IsWindows ..." (golint)
    • Line 22: warning: comment on exported function LineSeparator should be of the form "LineSeparator ..." (golint)
    • Line 30: warning: comment on exported function Hostname should be of the form "Hostname ..." (golint)
    • Line 35: warning: comment on exported function UpTime should be of the form "UpTime ..." (golint)
    • Line 45: warning: comment on exported function BootTime should be of the form "BootTime ..." (golint)
    • Line 56: warning: comment on exported function NodeName should be of the form "NodeName ..." (golint)
    • Line 66: warning: comment on exported function PlatformInformation should be of the form "PlatformInformation ..." (golint)
    • Line 76: warning: comment on exported function SystemInformation should be of the form "SystemInformation ..." (golint)
    • Line 102: warning: exported function Uname should have comment or be unexported (golint)
    • Line 106: warning: exported type RAM should have comment or be unexported (golint)
    • Line 119: warning: exported type VirtualMemory should have comment or be unexported (golint)
    • Line 127: warning: exported method VirtualMemory.GetTotal should have comment or be unexported (golint)
    • Line 128: warning: exported method VirtualMemory.GetAvailable should have comment or be unexported (golint)
    • Line 129: warning: exported method VirtualMemory.GetUsed should have comment or be unexported (golint)
    • Line 130: warning: exported method VirtualMemory.GetUsedPercent should have comment or be unexported (golint)
    • Line 131: warning: exported method VirtualMemory.GetFree should have comment or be unexported (golint)
    • Line 133: warning: exported function GetRAM should have comment or be unexported (golint)
    • golang-utils/utils/serialization/utf8.go
    • Line 1: warning: package comment should be of the form "Package serialization ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 7: warning: exported const InvalidUTF8CharacterReplacement should have comment or be unexported (golint)
    • golang-utils/utils/filesystem/filehash.go
    • Line 1: warning: package comment should be of the form "Package filesystem ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 14: warning: comment on exported type IFileHash should be of the form "IFileHash ..." (with optional leading article) (golint)
    • Line 54: warning: exported function NewFileHash should have comment or be unexported (golint)
    • golang-utils/utils/collection/search.go
    • Line 1: warning: package comment should be of the form "Package collection ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 7: warning: comment on exported function Find should be of the form "Find ..." (golint)
    • Line 18: warning: exported function Any should have comment or be unexported (golint)
    • Line 27: warning: exported function All should have comment or be unexported (golint)
    • golang-utils/utils/parallelisation/cancel_functions.go
    • Line 1: warning: package comment should be of the form "Package parallelisation ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 12: warning: exported type CancelFunctionStore should have comment or be unexported (golint)
    • Line 17: warning: exported method CancelFunctionStore.RegisterCancelFunction should have comment or be unexported (golint)
    • Line 23: warning: exported method CancelFunctionStore.Cancel should have comment or be unexported (golint)
    • Line 31: warning: exported method CancelFunctionStore.Len should have comment or be unexported (golint)
    • Line 37: warning: exported function NewCancelFunctionsStore should have comment or be unexported (golint)
    • golang-utils/utils/logs/file_logger.go
    • Line 1: warning: package comment should be of the form "Package logs ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 14: warning: exported type FileLoggers should have comment or be unexported (golint)
    • Line 19: warning: exported method FileLoggers.Check should have comment or be unexported (golint)
    • Line 30: warning: comment on exported method FileLoggers.Close should be of the form "Close ..." (golint)
    • Line 42: warning: comment on exported function CreateFileLogger should be of the form "CreateFileLogger ..." (golint)
    • golang-utils/utils/filesystem/files.go
    • Line 1: warning: package comment should be of the form "Package filesystem ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 31: warning: exported var ErrLinkNotImplemented should have comment or be unexported (golint)
    • Line 38: warning: exported const UnsetFileHandle should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: comment on exported type Chowner should be of the form "Chowner ..." (with optional leading article) (golint)
    • Line 47: warning: comment on exported type Linker should be of the form "Linker ..." (with optional leading article) (golint)
    • Line 53: warning: exported type File should have comment or be unexported (golint)
    • Line 58: warning: exported type DiskUsage should have comment or be unexported (golint)
    • Line 68: warning: exported type UsageStat should have comment or be unexported (golint)
    • Line 79: warning: exported method UsageStat.GetTotal should have comment or be unexported (golint)
    • Line 80: warning: exported method UsageStat.GetFree should have comment or be unexported (golint)
    • Line 81: warning: exported method UsageStat.GetUsed should have comment or be unexported (golint)
    • Line 82: warning: exported method UsageStat.GetUsedPercent should have comment or be unexported (golint)
    • Line 83: warning: exported method UsageStat.GetInodesTotal should have comment or be unexported (golint)
    • Line 84: warning: exported method UsageStat.GetInodesUsed should have comment or be unexported (golint)
    • Line 85: warning: exported method UsageStat.GetInodesFree should have comment or be unexported (golint)
    • Line 86: warning: exported method UsageStat.GetInodesUsedPercent should have comment or be unexported (golint)
    • Line 88: warning: exported function IdentityPathConverterFunc should have comment or be unexported (golint)
    • Line 92: warning: exported type VFS should have comment or be unexported (golint)
    • Line 98: warning: exported function NewVirtualFileSystem should have comment or be unexported (golint)
    • Line 106: warning: exported function GetGlobalFileSystem should have comment or be unexported (golint)
    • Line 110: warning: exported function GetType should have comment or be unexported (golint)
    • Line 114: warning: comment on exported method VFS.Walk should be of the form "Walk ..." (golint)
    • Line 164: warning: exported method VFS.GetType should have comment or be unexported (golint)
    • Line 168: warning: exported method VFS.ConvertFilePath should have comment or be unexported (golint)
    • Line 172: warning: exported function TempDirectory should have comment or be unexported (golint)
    • Line 175: warning: exported method VFS.TempDirectory should have comment or be unexported (golint)
    • Line 179: warning: exported function CurrentDirectory should have comment or be unexported (golint)
    • Line 182: warning: exported method VFS.CurrentDirectory should have comment or be unexported (golint)
    • Line 186: warning: exported function Lstat should have comment or be unexported (golint)
    • Line 190: warning: exported method VFS.Lstat should have comment or be unexported (golint)
    • Line 204: warning: exported method VFS.Open should have comment or be unexported (golint)
    • Line 208: warning: exported function GenericOpen should have comment or be unexported (golint)
    • Line 211: warning: exported method VFS.GenericOpen should have comment or be unexported (golint)
    • Line 215: warning: exported method VFS.OpenFile should have comment or be unexported (golint)
    • Line 219: warning: exported function CreateFile should have comment or be unexported (golint)
    • Line 222: warning: exported method VFS.CreateFile should have comment or be unexported (golint)
    • Line 226: warning: exported function ReadFile should have comment or be unexported (golint)
    • Line 230: warning: exported method VFS.NewRemoteLockFile should have comment or be unexported (golint)
    • Line 234: warning: exported method VFS.ReadFile should have comment or be unexported (golint)
    • Line 269: warning: exported method VFS.WriteFile should have comment or be unexported (golint)
    • Line 287: warning: exported function PathSeparator should have comment or be unexported (golint)
    • Line 291: warning: exported method VFS.PathSeparator should have comment or be unexported (golint)
    • Line 295: warning: exported function Stat should have comment or be unexported (golint)
    • Line 299: warning: exported method VFS.Stat should have comment or be unexported (golint)
    • Line 303: warning: exported method VFS.StatTimes should have comment or be unexported (golint)
    • Line 311: warning: exported function TempDir should have comment or be unexported (golint)
    • Line 314: warning: exported method VFS.TempDir should have comment or be unexported (golint)
    • Line 318: warning: exported function TempDirInTempDir should have comment or be unexported (golint)
    • Line 321: warning: exported method VFS.TempDirInTempDir should have comment or be unexported (golint)
    • Line 324: warning: exported function TempFile should have comment or be unexported (golint)
    • Line 327: warning: exported method VFS.TempFile should have comment or be unexported (golint)
    • Line 335: warning: exported function TempFileInTempDir should have comment or be unexported (golint)
    • Line 339: warning: exported method VFS.TempFileInTempDir should have comment or be unexported (golint)
    • Line 343: warning: comment on exported function CleanDir should be of the form "CleanDir ..." (golint)
    • Line 348: warning: exported method VFS.CleanDir should have comment or be unexported (golint)
    • Line 369: warning: comment on exported function Exists should be of the form "Exists ..." (golint)
    • Line 373: warning: exported method VFS.Exists should have comment or be unexported (golint)
    • Line 407: warning: comment on exported function Rm should be of the form "Rm ..." (golint)
    • Line 411: warning: exported method VFS.Rm should have comment or be unexported (golint)
    • Line 435: warning: comment on exported function IsFile should be of the form "IsFile ..." (golint)
    • Line 439: warning: exported method VFS.IsFile should have comment or be unexported (golint)
    • Line 451: warning: exported function IsRegularFile should have comment or be unexported (golint)
    • Line 458: warning: exported method VFS.IsLink should have comment or be unexported (golint)
    • Line 470: warning: exported function IsSymLink should have comment or be unexported (golint)
    • Line 477: warning: comment on exported function IsDir should be of the form "IsDir ..." (golint)
    • Line 481: warning: exported method VFS.IsDir should have comment or be unexported (golint)
    • Line 493: warning: exported function IsDirectory should have comment or be unexported (golint)
    • Line 500: warning: comment on exported function IsEmpty should be of the form "IsEmpty ..." (golint)
    • Line 504: warning: exported method VFS.IsEmpty should have comment or be unexported (golint)
    • Line 548: warning: comment on exported function MkDir should be of the form "MkDir ..." (golint)
    • Line 552: warning: exported method VFS.MkDir should have comment or be unexported (golint)
    • Line 556: warning: exported method VFS.MkDirAll should have comment or be unexported (golint)
    • Line 571: warning: comment on exported function ExcludeAll should be of the form "ExcludeAll ..." (golint)
    • Line 576: warning: exported method VFS.ExcludeAll should have comment or be unexported (golint)
    • Line 609: warning: comment on exported function FindAll should be of the form "FindAll ..." (golint)
    • Line 613: warning: exported method VFS.FindAll should have comment or be unexported (golint)
    • Line 634: warning: exported method VFS.Chmod should have comment or be unexported (golint)
    • Line 638: warning: exported method VFS.Chtimes should have comment or be unexported (golint)
    • Line 642: warning: exported method VFS.Chown should have comment or be unexported (golint)
    • Line 653: warning: exported method VFS.Link should have comment or be unexported (golint)
    • Line 664: warning: exported method VFS.Readlink should have comment or be unexported (golint)
    • Line 675: warning: exported method VFS.Symlink should have comment or be unexported (golint)
    • Line 686: warning: exported function Ls should have comment or be unexported (golint)
    • Line 689: warning: exported method VFS.Ls should have comment or be unexported (golint)
    • Line 703: warning: exported method VFS.LsFromOpenedDirectory should have comment or be unexported (golint)
    • Line 710: warning: exported method VFS.Lls should have comment or be unexported (golint)
    • Line 724: warning: exported method VFS.LlsFromOpenedDirectory should have comment or be unexported (golint)
    • Line 731: warning: exported method VFS.ConvertToAbsolutePath should have comment or be unexported (golint)
    • Line 746: warning: exported method VFS.ConvertToRelativePath should have comment or be unexported (golint)
    • Line 759: warning: comment on exported function Move should be of the form "Move ..." (golint)
    • Line 763: warning: exported method VFS.Move should have comment or be unexported (golint)
    • Line 820: warning: exported function IsPathNotExist should have comment or be unexported (golint)
    • Line 842: warning: exported method VFS.FileHash should have comment or be unexported (golint)
    • Line 851: warning: exported function Copy should have comment or be unexported (golint)
    • Line 854: warning: exported method VFS.Copy should have comment or be unexported (golint)
    • Line 858: warning: exported function MoveBetweenFS should have comment or be unexported (golint)
    • Line 869: warning: exported function CopyBetweenFS should have comment or be unexported (golint)
    • Line 947: warning: exported method VFS.DiskUsage should have comment or be unexported (golint)
    • Line 966: warning: exported function GetFileSize should have comment or be unexported (golint)
    • Line 970: warning: exported method VFS.GetFileSize should have comment or be unexported (golint)
    • Line 979: warning: exported function Zip should have comment or be unexported (golint)
    • Line 983: warning: exported method VFS.Zip should have comment or be unexported (golint)
    • Line 1055: warning: exported function Unzip should have comment or be unexported (golint)
    • Line 1075: warning: exported method VFS.Unzip should have comment or be unexported (golint)
    • Line 1195: warning: exported function SubDirectories should have comment or be unexported (golint)
    • Line 1199: warning: comment on exported method VFS.SubDirectories should be of the form "SubDirectories ..." (golint)
    • Line 1215: warning: exported function ListDirTree should have comment or be unexported (golint)
    • Line 1219: warning: comment on exported method VFS.ListDirTree should be of the form "ListDirTree ..." (golint)
    • Line 1243: warning: exported method VFS.GarbageCollect should have comment or be unexported (golint)
    • Line 1322: warning: exported function IsFileHandleUnset should have comment or be unexported (golint)
    • golang-utils/utils/filesystem/filetimes.go
    • Line 1: warning: package comment should be of the form "Package filesystem ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 17: warning: exported function DetermineFileTimes should have comment or be unexported (golint)

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