Preparing report...

Report for github.com/GoCollaborate/src

A    Great!    Found 54 issues across 54 files

Tweet

gofmt98%

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!


gocyclo96%

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.


golint0%

Golint is a linter for Go source code.

    • src/artifacts/task/task.go
    • Line 11: warning: exported const SHORT should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported const BASE should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type TaskType should have comment or be unexported (golint)
    • Line 32: warning: exported type TaskPriority should have comment or be unexported (golint)
    • Line 58: warning: exported function NewCollection should have comment or be unexported (golint)
    • Line 62: warning: exported method Collection.Append should have comment or be unexported (golint)
    • Line 67: warning: exported method Collection.IsEmpty should have comment or be unexported (golint)
    • Line 71: warning: exported method Collection.Length should have comment or be unexported (golint)
    • Line 75: warning: exported method Collection.Filter should have comment or be unexported (golint)
    • Line 91: warning: exported type Task should have comment or be unexported (golint)
    • Line 101: warning: exported type Collection should have comment or be unexported (golint)
    • src/logger/logger.go
    • Line 17: warning: exported const NORMAL should have comment or be unexported (golint)
    • Line 18: warning: exported const CAPITALIZED should have comment or be unexported (golint)
    • Line 19: warning: exported const UPPERCASE should have comment or be unexported (golint)
    • Line 20: warning: exported const LOWERCASE should have comment or be unexported (golint)
    • Line 25: warning: comment on exported type Logger should be of the form "Logger ..." (with optional leading article) (golint)
    • Line 30: warning: comment on exported function NewLogger should be of the form "NewLogger ..." (golint)
    • Line 52: warning: exported function GetLoggerInstance should have comment or be unexported (golint)
    • Line 56: warning: exported method Logger.LogHeader should have comment or be unexported (golint)
    • Line 60: warning: exported method Logger.LogProgress should have comment or be unexported (golint)
    • Line 64: warning: exported method Logger.LogWarning should have comment or be unexported (golint)
    • Line 68: warning: exported method Logger.LogError should have comment or be unexported (golint)
    • Line 72: warning: exported method Logger.LogNormal should have comment or be unexported (golint)
    • Line 76: warning: exported method Logger.LogListPoint should have comment or be unexported (golint)
    • Line 80: warning: exported function LogLogo should have comment or be unexported (golint)
    • Line 92: warning: exported function LogHeader should have comment or be unexported (golint)
    • Line 97: warning: exported function LogProgress should have comment or be unexported (golint)
    • Line 101: warning: exported function LogWarning should have comment or be unexported (golint)
    • Line 105: warning: exported function LogError should have comment or be unexported (golint)
    • Line 109: warning: exported function LogNormal should have comment or be unexported (golint)
    • Line 113: warning: exported function LogListPoint should have comment or be unexported (golint)
    • Line 117: warning: exported function GetLogs should have comment or be unexported (golint)
    • src/collaborator/server_stub.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 15: warning: exported function NewServiceServerStub should have comment or be unexported (golint)
    • Line 19: warning: exported type ServiceServerStub should have comment or be unexported (golint)
    • Line 23: warning: exported function LaunchServer should have comment or be unexported (golint)
    • Line 35: warning: exported method ServiceServerStub.Exchange should have comment or be unexported (golint)
    • Line 49: warning: comment on exported method ServiceServerStub.Distribute should be of the form "Distribute ..." (golint)
    • src/helpers/taskHelper/sorter.go
    • Line 1: warning: don't use MixedCaps in package name; taskHelper should be taskhelper (golint)
    • Line 8: warning: exported function Keys should have comment or be unexported (golint)
    • Line 17: warning: exported function KeysReverseOrder should have comment or be unexported (golint)
    • src/artifacts/task/taskFuture.go
    • Line 7: warning: exported type TaskFuture should have comment or be unexported (golint)
    • Line 13: warning: exported function NewTaskFuture should have comment or be unexported (golint)
    • Line 17: warning: exported method TaskFuture.Receive should have comment or be unexported (golint)
    • Line 21: warning: exported method TaskFuture.Return should have comment or be unexported (golint)
    • Line 25: warning: exported method TaskFuture.Close should have comment or be unexported (golint)
    • Line 32: warning: exported method TaskFuture.IsDone should have comment or be unexported (golint)
    • Line 36: warning: exported method TaskFuture.Done should have comment or be unexported (golint)
    • src/artifacts/ireducer/ireducer.go
    • Line 7: warning: exported type IReducer should have comment or be unexported (golint)
    • Line 11: warning: exported type DefaultReducer should have comment or be unexported (golint)
    • Line 14: warning: exported function Default should have comment or be unexported (golint)
    • Line 18: warning: exported method DefaultReducer.Reduce should have comment or be unexported (golint)
    • src/artifacts/stats/stats.go
    • Line 14: warning: exported type StatsManager should have comment or be unexported (golint)
    • Line 31: warning: exported type AbstractArray should have comment or be unexported (golint)
    • Line 51: warning: exported type AbsPolicy should have comment or be unexported (golint)
    • Line 56: warning: exported function GetStatsInstance should have comment or be unexported (golint)
    • Line 106: warning: comment on exported method StatsManager.Observe should be of the form "Observe ..." (golint)
    • Line 118: warning: comment on exported method StatsManager.Stats should be of the form "Stats ..." (golint)
    • Line 125: warning: should omit 2nd value from range; this loop is equivalent to `for arrk := range ...` (golint)
    • Line 188: warning: exported function DefaultAbstractArray should have comment or be unexported (golint)
    • Line 192: warning: exported function AbsPolicySumOfInt should have comment or be unexported (golint)
    • src/artifacts/task/background.go
    • Line 3: warning: exported type Background should have comment or be unexported (golint)
    • Line 5: warning: exported function NewBackground should have comment or be unexported (golint)
    • Line 10: warning: exported method Background.Done should have comment or be unexported (golint)
    • Line 14: warning: exported method Background.Mount should have comment or be unexported (golint)
    • Line 20: warning: exported method Background.Close should have comment or be unexported (golint)
    • src/collaborator/client_stub.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 14: warning: exported type ServiceClientStub should have comment or be unexported (golint)
    • Line 18: warning: exported function NewServiceClientStub should have comment or be unexported (golint)
    • Line 41: warning: exported method ServiceClientStub.DistributeAsync should have comment or be unexported (golint)
    • Line 61: warning: exported method ServiceClientStub.Exchange should have comment or be unexported (golint)
    • src/collaborate.go
    • Line 22: warning: exported function Set should have comment or be unexported (golint)
    • Line 95: warning: exported function Run should have comment or be unexported (golint)
    • src/artifacts/restful/dashboard.go
    • Line 3: warning: exported type DashboardPayload should have comment or be unexported (golint)
    • Line 9: warning: exported type EntriesGroup should have comment or be unexported (golint)
    • Line 15: warning: exported type Entry should have comment or be unexported (golint)
    • Line 22: warning: exported type ModelsGroup should have comment or be unexported (golint)
    • Line 28: warning: exported type Model should have comment or be unexported (golint)
    • Line 33: warning: exported type Attribute should have comment or be unexported (golint)
    • Line 38: warning: exported type Base should have comment or be unexported (golint)
    • src/artifacts/restful/error.go
    • Line 4: warning: should not use dot imports (golint)
    • Line 7: warning: exported type ErrorResource should have comment or be unexported (golint)
    • Line 12: warning: exported type Error should have comment or be unexported (golint)
    • Line 19: warning: exported function NewErrorResource should have comment or be unexported (golint)
    • Line 29: warning: comment on exported function Error401Unauthorized should be of the form "Error401Unauthorized ..." (golint)
    • Line 39: warning: exported function Error403Forbidden should have comment or be unexported (golint)
    • Line 48: warning: exported function Error404NotFound should have comment or be unexported (golint)
    • Line 57: warning: exported function Error405MethodNotAllowed should have comment or be unexported (golint)
    • Line 66: warning: exported function Error408RequestTimeout should have comment or be unexported (golint)
    • Line 75: warning: exported function Error409Conflict should have comment or be unexported (golint)
    • Line 84: warning: exported function Error415UnsupportedMediaType should have comment or be unexported (golint)
    • Line 93: warning: exported function Error500InternalServerError should have comment or be unexported (golint)
    • Line 102: warning: exported function Error502BadGateway should have comment or be unexported (golint)
    • Line 111: warning: exported function Error503ServiceUnavailable should have comment or be unexported (golint)
    • src/artifacts/restful/restful.go
    • Line 5: warning: should not use dot imports (golint)
    • Line 9: warning: exported type Request should have comment or be unexported (golint)
    • Line 15: warning: exported type Response should have comment or be unexported (golint)
    • Line 21: warning: exported type RestfulResource should have comment or be unexported (golint)
    • Line 27: warning: exported function NewRequest should have comment or be unexported (golint)
    • Line 31: warning: exported function NewResponse should have comment or be unexported (golint)
    • Line 35: warning: exported function Writer should have comment or be unexported (golint)
    • Line 45: warning: exported method Response.WithResource should have comment or be unexported (golint)
    • Line 51: warning: exported method Response.WithResources should have comment or be unexported (golint)
    • Line 60: warning: exported method Response.WithResourceArr should have comment or be unexported (golint)
    • Line 65: warning: exported method Response.WithLinks should have comment or be unexported (golint)
    • Line 71: warning: exported method Response.WithHeader should have comment or be unexported (golint)
    • Line 77: warning: exported method Response.WithStatus should have comment or be unexported (golint)
    • Line 83: warning: exported method Response.Send should have comment or be unexported (golint)
    • Line 89: warning: exported function Reader should have comment or be unexported (golint)
    • Line 98: warning: exported method Request.WithResource should have comment or be unexported (golint)
    • Line 105: warning: exported method Request.WithResources should have comment or be unexported (golint)
    • Line 114: warning: exported method Request.WithResourceArr should have comment or be unexported (golint)
    • Line 120: warning: exported method Request.WithIncluded should have comment or be unexported (golint)
    • Line 129: warning: exported method Request.Receive should have comment or be unexported (golint)
    • src/store/store.go
    • Line 35: warning: exported function GetRouter should have comment or be unexported (golint)
    • Line 42: warning: exported function GetMsgChan should have comment or be unexported (golint)
    • Line 49: warning: exported function GetInstance should have comment or be unexported (golint)
    • Line 65: warning: exported type FS should have comment or be unexported (golint)
    • Line 77: warning: exported type JobFunc should have comment or be unexported (golint)
    • Line 83: warning: exported method FS.Add should have comment or be unexported (golint)
    • Line 98: warning: exported method FS.HAdd should have comment or be unexported (golint)
    • Line 111: warning: exported method FS.Call should have comment or be unexported (golint)
    • Line 133: warning: exported method FS.SetMapper should have comment or be unexported (golint)
    • Line 140: warning: exported method FS.SetReducer should have comment or be unexported (golint)
    • Line 147: warning: exported method FS.SetExecutor should have comment or be unexported (golint)
    • Line 151: warning: exported method FS.GetExecutor should have comment or be unexported (golint)
    • Line 158: warning: exported method FS.SetJob should have comment or be unexported (golint)
    • Line 162: warning: exported method FS.GetJob should have comment or be unexported (golint)
    • Line 169: warning: exported method FS.SetShared should have comment or be unexported (golint)
    • Line 173: warning: exported method FS.SetLocal should have comment or be unexported (golint)
    • Line 177: warning: exported method FS.GetLocal should have comment or be unexported (golint)
    • Line 184: warning: exported method FS.GetShared should have comment or be unexported (golint)
    • Line 191: warning: exported method FS.AddLocal should have comment or be unexported (golint)
    • Line 198: warning: exported method FS.AddShared should have comment or be unexported (golint)
    • Line 205: warning: exported method FS.SetLimiter should have comment or be unexported (golint)
    • Line 209: warning: exported method FS.GetLimiter should have comment or be unexported (golint)
    • src/artifacts/iexecutor/iexecutor.go
    • Line 7: warning: exported type IExecutor should have comment or be unexported (golint)
    • Line 13: warning: exported function Default should have comment or be unexported (golint)
    • Line 17: warning: exported type DefaultExecutor should have comment or be unexported (golint)
    • Line 22: warning: exported method DefaultExecutor.Type should have comment or be unexported (golint)
    • Line 29: warning: exported method DefaultExecutor.Todo should have comment or be unexported (golint)
    • Line 33: warning: exported method DefaultExecutor.Execute should have comment or be unexported (golint)
    • src/helpers/parameterHelper/parameterHelper.go
    • Line 1: warning: don't use MixedCaps in package name; parameterHelper should be parameterhelper (golint)
    • Line 7: warning: exported function UnmarshalParameters should have comment or be unexported (golint)
    • Line 16: warning: exported function UnmarshalConstraints should have comment or be unexported (golint)
    • Line 25: warning: exported function UnmarshalStringArray should have comment or be unexported (golint)
    • src/constants/constants.go
    • Line 98: warning: exported const STATS_POLICY_SUM_OF_INTS should have comment (or a comment on this block) or be unexported (golint)
    • Line 103: warning: error var ERR_UNKNOWN_CMD_ARG should have name of the form ErrFoo (golint)
    • Line 104: warning: error var ERR_CONNECTION_CLOSED should have name of the form ErrFoo (golint)
    • Line 105: warning: error var ERR_UNKNOWN should have name of the form ErrFoo (golint)
    • Line 106: warning: error var ERR_API should have name of the form ErrFoo (golint)
    • Line 107: warning: error var ERR_NO_COLLABORATOR should have name of the form ErrFoo (golint)
    • Line 108: warning: error var ERR_COLLAOBRATOR_ALREADY_EXISTS should have name of the form ErrFoo (golint)
    • Line 109: warning: error var ERR_TASK_TIMEOUT should have name of the form ErrFoo (golint)
    • Line 110: warning: error var ERR_NO_PEERS should have name of the form ErrFoo (golint)
    • Line 111: warning: error var ERR_FUNCT_NOT_EXIST should have name of the form ErrFoo (golint)
    • Line 112: warning: error var ERR_JOB_NOT_EXIST should have name of the form ErrFoo (golint)
    • Line 113: warning: error var ERR_EXECUTOR_NOT_FOUND should have name of the form ErrFoo (golint)
    • Line 114: warning: error var ERR_LIMITER_NOT_FOUND should have name of the form ErrFoo (golint)
    • Line 115: warning: error var ERR_VAL_NOT_FOUND should have name of the form ErrFoo (golint)
    • Line 116: warning: error var ERR_CASE_MISMATCH should have name of the form ErrFoo (golint)
    • Line 117: warning: error var ERR_COLLABORATOR_MISMATCH should have name of the form ErrFoo (golint)
    • Line 118: warning: error var ERR_UNKNOWN_MSG_TYPE should have name of the form ErrFoo (golint)
    • Line 119: warning: error var ERR_TASK_MAP_FAIL should have name of the form ErrFoo (golint)
    • Line 120: warning: error var ERR_TASK_REDUCE_FAIL should have name of the form ErrFoo (golint)
    • Line 121: warning: error var ERR_EXECUTOR_STACK_LENGTH_INCONSISTENT should have name of the form ErrFoo (golint)
    • Line 122: warning: error var ERR_MSG_CHAN_DIRTY should have name of the form ErrFoo (golint)
    • Line 123: warning: error var ERR_TASK_CHAN_DIRTY should have name of the form ErrFoo (golint)
    • Line 124: warning: error var ERR_STAT_TYPE_NOT_FOUND should have name of the form ErrFoo (golint)
    • Line 125: warning: error var ERR_INPUT_STREAM_CORRUPTED should have name of the form ErrFoo (golint)
    • Line 126: warning: error var ERR_INPUT_STREAM_NOT_SUPPORTED should have name of the form ErrFoo (golint)
    • Line 127: warning: error var ERR_IO_DECODE_POINTER_REQUIRED should have name of the form ErrFoo (golint)
    • Line 128: warning: error var ERR_IO_DECODE_SLICE_REQUIRED should have name of the form ErrFoo (golint)
    • Line 129: warning: error var ERR_IO_DECODE_STRUCT_REQUIRED should have name of the form ErrFoo (golint)
    • Line 132: warning: exported type Header should have comment or be unexported (golint)
    • Line 159: warning: exported var PROJECT_DIR should have comment or be unexported (golint)
    • src/collaborator/collaborator.go
    • Line 26: warning: exported const MAX_IDLE_CONNECTIONS should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: comment on exported function NewCollaborator should be of the form "NewCollaborator ..." (golint)
    • Line 187: warning: comment on exported method Collaborator.Handle should be of the form "Handle ..." (golint)
    • Line 223: warning: comment on exported method Collaborator.DistributeSeq should be of the form "DistributeSeq ..." (golint)
    • Line 295: warning: comment on exported method Collaborator.HandleLocal should be of the form "HandleLocal ..." (golint)
    • Line 340: warning: comment on exported method Collaborator.HandleShared should be of the form "HandleShared ..." (golint)
    • Line 386: warning: comment on exported method Collaborator.LocalDistribute should be of the form "LocalDistribute ..." (golint)
    • Line 435: warning: comment on exported method Collaborator.SharedDistribute should be of the form "SharedDistribute ..." (golint)
    • Line 483: warning: comment on exported method Collaborator.DelayExecute should be of the form "DelayExecute ..." (golint)
    • Line 499: warning: exported function Delay should have comment or be unexported (golint)
    • src/artifacts/card/card.go
    • Line 8: warning: comment on exported function NewCard should be of the form "NewCard ..." (golint)
    • Line 19: warning: exported method Card.IsInitialized should have comment or be unexported (golint)
    • Line 26: warning: exported method Card.GetFullIP should have comment or be unexported (golint)
    • Line 30: warning: exported method Card.GetFullExposureAddress should have comment or be unexported (golint)
    • Line 34: warning: exported method Card.GetFullExposureCard should have comment or be unexported (golint)
    • Line 38: warning: exported method Card.GetFullEndPoint should have comment or be unexported (golint)
    • Line 42: warning: exported method Card.IsEqualTo should have comment or be unexported (golint)
    • Line 46: warning: exported method Card.IsSeed should have comment or be unexported (golint)
    • Line 50: warning: exported method Card.ToSeed should have comment or be unexported (golint)
    • Line 54: warning: exported method Card.SetAlive should have comment or be unexported (golint)
    • Line 58: warning: comment on exported function Default should be of the form "Default ..." (golint)
    • src/artifacts/worker/worker.go
    • Line 10: warning: exported type Worker should have comment or be unexported (golint)
    • Line 21: warning: exported method Worker.Start should have comment or be unexported (golint)
    • Line 59: warning: exported method Worker.GetID should have comment or be unexported (golint)
    • Line 63: warning: exported method Worker.Quit should have comment or be unexported (golint)
    • src/artifacts/resources/resource.go
    • Line 3: warning: exported type Resource should have comment or be unexported (golint)
    • Line 9: warning: exported method Resource.GetType should have comment or be unexported (golint)
    • Line 13: warning: exported method Resource.GetId should have comment or be unexported (golint)
    • Line 17: warning: exported method Resource.GetRelationships should have comment or be unexported (golint)
    • Line 21: warning: exported type Relationship should have comment or be unexported (golint)
    • Line 25: warning: exported type Links should have comment or be unexported (golint)
    • src/artifacts/message/message.go
    • Line 11: warning: exported function NewCardMessage should have comment or be unexported (golint)
    • Line 17: warning: exported function NewCardMessageWithOptions should have comment or be unexported (golint)
    • Line 24: warning: exported method CardMessage.SetCluster should have comment or be unexported (golint)
    • Line 29: warning: exported method CardMessage.SetFrom should have comment or be unexported (golint)
    • Line 35: warning: exported method CardMessage.SetTo should have comment or be unexported (golint)
    • Line 41: warning: exported method CardMessage.SetCards should have comment or be unexported (golint)
    • Line 46: warning: exported method CardMessage.SetTimeStamp should have comment or be unexported (golint)
    • Line 51: warning: exported method CardMessage.SetStatus should have comment or be unexported (golint)
    • Line 56: warning: exported method CardMessage.SetType should have comment or be unexported (golint)
    • Line 61: warning: exported method CardMessage.DeleteDigestCard should have comment or be unexported (golint)
    • Line 65: warning: exported method CardMessage.Update should have comment or be unexported (golint)
    • Line 70: warning: exported method CardMessage.Stamp should have comment or be unexported (golint)
    • src/utils/random.go
    • Line 15: warning: exported function RandStringBytesMaskImprSrc should have comment or be unexported (golint)
    • src/artifacts/task/stage.go
    • Line 3: warning: exported type Stage should have comment or be unexported (golint)
    • Line 9: warning: exported method Stage.Prev should have comment or be unexported (golint)
    • Line 13: warning: exported method Stage.Next should have comment or be unexported (golint)
    • Line 17: warning: exported function MakeStage should have comment or be unexported (golint)
    • src/web/dashboard.go
    • Line 17: warning: exported function Profile should have comment or be unexported (golint)
    • Line 24: warning: exported function Routes should have comment or be unexported (golint)
    • Line 69: warning: exported function Logs should have comment or be unexported (golint)
    • Line 80: warning: exported function Stats should have comment or be unexported (golint)
    • src/utils/adapter.go
    • Line 13: warning: exported function AdaptRouterToDebugMode should have comment or be unexported (golint)
    • Line 26: warning: comment on exported function AdaptHTTPWithStatus should be of the form "AdaptHTTPWithStatus ..." (golint)
    • Line 34: warning: exported function AdaptHTTPWithHeader should have comment or be unexported (golint)
    • Line 53: warning: exported function AdaptStatsHits should have comment or be unexported (golint)
    • Line 62: warning: exported function AdaptStatsRouteHits should have comment or be unexported (golint)
    • src/artifacts/task/job.go
    • Line 9: warning: exported type Job should have comment or be unexported (golint)
    • Line 18: warning: exported function MakeJob should have comment or be unexported (golint)
    • Line 25: warning: exported method Job.Id should have comment or be unexported (golint)
    • Line 29: warning: exported method Job.Len should have comment or be unexported (golint)
    • Line 33: warning: exported method Job.Back should have comment or be unexported (golint)
    • Line 37: warning: exported method Job.Curr should have comment or be unexported (golint)
    • Line 41: warning: exported method Job.Front should have comment or be unexported (golint)
    • Line 45: warning: exported method Job.InsertBefore should have comment or be unexported (golint)
    • Line 64: warning: exported method Job.InsertAfter should have comment or be unexported (golint)
    • Line 83: warning: exported method Job.Init should have comment or be unexported (golint)
    • Line 94: warning: exported method Job.PushBack should have comment or be unexported (golint)
    • Line 107: warning: exported method Job.PushFront should have comment or be unexported (golint)
    • Line 120: warning: exported method Job.Exes should have comment or be unexported (golint)
    • Line 127: warning: exported method Job.Stacks should have comment or be unexported (golint)
    • Line 132: warning: exported method Job.Tasks should have comment or be unexported (golint)
    • src/collaborator/services/task_service.go
    • Line 6: warning: should not use dot imports (golint)
    • Line 9: warning: exported function Encode should have comment or be unexported (golint)
    • Line 10: warning: don't use underscores in Go names; var maps_bytes should be mapsBytes (golint)
    • Line 22: warning: exported function Decode should have comment or be unexported (golint)
    • src/helpers/ioHelper/ioHelper.go
    • Line 1: warning: don't use MixedCaps in package name; ioHelper should be iohelper (golint)
    • Line 19: warning: exported const StatusNormal should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported type CSVOperator should have comment or be unexported (golint)
    • Line 37: warning: exported function FromURL should have comment or be unexported (golint)
    • Line 46: warning: exported function FromPath should have comment or be unexported (golint)
    • Line 54: warning: exported function FromFile should have comment or be unexported (golint)
    • Line 58: warning: exported function FromString should have comment or be unexported (golint)
    • Line 62: warning: exported function FromBytes should have comment or be unexported (golint)
    • Line 66: warning: exported function FromIOReader should have comment or be unexported (golint)
    • Line 70: warning: comment on exported method CSVOperator.Fill should be of the form "Fill ..." (golint)
    • Line 85: warning: comment on exported function Decode should be of the form "Decode ..." (golint)
    • src/artifacts/iremote/imessage.go
    • Line 3: warning: comment on exported type ICardMessage should be of the form "ICardMessage ..." (with optional leading article) (golint)
    • Line 12: warning: exported type MsgType should have comment or be unexported (golint)
    • Line 15: warning: exported var MsgTypeSync should have comment or be unexported (golint)
    • src/artifacts/task/taskContext.go
    • Line 11: warning: exported type TaskContext should have comment or be unexported (golint)
    • Line 15: warning: exported function NewTaskContext should have comment or be unexported (golint)
    • Line 20: warning: exported method TaskContext.Entries should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method TaskContext.Set should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 30: warning: exported method TaskContext.Get should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • src/artifacts/master/master.go
    • Line 12: warning: exported type Master should have comment or be unexported (golint)
    • Line 22: warning: exported function NewMaster should have comment or be unexported (golint)
    • Line 26: warning: exported method Master.Enqueue should have comment or be unexported (golint)
    • Line 46: warning: exported method Master.DoneMulti should have comment or be unexported (golint)
    • Line 60: warning: exported method Master.Done should have comment or be unexported (golint)
    • Line 86: warning: exported method Master.Attach should have comment or be unexported (golint)
    • Line 93: warning: exported method Master.BatchAttach should have comment or be unexported (golint)
    • Line 104: warning: exported method Master.Detach should have comment or be unexported (golint)
    • Line 108: warning: exported method Master.LaunchAll should have comment or be unexported (golint)
    • Line 119: warning: exported method Master.Launch should have comment or be unexported (golint)
    • Line 127: warning: comment on exported method Master.CountTasks should be of the form "CountTasks ..." (golint)
    • Line 132: warning: comment on exported method Master.CountWorkers should be of the form "CountWorkers ..." (golint)
    • Line 137: warning: exported method Master.Close should have comment or be unexported (golint)
    • src/utils/sort.go
    • Line 7: warning: exported function SortArrayInt should have comment or be unexported (golint)
    • Line 13: warning: exported function SortArrayIntReverse should have comment or be unexported (golint)
    • src/helpers/messageHelper/messageHelper.go
    • Line 1: warning: don't use MixedCaps in package name; messageHelper should be messagehelper (golint)
    • Line 9: warning: exported function Exchange should have comment or be unexported (golint)
    • Line 18: warning: exported function Compare should have comment or be unexported (golint)
    • Line 25: warning: exported function Merge should have comment or be unexported (golint)
    • src/collaborator/case.go
    • Line 21: warning: comment on exported type Case should be of the form "Case ..." (with optional leading article) (golint)
    • Line 28: warning: comment on exported type Exposed should be of the form "Exposed ..." (with optional leading article) (golint)
    • Line 34: warning: comment on exported type Reserved should be of the form "Reserved ..." (with optional leading article) (golint)
    • Line 62: warning: exported method Case.Action should have comment or be unexported (golint)
    • Line 80: warning: exported method Case.Stamp should have comment or be unexported (golint)
    • Line 85: warning: exported method Case.GetCluster should have comment or be unexported (golint)
    • Line 89: warning: exported method Case.GetDigest should have comment or be unexported (golint)
    • Line 93: warning: exported method Case.Update should have comment or be unexported (golint)
    • Line 98: warning: exported method Case.Terminate should have comment or be unexported (golint)
    • Line 105: warning: exported method Case.ReturnByPos should have comment or be unexported (golint)
    • Line 121: warning: exported method Case.HandleMessage should have comment or be unexported (golint)
    • Line 179: warning: exported method Case.Validate should have comment or be unexported (golint)
    • src/helpers/cardHelper/cardHelper.go
    • Line 1: warning: don't use MixedCaps in package name; cardHelper should be cardhelper (golint)
    • Line 8: warning: exported function UnmarshalCards should have comment or be unexported (golint)
    • Line 31: warning: exported function RangePrint should have comment or be unexported (golint)
    • src/web/index.go
    • Line 11: warning: exported type DataModel should have comment or be unexported (golint)
    • Line 22: warning: exported function Index should have comment or be unexported (golint)
    • src/utils/reflect.go
    • Line 11: warning: exported function ReflectFuncName should have comment or be unexported (golint)
    • Line 16: warning: exported function StripRouteToAPIRoute should have comment or be unexported (golint)
    • Line 20: warning: exported function StripRouteToFunctName should have comment or be unexported (golint)
    • Line 24: warning: exported function Map should have comment or be unexported (golint)
    • src/artifacts/message/messageFuture.go
    • Line 7: warning: exported type CardMessageFuture should have comment or be unexported (golint)
    • Line 13: warning: exported function NewCardMessageFuture should have comment or be unexported (golint)
    • Line 17: warning: exported method CardMessageFuture.Receive should have comment or be unexported (golint)
    • Line 21: warning: exported method CardMessageFuture.Return should have comment or be unexported (golint)
    • Line 25: warning: exported method CardMessageFuture.Close should have comment or be unexported (golint)
    • Line 32: warning: exported method CardMessageFuture.Done should have comment or be unexported (golint)
    • src/utils/network.go
    • Line 9: warning: exported type Adapter should have comment or be unexported (golint)
    • Line 11: warning: exported function Logging should have comment or be unexported (golint)
    • Line 20: warning: exported function WithHeader should have comment or be unexported (golint)
    • Line 29: warning: comment on exported function SupportXHTTPMethodOverride should be of the form "SupportXHTTPMethodOverride ..." (golint)
    • Line 47: warning: exported function RecoverHandler should have comment or be unexported (golint)
    • Line 62: warning: exported function Adapt should have comment or be unexported (golint)
    • Line 70: warning: exported function GetLocalIP should have comment or be unexported (golint)
    • Line 86: warning: exported function GetPort should have comment or be unexported (golint)
    • Line 100: warning: exported function MapToExposureAddress should have comment or be unexported (golint)
    • src/artifacts/imapper/imapper.go
    • Line 7: warning: exported type IMapper should have comment or be unexported (golint)
    • Line 11: warning: exported function Default should have comment or be unexported (golint)
    • Line 15: warning: exported type DefaultMapper should have comment or be unexported (golint)
    • Line 18: warning: exported method DefaultMapper.Map should have comment or be unexported (golint)
    • src/artifacts/digest/digest.go
    • Line 20: warning: exported method Digest.SetCards should have comment or be unexported (golint)
    • Line 24: warning: exported method Digest.SetTimeStamp should have comment or be unexported (golint)
    • Line 28: warning: exported method Digest.GetTimeStamp should have comment or be unexported (golint)
    • src/cmd/cmd.go
    • Line 11: warning: exported type SysVars should have comment or be unexported (golint)
    • Line 25: warning: exported function InitCmdEnv should have comment or be unexported (golint)
    • Line 42: warning: exported function Combine should have comment or be unexported (golint)
    • Line 60: warning: exported function Vars should have comment or be unexported (golint)
    • Line 65: warning: exported function VarsJSONArrayStr should have comment or be unexported (golint)
    • Line 85: warning: exported function Init should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign90%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!