Preparing report...

Report for github.com/djwackey/dorsvr

A    Great!    Found 58 issues across 71 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!


golint33%

Golint is a linter for Go source code.

    • dorsvr/livemedia/server_media_session.go
    • Line 13: warning: exported type ServerMediaSession should have comment or be unexported (golint)
    • Line 26: warning: exported function NewServerMediaSession should have comment or be unexported (golint)
    • Line 38: warning: exported method ServerMediaSession.GenerateSDPDescription should have comment or be unexported (golint)
    • Line 92: warning: exported method ServerMediaSession.StreamName should have comment or be unexported (golint)
    • Line 96: warning: exported method ServerMediaSession.AddSubsession should have comment or be unexported (golint)
    • Line 103: warning: exported method ServerMediaSession.Duration should have comment or be unexported (golint)
    • Line 107: warning: exported method ServerMediaSession.TestScaleFactor should have comment or be unexported (golint)
    • dorsvr/livemedia/stream_state.go
    • Line 7: warning: comment on exported type StreamState should be of the form "StreamState ..." (with optional leading article) (golint)
    • Line 115: warning: exported method StreamState.ServerRTPPort should have comment or be unexported (golint)
    • Line 119: warning: exported method StreamState.ServerRTCPPort should have comment or be unexported (golint)
    • Line 131: warning: exported method StreamState.RtpSink should have comment or be unexported (golint)
    • dorsvr/rtspclient/client.go
    • Line 19: warning: exported type RTSPClient should have comment or be unexported (golint)
    • Line 38: warning: exported function New should have comment or be unexported (golint)
    • Line 47: warning: exported method RTSPClient.DialRTSP should have comment or be unexported (golint)
    • Line 64: warning: exported method RTSPClient.SendRequest should have comment or be unexported (golint)
    • Line 74: warning: exported method RTSPClient.Close should have comment or be unexported (golint)
    • Line 216: warning: exported type RTSPURL should have comment or be unexported (golint)
    • Line 789: warning: exported type TransportParams should have comment or be unexported (golint)
    • Line 876: warning: don't use underscores in Go names; var digest_regex should be digestRegex (golint)
    • Line 877: warning: don't use underscores in Go names; var basic_regex should be basicRegex (golint)
    • Line 930: warning: exported type RequestRecord should have comment or be unexported (golint)
    • Line 956: warning: exported method RequestRecord.Handle should have comment or be unexported (golint)
    • Line 963: warning: exported type RequestQueue should have comment or be unexported (golint)
    • dorsvr/livemedia/multi_framed_rtp_source_linux_amd64.go
    • Line 10: warning: exported type MultiFramedRTPSource should have comment or be unexported (golint)
    • Line 248: warning: exported type IBufferedPacket should have comment or be unexported (golint)
    • Line 268: warning: exported type BufferedPacket should have comment or be unexported (golint)
    • Line 285: warning: exported type PacketInfo should have comment or be unexported (golint)
    • Line 354: warning: exported method BufferedPacket.UseCount should have comment or be unexported (golint)
    • Line 374: warning: exported method BufferedPacket.NextPacket should have comment or be unexported (golint)
    • Line 386: warning: exported method BufferedPacket.TimeReceived should have comment or be unexported (golint)
    • Line 431: warning: exported type IBufferedPacketFactory should have comment or be unexported (golint)
    • Line 435: warning: exported type BufferedPacketFactory should have comment or be unexported (golint)
    • Line 448: warning: exported type ReorderingPacketBuffer should have comment or be unexported (golint)
    • Line 479: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • dorsvr/livemedia/rtp_source.go
    • Line 5: warning: exported type RTPSource should have comment or be unexported (golint)
    • Line 35: warning: exported method RTPSource.SetStreamSocket should have comment or be unexported (golint)
    • dorsvr/livemedia/m2ts_file_media_subsession.go
    • Line 5: warning: exported var TRANSPORT_PACKET_SIZE should have comment or be unexported (golint)
    • Line 6: warning: exported var TRANSPORT_PACKETS_PER_NETWORK_PACKET should have comment or be unexported (golint)
    • Line 8: warning: exported type M2TSFileMediaSubsession should have comment or be unexported (golint)
    • Line 13: warning: exported function NewM2TSFileMediaSubsession should have comment or be unexported (golint)
    • Line 44: warning: exported method M2TSFileMediaSubsession.Duration should have comment or be unexported (golint)
    • dorsvr/livemedia/rtp_reception_stats_linux_amd64.go
    • Line 5: warning: comment on exported const Million should be of the form "Million ..." (golint)
    • Line 8: warning: exported type RTPReceptionStats should have comment or be unexported (golint)
    • Line 228: warning: comment on exported type RTPReceptionStatsDB should be of the form "RTPReceptionStatsDB ..." (with optional leading article) (golint)
    • dorsvr/livemedia/rtp_transmission_stats.go
    • Line 7: warning: comment on exported type RTPTransmissionStatsDB should be of the form "RTPTransmissionStatsDB ..." (with optional leading article) (golint)
    • Line 47: warning: comment on exported type RTPTransmissionStats should be of the form "RTPTransmissionStats ..." (with optional leading article) (golint)
    • dorsvr/rtspclient/dummy_sink.go
    • Line 10: warning: exported type DummySink should have comment or be unexported (golint)
    • Line 21: warning: exported function NewDummySink should have comment or be unexported (golint)
    • Line 30: warning: exported method DummySink.AfterGettingFrame should have comment or be unexported (golint)
    • Line 38: warning: exported method DummySink.ContinuePlaying should have comment or be unexported (golint)
    • dorsvr/livemedia/h264_video_rtp_sink.go
    • Line 12: warning: comment on exported type H264VideoRTPSink should be of the form "H264VideoRTPSink ..." (with optional leading article) (golint)
    • Line 32: warning: exported method H264VideoRTPSink.ContinuePlaying should have comment or be unexported (golint)
    • Line 44: warning: exported method H264VideoRTPSink.AuxSDPLine should have comment or be unexported (golint)
    • Line 89: warning: comment on exported type H264FUAFragmenter should be of the form "H264FUAFragmenter ..." (with optional leading article) (golint)
    • Line 119: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • dorsvr/rtspclient/stream_state.go
    • Line 5: warning: exported type StreamClientState should have comment or be unexported (golint)
    • Line 14: warning: exported method StreamClientState.Next should have comment or be unexported (golint)
    • dorsvr/livemedia/media_session.go
    • Line 12: warning: comment on exported type MediaSession should be of the form "MediaSession ..." (with optional leading article) (golint)
    • Line 30: warning: exported function NewMediaSession should have comment or be unexported (golint)
    • Line 200: warning: exported method MediaSession.Scale should have comment or be unexported (golint)
    • Line 204: warning: exported method MediaSession.ControlPath should have comment or be unexported (golint)
    • Line 208: warning: exported method MediaSession.AbsStartTime should have comment or be unexported (golint)
    • Line 212: warning: exported method MediaSession.AbsEndTime should have comment or be unexported (golint)
    • Line 216: warning: exported method MediaSession.HasSubsessions should have comment or be unexported (golint)
    • Line 216: warning: receiver name session should be consistent with previous receiver name s for MediaSession (golint)
    • Line 220: warning: exported method MediaSession.Subsession should have comment or be unexported (golint)
    • Line 460: warning: comment on exported type MediaSubsession should be of the form "MediaSubsession ..." (with optional leading article) (golint)
    • Line 495: warning: exported function NewMediaSubsession should have comment or be unexported (golint)
    • Line 506: warning: exported method MediaSubsession.ParentSession should have comment or be unexported (golint)
    • Line 510: warning: exported method MediaSubsession.Initiate should have comment or be unexported (golint)
    • Line 510: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 586: warning: exported method MediaSubsession.Scale should have comment or be unexported (golint)
    • Line 586: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 590: warning: exported method MediaSubsession.SetRTPChannelID should have comment or be unexported (golint)
    • Line 590: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 594: warning: exported method MediaSubsession.SetRTCPChannelID should have comment or be unexported (golint)
    • Line 594: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 598: warning: exported method MediaSubsession.SetServerPortNum should have comment or be unexported (golint)
    • Line 598: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 602: warning: exported method MediaSubsession.SetConnectionEndpointName should have comment or be unexported (golint)
    • Line 602: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 606: warning: exported method MediaSubsession.SetSessionID should have comment or be unexported (golint)
    • Line 606: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 610: warning: exported method MediaSubsession.SessionID should have comment or be unexported (golint)
    • Line 610: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 617: warning: exported method MediaSubsession.AbsStartTime should have comment or be unexported (golint)
    • Line 617: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 625: warning: exported method MediaSubsession.AbsEndTime should have comment or be unexported (golint)
    • Line 625: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 633: warning: exported method MediaSubsession.CodecName should have comment or be unexported (golint)
    • Line 633: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 637: warning: exported method MediaSubsession.MediumName should have comment or be unexported (golint)
    • Line 637: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 641: warning: exported method MediaSubsession.ClientPortNum should have comment or be unexported (golint)
    • Line 641: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 645: warning: exported method MediaSubsession.ProtocolName should have comment or be unexported (golint)
    • Line 645: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 649: warning: exported method MediaSubsession.ControlPath should have comment or be unexported (golint)
    • Line 649: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 653: warning: exported method MediaSubsession.ReadSource should have comment or be unexported (golint)
    • Line 653: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 657: warning: exported method MediaSubsession.RtcpInstance should have comment or be unexported (golint)
    • Line 657: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 661: warning: exported method MediaSubsession.SetDestinations should have comment or be unexported (golint)
    • Line 661: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 664: warning: exported method MediaSubsession.ConnectionEndpointName should have comment or be unexported (golint)
    • Line 664: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 670: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 690: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 698: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 708: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 751: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 763: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 792: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 796: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 800: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • Line 811: warning: receiver name s should be consistent with previous receiver name subsession for MediaSubsession (golint)
    • dorsvr/livemedia/server_media_subsession.go
    • Line 10: warning: exported type IServerMediaSubsession should have comment or be unexported (golint)
    • Line 30: warning: exported type ServerMediaSubsession should have comment or be unexported (golint)
    • Line 45: warning: exported method ServerMediaSubsession.TrackID should have comment or be unexported (golint)
    • Line 52: warning: exported method ServerMediaSubsession.TrackNumber should have comment or be unexported (golint)
    • Line 56: warning: exported method ServerMediaSubsession.IncrTrackNumber should have comment or be unexported (golint)
    • Line 82: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 87: warning: comment on exported method ServerMediaSubsession.TestScaleFactor should be of the form "TestScaleFactor ..." (golint)
    • Line 93: warning: comment on exported method ServerMediaSubsession.Duration should be of the form "Duration ..." (golint)
    • dorsvr/livemedia/bit_vector.go
    • Line 10: warning: exported type BitVector should have comment or be unexported (golint)
    • Line 60: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • dorsvr/livemedia/framed_source.go
    • Line 5: warning: exported type IFramedSource should have comment or be unexported (golint)
    • Line 17: warning: exported type FramedSource should have comment or be unexported (golint)
    • Line 34: warning: exported method FramedSource.GetNextFrame should have comment or be unexported (golint)
    • dorsvr/livemedia/m2ts_video_stream_framer.go
    • Line 9: warning: exported type PIDStatus should have comment or be unexported (golint)
    • Line 14: warning: exported function NewPIDStatus should have comment or be unexported (golint)
    • Line 18: warning: exported type M2TSVideoStreamFramer should have comment or be unexported (golint)
    • Line 29: warning: exported function NewM2TSVideoStreamFramer should have comment or be unexported (golint)
    • Line 77: warning: don't use underscores in Go names; var adaptation_field_control should be adaptationFieldControl (golint)
    • Line 83: warning: don't use underscores in Go names; var adaptation_field_length should be adaptationFieldLength (golint)
    • dorsvr/livemedia/media_sink.go
    • Line 12: warning: comment on exported var OutPacketBufferMaxSize should be of the form "OutPacketBufferMaxSize ..." (golint)
    • Line 15: warning: comment on exported type OutPacketBuffer should be of the form "OutPacketBuffer ..." (with optional leading article) (golint)
    • Line 201: warning: comment on exported type IMediaSink should be of the form "IMediaSink ..." (with optional leading article) (golint)
    • Line 228: warning: exported type MediaSink should have comment or be unexported (golint)
    • Line 234: warning: exported method MediaSink.InitMediaSink should have comment or be unexported (golint)
    • Line 238: warning: exported method MediaSink.StartPlaying should have comment or be unexported (golint)
    • Line 255: warning: exported method MediaSink.StopPlaying should have comment or be unexported (golint)
    • Line 265: warning: exported method MediaSink.OnSourceClosure should have comment or be unexported (golint)
    • Line 282: warning: exported method MediaSink.AuxSDPLine should have comment or be unexported (golint)
    • dorsvr/livemedia/multi_framed_rtp_sink_linux_amd64.go
    • Line 12: warning: exported type MultiFramedRTPSink should have comment or be unexported (golint)
    • Line 32: warning: exported method MultiFramedRTPSink.InitMultiFramedRTPSink should have comment or be unexported (golint)
    • Line 262: warning: comment on exported method MultiFramedRTPSink.SpecialHeaderSize should be of the form "SpecialHeaderSize ..." (golint)
    • dorsvr/groupsock/inet.go
    • Line 13: warning: exported function OurRandom should have comment or be unexported (golint)
    • Line 18: warning: exported function OurRandom32 should have comment or be unexported (golint)
    • Line 25: warning: exported function OurRandom16 should have comment or be unexported (golint)
    • Line 30: warning: exported function Ntohl should have comment or be unexported (golint)
    • Line 43: warning: exported function OurIPAddress should have comment or be unexported (golint)
    • dorsvr/rtspserver/server.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 21: warning: exported type RTSPServer should have comment or be unexported (golint)
    • Line 38: warning: exported function New should have comment or be unexported (golint)
    • Line 50: warning: exported method RTSPServer.Destroy should have comment or be unexported (golint)
    • Line 55: warning: exported method RTSPServer.Listen should have comment or be unexported (golint)
    • Line 67: warning: exported method RTSPServer.Start should have comment or be unexported (golint)
    • Line 86: warning: exported method RTSPServer.SetupTunnelingOverHTTP should have comment or be unexported (golint)
    • Line 99: warning: exported method RTSPServer.HTTPServerPortNum should have comment or be unexported (golint)
    • Line 103: warning: exported method RTSPServer.RtspURL should have comment or be unexported (golint)
    • Line 108: warning: exported method RTSPServer.RtspURLPrefix should have comment or be unexported (golint)
    • dorsvr/livemedia/on_demand_server_media_subsession.go
    • Line 11: warning: exported type OnDemandServerMediaSubsession should have comment or be unexported (golint)
    • Line 22: warning: exported type StreamParameter should have comment or be unexported (golint)
    • Line 40: warning: exported method OnDemandServerMediaSubsession.SDPLines should have comment or be unexported (golint)
    • Line 57: warning: exported method OnDemandServerMediaSubsession.GetStreamParameters should have comment or be unexported (golint)
    • Line 174: warning: exported method OnDemandServerMediaSubsession.CNAME should have comment or be unexported (golint)
    • Line 178: warning: exported method OnDemandServerMediaSubsession.StartStream should have comment or be unexported (golint)
    • Line 190: warning: exported method OnDemandServerMediaSubsession.SeekStream should have comment or be unexported (golint)
    • Line 196: warning: exported method OnDemandServerMediaSubsession.PauseStream should have comment or be unexported (golint)
    • Line 200: warning: exported method OnDemandServerMediaSubsession.DeleteStream should have comment or be unexported (golint)
    • Line 211: warning: comment on exported type Destinations should be of the form "Destinations ..." (with optional leading article) (golint)
    • dorsvr/livemedia/basic_udp_sink.go
    • Line 11: warning: exported type BasicUDPSink should have comment or be unexported (golint)
    • Line 19: warning: exported function NewBasicUDPSink should have comment or be unexported (golint)
    • Line 27: warning: exported method BasicUDPSink.ContinuePlaying should have comment or be unexported (golint)
    • dorsvr/livemedia/h264_video_stream_framer_linux_amd64.go
    • Line 17: warning: comment on exported type H264VideoStreamParser should be of the form "H264VideoStreamParser ..." (with optional leading article) (golint)
    • Line 42: warning: exported method H264VideoStreamParser.UsingSource should have comment or be unexported (golint)
    • Line 105: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 556: warning: comment on exported type H264VideoStreamFramer should be of the form "H264VideoStreamFramer ..." (with optional leading article) (golint)
    • dorsvr/livemedia/rtp_sink.go
    • Line 12: warning: comment on exported type RTPSink should be of the form "RTPSink ..." (with optional leading article) (golint)
    • Line 30: warning: exported method RTPSink.InitRTPSink should have comment or be unexported (golint)
    • dorsvr/livemedia/simple_rtp_sink.go
    • Line 5: warning: exported type SimpleRTPSink should have comment or be unexported (golint)
    • Line 20: warning: exported method SimpleRTPSink.AuxSDPLine should have comment or be unexported (golint)
    • Line 24: warning: exported method SimpleRTPSink.ContinuePlaying should have comment or be unexported (golint)
    • dorsvr/livemedia/binary.go
    • Line 9: warning: exported var DefaultEndianness should have comment or be unexported (golint)
    • Line 12: warning: exported function Uint16 should have comment or be unexported (golint)
    • Line 16: warning: exported function Uint32 should have comment or be unexported (golint)
    • Line 20: warning: exported function LittleEndianUint32 should have comment or be unexported (golint)
    • Line 24: warning: exported function Uint64 should have comment or be unexported (golint)
    • Line 28: warning: exported function PutUint8 should have comment or be unexported (golint)
    • Line 32: warning: exported function PutUint16 should have comment or be unexported (golint)
    • Line 39: warning: exported function PutUint24 should have comment or be unexported (golint)
    • Line 49: warning: exported function PutUint32 should have comment or be unexported (golint)
    • Line 56: warning: exported function LittleEndianPutUint32 should have comment or be unexported (golint)
    • dorsvr/livemedia/common.go
    • Line 11: warning: comment on exported var AllowedCommandNames should be of the form "AllowedCommandNames ..." (golint)
    • Line 24: warning: exported type RTSPRequestInfo should have comment or be unexported (golint)
    • Line 33: warning: exported type HTTPRequestInfo should have comment or be unexported (golint)
    • Line 41: warning: exported type TransportHeader should have comment or be unexported (golint)
    • Line 52: warning: exported type RangeHeader should have comment or be unexported (golint)
    • Line 60: warning: exported const RTP_UDP should have comment (or a comment on this block) or be unexported (golint)
    • Line 65: warning: exported function ParseRTSPRequestString should have comment or be unexported (golint)
    • Line 170: warning: exported function ParseHTTPRequestString should have comment or be unexported (golint)
    • Line 220: warning: exported function ParseTransportHeader should have comment or be unexported (golint)
    • Line 322: warning: exported function ParseRangeHeader should have comment or be unexported (golint)
    • Line 350: warning: exported function ParsePlayNowHeader should have comment or be unexported (golint)
    • Line 361: warning: exported function ParseScaleHeader should have comment or be unexported (golint)
    • Line 390: warning: comment on exported function DateHeader should be of the form "DateHeader ..." (golint)
    • dorsvr/livemedia/h264_video_rtp_source.go
    • Line 5: warning: exported type H264VideoRTPSource should have comment or be unexported (golint)
    • Line 69: warning: exported type SPropRecord should have comment or be unexported (golint)
    • Line 78: warning: exported type H264BufferedPacket should have comment or be unexported (golint)
    • Line 83: warning: exported type H264BufferedPacketFactory should have comment or be unexported (golint)
    • dorsvr/livemedia/rtcp_linux_amd64.go
    • Line 12: warning: comment on exported const RTCP_PT_SR should be of the form "RTCP_PT_SR ..." (golint)
    • Line 14: warning: exported const RTCP_PT_RR should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: comment on exported const RTCP_SDES_END should be of the form "RTCP_SDES_END ..." (golint)
    • Line 30: warning: comment on exported const IP_UDP_HDR_SIZE should be of the form "IP_UDP_HDR_SIZE ..." (golint)
    • Line 39: warning: exported type SDESItem should have comment or be unexported (golint)
    • Line 49: warning: exported type RTCPInstance should have comment or be unexported (golint)
    • Line 125: warning: exported method RTCPInstance.NumMembers should have comment or be unexported (golint)
    • Line 136: warning: exported method RTCPInstance.SetByeHandler should have comment or be unexported (golint)
    • Line 320: warning: if block ends with a return statement, so drop this else and outdent its block (golint)

gocyclo69%

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.

    • dorsvr/rtspserver/session.go
    • Line 275: warning: cyclomatic complexity 31 of function (*RTSPClientSession).handleCommandPlay() is high (> 15) (gocyclo)
    • Line 50: warning: cyclomatic complexity 27 of function (*RTSPClientSession).handleCommandSetup() is high (> 15) (gocyclo)
    • Line 220: warning: cyclomatic complexity 20 of function (*RTSPClientSession).handleCommandWithinSession() is high (> 15) (gocyclo)
    • dorsvr/livemedia/media_session.go
    • Line 44: warning: cyclomatic complexity 37 of function (*MediaSession).initWithSDP() is high (> 15) (gocyclo)
    • Line 377: warning: cyclomatic complexity 25 of function (*MediaSession).lookupPayloadFormat() is high (> 15) (gocyclo)
    • dorsvr/rtspclient/client.go
    • Line 318: warning: cyclomatic complexity 48 of function (*RTSPClient).handleResponseBytes() is high (> 15) (gocyclo)
    • Line 796: warning: cyclomatic complexity 18 of function (*RTSPClient).parseTransportParams() is high (> 15) (gocyclo)
    • Line 486: warning: cyclomatic complexity 18 of function (*RTSPClient).sendRequest() is high (> 15) (gocyclo)

ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell98%

Misspell Finds commonly misspelled English words