Preparing report...

Report for github.com/justinfx/gofileseq

A+    Excellent!    Found 14 issues across 25 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!


gocyclo76%

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.


golint48%

Golint is a linter for Go source code.

    • gofileseq/exp/cpp/export/export.go
    • Line 24: warning: comment on exported type FrameSetId should be of the form "FrameSetId ..." (with optional leading article) (golint)
    • Line 27: warning: comment on exported type FileSeqId should be of the form "FileSeqId ..." (with optional leading article) (golint)
    • Line 30: warning: comment on exported type Error should be of the form "Error ..." (with optional leading article) (golint)
    • Line 33: warning: comment on exported type FileSequences should be of the form "FileSequences ..." (with optional leading article) (golint)
    • Line 36: warning: comment on exported function FS_AllocStats should be of the form "FS_AllocStats ..." (golint)
    • Line 37: warning: don't use underscores in Go names; func FS_AllocStats should be FSAllocStats (golint)
    • Line 50: warning: comment on exported function FrameSet_New should be of the form "FrameSet_New ..." (golint)
    • Line 51: warning: don't use underscores in Go names; func FrameSet_New should be FrameSetNew (golint)
    • Line 62: warning: comment on exported function FrameSet_Incref should be of the form "FrameSet_Incref ..." (golint)
    • Line 63: warning: don't use underscores in Go names; func FrameSet_Incref should be FrameSetIncref (golint)
    • Line 67: warning: comment on exported function FrameSet_Decref should be of the form "FrameSet_Decref ..." (golint)
    • Line 68: warning: don't use underscores in Go names; func FrameSet_Decref should be FrameSetDecref (golint)
    • Line 72: warning: comment on exported function FrameSet_Copy should be of the form "FrameSet_Copy ..." (golint)
    • Line 73: warning: don't use underscores in Go names; func FrameSet_Copy should be FrameSetCopy (golint)
    • Line 84: warning: comment on exported function FrameSet_String should be of the form "FrameSet_String ..." (golint)
    • Line 85: warning: don't use underscores in Go names; func FrameSet_String should be FrameSetString (golint)
    • Line 96: warning: comment on exported function FrameSet_Len should be of the form "FrameSet_Len ..." (golint)
    • Line 97: warning: don't use underscores in Go names; func FrameSet_Len should be FrameSetLen (golint)
    • Line 105: warning: comment on exported function FrameSet_Index should be of the form "FrameSet_Index ..." (golint)
    • Line 106: warning: don't use underscores in Go names; func FrameSet_Index should be FrameSetIndex (golint)
    • Line 114: warning: comment on exported function FrameSet_Frame should be of the form "FrameSet_Frame ..." (golint)
    • Line 115: warning: don't use underscores in Go names; func FrameSet_Frame should be FrameSetFrame (golint)
    • Line 129: warning: comment on exported function FrameSet_Frames should be of the form "FrameSet_Frames ..." (golint)
    • Line 130: warning: don't use underscores in Go names; func FrameSet_Frames should be FrameSetFrames (golint)
    • Line 153: warning: comment on exported function FrameSet_HasFrame should be of the form "FrameSet_HasFrame ..." (golint)
    • Line 154: warning: don't use underscores in Go names; func FrameSet_HasFrame should be FrameSetHasFrame (golint)
    • Line 162: warning: comment on exported function FrameSet_Start should be of the form "FrameSet_Start ..." (golint)
    • Line 163: warning: don't use underscores in Go names; func FrameSet_Start should be FrameSetStart (golint)
    • Line 171: warning: comment on exported function FrameSet_End should be of the form "FrameSet_End ..." (golint)
    • Line 172: warning: don't use underscores in Go names; func FrameSet_End should be FrameSetEnd (golint)
    • Line 180: warning: comment on exported function FrameSet_FrameRange should be of the form "FrameSet_FrameRange ..." (golint)
    • Line 181: warning: don't use underscores in Go names; func FrameSet_FrameRange should be FrameSetFrameRange (golint)
    • Line 192: warning: comment on exported function FrameSet_FrameRangePadded should be of the form "FrameSet_FrameRangePadded ..." (golint)
    • Line 193: warning: don't use underscores in Go names; func FrameSet_FrameRangePadded should be FrameSetFrameRangePadded (golint)
    • Line 204: warning: comment on exported function FrameSet_Invert should be of the form "FrameSet_Invert ..." (golint)
    • Line 205: warning: don't use underscores in Go names; func FrameSet_Invert should be FrameSetInvert (golint)
    • Line 215: warning: comment on exported function FrameSet_InvertedFrameRange should be of the form "FrameSet_InvertedFrameRange ..." (golint)
    • Line 216: warning: don't use underscores in Go names; func FrameSet_InvertedFrameRange should be FrameSetInvertedFrameRange (golint)
    • Line 227: warning: comment on exported function FrameSet_Normalize should be of the form "FrameSet_Normalize ..." (golint)
    • Line 228: warning: don't use underscores in Go names; func FrameSet_Normalize should be FrameSetNormalize (golint)
    • Line 244: warning: comment on exported function FileSequence_New should be of the form "FileSequence_New ..." (golint)
    • Line 245: warning: don't use underscores in Go names; func FileSequence_New should be FileSequenceNew (golint)
    • Line 256: warning: comment on exported function FileSequence_New_Pad should be of the form "FileSequence_New_Pad ..." (golint)
    • Line 257: warning: don't use underscores in Go names; func FileSequence_New_Pad should be FileSequenceNewPad (golint)
    • Line 269: warning: comment on exported function FileSequence_Incref should be of the form "FileSequence_Incref ..." (golint)
    • Line 270: warning: don't use underscores in Go names; func FileSequence_Incref should be FileSequenceIncref (golint)
    • Line 274: warning: comment on exported function FileSequence_Decref should be of the form "FileSequence_Decref ..." (golint)
    • Line 275: warning: don't use underscores in Go names; func FileSequence_Decref should be FileSequenceDecref (golint)
    • Line 279: warning: comment on exported function FileSequence_Copy should be of the form "FileSequence_Copy ..." (golint)
    • Line 280: warning: don't use underscores in Go names; func FileSequence_Copy should be FileSequenceCopy (golint)
    • Line 291: warning: comment on exported function FileSequence_Format should be of the form "FileSequence_Format ..." (golint)
    • Line 292: warning: don't use underscores in Go names; func FileSequence_Format should be FileSequenceFormat (golint)
    • Line 307: warning: comment on exported function FileSequence_Dirname should be of the form "FileSequence_Dirname ..." (golint)
    • Line 308: warning: don't use underscores in Go names; func FileSequence_Dirname should be FileSequenceDirname (golint)
    • Line 317: warning: comment on exported function FileSequence_Basename should be of the form "FileSequence_Basename ..." (golint)
    • Line 318: warning: don't use underscores in Go names; func FileSequence_Basename should be FileSequenceBasename (golint)
    • Line 327: warning: comment on exported function FileSequence_Start should be of the form "FileSequence_Start ..." (golint)
    • Line 328: warning: don't use underscores in Go names; func FileSequence_Start should be FileSequenceStart (golint)
    • Line 336: warning: comment on exported function FileSequence_End should be of the form "FileSequence_End ..." (golint)
    • Line 337: warning: don't use underscores in Go names; func FileSequence_End should be FileSequenceEnd (golint)
    • Line 345: warning: comment on exported function FileSequence_ZFill should be of the form "FileSequence_ZFill ..." (golint)
    • Line 346: warning: don't use underscores in Go names; func FileSequence_ZFill should be FileSequenceZFill (golint)
    • Line 354: warning: comment on exported function FileSequence_Padding should be of the form "FileSequence_Padding ..." (golint)
    • Line 355: warning: don't use underscores in Go names; func FileSequence_Padding should be FileSequencePadding (golint)
    • Line 364: warning: comment on exported function FileSequence_PaddingStyle should be of the form "FileSequence_PaddingStyle ..." (golint)
    • Line 365: warning: don't use underscores in Go names; func FileSequence_PaddingStyle should be FileSequencePaddingStyle (golint)
    • Line 374: warning: comment on exported function FileSequence_FrameRange should be of the form "FileSequence_FrameRange ..." (golint)
    • Line 375: warning: don't use underscores in Go names; func FileSequence_FrameRange should be FileSequenceFrameRange (golint)
    • Line 384: warning: comment on exported function FileSequence_FrameRangePadded should be of the form "FileSequence_FrameRangePadded ..." (golint)
    • Line 385: warning: don't use underscores in Go names; func FileSequence_FrameRangePadded should be FileSequenceFrameRangePadded (golint)
    • Line 394: warning: comment on exported function FileSequence_InvertedFrameRange should be of the form "FileSequence_InvertedFrameRange ..." (golint)
    • Line 395: warning: don't use underscores in Go names; func FileSequence_InvertedFrameRange should be FileSequenceInvertedFrameRange (golint)
    • Line 404: warning: comment on exported function FileSequence_InvertedFrameRangePadded should be of the form "FileSequence_InvertedFrameRangePadded ..." (golint)
    • Line 405: warning: don't use underscores in Go names; func FileSequence_InvertedFrameRangePadded should be FileSequenceInvertedFrameRangePadded (golint)
    • Line 414: warning: comment on exported function FileSequence_FrameSet should be of the form "FileSequence_FrameSet ..." (golint)
    • Line 415: warning: don't use underscores in Go names; func FileSequence_FrameSet should be FileSequenceFrameSet (golint)
    • Line 431: warning: comment on exported function FileSequence_Ext should be of the form "FileSequence_Ext ..." (golint)
    • Line 432: warning: don't use underscores in Go names; func FileSequence_Ext should be FileSequenceExt (golint)
    • Line 441: warning: comment on exported function FileSequence_Frame_Int should be of the form "FileSequence_Frame_Int ..." (golint)
    • Line 442: warning: don't use underscores in Go names; func FileSequence_Frame_Int should be FileSequenceFrameInt (golint)
    • Line 452: warning: comment on exported function FileSequence_Frame_Fill should be of the form "FileSequence_Frame_Fill ..." (golint)
    • Line 453: warning: don't use underscores in Go names; func FileSequence_Frame_Fill should be FileSequenceFrameFill (golint)
    • Line 464: warning: comment on exported function FileSequence_Index should be of the form "FileSequence_Index ..." (golint)
    • Line 465: warning: don't use underscores in Go names; func FileSequence_Index should be FileSequenceIndex (golint)
    • Line 474: warning: comment on exported function FileSequence_Len should be of the form "FileSequence_Len ..." (golint)
    • Line 475: warning: don't use underscores in Go names; func FileSequence_Len should be FileSequenceLen (golint)
    • Line 483: warning: comment on exported function FileSequence_String should be of the form "FileSequence_String ..." (golint)
    • Line 484: warning: don't use underscores in Go names; func FileSequence_String should be FileSequenceString (golint)
    • Line 493: warning: comment on exported function FileSequence_SetDirname should be of the form "FileSequence_SetDirname ..." (golint)
    • Line 494: warning: don't use underscores in Go names; func FileSequence_SetDirname should be FileSequenceSetDirname (golint)
    • Line 501: warning: comment on exported function FileSequence_SetBasename should be of the form "FileSequence_SetBasename ..." (golint)
    • Line 502: warning: don't use underscores in Go names; func FileSequence_SetBasename should be FileSequenceSetBasename (golint)
    • Line 509: warning: comment on exported function FileSequence_SetPadding should be of the form "FileSequence_SetPadding ..." (golint)
    • Line 510: warning: don't use underscores in Go names; func FileSequence_SetPadding should be FileSequenceSetPadding (golint)
    • Line 517: warning: comment on exported function FileSequence_SetPaddingStyle should be of the form "FileSequence_SetPaddingStyle ..." (golint)
    • Line 518: warning: don't use underscores in Go names; func FileSequence_SetPaddingStyle should be FileSequenceSetPaddingStyle (golint)
    • Line 525: warning: comment on exported function FileSequence_SetExt should be of the form "FileSequence_SetExt ..." (golint)
    • Line 526: warning: don't use underscores in Go names; func FileSequence_SetExt should be FileSequenceSetExt (golint)
    • Line 533: warning: comment on exported function FileSequence_SetFrameSet should be of the form "FileSequence_SetFrameSet ..." (golint)
    • Line 534: warning: don't use underscores in Go names; func FileSequence_SetFrameSet should be FileSequenceSetFrameSet (golint)
    • Line 549: warning: comment on exported function FileSequence_SetFrameRange should be of the form "FileSequence_SetFrameRange ..." (golint)
    • Line 550: warning: don't use underscores in Go names; func FileSequence_SetFrameRange should be FileSequenceSetFrameRange (golint)
    • Line 570: warning: comment on exported function FramesToFrameRange should be of the form "FramesToFrameRange ..." (golint)
    • Line 588: warning: comment on exported function IsFrameRange should be of the form "IsFrameRange ..." (golint)
    • Line 593: warning: comment on exported function PadFrameRange should be of the form "PadFrameRange ..." (golint)
    • Line 599: warning: comment on exported function PaddingChars should be of the form "PaddingChars ..." (golint)
    • Line 605: warning: comment on exported function FindSequenceOnDisk should be of the form "FindSequenceOnDisk ..." (golint)
    • Line 610: warning: comment on exported function FindSequenceOnDiskPad should be of the form "FindSequenceOnDiskPad ..." (golint)
    • Line 632: warning: comment on exported function FindSequencesOnDisk should be of the form "FindSequencesOnDisk ..." (golint)
    • gofileseq/ranges/ranges.go
    • Line 250: warning: receiver name f should be consistent with previous receiver name r for InclusiveRange (golint)
    • Line 266: warning: receiver name f should be consistent with previous receiver name r for InclusiveRange (golint)
    • gofileseq/cmd/seqls/listing.go
    • Line 87: warning: exported type ByteSize should have comment or be unexported (golint)
    • Line 91: warning: exported const KB should have comment (or a comment on this block) or be unexported (golint)
    • gofileseq/cmd/seqls/main.go
    • Line 17: warning: exported var Options should have comment or be unexported (golint)
    • Line 29: warning: exported var Version should have comment or be unexported (golint)
    • Line 32: warning: exported const DateFmt should have comment (or a comment on this block) or be unexported (golint)
    • gofileseq/pad.go
    • Line 10: warning: exported type PadStyle should have comment or be unexported (golint)
    • Line 13: warning: comment on exported const PadStyleHash1 should be of the form "PadStyleHash1 ..." (golint)
    • Line 17: warning: exported const PadStyleHash4 should have comment (or a comment on this block) or be unexported (golint)
    • gofileseq/sequence.go
    • Line 428: warning: comment on exported method FileSequence.SetDirname should be of the form "SetDirname ..." (golint)
    • Line 441: warning: comment on exported method FileSequence.SetBasename should be of the form "SetBasename ..." (golint)
    • Line 446: warning: comment on exported method FileSequence.SetPadding should be of the form "SetPadding ..." (golint)
    • Line 452: warning: comment on exported method FileSequence.SetPaddingStyle should be of the form "SetPaddingStyle ..." (golint)
    • Line 459: warning: comment on exported method FileSequence.SetExt should be of the form "SetExt ..." (golint)
    • Line 467: warning: comment on exported method FileSequence.SetFrameSet should be of the form "SetFrameSet ..." (golint)
    • Line 472: warning: comment on exported method FileSequence.SetFrameRange should be of the form "SetFrameRange ..." (golint)
    • gofileseq/exp/cpp/export/uuid.go
    • Line 17: warning: comment on exported function NewRandSource should be of the form "NewRandSource ..." (golint)
    • Line 48: warning: comment on exported type Xor64Source should be of the form "Xor64Source ..." (with optional leading article) (golint)
    • gofileseq/cmd/seqls/manager.go
    • Line 33: warning: comment on exported function NewWorkManager should be of the form "NewWorkManager ..." (golint)
    • Line 182: warning: comment on exported type WriterFlusher should be of the form "WriterFlusher ..." (with optional leading article) (golint)
    • gofileseq/fileseq.go
    • Line 31: warning: exported const Version should have comment or be unexported (golint)
    • Line 258: warning: error var parseIntErr should have name of the form errFoo (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!


misspell96%

Misspell Finds commonly misspelled English words