Preparing report...

Report for github.com/open-integration/core

(v0.101.0)

An error occurred while generating the report.    Found 26 issues across 87 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!


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!


golint71%

Golint is a linter for Go source code.

    • catalog/services/http/types/types.go
    • Line 11: warning: exported function UnmarshalService should have comment or be unexported (golint)
    • Line 17: warning: exported method Service.Marshal should have comment or be unexported (golint)
    • Line 21: warning: exported type Service should have comment or be unexported (golint)
    • Line 25: warning: exported type Endpoints should have comment or be unexported (golint)
    • Line 29: warning: exported type Call should have comment or be unexported (golint)
    • Line 34: warning: exported type Arguments should have comment or be unexported (golint)
    • Line 41: warning: exported type ArgumentsHeader should have comment or be unexported (golint)
    • Line 46: warning: exported type Returns should have comment or be unexported (golint)
    • Line 52: warning: exported type ReturnsHeader should have comment or be unexported (golint)
    • catalog/services/google-calendar/types/types.go
    • Line 14: warning: exported function UnmarshalGoogleCalendarEventsArgumentsSchema should have comment or be unexported (golint)
    • Line 20: warning: exported method GoogleCalendarEventsArgumentsSchema.Marshal should have comment or be unexported (golint)
    • Line 24: warning: exported function UnmarshalReturns should have comment or be unexported (golint)
    • Line 30: warning: exported method Returns.Marshal should have comment or be unexported (golint)
    • Line 34: warning: exported type GoogleCalendarEventsArgumentsSchema should have comment or be unexported (golint)
    • Line 53: warning: comment on exported type ServiceAccount should be of the form "ServiceAccount ..." (with optional leading article) (golint)
    • Line 67: warning: exported type Returns should have comment or be unexported (golint)
    • Line 71: warning: exported type Event should have comment or be unexported (golint)
    • Line 112: warning: exported type EventAttachment should have comment or be unexported (golint)
    • Line 120: warning: exported type EventAttendee should have comment or be unexported (golint)
    • Line 133: warning: comment on exported type ConferenceData should be of the form "ConferenceData ..." (with optional leading article) (golint)
    • Line 147: warning: comment on exported type ConferenceSolution should be of the form "ConferenceSolution ..." (with optional leading article) (golint)
    • Line 156: warning: comment on exported type ConferenceSolutionKey should be of the form "ConferenceSolutionKey ..." (with optional leading article) (golint)
    • Line 163: warning: comment on exported type CreateConferenceRequest should be of the form "CreateConferenceRequest ..." (with optional leading article) (golint)
    • Line 172: warning: comment on exported type ConferenceRequestStatus should be of the form "ConferenceRequestStatus ..." (with optional leading article) (golint)
    • Line 177: warning: exported type EntryPoint should have comment or be unexported (golint)
    • Line 190: warning: comment on exported type ConferenceParameters should be of the form "ConferenceParameters ..." (with optional leading article) (golint)
    • Line 196: warning: comment on exported type ConferenceParametersAddOnParameters should be of the form "ConferenceParametersAddOnParameters ..." (with optional leading article) (golint)
    • Line 201: warning: comment on exported type Creator should be of the form "Creator ..." (with optional leading article) (golint)
    • Line 209: warning: comment on exported type EventDateTime should be of the form "EventDateTime ..." (with optional leading article) (golint)
    • Line 225: warning: comment on exported type ExtendedProperties should be of the form "ExtendedProperties ..." (with optional leading article) (golint)
    • Line 231: warning: comment on exported type Gadget should be of the form "Gadget ..." (with optional leading article) (golint)
    • Line 243: warning: comment on exported type Organizer should be of the form "Organizer ..." (with optional leading article) (golint)
    • Line 253: warning: comment on exported type Reminders should be of the form "Reminders ..." (with optional leading article) (golint)
    • Line 259: warning: exported type EventReminder should have comment or be unexported (golint)
    • Line 272: warning: comment on exported type OrderBy should be of the form "OrderBy ..." (with optional leading article) (golint)
    • Line 277: warning: exported const StartTime should have comment (or a comment on this block) or be unexported (golint)
    • catalog/services/trello/types/types.go
    • Line 26: warning: exported function UnmarshalGetCardsArguments should have comment or be unexported (golint)
    • Line 32: warning: exported method GetCardsArguments.Marshal should have comment or be unexported (golint)
    • Line 36: warning: exported type GetCardsReturns should have comment or be unexported (golint)
    • Line 38: warning: exported function UnmarshalGetCardsReturns should have comment or be unexported (golint)
    • Line 44: warning: exported method GetCardsReturns.Marshal should have comment or be unexported (golint)
    • Line 48: warning: exported function UnmarshalArchiveCardArguments should have comment or be unexported (golint)
    • Line 54: warning: exported method ArchiveCardArguments.Marshal should have comment or be unexported (golint)
    • Line 58: warning: exported type ArchiveCardReturns should have comment or be unexported (golint)
    • Line 60: warning: exported function UnmarshalArchiveCardReturns should have comment or be unexported (golint)
    • Line 66: warning: exported method ArchiveCardReturns.Marshal should have comment or be unexported (golint)
    • Line 70: warning: exported function UnmarshalAddCardArguments should have comment or be unexported (golint)
    • Line 76: warning: exported method AddCardArguments.Marshal should have comment or be unexported (golint)
    • Line 80: warning: exported type AddCardReturns should have comment or be unexported (golint)
    • Line 82: warning: exported function UnmarshalAddCardReturns should have comment or be unexported (golint)
    • Line 88: warning: exported method AddCardReturns.Marshal should have comment or be unexported (golint)
    • Line 92: warning: exported type GetCardsArguments should have comment or be unexported (golint)
    • Line 97: warning: exported type Auth should have comment or be unexported (golint)
    • Line 102: warning: exported type Card should have comment or be unexported (golint)
    • Line 129: warning: exported type Badges should have comment or be unexported (golint)
    • Line 140: warning: exported type Label should have comment or be unexported (golint)
    • Line 148: warning: exported type List should have comment or be unexported (golint)
    • Line 157: warning: exported type ArchiveCardArguments should have comment or be unexported (golint)
    • Line 162: warning: exported type AddCardArguments should have comment or be unexported (golint)
    • pkg/service/service.go
    • Line 32: warning: exported function New should have comment or be unexported (golint)
    • Line 42: warning: exported method Service.Init should have comment or be unexported (golint)
    • Line 46: warning: exported method Service.Call should have comment or be unexported (golint)
    • Line 65: warning: exported method Service.Run should have comment or be unexported (golint)
    • Line 99: warning: exported method Service.RegisterEndpoint should have comment or be unexported (golint)
    • Line 109: warning: exported function UnmarshalRequestArgumentsInto should have comment or be unexported (golint)
    • Line 114: warning: exported function BuildSuccessfullResponse should have comment or be unexported (golint)
    • Line 125: warning: exported function BuildErrorResponse should have comment or be unexported (golint)
    • catalog/services/github/types/types.go
    • Line 23: warning: exported type Types should have comment or be unexported (golint)
    • Line 25: warning: exported function UnmarshalTypes should have comment or be unexported (golint)
    • Line 31: warning: exported method Types.Marshal should have comment or be unexported (golint)
    • Line 35: warning: exported function UnmarshalGetIssueCommentsArguments should have comment or be unexported (golint)
    • Line 41: warning: exported method GetIssueCommentsArguments.Marshal should have comment or be unexported (golint)
    • Line 45: warning: exported function UnmarshalGetIssueCommentsReturns should have comment or be unexported (golint)
    • Line 51: warning: exported method GetIssueCommentsReturns.Marshal should have comment or be unexported (golint)
    • Line 55: warning: exported function UnmarshalIssueSearchArguments should have comment or be unexported (golint)
    • Line 61: warning: exported method IssueSearchArguments.Marshal should have comment or be unexported (golint)
    • Line 65: warning: exported function UnmarshalIssueSearchReturns should have comment or be unexported (golint)
    • Line 71: warning: exported method IssueSearchReturns.Marshal should have comment or be unexported (golint)
    • Line 75: warning: exported type GetIssueCommentsArguments should have comment or be unexported (golint)
    • Line 82: warning: exported type GetIssueCommentsReturns should have comment or be unexported (golint)
    • Line 86: warning: exported type IssueComment should have comment or be unexported (golint)
    • Line 100: warning: exported type Reactions should have comment or be unexported (golint)
    • Line 113: warning: exported type User should have comment or be unexported (golint)
    • Line 159: warning: exported type Timestamp should have comment or be unexported (golint)
    • Line 162: warning: exported type Plan should have comment or be unexported (golint)
    • Line 171: warning: exported type TextMatch should have comment or be unexported (golint)
    • Line 179: warning: exported type Match should have comment or be unexported (golint)
    • Line 184: warning: exported type IssueSearchArguments should have comment or be unexported (golint)
    • Line 189: warning: exported type IssueSearchReturns should have comment or be unexported (golint)
    • Line 193: warning: exported type Issue should have comment or be unexported (golint)
    • Line 225: warning: exported type Label should have comment or be unexported (golint)
    • Line 235: warning: exported type Milestone should have comment or be unexported (golint)
    • Line 254: warning: exported type PullRequestLinks should have comment or be unexported (golint)
    • Line 261: warning: exported type Repository should have comment or be unexported (golint)
    • Line 355: warning: exported type CodeOfConduct should have comment or be unexported (golint)
    • Line 362: warning: exported type License should have comment or be unexported (golint)
    • Line 377: warning: exported type Organization should have comment or be unexported (golint)
    • pkg/utils/utils.go
    • Line 32: warning: exported function GetEnvOrDefault should have comment or be unexported (golint)
    • Line 40: warning: exported function GetEnvOrDie should have comment or be unexported (golint)
    • Line 48: warning: exported function DieOnError should have comment or be unexported (golint)
    • catalog/services/airtable/types/types.go
    • Line 20: warning: exported function UnmarshalAddRecordsArguments should have comment or be unexported (golint)
    • Line 26: warning: exported method AddRecordsArguments.Marshal should have comment or be unexported (golint)
    • Line 30: warning: exported function UnmarshalAddRecordsReturns should have comment or be unexported (golint)
    • Line 36: warning: exported method AddRecordsReturns.Marshal should have comment or be unexported (golint)
    • Line 40: warning: exported function UnmarshalGetRecordsArguments should have comment or be unexported (golint)
    • Line 46: warning: exported method GetRecordsArguments.Marshal should have comment or be unexported (golint)
    • Line 50: warning: exported function UnmarshalGetRecordsReturns should have comment or be unexported (golint)
    • Line 56: warning: exported method GetRecordsReturns.Marshal should have comment or be unexported (golint)
    • Line 60: warning: exported type AddRecordsArguments should have comment or be unexported (golint)
    • Line 65: warning: exported type Auth should have comment or be unexported (golint)
    • Line 71: warning: exported type Record should have comment or be unexported (golint)
    • Line 79: warning: exported type AddRecordsReturns should have comment or be unexported (golint)
    • Line 83: warning: exported type GetRecordsArguments should have comment or be unexported (golint)
    • Line 88: warning: exported type GetRecordsReturns should have comment or be unexported (golint)
    • catalog/services/slack/types/types.go
    • Line 11: warning: exported function UnmarshalService should have comment or be unexported (golint)
    • Line 17: warning: exported method Service.Marshal should have comment or be unexported (golint)
    • Line 21: warning: exported type Service should have comment or be unexported (golint)
    • Line 25: warning: exported type Endpoints should have comment or be unexported (golint)
    • Line 29: warning: exported type Message should have comment or be unexported (golint)
    • Line 34: warning: exported type Arguments should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign0%

IneffAssign detects ineffectual assignments in Go code.

An error occurred while running this test (exit status 2)


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!