Preparing report...

Report for github.com/jjeffery/mechturk

A+    Excellent!    Found 6 issues across 31 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!


gocyclo100%

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.

No problems detected. Good job!


golint80%

Golint is a linter for Go source code.

    • mechturk/cmd/mechturk/mtcmd/string-selection.go
    • Line 9: warning: exported type StringSelection should have comment or be unexported (golint)
    • Line 14: warning: exported function NewStringSelection should have comment or be unexported (golint)
    • Line 25: warning: exported method StringSelection.Select should have comment or be unexported (golint)
    • mechturk/soap/soap.go
    • Line 42: warning: exported method Body.UnmarshalXML should have comment or be unexported (golint)
    • Line 96: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 102: warning: exported method Client.Call should have comment or be unexported (golint)
    • mechturk/wsdltypes.go
    • Line 25: warning: exported type SortDirection should have comment or be unexported (golint)
    • Line 33: warning: exported type Comparator should have comment or be unexported (golint)
    • Line 36: warning: exported const ComparatorLessThan should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported type EventType should have comment or be unexported (golint)
    • Line 48: warning: exported const EventTypeAssignmentAccepted should have comment (or a comment on this block) or be unexported (golint)
    • Line 57: warning: exported type NotificationTransport should have comment or be unexported (golint)
    • Line 60: warning: exported const NotificationTransportSOAP should have comment (or a comment on this block) or be unexported (golint)
    • Line 66: warning: exported type HITStatus should have comment or be unexported (golint)
    • Line 69: warning: exported const HITStatusAssignable should have comment (or a comment on this block) or be unexported (golint)
    • Line 76: warning: exported type HITReviewStatus should have comment or be unexported (golint)
    • Line 79: warning: exported const HITReviewStatusNotReviewed should have comment (or a comment on this block) or be unexported (golint)
    • Line 85: warning: exported type ReviewableHITStatus should have comment or be unexported (golint)
    • Line 88: warning: exported const ReviewableHITStatusReviewable should have comment (or a comment on this block) or be unexported (golint)
    • Line 92: warning: exported type GetReviewableHITsSortProperty should have comment or be unexported (golint)
    • Line 95: warning: exported const GetReviewableHITsSortPropertyTitle should have comment (or a comment on this block) or be unexported (golint)
    • Line 102: warning: exported type ReviewPolicyLevel should have comment or be unexported (golint)
    • Line 105: warning: exported const ReviewPolicyLevelAssignment should have comment (or a comment on this block) or be unexported (golint)
    • Line 109: warning: exported type ReviewActionStatus should have comment or be unexported (golint)
    • Line 112: warning: exported const ReviewActionStatusIntended should have comment (or a comment on this block) or be unexported (golint)
    • Line 118: warning: exported type AssignmentStatus should have comment or be unexported (golint)
    • Line 121: warning: exported const AssignmentStatusSubmitted should have comment (or a comment on this block) or be unexported (golint)
    • Line 126: warning: exported type GetAssignmentsForHITSortProperty should have comment or be unexported (golint)
    • Line 129: warning: exported const GetAssignmentsForHITSortPropertyAcceptTime should have comment (or a comment on this block) or be unexported (golint)
    • Line 135: warning: exported type SearchHITsSortProperty should have comment or be unexported (golint)
    • Line 138: warning: exported const SearchHITsSortPropertyTitle should have comment (or a comment on this block) or be unexported (golint)
    • Line 145: warning: exported type QualificationTypeStatus should have comment or be unexported (golint)
    • Line 148: warning: exported const QualificationTypeStatusActive should have comment (or a comment on this block) or be unexported (golint)
    • Line 152: warning: exported type GetQualificationRequestsSortProperty should have comment or be unexported (golint)
    • Line 155: warning: exported const GetQualificationRequestsSortPropertyQualificationTypeId should have comment (or a comment on this block) or be unexported (golint)
    • Line 159: warning: exported type QualificationStatus should have comment or be unexported (golint)
    • Line 162: warning: exported const QualificationStatusGranted should have comment (or a comment on this block) or be unexported (golint)
    • Line 166: warning: exported type SearchQualificationTypesSortProperty should have comment or be unexported (golint)
    • Line 169: warning: exported const SearchQualificationTypesSortPropertyName should have comment (or a comment on this block) or be unexported (golint)
    • Line 172: warning: exported type RequesterStatistic should have comment or be unexported (golint)
    • Line 175: warning: exported const RequesterStatisticNumberHITsAssignable should have comment (or a comment on this block) or be unexported (golint)
    • Line 208: warning: exported type NotifyWorkersFailureCode should have comment or be unexported (golint)
    • Line 211: warning: exported const NotifyWorkersFailureCodeSoftFailure should have comment (or a comment on this block) or be unexported (golint)
    • Line 215: warning: exported type TimePeriod should have comment or be unexported (golint)
    • Line 218: warning: exported const TimePeriodOneDay should have comment (or a comment on this block) or be unexported (golint)
    • Line 441: warning: exported type OperationRequest should have comment or be unexported (golint)
    • Line 448: warning: exported type Request should have comment or be unexported (golint)
    • Line 493: warning: exported type HTTPHeaders should have comment or be unexported (golint)
    • Line 500: warning: exported type Arguments should have comment or be unexported (golint)
    • Line 507: warning: exported type Errors should have comment or be unexported (golint)
    • Line 520: warning: exported type Information should have comment or be unexported (golint)
    • Line 526: warning: exported type OperationInformation should have comment or be unexported (golint)
    • Line 543: warning: exported type ResponseGroupInformation should have comment or be unexported (golint)
    • Line 554: warning: exported type Claim should have comment or be unexported (golint)
    • Line 559: warning: exported type Price should have comment or be unexported (golint)
    • Line 565: warning: exported type QualificationRequirement should have comment or be unexported (golint)
    • Line 573: warning: exported type Locale should have comment or be unexported (golint)
    • Line 577: warning: exported type NotificationSpecification should have comment or be unexported (golint)
    • Line 584: warning: exported type HIT should have comment or be unexported (golint)
    • Line 609: warning: exported type ReviewPolicy should have comment or be unexported (golint)
    • Line 614: warning: exported type PolicyParameter should have comment or be unexported (golint)
    • Line 620: warning: exported type ParameterMapEntry should have comment or be unexported (golint)
    • Line 625: warning: exported type HITLayoutParameter should have comment or be unexported (golint)
    • Line 653: warning: exported type RegisterHITTypeRequest should have comment or be unexported (golint)
    • Line 664: warning: exported type RegisterHITTypeResult should have comment or be unexported (golint)
    • Line 669: warning: exported type SetHITTypeNotificationRequest should have comment or be unexported (golint)
    • Line 675: warning: exported type SetHITTypeNotificationResult should have comment or be unexported (golint)
    • Line 679: warning: exported type SendTestEventNotificationRequest should have comment or be unexported (golint)
    • Line 684: warning: exported type SendTestEventNotificationResult should have comment or be unexported (golint)
    • Line 688: warning: exported type DisposeHITRequest should have comment or be unexported (golint)
    • Line 693: warning: exported type DisposeHITResult should have comment or be unexported (golint)
    • Line 697: warning: exported type DisableHITRequest should have comment or be unexported (golint)
    • Line 702: warning: exported type DisableHITResult should have comment or be unexported (golint)
    • Line 706: warning: exported type GetHITRequest should have comment or be unexported (golint)
    • Line 711: warning: exported type GetAssignmentRequest should have comment or be unexported (golint)
    • Line 716: warning: exported type GetAssignmentResult should have comment or be unexported (golint)
    • Line 722: warning: exported type GetReviewableHITsRequest should have comment or be unexported (golint)
    • Line 732: warning: exported type GetReviewableHITsResult should have comment or be unexported (golint)
    • Line 740: warning: exported type ReviewReport should have comment or be unexported (golint)
    • Line 748: warning: exported type ReviewResultDetail should have comment or be unexported (golint)
    • Line 757: warning: exported type ReviewActionDetail should have comment or be unexported (golint)
    • Line 768: warning: exported type GetReviewResultsForHITRequest should have comment or be unexported (golint)
    • Line 778: warning: exported type GetReviewResultsForHITResult should have comment or be unexported (golint)
    • Line 787: warning: exported type GetHITsForQualificationTypeRequest should have comment or be unexported (golint)
    • Line 794: warning: exported type GetHITsForQualificationTypeResult should have comment or be unexported (golint)
    • Line 802: warning: exported type GetQualificationsForQualificationTypeRequest should have comment or be unexported (golint)
    • Line 810: warning: exported type GetQualificationsForQualificationTypeResult should have comment or be unexported (golint)
    • Line 818: warning: exported type SetHITAsReviewingRequest should have comment or be unexported (golint)
    • Line 824: warning: exported type SetHITAsReviewingResult should have comment or be unexported (golint)
    • Line 828: warning: exported type ExtendHITRequest should have comment or be unexported (golint)
    • Line 836: warning: exported type ExtendHITResult should have comment or be unexported (golint)
    • Line 840: warning: exported type ForceExpireHITRequest should have comment or be unexported (golint)
    • Line 845: warning: exported type ForceExpireHITResult should have comment or be unexported (golint)
    • Line 849: warning: exported type Assignment should have comment or be unexported (golint)
    • Line 865: warning: exported type ApproveAssignmentRequest should have comment or be unexported (golint)
    • Line 871: warning: exported type ApproveAssignmentResult should have comment or be unexported (golint)
    • Line 875: warning: exported type RejectAssignmentRequest should have comment or be unexported (golint)
    • Line 881: warning: exported type RejectAssignmentResult should have comment or be unexported (golint)
    • Line 885: warning: exported type ApproveRejectedAssignmentRequest should have comment or be unexported (golint)
    • Line 891: warning: exported type ApproveRejectedAssignmentResult should have comment or be unexported (golint)
    • Line 895: warning: exported type GetAssignmentsForHITRequest should have comment or be unexported (golint)
    • Line 905: warning: exported type GetAssignmentsForHITResult should have comment or be unexported (golint)
    • Line 913: warning: exported type GetFileUploadURLRequest should have comment or be unexported (golint)
    • Line 918: warning: exported type GetFileUploadURLResult should have comment or be unexported (golint)
    • Line 923: warning: exported type SearchHITsRequest should have comment or be unexported (golint)
    • Line 931: warning: exported type SearchHITsResult should have comment or be unexported (golint)
    • Line 939: warning: exported type GrantBonusRequest should have comment or be unexported (golint)
    • Line 948: warning: exported type GrantBonusResult should have comment or be unexported (golint)
    • Line 952: warning: exported type BonusPayment should have comment or be unexported (golint)
    • Line 961: warning: exported type GetBonusPaymentsRequest should have comment or be unexported (golint)
    • Line 969: warning: exported type GetBonusPaymentsResult should have comment or be unexported (golint)
    • Line 977: warning: exported type ChangeHITTypeOfHITRequest should have comment or be unexported (golint)
    • Line 983: warning: exported type ChangeHITTypeOfHITResult should have comment or be unexported (golint)
    • Line 987: warning: exported type QualificationType should have comment or be unexported (golint)
    • Line 1004: warning: exported type QualificationRequest should have comment or be unexported (golint)
    • Line 1013: warning: exported type CreateQualificationTypeRequest should have comment or be unexported (golint)
    • Line 1027: warning: exported type DisposeQualificationTypeRequest should have comment or be unexported (golint)
    • Line 1031: warning: exported type DisposeQualificationTypeResult should have comment or be unexported (golint)
    • Line 1035: warning: exported type GetQualificationRequestsRequest should have comment or be unexported (golint)
    • Line 1044: warning: exported type GetQualificationRequestsResult should have comment or be unexported (golint)
    • Line 1052: warning: exported type RejectQualificationRequestRequest should have comment or be unexported (golint)
    • Line 1058: warning: exported type RejectQualificationRequestResult should have comment or be unexported (golint)
    • Line 1062: warning: exported type GrantQualificationRequest should have comment or be unexported (golint)
    • Line 1068: warning: exported type GrantQualificationResult should have comment or be unexported (golint)
    • Line 1072: warning: exported type AssignQualificationRequest should have comment or be unexported (golint)
    • Line 1080: warning: exported type AssignQualificationResult should have comment or be unexported (golint)
    • Line 1084: warning: exported type RevokeQualificationRequest should have comment or be unexported (golint)
    • Line 1091: warning: exported type RevokeQualificationResult should have comment or be unexported (golint)
    • Line 1095: warning: exported type UpdateQualificationScoreRequest should have comment or be unexported (golint)
    • Line 1102: warning: exported type UpdateQualificationScoreResult should have comment or be unexported (golint)
    • Line 1106: warning: exported type GetQualificationTypeRequest should have comment or be unexported (golint)
    • Line 1111: warning: exported type GetQualificationScoreRequest should have comment or be unexported (golint)
    • Line 1117: warning: exported type Qualification should have comment or be unexported (golint)
    • Line 1127: warning: exported type SearchQualificationTypesRequest should have comment or be unexported (golint)
    • Line 1138: warning: exported type SearchQualificationTypesResult should have comment or be unexported (golint)
    • Line 1146: warning: exported type UpdateQualificationTypeRequest should have comment or be unexported (golint)
    • Line 1159: warning: exported type GetAccountBalanceRequest should have comment or be unexported (golint)
    • Line 1164: warning: exported type GetAccountBalanceResult should have comment or be unexported (golint)
    • Line 1170: warning: exported type GetRequesterStatisticRequest should have comment or be unexported (golint)
    • Line 1177: warning: exported type GetRequesterWorkerStatisticRequest should have comment or be unexported (golint)
    • Line 1185: warning: exported type NotifyWorkersFailureStatus should have comment or be unexported (golint)
    • Line 1191: warning: exported type NotifyWorkersRequest should have comment or be unexported (golint)
    • Line 1198: warning: exported type NotifyWorkersResult should have comment or be unexported (golint)
    • Line 1203: warning: exported type GetStatisticResult should have comment or be unexported (golint)
    • Line 1211: warning: exported type DataPoint should have comment or be unexported (golint)
    • Line 1217: warning: exported type GetBlockedWorkersRequest should have comment or be unexported (golint)
    • Line 1223: warning: exported type GetBlockedWorkersResult should have comment or be unexported (golint)
    • Line 1231: warning: exported type WorkerBlock should have comment or be unexported (golint)
    • Line 1236: warning: exported type BlockWorkerRequest should have comment or be unexported (golint)
    • Line 1242: warning: exported type BlockWorkerResult should have comment or be unexported (golint)
    • Line 1246: warning: exported type UnblockWorkerRequest should have comment or be unexported (golint)
    • Line 1252: warning: exported type UnblockWorkerResult should have comment or be unexported (golint)
    • Line 1256: warning: exported type KeyValuePair should have comment or be unexported (golint)
    • Line 1261: warning: exported type HelpRequest should have comment or be unexported (golint)
    • mechturk/cmd/mechturk/global/global.go
    • Line 14: warning: exported const ProgramName should have comment or be unexported (golint)
    • Line 17: warning: exported var Verbose should have comment or be unexported (golint)
    • Line 54: warning: exported function ShortUsage should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!