Preparing report...

Report for github.com/electricbubble/gidevice

A    Great!    Found 55 issues across 65 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!


gocyclo95%

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.


golint16%

Golint is a linter for Go source code.

    • gidevice/pkg/libimobiledevice/afcmessage.go
    • Line 9: warning: exported type AfcMessage should have comment or be unexported (golint)
    • Line 15: warning: exported method AfcMessage.Map should have comment or be unexported (golint)
    • Line 26: warning: exported method AfcMessage.Strings should have comment or be unexported (golint)
    • Line 38: warning: exported method AfcMessage.Uint64 should have comment or be unexported (golint)
    • Line 42: warning: exported method AfcMessage.Err should have comment or be unexported (golint)
    • Line 113: warning: exported const AfcOperationInvalid should have comment (or a comment on this block) or be unexported (golint)
    • Line 145: warning: comment on exported const AfcOperationFileSetImmutableHint should be of the form "AfcOperationFileSetImmutableHint ..." (golint)
    • Line 153: warning: comment on exported const AfcOperationFileRefReadWithOffset should be of the form "AfcOperationFileRefReadWithOffset ..." (golint)
    • Line 159: warning: exported const AfcErrSuccess should have comment (or a comment on this block) or be unexported (golint)
    • gidevice/pkg/libimobiledevice/installationproxy.go
    • Line 3: warning: exported const InstallationProxyServiceName should have comment or be unexported (golint)
    • Line 6: warning: exported const CommandTypeBrowse should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported type ApplicationType should have comment or be unexported (golint)
    • Line 15: warning: exported const ApplicationTypeSystem should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported function NewInstallationProxyClient should have comment or be unexported (golint)
    • Line 27: warning: exported type InstallationProxyClient should have comment or be unexported (golint)
    • Line 31: warning: exported method InstallationProxyClient.NewBasicRequest should have comment or be unexported (golint)
    • Line 39: warning: exported method InstallationProxyClient.NewInstallRequest should have comment or be unexported (golint)
    • Line 51: warning: exported method InstallationProxyClient.NewUninstallRequest should have comment or be unexported (golint)
    • Line 59: warning: exported method InstallationProxyClient.NewXmlPacket should have comment or be unexported (golint)
    • Line 63: warning: exported method InstallationProxyClient.SendPacket should have comment or be unexported (golint)
    • Line 67: warning: exported method InstallationProxyClient.ReceivePacket should have comment or be unexported (golint)
    • Line 71: warning: exported type InstallationProxyOption should have comment or be unexported (golint)
    • Line 80: warning: exported type InstallationProxyBasicRequest should have comment or be unexported (golint)
    • Line 85: warning: exported type InstallationProxyInstallRequest should have comment or be unexported (golint)
    • Line 91: warning: exported type InstallationProxyUninstallRequest should have comment or be unexported (golint)
    • Line 98: warning: exported type InstallationProxyBasicResponse should have comment or be unexported (golint)
    • Line 102: warning: exported type InstallationProxyLookupResponse should have comment or be unexported (golint)
    • Line 107: warning: exported type InstallationProxyBrowseResponse should have comment or be unexported (golint)
    • Line 114: warning: exported type InstallationProxyInstallResponse should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/lockdown.go
    • Line 3: warning: exported const ProtocolVersion should have comment or be unexported (golint)
    • Line 5: warning: exported const LockdownPort should have comment or be unexported (golint)
    • Line 7: warning: exported type RequestType should have comment or be unexported (golint)
    • Line 10: warning: exported const RequestTypeQueryType should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported type LockdownType should have comment or be unexported (golint)
    • Line 24: warning: exported function NewLockdownClient should have comment or be unexported (golint)
    • Line 30: warning: exported type LockdownClient should have comment or be unexported (golint)
    • Line 34: warning: exported method LockdownClient.NewBasicRequest should have comment or be unexported (golint)
    • Line 42: warning: exported method LockdownClient.NewGetValueRequest should have comment or be unexported (golint)
    • Line 50: warning: exported method LockdownClient.NewSetValueRequest should have comment or be unexported (golint)
    • Line 59: warning: exported method LockdownClient.NewEnterRecoveryRequest should have comment or be unexported (golint)
    • Line 63: warning: exported method LockdownClient.NewPairRequest should have comment or be unexported (golint)
    • Line 73: warning: exported method LockdownClient.NewStartSessionRequest should have comment or be unexported (golint)
    • Line 81: warning: exported method LockdownClient.NewStopSessionRequest should have comment or be unexported (golint)
    • Line 88: warning: exported method LockdownClient.NewStartServiceRequest should have comment or be unexported (golint)
    • Line 95: warning: exported method LockdownClient.NewXmlPacket should have comment or be unexported (golint)
    • Line 99: warning: exported method LockdownClient.SendPacket should have comment or be unexported (golint)
    • Line 103: warning: exported method LockdownClient.ReceivePacket should have comment or be unexported (golint)
    • Line 107: warning: exported method LockdownClient.EnableSSL should have comment or be unexported (golint)
    • Line 112: warning: exported type LockdownBasicRequest should have comment or be unexported (golint)
    • Line 118: warning: exported type LockdownValueRequest should have comment or be unexported (golint)
    • Line 125: warning: exported type LockdownPairRequest should have comment or be unexported (golint)
    • Line 131: warning: exported type LockdownStartSessionRequest should have comment or be unexported (golint)
    • Line 137: warning: exported type LockdownStopSessionRequest should have comment or be unexported (golint)
    • Line 142: warning: exported type LockdownStartServiceRequest should have comment or be unexported (golint)
    • Line 150: warning: exported type LockdownBasicResponse should have comment or be unexported (golint)
    • Line 155: warning: exported type LockdownTypeResponse should have comment or be unexported (golint)
    • Line 160: warning: exported type LockdownValueResponse should have comment or be unexported (golint)
    • Line 166: warning: exported type LockdownPairResponse should have comment or be unexported (golint)
    • Line 171: warning: exported type LockdownStartSessionResponse should have comment or be unexported (golint)
    • Line 177: warning: exported type LockdownStartServiceResponse should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/housearrest.go
    • Line 3: warning: exported const HouseArrestServiceName should have comment or be unexported (golint)
    • Line 6: warning: exported const CommandTypeVendDocuments should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported function NewHouseArrestClient should have comment or be unexported (golint)
    • Line 16: warning: exported type HouseArrestClient should have comment or be unexported (golint)
    • Line 20: warning: exported method HouseArrestClient.NewBasicRequest should have comment or be unexported (golint)
    • Line 27: warning: exported method HouseArrestClient.NewDocumentsRequest should have comment or be unexported (golint)
    • Line 31: warning: exported method HouseArrestClient.NewContainerRequest should have comment or be unexported (golint)
    • Line 35: warning: exported method HouseArrestClient.NewXmlPacket should have comment or be unexported (golint)
    • Line 39: warning: exported method HouseArrestClient.SendPacket should have comment or be unexported (golint)
    • Line 43: warning: exported method HouseArrestClient.ReceivePacket should have comment or be unexported (golint)
    • Line 47: warning: exported method HouseArrestClient.InnerConn should have comment or be unexported (golint)
    • Line 52: warning: exported type HouseArrestBasicRequest should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/packet_usbmux.go
    • Line 69: warning: exported type BasicRequest should have comment or be unexported (golint)
    • Line 77: warning: exported type ConnectRequest should have comment or be unexported (golint)
    • Line 83: warning: exported type ReadPairRecordRequest should have comment or be unexported (golint)
    • Line 88: warning: exported type SavePairRecordRequest should have comment or be unexported (golint)
    • Line 95: warning: exported type DeletePairRecordRequest should have comment or be unexported (golint)
    • Line 101: warning: exported type PairRecord should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/afc.go
    • Line 9: warning: exported const AfcServiceName should have comment or be unexported (golint)
    • Line 11: warning: exported function NewAfcClient should have comment or be unexported (golint)
    • Line 17: warning: exported type AfcClient should have comment or be unexported (golint)
    • Line 41: warning: exported method AfcClient.Send should have comment or be unexported (golint)
    • Line 70: warning: exported method AfcClient.Receive should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/auxbuffer.go
    • Line 10: warning: exported type AuxBuffer should have comment or be unexported (golint)
    • Line 14: warning: exported function NewAuxBuffer should have comment or be unexported (golint)
    • Line 20: warning: exported method AuxBuffer.AppendObject should have comment or be unexported (golint)
    • Line 33: warning: exported method AuxBuffer.AppendInt64 should have comment or be unexported (golint)
    • Line 39: warning: exported method AuxBuffer.AppendInt32 should have comment or be unexported (golint)
    • Line 45: warning: exported method AuxBuffer.AppendUInt32 should have comment or be unexported (golint)
    • Line 49: warning: exported method AuxBuffer.AppendUInt64 should have comment or be unexported (golint)
    • Line 53: warning: exported method AuxBuffer.AppendBytes should have comment or be unexported (golint)
    • Line 57: warning: exported method AuxBuffer.Len should have comment or be unexported (golint)
    • Line 61: warning: exported method AuxBuffer.Bytes should have comment or be unexported (golint)
    • Line 69: warning: exported function UnmarshalAuxBuffer should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/client_dtxmessage.go
    • Line 195: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 203: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 305: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 383: warning: exported type DTXMessageResult should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/syslogrelay.go
    • Line 3: warning: exported const SyslogRelayServiceName should have comment or be unexported (golint)
    • Line 5: warning: exported function NewSyslogRelayClient should have comment or be unexported (golint)
    • Line 11: warning: exported type SyslogRelayClient should have comment or be unexported (golint)
    • Line 15: warning: exported method SyslogRelayClient.InnerConn should have comment or be unexported (golint)
    • Line 19: warning: exported method SyslogRelayClient.Close should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/crashreportmover.go
    • Line 4: warning: exported const CrashReportMoverServiceName should have comment (or a comment on this block) or be unexported (golint)
    • Line 8: warning: exported function NewCrashReportMoverClient should have comment or be unexported (golint)
    • Line 14: warning: exported type CrashReportMoverClient should have comment or be unexported (golint)
    • Line 18: warning: exported method CrashReportMoverClient.InnerConn should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/usbmux.go
    • Line 15: warning: exported var DefaultDeadlineTimeout should have comment or be unexported (golint)
    • Line 18: warning: exported const BundleID should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type ReplyCode should have comment or be unexported (golint)
    • Line 27: warning: exported const ReplyCodeOK should have comment (or a comment on this block) or be unexported (golint)
    • Line 53: warning: exported type ProtoVersion should have comment or be unexported (golint)
    • Line 61: warning: exported const ProtoVersionBinary should have comment (or a comment on this block) or be unexported (golint)
    • Line 65: warning: exported type ProtoMessageType should have comment or be unexported (golint)
    • Line 69: warning: exported const ProtoMessageTypeResult should have comment (or a comment on this block) or be unexported (golint)
    • Line 79: warning: exported type MessageType should have comment or be unexported (golint)
    • Line 82: warning: exported const MessageTypeResult should have comment (or a comment on this block) or be unexported (golint)
    • Line 94: warning: exported type BaseDevice should have comment or be unexported (golint)
    • Line 100: warning: exported type DeviceProperties should have comment or be unexported (golint)
    • Line 115: warning: exported function NewUsbmuxClient should have comment or be unexported (golint)
    • Line 129: warning: exported type UsbmuxClient should have comment or be unexported (golint)
    • Line 135: warning: exported method UsbmuxClient.NewBasicRequest should have comment or be unexported (golint)
    • Line 145: warning: exported method UsbmuxClient.NewConnectRequest should have comment or be unexported (golint)
    • Line 153: warning: exported method UsbmuxClient.NewReadPairRecordRequest should have comment or be unexported (golint)
    • Line 160: warning: exported method UsbmuxClient.NewSavePairRecordRequest should have comment or be unexported (golint)
    • Line 169: warning: exported method UsbmuxClient.NewDeletePairRecordRequest should have comment or be unexported (golint)
    • Line 176: warning: exported method UsbmuxClient.NewPacket should have comment or be unexported (golint)
    • Line 190: warning: exported method UsbmuxClient.NewPlistPacket should have comment or be unexported (golint)
    • Line 194: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 201: warning: exported method UsbmuxClient.SendPacket should have comment or be unexported (golint)
    • Line 211: warning: exported method UsbmuxClient.ReceivePacket should have comment or be unexported (golint)
    • Line 250: warning: exported method UsbmuxClient.Close should have comment or be unexported (golint)
    • Line 254: warning: exported method UsbmuxClient.RawConn should have comment or be unexported (golint)
    • Line 258: warning: exported method UsbmuxClient.InnerConn should have comment or be unexported (golint)
    • Line 280: warning: exported type InnerConn should have comment or be unexported (golint)
    • gidevice/idevice.go
    • Line 1: warning: don't use MixedCaps in package name; giDevice should be gidevice (golint)
    • Line 13: warning: exported type Usbmux should have comment or be unexported (golint)
    • Line 19: warning: exported type Device should have comment or be unexported (golint)
    • Line 70: warning: exported type DeviceProperties should have comment or be unexported (golint)
    • Line 72: warning: exported type Lockdown should have comment or be unexported (golint)
    • Line 97: warning: exported type ImageMounter should have comment or be unexported (golint)
    • Line 105: warning: exported type Screenshot should have comment or be unexported (golint)
    • Line 110: warning: exported type SimulateLocation should have comment or be unexported (golint)
    • Line 116: warning: exported type InstallationProxy should have comment or be unexported (golint)
    • Line 123: warning: exported type Instruments should have comment or be unexported (golint)
    • Line 142: warning: exported type Testmanagerd should have comment or be unexported (golint)
    • Line 153: warning: exported type Afc should have comment or be unexported (golint)
    • Line 173: warning: exported type HouseArrest should have comment or be unexported (golint)
    • Line 178: warning: exported type XCTestManagerDaemon should have comment or be unexported (golint)
    • Line 194: warning: exported type SyslogRelay should have comment or be unexported (golint)
    • Line 199: warning: exported type CrashReportMover should have comment or be unexported (golint)
    • Line 204: warning: exported type InnerConn should have comment or be unexported (golint)
    • Line 206: warning: exported type LockdownType should have comment or be unexported (golint)
    • Line 208: warning: exported type PairRecord should have comment or be unexported (golint)
    • Line 210: warning: exported type CoordinateSystem should have comment or be unexported (golint)
    • Line 213: warning: exported const CoordinateSystemWGS84 should have comment (or a comment on this block) or be unexported (golint)
    • Line 218: warning: exported type ApplicationType should have comment or be unexported (golint)
    • Line 221: warning: exported const ApplicationTypeSystem should have comment (or a comment on this block) or be unexported (golint)
    • Line 229: warning: exported type InstallationProxyOption should have comment or be unexported (golint)
    • Line 231: warning: exported function WithApplicationType should have comment or be unexported (golint)
    • Line 237: warning: exported function WithReturnAttributes should have comment or be unexported (golint)
    • Line 248: warning: exported function WithBundleIDs should have comment or be unexported (golint)
    • Line 259: warning: exported function WithMetaData should have comment or be unexported (golint)
    • Line 272: warning: exported type AppLaunchOption should have comment or be unexported (golint)
    • Line 274: warning: exported function WithAppPath should have comment or be unexported (golint)
    • Line 280: warning: exported function WithEnvironment should have comment or be unexported (golint)
    • Line 286: warning: exported function WithArguments should have comment or be unexported (golint)
    • Line 292: warning: exported function WithOptions should have comment or be unexported (golint)
    • Line 300: warning: exported function WithKillExisting should have comment or be unexported (golint)
    • Line 315: warning: exported type AppListOption should have comment or be unexported (golint)
    • Line 317: warning: exported function WithAppsMatching should have comment or be unexported (golint)
    • Line 323: warning: exported function WithUpdateToken should have comment or be unexported (golint)
    • Line 329: warning: exported type Process should have comment or be unexported (golint)
    • Line 350: warning: exported type CrashReportMoverOption should have comment or be unexported (golint)
    • Line 352: warning: exported function WithKeepCrashReport should have comment or be unexported (golint)
    • Line 358: warning: exported function WithExtractRawCrashReport should have comment or be unexported (golint)
    • Line 364: warning: exported function WithWhenMoveIsDone should have comment or be unexported (golint)
    • Line 384: warning: exported type XCTestOption should have comment or be unexported (golint)
    • Line 386: warning: exported function WithXCTestEnv should have comment or be unexported (golint)
    • Line 398: warning: exported function WithXCTestOpt should have comment or be unexported (golint)
    • Line 417: warning: exported function DeviceVersion should have comment or be unexported (golint)
    • gidevice/instruments.go
    • Line 1: warning: don't use MixedCaps in package name; giDevice should be gidevice (golint)
    • Line 260: warning: exported type Application should have comment or be unexported (golint)
    • Line 276: warning: exported type DeviceInfo should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/instruments.go
    • Line 4: warning: exported const InstrumentsServiceName should have comment (or a comment on this block) or be unexported (golint)
    • Line 8: warning: exported function NewInstrumentsClient should have comment or be unexported (golint)
    • Line 14: warning: exported type InstrumentsClient should have comment or be unexported (golint)
    • Line 18: warning: exported method InstrumentsClient.NotifyOfPublishedCapabilities should have comment or be unexported (golint)
    • Line 22: warning: exported method InstrumentsClient.RequestChannel should have comment or be unexported (golint)
    • Line 26: warning: exported method InstrumentsClient.Invoke should have comment or be unexported (golint)
    • Line 39: warning: exported method InstrumentsClient.RegisterCallback should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/imagemounter.go
    • Line 10: warning: exported const ImageMounterServiceName should have comment or be unexported (golint)
    • Line 12: warning: exported var ErrDeviceLocked should have comment or be unexported (golint)
    • Line 14: warning: exported type CommandType should have comment or be unexported (golint)
    • Line 17: warning: exported const CommandTypeLookupImage should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported function NewImageMounterClient should have comment or be unexported (golint)
    • Line 28: warning: exported type ImageMounterClient should have comment or be unexported (golint)
    • Line 32: warning: exported method ImageMounterClient.NewBasicRequest should have comment or be unexported (golint)
    • Line 39: warning: exported method ImageMounterClient.NewReceiveBytesRequest should have comment or be unexported (golint)
    • Line 47: warning: exported method ImageMounterClient.NewMountImageRequest should have comment or be unexported (golint)
    • Line 55: warning: exported method ImageMounterClient.NewXmlPacket should have comment or be unexported (golint)
    • Line 59: warning: exported method ImageMounterClient.SendPacket should have comment or be unexported (golint)
    • Line 63: warning: exported method ImageMounterClient.ReceivePacket should have comment or be unexported (golint)
    • Line 73: warning: exported method ImageMounterClient.SendDmg should have comment or be unexported (golint)
    • Line 79: warning: exported type ImageMounterBasicRequest should have comment or be unexported (golint)
    • Line 84: warning: exported type ImageMounterReceiveBytesRequest should have comment or be unexported (golint)
    • Line 90: warning: exported type ImageMounterMountImageRequest should have comment or be unexported (golint)
    • Line 98: warning: exported type ImageMounterBasicResponse should have comment or be unexported (golint)
    • Line 103: warning: exported type ImageMounterLookupImageResponse should have comment or be unexported (golint)
    • gidevice/usbmux.go
    • Line 1: warning: don't use MixedCaps in package name; giDevice should be gidevice (golint)
    • Line 10: warning: exported function NewUsbmux should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/screenshot.go
    • Line 9: warning: exported const ScreenshotServiceName should have comment or be unexported (golint)
    • Line 11: warning: exported function NewScreenshotClient should have comment or be unexported (golint)
    • Line 17: warning: exported type ScreenshotClient should have comment or be unexported (golint)
    • Line 21: warning: exported method ScreenshotClient.NewBinaryPacket should have comment or be unexported (golint)
    • Line 25: warning: exported method ScreenshotClient.SendPacket should have comment or be unexported (golint)
    • Line 29: warning: exported method ScreenshotClient.ReceivePacket should have comment or be unexported (golint)
    • gidevice/afc.go
    • Line 1: warning: don't use MixedCaps in package name; giDevice should be gidevice (golint)
    • Line 15: warning: exported var ErrAfcStatNotExist should have comment or be unexported (golint)
    • Line 316: warning: exported type AfcDiskInfo should have comment or be unexported (golint)
    • Line 323: warning: exported type AfcFileInfo should have comment or be unexported (golint)
    • Line 336: warning: exported method AfcFileInfo.Name should have comment or be unexported (golint)
    • Line 340: warning: exported method AfcFileInfo.Size should have comment or be unexported (golint)
    • Line 348: warning: exported method AfcFileInfo.ModTime should have comment or be unexported (golint)
    • Line 352: warning: exported method AfcFileInfo.IsDir should have comment or be unexported (golint)
    • Line 360: warning: exported method AfcFileInfo.CreationTime should have comment or be unexported (golint)
    • Line 380: warning: exported type AfcFileMode should have comment or be unexported (golint)
    • Line 383: warning: exported const AfcFileModeRdOnly should have comment (or a comment on this block) or be unexported (golint)
    • Line 391: warning: exported type AfcLockType should have comment or be unexported (golint)
    • Line 394: warning: exported const AfcLockTypeSharedLock should have comment (or a comment on this block) or be unexported (golint)
    • Line 399: warning: exported type AfcFile should have comment or be unexported (golint)
    • Line 420: warning: exported method AfcFile.Lock should have comment or be unexported (golint)
    • Line 434: warning: exported method AfcFile.Unlock should have comment or be unexported (golint)
    • Line 479: warning: exported method AfcFile.Tell should have comment or be unexported (golint)
    • Line 499: warning: exported method AfcFile.Seek should have comment or be unexported (golint)
    • Line 520: warning: exported method AfcFile.Truncate should have comment or be unexported (golint)
    • Line 535: warning: exported method AfcFile.Close should have comment or be unexported (golint)
    • Line 546: warning: exported type AfcLinkType should have comment or be unexported (golint)
    • Line 549: warning: exported const AfcLinkTypeHardLink should have comment (or a comment on this block) or be unexported (golint)
    • gidevice/pkg/libimobiledevice/keyedarchiver.go
    • Line 19: warning: exported type KeyedArchiver should have comment or be unexported (golint)
    • Line 26: warning: exported method KeyedArchiver.UID should have comment or be unexported (golint)
    • Line 30: warning: exported type ArchiverRoot should have comment or be unexported (golint)
    • Line 34: warning: exported type ArchiverClasses should have comment or be unexported (golint)
    • Line 40: warning: exported var NSMutableDictionaryClass should have comment or be unexported (golint)
    • Line 74: warning: exported type NSObject should have comment or be unexported (golint)
    • Line 78: warning: exported type NSArray should have comment or be unexported (golint)
    • Line 83: warning: exported type NSDictionary should have comment or be unexported (golint)
    • Line 88: warning: exported type NSData should have comment or be unexported (golint)
    • Line 93: warning: exported type NSError should have comment or be unexported (golint)
    • Line 99: warning: exported type NSKeyedArchiver should have comment or be unexported (golint)
    • Line 104: warning: exported function NewNSKeyedArchiver should have comment or be unexported (golint)
    • Line 138: warning: exported type XCTestConfiguration should have comment or be unexported (golint)
    • Line 142: warning: exported method NSKeyedArchiver.Marshal should have comment or be unexported (golint)
    • Line 235: warning: exported method NSKeyedArchiver.Unmarshal should have comment or be unexported (golint)
    • gidevice/device.go
    • Line 1: warning: don't use MixedCaps in package name; giDevice should be gidevice (golint)
    • Line 19: warning: exported const LockdownPort should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/simulatelocation.go
    • Line 9: warning: exported const SimulateLocationServiceName should have comment or be unexported (golint)
    • Line 11: warning: exported type CoordinateSystem should have comment or be unexported (golint)
    • Line 14: warning: exported const CoordinateSystemWGS84 should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported function NewSimulateLocationClient should have comment or be unexported (golint)
    • Line 25: warning: exported type SimulateLocationClient should have comment or be unexported (golint)
    • Line 29: warning: exported method SimulateLocationClient.NewLocationPacket should have comment or be unexported (golint)
    • Line 47: warning: exported method SimulateLocationClient.SendPacket should have comment or be unexported (golint)
    • gidevice/pkg/libimobiledevice/testmanagerd.go
    • Line 4: warning: exported const TestmanagerdSecureServiceName should have comment (or a comment on this block) or be unexported (golint)
    • Line 8: warning: exported function NewTestmanagerdClient should have comment or be unexported (golint)
    • Line 14: warning: exported type TestmanagerdClient should have comment or be unexported (golint)
    • Line 18: warning: exported method TestmanagerdClient.Connection should have comment or be unexported (golint)
    • Line 22: warning: exported method TestmanagerdClient.MakeChannel should have comment or be unexported (golint)
    • Line 26: warning: exported method TestmanagerdClient.Invoke should have comment or be unexported (golint)
    • Line 39: warning: exported method TestmanagerdClient.RegisterCallback should have comment or be unexported (golint)
    • Line 43: warning: exported method TestmanagerdClient.Close should have comment or be unexported (golint)
    • gidevice/lockdown.go
    • Line 1: warning: don't use MixedCaps in package name; giDevice should be gidevice (golint)
    • Line 179: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 184: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 510: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign95%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!