Preparing report...

Report for github.com/CodingVoid/gomble

A    Great!    Found 25 issues across 37 files

Tweet

gofmt72%

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!


gocyclo78%

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.

    • gomble/gomble/packagereader.go
    • Line 54: warning: cyclomatic complexity 18 of function handlePacket() is high (> 15) (gocyclo)
    • Line 147: warning: cyclomatic complexity 16 of function printReceivedPackage() is high (> 15) (gocyclo)

golint43%

Golint is a linter for Go source code.

    • gomble/gomble/container/matroska/ebml/decoder.go
    • Line 18: warning: exported type DecodeOptions should have comment or be unexported (golint)
    • Line 23: warning: exported function NewReader should have comment or be unexported (golint)
    • Line 36: warning: exported function NewReaderBytes should have comment or be unexported (golint)
    • Line 48: warning: exported type Reader should have comment or be unexported (golint)
    • Line 121: warning: comment on exported method Reader.ReadInt should be of the form "ReadInt ..." (golint)
    • Line 137: warning: comment on exported method Reader.ReadBool should be of the form "ReadBool ..." (golint)
    • Line 169: warning: exported method Reader.Next should have comment or be unexported (golint)
    • Line 235: warning: exported method Reader.ReadVInt should have comment or be unexported (golint)
    • gomble/gomble/channel.go
    • Line 6: warning: exported type Channel should have comment or be unexported (golint)
    • Line 10: warning: exported function GetChannel should have comment or be unexported (golint)
    • Line 16: warning: comment on exported method Channel.SendMessage should be of the form "SendMessage ..." (golint)
    • gomble/gomble/tracksources/youtube/youtubedl.go
    • Line 14: warning: exported type YoutubedlVideo should have comment or be unexported (golint)
    • Line 31: warning: exported type YoutubedlFormat should have comment or be unexported (golint)
    • Line 39: warning: exported function NewYoutubedlVideo should have comment or be unexported (golint)
    • Line 88: warning: comment on exported method YoutubedlVideo.GetPCMFrame should be of the form "GetPCMFrame ..." (golint)
    • Line 137: warning: exported method YoutubedlVideo.GetTitle should have comment or be unexported (golint)
    • gomble/gomble/event.go
    • Line 6: warning: exported type PrivateMessageReceivedEvent should have comment or be unexported (golint)
    • Line 11: warning: exported type ChannelMessageReceivedEvent should have comment or be unexported (golint)
    • Line 17: warning: comment on exported type TrackStoppedEvent should be of the form "TrackStoppedEvent ..." (with optional leading article) (golint)
    • Line 22: warning: comment on exported type TrackPausedEvent should be of the form "TrackPausedEvent ..." (with optional leading article) (golint)
    • Line 27: warning: comment on exported type TrackFinishedEvent should be of the form "TrackFinishedEvent ..." (with optional leading article) (golint)
    • Line 32: warning: comment on exported type TrackExceptionEvent should be of the form "TrackExceptionEvent ..." (with optional leading article) (golint)
    • gomble/gomble/eventhandler.go
    • Line 16: warning: exported var Listener should have comment or be unexported (golint)
    • Line 37: warning: comment on exported function Init should be of the form "Init ..." (golint)
    • Line 47: warning: comment on exported function Begin should be of the form "Begin ..." (golint)
    • gomble/gomble/tracksources/youtube/youtube.go
    • Line 20: warning: exported type YoutubeVideo should have comment or be unexported (golint)
    • Line 33: warning: exported function NewYoutubeVideo should have comment or be unexported (golint)
    • Line 85: warning: don't use underscores in Go names; var player_response should be playerResponse (golint)
    • Line 157: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 436: warning: comment on exported method YoutubeVideo.GetPCMFrame should be of the form "GetPCMFrame ..." (golint)
    • Line 485: warning: exported method YoutubeVideo.GetTitle should have comment or be unexported (golint)
    • Line 489: warning: exported type CipherOperation should have comment or be unexported (golint)
    • Line 495: warning: exported const SWAP should have comment (or a comment on this block) or be unexported (golint)
    • Line 597: warning: exported function Reverse should have comment or be unexported (golint)
    • Line 612: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 659: warning: comment on exported function GetCipherInfoFromUrl should be of the form "GetCipherInfoFromUrl ..." (golint)
    • Line 681: warning: comment on exported function GetCipherInfoFromSignatureCipher should be of the form "GetCipherInfoFromSignatureCipher ..." (golint)
    • gomble/gomble/tracksources/oggopusfile/oggopusfile.go
    • Line 17: warning: exported type OggOpusfile should have comment or be unexported (golint)
    • Line 24: warning: comment on exported function NewOggOpusfile should be of the form "NewOggOpusfile ..." (golint)
    • Line 43: warning: comment on exported method OggOpusfile.GetTotalPCMSamples should be of the form "GetTotalPCMSamples ..." (golint)
    • Line 58: warning: comment on exported method OggOpusfile.GetChannels should be of the form "GetChannels ..." (golint)
    • Line 63: warning: comment on exported method OggOpusfile.GetPCMFrame should be of the form "GetPCMFrame ..." (golint)
    • Line 115: warning: exported method OggOpusfile.GetTitle should have comment or be unexported (golint)
    • gomble/gomble/container/matroska/matroska.go
    • Line 11: warning: exported type Matroska should have comment or be unexported (golint)
    • Line 36: warning: exported type Frame should have comment or be unexported (golint)
    • Line 42: warning: exported function NewMatroska should have comment or be unexported (golint)
    • Line 53: warning: exported method Matroska.ReadHeader should have comment or be unexported (golint)
    • Line 135: warning: comment on exported method Matroska.ReadContent should be of the form "ReadContent ..." (golint)
    • Line 275: warning: comment on exported method Matroska.GetNextFrames should be of the form "GetNextFrames ..." (golint)
    • Line 310: warning: exported method Matroska.GetAudioCodec should have comment or be unexported (golint)
    • Line 325: warning: don't use underscores in Go names; const Matroska_EBML should be MatroskaEBML (golint)
    • Line 326: warning: don't use underscores in Go names; const Matroska_Segment should be MatroskaSegment (golint)
    • Line 329: warning: don't use underscores in Go names; const Matroska_Version should be MatroskaVersion (golint)
    • Line 330: warning: don't use underscores in Go names; const Matroska_EBMLMaxIDLength should be MatroskaEBMLMaxIDLength (golint)
    • Line 331: warning: don't use underscores in Go names; const Matroska_EBMLMaxSizeLength should be MatroskaEBMLMaxSizeLength (golint)
    • Line 334: warning: don't use underscores in Go names; const Matroska_SeekHead should be MatroskaSeekHead (golint)
    • Line 335: warning: don't use underscores in Go names; const Matroska_Seek should be MatroskaSeek (golint)
    • Line 336: warning: don't use underscores in Go names; const Matroska_SeekID should be MatroskaSeekID (golint)
    • Line 337: warning: don't use underscores in Go names; const Matroska_SeekPosition should be MatroskaSeekPosition (golint)
    • Line 340: warning: don't use underscores in Go names; const Matroska_Info should be MatroskaInfo (golint)
    • Line 341: warning: don't use underscores in Go names; const Matroska_SegmentUID should be MatroskaSegmentUID (golint)
    • Line 342: warning: don't use underscores in Go names; const Matroska_SegmentFilename should be MatroskaSegmentFilename (golint)
    • Line 343: warning: don't use underscores in Go names; const Matroska_PrevUID should be MatroskaPrevUID (golint)
    • Line 344: warning: don't use underscores in Go names; const Matroska_PrevFilename should be MatroskaPrevFilename (golint)
    • Line 345: warning: don't use underscores in Go names; const Matroska_NextUID should be MatroskaNextUID (golint)
    • Line 346: warning: don't use underscores in Go names; const Matroska_NextFilename should be MatroskaNextFilename (golint)
    • Line 347: warning: don't use underscores in Go names; const Matroska_SegmentFamily should be MatroskaSegmentFamily (golint)
    • Line 348: warning: don't use underscores in Go names; const Matroska_ChapterTranslate should be MatroskaChapterTranslate (golint)
    • Line 349: warning: don't use underscores in Go names; const Matroska_ChapterTranslateEditionUID should be MatroskaChapterTranslateEditionUID (golint)
    • Line 350: warning: don't use underscores in Go names; const Matroska_ChapterTranslateCodec should be MatroskaChapterTranslateCodec (golint)
    • Line 351: warning: don't use underscores in Go names; const Matroska_ChapterTranslateID should be MatroskaChapterTranslateID (golint)
    • Line 352: warning: don't use underscores in Go names; const Matroska_TimestampScale should be MatroskaTimestampScale (golint)
    • Line 353: warning: don't use underscores in Go names; const Matroska_Duration should be MatroskaDuration (golint)
    • Line 354: warning: don't use underscores in Go names; const Matroska_DateUTC should be MatroskaDateUTC (golint)
    • Line 355: warning: don't use underscores in Go names; const Matroska_Title should be MatroskaTitle (golint)
    • Line 356: warning: don't use underscores in Go names; const Matroska_MuxingApp should be MatroskaMuxingApp (golint)
    • Line 357: warning: don't use underscores in Go names; const Matroska_WritingApp should be MatroskaWritingApp (golint)
    • Line 360: warning: don't use underscores in Go names; const Matroska_Cluster should be MatroskaCluster (golint)
    • Line 361: warning: don't use underscores in Go names; const Matroska_Timestamp should be MatroskaTimestamp (golint)
    • Line 362: warning: don't use underscores in Go names; const Matroska_SilentTracks should be MatroskaSilentTracks (golint)
    • Line 363: warning: don't use underscores in Go names; const Matroska_SilentTrackNumber should be MatroskaSilentTrackNumber (golint)
    • Line 364: warning: don't use underscores in Go names; const Matroska_Position should be MatroskaPosition (golint)
    • Line 365: warning: don't use underscores in Go names; const Matroska_PrevSize should be MatroskaPrevSize (golint)
    • Line 366: warning: don't use underscores in Go names; const Matroska_SimpleBlock should be MatroskaSimpleBlock (golint)
    • Line 367: warning: don't use underscores in Go names; const Matroska_BlockGroup should be MatroskaBlockGroup (golint)
    • Line 368: warning: don't use underscores in Go names; const Matroska_Block should be MatroskaBlock (golint)
    • Line 369: warning: don't use underscores in Go names; const Matroska_BlockVirtual should be MatroskaBlockVirtual (golint)
    • Line 370: warning: don't use underscores in Go names; const Matroska_BlockAdditions should be MatroskaBlockAdditions (golint)
    • Line 371: warning: don't use underscores in Go names; const Matroska_BlockMore should be MatroskaBlockMore (golint)
    • Line 372: warning: don't use underscores in Go names; const Matroska_BlockAddID should be MatroskaBlockAddID (golint)
    • Line 373: warning: don't use underscores in Go names; const Matroska_BlockAdditional should be MatroskaBlockAdditional (golint)
    • Line 374: warning: don't use underscores in Go names; const Matroska_BlockDuration should be MatroskaBlockDuration (golint)
    • Line 375: warning: don't use underscores in Go names; const Matroska_ReferencePriority should be MatroskaReferencePriority (golint)
    • Line 376: warning: don't use underscores in Go names; const Matroska_ReferenceBlock should be MatroskaReferenceBlock (golint)
    • Line 377: warning: don't use underscores in Go names; const Matroska_ReferenceVirtual should be MatroskaReferenceVirtual (golint)
    • Line 378: warning: don't use underscores in Go names; const Matroska_CodecState should be MatroskaCodecState (golint)
    • Line 379: warning: don't use underscores in Go names; const Matroska_DiscardPadding should be MatroskaDiscardPadding (golint)
    • Line 380: warning: don't use underscores in Go names; const Matroska_Slices should be MatroskaSlices (golint)
    • Line 381: warning: don't use underscores in Go names; const Matroska_TimeSlice should be MatroskaTimeSlice (golint)
    • Line 382: warning: don't use underscores in Go names; const Matroska_LaceNumber should be MatroskaLaceNumber (golint)
    • Line 383: warning: don't use underscores in Go names; const Matroska_FrameNumber should be MatroskaFrameNumber (golint)
    • Line 384: warning: don't use underscores in Go names; const Matroska_BlockAdditionID should be MatroskaBlockAdditionID (golint)
    • Line 385: warning: don't use underscores in Go names; const Matroska_Delay should be MatroskaDelay (golint)
    • Line 386: warning: don't use underscores in Go names; const Matroska_SliceDuration should be MatroskaSliceDuration (golint)
    • Line 387: warning: don't use underscores in Go names; const Matroska_ReferenceFrame should be MatroskaReferenceFrame (golint)
    • Line 388: warning: don't use underscores in Go names; const Matroska_ReferenceOffset should be MatroskaReferenceOffset (golint)
    • Line 389: warning: don't use underscores in Go names; const Matroska_ReferenceTimestamp should be MatroskaReferenceTimestamp (golint)
    • Line 390: warning: don't use underscores in Go names; const Matroska_EncryptedBlock should be MatroskaEncryptedBlock (golint)
    • Line 393: warning: don't use underscores in Go names; const Matroska_Tracks should be MatroskaTracks (golint)
    • Line 394: warning: don't use underscores in Go names; const Matroska_TrackEntry should be MatroskaTrackEntry (golint)
    • Line 395: warning: don't use underscores in Go names; const Matroska_TrackNumber should be MatroskaTrackNumber (golint)
    • Line 396: warning: don't use underscores in Go names; const Matroska_TrackUID should be MatroskaTrackUID (golint)
    • Line 397: warning: don't use underscores in Go names; const Matroska_TrackType should be MatroskaTrackType (golint)
    • Line 398: warning: don't use underscores in Go names; const Matroska_FlagEnabled should be MatroskaFlagEnabled (golint)
    • Line 399: warning: don't use underscores in Go names; const Matroska_FlagDefault should be MatroskaFlagDefault (golint)
    • Line 400: warning: don't use underscores in Go names; const Matroska_FlagForced should be MatroskaFlagForced (golint)
    • Line 401: warning: don't use underscores in Go names; const Matroska_FlagLacing should be MatroskaFlagLacing (golint)
    • Line 402: warning: don't use underscores in Go names; const Matroska_MinCache should be MatroskaMinCache (golint)
    • Line 403: warning: don't use underscores in Go names; const Matroska_MaxCache should be MatroskaMaxCache (golint)
    • Line 404: warning: don't use underscores in Go names; const Matroska_DefaultDuration should be MatroskaDefaultDuration (golint)
    • Line 405: warning: don't use underscores in Go names; const Matroska_DefaultDecodedFieldDuration should be MatroskaDefaultDecodedFieldDuration (golint)
    • Line 406: warning: don't use underscores in Go names; const Matroska_TrackTimestampScale should be MatroskaTrackTimestampScale (golint)
    • Line 407: warning: don't use underscores in Go names; const Matroska_TrackOffset should be MatroskaTrackOffset (golint)
    • Line 408: warning: don't use underscores in Go names; const Matroska_MaxBlockAdditionID should be MatroskaMaxBlockAdditionID (golint)
    • Line 409: warning: don't use underscores in Go names; const Matroska_Name should be MatroskaName (golint)
    • Line 410: warning: don't use underscores in Go names; const Matroska_Language should be MatroskaLanguage (golint)
    • Line 411: warning: don't use underscores in Go names; const Matroska_LanguageIETF should be MatroskaLanguageIETF (golint)
    • Line 412: warning: don't use underscores in Go names; const Matroska_CodecID should be MatroskaCodecID (golint)
    • Line 413: warning: don't use underscores in Go names; const Matroska_CodecPrivate should be MatroskaCodecPrivate (golint)
    • Line 414: warning: don't use underscores in Go names; const Matroska_CodecName should be MatroskaCodecName (golint)
    • Line 415: warning: don't use underscores in Go names; const Matroska_AttachmentLink should be MatroskaAttachmentLink (golint)
    • Line 416: warning: don't use underscores in Go names; const Matroska_CodecSettings should be MatroskaCodecSettings (golint)
    • Line 417: warning: don't use underscores in Go names; const Matroska_CodecInfoURL should be MatroskaCodecInfoURL (golint)
    • Line 418: warning: don't use underscores in Go names; const Matroska_CodecDownloadURL should be MatroskaCodecDownloadURL (golint)
    • Line 419: warning: don't use underscores in Go names; const Matroska_CodecDecodeAll should be MatroskaCodecDecodeAll (golint)
    • Line 420: warning: don't use underscores in Go names; const Matroska_TrackOverlay should be MatroskaTrackOverlay (golint)
    • Line 421: warning: don't use underscores in Go names; const Matroska_CodecDelay should be MatroskaCodecDelay (golint)
    • Line 422: warning: don't use underscores in Go names; const Matroska_SeekPreRoll should be MatroskaSeekPreRoll (golint)
    • Line 423: warning: don't use underscores in Go names; const Matroska_TrackTranslate should be MatroskaTrackTranslate (golint)
    • Line 424: warning: don't use underscores in Go names; const Matroska_TrackTranslateEditionUID should be MatroskaTrackTranslateEditionUID (golint)
    • Line 425: warning: don't use underscores in Go names; const Matroska_TrackTranslateCodec should be MatroskaTrackTranslateCodec (golint)
    • Line 426: warning: don't use underscores in Go names; const Matroska_TrackTranslateTrackID should be MatroskaTrackTranslateTrackID (golint)
    • Line 427: warning: don't use underscores in Go names; const Matroska_Video should be MatroskaVideo (golint)
    • Line 428: warning: don't use underscores in Go names; const Matroska_FlagInterlaced should be MatroskaFlagInterlaced (golint)
    • Line 429: warning: don't use underscores in Go names; const Matroska_FieldOrder should be MatroskaFieldOrder (golint)
    • Line 430: warning: don't use underscores in Go names; const Matroska_StereoMode should be MatroskaStereoMode (golint)
    • Line 431: warning: don't use underscores in Go names; const Matroska_AlphaMode should be MatroskaAlphaMode (golint)
    • Line 432: warning: don't use underscores in Go names; const Matroska_OldStereoMode should be MatroskaOldStereoMode (golint)
    • Line 433: warning: don't use underscores in Go names; const Matroska_PixelWidth should be MatroskaPixelWidth (golint)
    • Line 434: warning: don't use underscores in Go names; const Matroska_PixelHeight should be MatroskaPixelHeight (golint)
    • Line 435: warning: don't use underscores in Go names; const Matroska_PixelCropBottom should be MatroskaPixelCropBottom (golint)
    • Line 436: warning: don't use underscores in Go names; const Matroska_PixelCropTop should be MatroskaPixelCropTop (golint)
    • Line 437: warning: don't use underscores in Go names; const Matroska_PixelCropLeft should be MatroskaPixelCropLeft (golint)
    • Line 438: warning: don't use underscores in Go names; const Matroska_PixelCropRight should be MatroskaPixelCropRight (golint)
    • Line 439: warning: don't use underscores in Go names; const Matroska_DisplayWidth should be MatroskaDisplayWidth (golint)
    • Line 440: warning: don't use underscores in Go names; const Matroska_DisplayHeight should be MatroskaDisplayHeight (golint)
    • Line 441: warning: don't use underscores in Go names; const Matroska_DisplayUnit should be MatroskaDisplayUnit (golint)
    • Line 442: warning: don't use underscores in Go names; const Matroska_AspectRatioType should be MatroskaAspectRatioType (golint)
    • Line 443: warning: don't use underscores in Go names; const Matroska_ColourSpace should be MatroskaColourSpace (golint)
    • Line 444: warning: don't use underscores in Go names; const Matroska_GammaValue should be MatroskaGammaValue (golint)
    • Line 445: warning: don't use underscores in Go names; const Matroska_FrameRate should be MatroskaFrameRate (golint)
    • Line 446: warning: don't use underscores in Go names; const Matroska_Colour should be MatroskaColour (golint)
    • Line 447: warning: don't use underscores in Go names; const Matroska_MatrixCoefficients should be MatroskaMatrixCoefficients (golint)
    • Line 448: warning: don't use underscores in Go names; const Matroska_BitsPerChannel should be MatroskaBitsPerChannel (golint)
    • Line 449: warning: don't use underscores in Go names; const Matroska_ChromaSubsamplingHorz should be MatroskaChromaSubsamplingHorz (golint)
    • Line 450: warning: don't use underscores in Go names; const Matroska_ChromaSubsamplingVert should be MatroskaChromaSubsamplingVert (golint)
    • Line 451: warning: don't use underscores in Go names; const Matroska_CbSubsamplingHorz should be MatroskaCbSubsamplingHorz (golint)
    • Line 452: warning: don't use underscores in Go names; const Matroska_CbSubsamplingVert should be MatroskaCbSubsamplingVert (golint)
    • Line 453: warning: don't use underscores in Go names; const Matroska_ChromaSitingHorz should be MatroskaChromaSitingHorz (golint)
    • Line 454: warning: don't use underscores in Go names; const Matroska_ChromaSitingVert should be MatroskaChromaSitingVert (golint)
    • Line 455: warning: don't use underscores in Go names; const Matroska_Range should be MatroskaRange (golint)
    • Line 456: warning: don't use underscores in Go names; const Matroska_TransferCharacteristics should be MatroskaTransferCharacteristics (golint)
    • Line 457: warning: don't use underscores in Go names; const Matroska_Primaries should be MatroskaPrimaries (golint)
    • Line 458: warning: don't use underscores in Go names; const Matroska_MaxCLL should be MatroskaMaxCLL (golint)
    • Line 459: warning: don't use underscores in Go names; const Matroska_MaxFALL should be MatroskaMaxFALL (golint)
    • Line 460: warning: don't use underscores in Go names; const Matroska_MasteringMetadata should be MatroskaMasteringMetadata (golint)
    • Line 461: warning: don't use underscores in Go names; const Matroska_PrimaryRChromaticityX should be MatroskaPrimaryRChromaticityX (golint)
    • Line 462: warning: don't use underscores in Go names; const Matroska_PrimaryRChromaticityY should be MatroskaPrimaryRChromaticityY (golint)
    • Line 463: warning: don't use underscores in Go names; const Matroska_PrimaryGChromaticityX should be MatroskaPrimaryGChromaticityX (golint)
    • Line 464: warning: don't use underscores in Go names; const Matroska_PrimaryGChromaticityY should be MatroskaPrimaryGChromaticityY (golint)
    • Line 465: warning: don't use underscores in Go names; const Matroska_PrimaryBChromaticityX should be MatroskaPrimaryBChromaticityX (golint)
    • Line 466: warning: don't use underscores in Go names; const Matroska_PrimaryBChromaticityY should be MatroskaPrimaryBChromaticityY (golint)
    • Line 467: warning: don't use underscores in Go names; const Matroska_WhitePointChromaticityX should be MatroskaWhitePointChromaticityX (golint)
    • Line 468: warning: don't use underscores in Go names; const Matroska_WhitePointChromaticityY should be MatroskaWhitePointChromaticityY (golint)
    • Line 469: warning: don't use underscores in Go names; const Matroska_LuminanceMax should be MatroskaLuminanceMax (golint)
    • Line 470: warning: don't use underscores in Go names; const Matroska_LuminanceMin should be MatroskaLuminanceMin (golint)
    • Line 471: warning: don't use underscores in Go names; const Matroska_Projection should be MatroskaProjection (golint)
    • Line 472: warning: don't use underscores in Go names; const Matroska_ProjectionType should be MatroskaProjectionType (golint)
    • Line 473: warning: don't use underscores in Go names; const Matroska_ProjectionPrivate should be MatroskaProjectionPrivate (golint)
    • Line 474: warning: don't use underscores in Go names; const Matroska_ProjectionPoseYaw should be MatroskaProjectionPoseYaw (golint)
    • Line 475: warning: don't use underscores in Go names; const Matroska_ProjectionPosePitch should be MatroskaProjectionPosePitch (golint)
    • Line 476: warning: don't use underscores in Go names; const Matroska_ProjectionPoseRoll should be MatroskaProjectionPoseRoll (golint)
    • Line 477: warning: don't use underscores in Go names; const Matroska_Audio should be MatroskaAudio (golint)
    • Line 478: warning: don't use underscores in Go names; const Matroska_SamplingFrequency should be MatroskaSamplingFrequency (golint)
    • Line 479: warning: don't use underscores in Go names; const Matroska_OutputSamplingFrequency should be MatroskaOutputSamplingFrequency (golint)
    • Line 480: warning: don't use underscores in Go names; const Matroska_Channels should be MatroskaChannels (golint)
    • Line 481: warning: don't use underscores in Go names; const Matroska_ChannelPositions should be MatroskaChannelPositions (golint)
    • Line 482: warning: don't use underscores in Go names; const Matroska_BitDepth should be MatroskaBitDepth (golint)
    • Line 483: warning: don't use underscores in Go names; const Matroska_TrackOperation should be MatroskaTrackOperation (golint)
    • Line 484: warning: don't use underscores in Go names; const Matroska_TrackCombinePlanes should be MatroskaTrackCombinePlanes (golint)
    • Line 485: warning: don't use underscores in Go names; const Matroska_TrackPlane should be MatroskaTrackPlane (golint)
    • Line 486: warning: don't use underscores in Go names; const Matroska_TrackPlaneUID should be MatroskaTrackPlaneUID (golint)
    • Line 487: warning: don't use underscores in Go names; const Matroska_TrackPlaneType should be MatroskaTrackPlaneType (golint)
    • Line 488: warning: don't use underscores in Go names; const Matroska_TrackJoinBlocks should be MatroskaTrackJoinBlocks (golint)
    • Line 489: warning: don't use underscores in Go names; const Matroska_TrackJoinUID should be MatroskaTrackJoinUID (golint)
    • Line 490: warning: don't use underscores in Go names; const Matroska_TrickTrackUID should be MatroskaTrickTrackUID (golint)
    • Line 491: warning: don't use underscores in Go names; const Matroska_TrickTrackSegmentUID should be MatroskaTrickTrackSegmentUID (golint)
    • Line 492: warning: don't use underscores in Go names; const Matroska_TrickTrackFlag should be MatroskaTrickTrackFlag (golint)
    • Line 493: warning: don't use underscores in Go names; const Matroska_TrickMasterTrackUID should be MatroskaTrickMasterTrackUID (golint)
    • Line 494: warning: don't use underscores in Go names; const Matroska_TrickMasterTrackSegmentUID should be MatroskaTrickMasterTrackSegmentUID (golint)
    • Line 495: warning: don't use underscores in Go names; const Matroska_ContentEncodings should be MatroskaContentEncodings (golint)
    • Line 496: warning: don't use underscores in Go names; const Matroska_ContentEncoding should be MatroskaContentEncoding (golint)
    • Line 497: warning: don't use underscores in Go names; const Matroska_ContentEncodingOrder should be MatroskaContentEncodingOrder (golint)
    • Line 498: warning: don't use underscores in Go names; const Matroska_ContentEncodingScope should be MatroskaContentEncodingScope (golint)
    • Line 499: warning: don't use underscores in Go names; const Matroska_ContentEncodingType should be MatroskaContentEncodingType (golint)
    • Line 500: warning: don't use underscores in Go names; const Matroska_ContentCompression should be MatroskaContentCompression (golint)
    • Line 501: warning: don't use underscores in Go names; const Matroska_ContentCompAlgo should be MatroskaContentCompAlgo (golint)
    • Line 502: warning: don't use underscores in Go names; const Matroska_ContentCompSettings should be MatroskaContentCompSettings (golint)
    • Line 503: warning: don't use underscores in Go names; const Matroska_ContentEncryption should be MatroskaContentEncryption (golint)
    • Line 504: warning: don't use underscores in Go names; const Matroska_ContentEncAlgo should be MatroskaContentEncAlgo (golint)
    • Line 505: warning: don't use underscores in Go names; const Matroska_ContentEncKeyID should be MatroskaContentEncKeyID (golint)
    • Line 506: warning: don't use underscores in Go names; const Matroska_ContentEncAESSettings should be MatroskaContentEncAESSettings (golint)
    • Line 507: warning: don't use underscores in Go names; const Matroska_AESSettingsCipherMode should be MatroskaAESSettingsCipherMode (golint)
    • Line 508: warning: don't use underscores in Go names; const Matroska_ContentSignature should be MatroskaContentSignature (golint)
    • Line 509: warning: don't use underscores in Go names; const Matroska_ContentSigKeyID should be MatroskaContentSigKeyID (golint)
    • Line 510: warning: don't use underscores in Go names; const Matroska_ContentSigAlgo should be MatroskaContentSigAlgo (golint)
    • Line 511: warning: don't use underscores in Go names; const Matroska_ContentSigHashAlgo should be MatroskaContentSigHashAlgo (golint)
    • Line 514: warning: don't use underscores in Go names; const Matroska_Cues should be MatroskaCues (golint)
    • Line 515: warning: don't use underscores in Go names; const Matroska_CuePoint should be MatroskaCuePoint (golint)
    • Line 516: warning: don't use underscores in Go names; const Matroska_CueTime should be MatroskaCueTime (golint)
    • Line 517: warning: don't use underscores in Go names; const Matroska_CueTrackPositions should be MatroskaCueTrackPositions (golint)
    • Line 518: warning: don't use underscores in Go names; const Matroska_CueTrack should be MatroskaCueTrack (golint)
    • Line 519: warning: don't use underscores in Go names; const Matroska_CueClusterPosition should be MatroskaCueClusterPosition (golint)
    • Line 520: warning: don't use underscores in Go names; const Matroska_CueRelativePosition should be MatroskaCueRelativePosition (golint)
    • Line 521: warning: don't use underscores in Go names; const Matroska_CueDuration should be MatroskaCueDuration (golint)
    • Line 522: warning: don't use underscores in Go names; const Matroska_CueBlockNumber should be MatroskaCueBlockNumber (golint)
    • Line 523: warning: don't use underscores in Go names; const Matroska_CueCodecState should be MatroskaCueCodecState (golint)
    • Line 524: warning: don't use underscores in Go names; const Matroska_CueReference should be MatroskaCueReference (golint)
    • Line 525: warning: don't use underscores in Go names; const Matroska_CueRefTime should be MatroskaCueRefTime (golint)
    • Line 526: warning: don't use underscores in Go names; const Matroska_CueRefCluster should be MatroskaCueRefCluster (golint)
    • Line 527: warning: don't use underscores in Go names; const Matroska_CueRefNumber should be MatroskaCueRefNumber (golint)
    • Line 528: warning: don't use underscores in Go names; const Matroska_CueRefCodecState should be MatroskaCueRefCodecState (golint)
    • Line 529: warning: don't use underscores in Go names; const Matroska_Attachments should be MatroskaAttachments (golint)
    • Line 530: warning: don't use underscores in Go names; const Matroska_AttachedFile should be MatroskaAttachedFile (golint)
    • Line 531: warning: don't use underscores in Go names; const Matroska_FileDescription should be MatroskaFileDescription (golint)
    • Line 532: warning: don't use underscores in Go names; const Matroska_FileName should be MatroskaFileName (golint)
    • Line 533: warning: don't use underscores in Go names; const Matroska_FileMimeType should be MatroskaFileMimeType (golint)
    • Line 534: warning: don't use underscores in Go names; const Matroska_FileData should be MatroskaFileData (golint)
    • Line 535: warning: don't use underscores in Go names; const Matroska_FileUID should be MatroskaFileUID (golint)
    • Line 536: warning: don't use underscores in Go names; const Matroska_FileReferral should be MatroskaFileReferral (golint)
    • Line 537: warning: don't use underscores in Go names; const Matroska_FileUsedStartTime should be MatroskaFileUsedStartTime (golint)
    • Line 538: warning: don't use underscores in Go names; const Matroska_FileUsedEndTime should be MatroskaFileUsedEndTime (golint)
    • Line 541: warning: don't use underscores in Go names; const Matroska_Chapters should be MatroskaChapters (golint)
    • Line 542: warning: don't use underscores in Go names; const Matroska_EditionEntry should be MatroskaEditionEntry (golint)
    • Line 543: warning: don't use underscores in Go names; const Matroska_EditionUID should be MatroskaEditionUID (golint)
    • Line 544: warning: don't use underscores in Go names; const Matroska_EditionFlagHidden should be MatroskaEditionFlagHidden (golint)
    • Line 545: warning: don't use underscores in Go names; const Matroska_EditionFlagDefault should be MatroskaEditionFlagDefault (golint)
    • Line 546: warning: don't use underscores in Go names; const Matroska_EditionFlagOrdered should be MatroskaEditionFlagOrdered (golint)
    • Line 547: warning: don't use underscores in Go names; const Matroska_ChapterAtom should be MatroskaChapterAtom (golint)
    • Line 548: warning: don't use underscores in Go names; const Matroska_ChapterUID should be MatroskaChapterUID (golint)
    • Line 549: warning: don't use underscores in Go names; const Matroska_ChapterStringUID should be MatroskaChapterStringUID (golint)
    • Line 550: warning: don't use underscores in Go names; const Matroska_ChapterTimeStart should be MatroskaChapterTimeStart (golint)
    • Line 551: warning: don't use underscores in Go names; const Matroska_ChapterTimeEnd should be MatroskaChapterTimeEnd (golint)
    • Line 552: warning: don't use underscores in Go names; const Matroska_ChapterFlagHidden should be MatroskaChapterFlagHidden (golint)
    • Line 553: warning: don't use underscores in Go names; const Matroska_ChapterFlagEnabled should be MatroskaChapterFlagEnabled (golint)
    • Line 554: warning: don't use underscores in Go names; const Matroska_ChapterSegmentUID should be MatroskaChapterSegmentUID (golint)
    • Line 555: warning: don't use underscores in Go names; const Matroska_ChapterSegmentEditionUID should be MatroskaChapterSegmentEditionUID (golint)
    • Line 556: warning: don't use underscores in Go names; const Matroska_ChapterPhysicalEquiv should be MatroskaChapterPhysicalEquiv (golint)
    • Line 557: warning: don't use underscores in Go names; const Matroska_ChapterTrack should be MatroskaChapterTrack (golint)
    • Line 558: warning: don't use underscores in Go names; const Matroska_ChapterTrackNumber should be MatroskaChapterTrackNumber (golint)
    • Line 559: warning: don't use underscores in Go names; const Matroska_ChapterDisplay should be MatroskaChapterDisplay (golint)
    • Line 560: warning: don't use underscores in Go names; const Matroska_ChapString should be MatroskaChapString (golint)
    • Line 561: warning: don't use underscores in Go names; const Matroska_ChapLanguage should be MatroskaChapLanguage (golint)
    • Line 562: warning: don't use underscores in Go names; const Matroska_ChapLanguageIETF should be MatroskaChapLanguageIETF (golint)
    • Line 563: warning: don't use underscores in Go names; const Matroska_ChapCountry should be MatroskaChapCountry (golint)
    • Line 564: warning: don't use underscores in Go names; const Matroska_ChapProcess should be MatroskaChapProcess (golint)
    • Line 565: warning: don't use underscores in Go names; const Matroska_ChapProcessCodecID should be MatroskaChapProcessCodecID (golint)
    • Line 566: warning: don't use underscores in Go names; const Matroska_ChapProcessPrivate should be MatroskaChapProcessPrivate (golint)
    • Line 567: warning: don't use underscores in Go names; const Matroska_ChapProcessCommand should be MatroskaChapProcessCommand (golint)
    • Line 568: warning: don't use underscores in Go names; const Matroska_ChapProcessTime should be MatroskaChapProcessTime (golint)
    • Line 569: warning: don't use underscores in Go names; const Matroska_ChapProcessData should be MatroskaChapProcessData (golint)
    • Line 570: warning: don't use underscores in Go names; const Matroska_Tags should be MatroskaTags (golint)
    • Line 571: warning: don't use underscores in Go names; const Matroska_Tag should be MatroskaTag (golint)
    • Line 572: warning: don't use underscores in Go names; const Matroska_Targets should be MatroskaTargets (golint)
    • Line 573: warning: don't use underscores in Go names; const Matroska_TargetTypeValue should be MatroskaTargetTypeValue (golint)
    • Line 574: warning: don't use underscores in Go names; const Matroska_TargetType should be MatroskaTargetType (golint)
    • Line 575: warning: don't use underscores in Go names; const Matroska_TagTrackUID should be MatroskaTagTrackUID (golint)
    • Line 576: warning: don't use underscores in Go names; const Matroska_TagEditionUID should be MatroskaTagEditionUID (golint)
    • Line 577: warning: don't use underscores in Go names; const Matroska_TagChapterUID should be MatroskaTagChapterUID (golint)
    • Line 578: warning: don't use underscores in Go names; const Matroska_TagAttachmentUID should be MatroskaTagAttachmentUID (golint)
    • Line 579: warning: don't use underscores in Go names; const Matroska_SimpleTag should be MatroskaSimpleTag (golint)
    • Line 580: warning: don't use underscores in Go names; const Matroska_TagName should be MatroskaTagName (golint)
    • Line 581: warning: don't use underscores in Go names; const Matroska_TagLanguage should be MatroskaTagLanguage (golint)
    • Line 582: warning: don't use underscores in Go names; const Matroska_TagLanguageIETF should be MatroskaTagLanguageIETF (golint)
    • Line 583: warning: don't use underscores in Go names; const Matroska_TagDefault should be MatroskaTagDefault (golint)
    • Line 584: warning: don't use underscores in Go names; const Matroska_TagString should be MatroskaTagString (golint)
    • Line 585: warning: don't use underscores in Go names; const Matroska_TagBinary should be MatroskaTagBinary (golint)
    • Line 610: warning: exported type Position should have comment or be unexported (golint)
    • Line 611: warning: exported type Time should have comment or be unexported (golint)
    • Line 612: warning: exported type Duration should have comment or be unexported (golint)
    • Line 662: warning: exported type TranslateID should have comment or be unexported (golint)
    • Line 663: warning: exported type ChapterCodec should have comment or be unexported (golint)
    • Line 666: warning: exported const ChapterCodecMatroska should have comment (or a comment on this block) or be unexported (golint)
    • Line 680: warning: exported type ClusterID should have comment or be unexported (golint)
    • Line 692: warning: exported const LacingNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 710: warning: exported type TimeSlice should have comment or be unexported (golint)
    • Line 714: warning: comment on exported type BlockAddition should be of the form "BlockAddition ..." (with optional leading article) (golint)
    • Line 720: warning: exported type BlockAdditionID should have comment or be unexported (golint)
    • Line 758: warning: exported type TrackID should have comment or be unexported (golint)
    • Line 759: warning: exported type TrackNumber should have comment or be unexported (golint)
    • Line 760: warning: exported type AttachmentID should have comment or be unexported (golint)
    • Line 761: warning: exported type TrackType should have comment or be unexported (golint)
    • Line 764: warning: exported const TrackTypeVideo should have comment (or a comment on this block) or be unexported (golint)
    • Line 780: warning: exported type TranslateTrackID should have comment or be unexported (golint)
    • Line 802: warning: exported type InterlaceType should have comment or be unexported (golint)
    • Line 810: warning: exported type FieldOrder should have comment or be unexported (golint)
    • Line 822: warning: exported type StereoMode should have comment or be unexported (golint)
    • Line 842: warning: exported type AlphaMode should have comment or be unexported (golint)
    • Line 845: warning: exported type DisplayUnit should have comment or be unexported (golint)
    • Line 855: warning: exported type AspectRatioType should have comment or be unexported (golint)
    • Line 882: warning: comment on exported type MatrixCoefficients should be of the form "MatrixCoefficients ..." (with optional leading article) (golint)
    • Line 885: warning: comment on exported type TransferCharacteristics should be of the form "TransferCharacteristics ..." (with optional leading article) (golint)
    • Line 888: warning: comment on exported type Primaries should be of the form "Primaries ..." (with optional leading article) (golint)
    • Line 891: warning: exported type ChromaSiting should have comment or be unexported (golint)
    • Line 900: warning: exported type ColourRange should have comment or be unexported (golint)
    • Line 945: warning: exported type PlaneType should have comment or be unexported (golint)
    • Line 964: warning: exported type EncodingScope should have comment or be unexported (golint)
    • Line 973: warning: exported type EncodingType should have comment or be unexported (golint)
    • Line 976: warning: exported const EncodingTypeCompression should have comment (or a comment on this block) or be unexported (golint)
    • Line 986: warning: exported type CompressionAlgo should have comment or be unexported (golint)
    • Line 989: warning: exported const CompressionAlgoZlib should have comment (or a comment on this block) or be unexported (golint)
    • Line 1054: warning: exported type ChapterID should have comment or be unexported (golint)
    • Line 1101: warning: exported function NewSimpleTag should have comment or be unexported (golint)
    • gomble/mumbleproto/types.go
    • Line 8: warning: exported const MessageVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported const UDPMessageVoiceCELTAlpha should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: comment on exported function MessageType should be of the form "MessageType ..." (golint)
    • gomble/gomble/audioformats/opus.go
    • Line 1: warning: package comment should be of the form "Package audioformats ..." (golint)
    • Line 67: warning: exported type OpusEncoder should have comment or be unexported (golint)
    • Line 76: warning: exported type OpusDecoder should have comment or be unexported (golint)
    • Line 82: warning: don't use underscores in Go names; struct field sample_rate should be sampleRate (golint)
    • Line 86: warning: comment on exported function NewOpusEncoder should be of the form "NewOpusEncoder ..." (golint)
    • Line 111: warning: exported function NewOpusDecoder should have comment or be unexported (golint)
    • Line 128: warning: exported method OpusEncoder.CtlSetBitrate should have comment or be unexported (golint)
    • Line 136: warning: exported method OpusEncoder.CtlSetVbr should have comment or be unexported (golint)
    • Line 144: warning: comment on exported method OpusEncoder.Encode should be of the form "Encode ..." (golint)
    • Line 164: warning: exported method OpusDecoder.Decode should have comment or be unexported (golint)
    • Line 180: warning: comment on exported function GetPacketFrameSize should be of the form "GetPacketFrameSize ..." (golint)
    • Line 189: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • gomble/main.go
    • Line 28: warning: exported function OnPrivateMessageReceived should have comment or be unexported (golint)
    • Line 32: warning: exported function OnChannelMessageReceived should have comment or be unexported (golint)
    • Line 53: warning: exported function OnTrackFinished should have comment or be unexported (golint)
    • Line 57: warning: exported function OnTrackPaused should have comment or be unexported (golint)
    • Line 61: warning: exported function OnTrackStopped should have comment or be unexported (golint)
    • Line 65: warning: exported function OnTrackException should have comment or be unexported (golint)
    • gomble/logger/logger.go
    • Line 8: warning: exported type Loglevel should have comment or be unexported (golint)
    • Line 13: warning: exported const TRACE should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: comment on exported function Tracefile should be of the form "Tracefile ..." (golint)
    • Line 34: warning: exported function Debugf should have comment or be unexported (golint)
    • Line 40: warning: exported function Infof should have comment or be unexported (golint)
    • Line 46: warning: exported function Warnf should have comment or be unexported (golint)
    • Line 52: warning: exported function Errorf should have comment or be unexported (golint)
    • Line 58: warning: exported function Fatalf should have comment or be unexported (golint)
    • Line 65: warning: exported function SetLogLevel should have comment or be unexported (golint)
    • gomble/cryptstate/cryptstate.go
    • Line 16: warning: exported type CryptoMode should have comment or be unexported (golint)
    • Line 26: warning: exported type CryptState should have comment or be unexported (golint)
    • Line 67: warning: exported method CryptState.GenerateKey should have comment or be unexported (golint)
    • Line 98: warning: exported method CryptState.SetKey should have comment or be unexported (golint)
    • Line 120: warning: exported method CryptState.Decrypt should have comment or be unexported (golint)
    • Line 125: warning: don't use underscores in Go names; var plain_len should be plainLen (golint)
    • Line 233: warning: exported method CryptState.Encrypt should have comment or be unexported (golint)
    • gomble/gomble/track.go
    • Line 16: warning: exported type Track should have comment or be unexported (golint)
    • Line 19: warning: don't use underscores in Go names; struct field buffer_ms should be bufferMs (golint)
    • Line 29: warning: exported const TRACK_TYPE_YOUTUBE should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported function LoadTrack should have comment or be unexported (golint)
    • Line 59: warning: exported method Track.GetTitle should have comment or be unexported (golint)
    • Line 63: warning: exported function GetCurrentTrack should have comment or be unexported (golint)
    • Line 67: warning: exported function Play should have comment or be unexported (golint)
    • Line 77: warning: comment on exported function Stop should be of the form "Stop ..." (golint)
    • Line 82: warning: comment on exported function Pause should be of the form "Pause ..." (golint)
    • Line 87: warning: exported function Resume should have comment or be unexported (golint)
    • gomble/gomble/util.go
    • Line 10: warning: comment on exported function WriteInt16InFile should be of the form "WriteInt16InFile ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign89%

IneffAssign detects ineffectual assignments in Go code.


misspell94%

Misspell Finds commonly misspelled English words