Preparing report...

Report for github.com/evalphobia/aws-sdk-go-wrapper

A+    Excellent!    Found 19 issues across 107 files

Tweet

gofmt99%

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!


gocyclo94%

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.


golint84%

Golint is a linter for Go source code.

    • aws-sdk-go-wrapper/cloudwatch/response_type.go
    • Line 9: warning: exported type MetricStatisticsResponse should have comment or be unexported (golint)
    • Line 14: warning: exported function NewMetricStatisticsResponse should have comment or be unexported (golint)
    • Line 30: warning: exported type Datapoint should have comment or be unexported (golint)
    • Line 41: warning: exported function NewDatapoint should have comment or be unexported (golint)
    • aws-sdk-go-wrapper/dynamodb/table_op_batch_get_item.go
    • Line 17: warning: exported type BatchGetRequest should have comment or be unexported (golint)
    • Line 22: warning: exported method BatchGetRequest.ToInput should have comment or be unexported (golint)
    • Line 32: warning: exported type BatchGetResponse should have comment or be unexported (golint)
    • Line 53: warning: exported method BatchGetResponse.Unmarshal should have comment or be unexported (golint)
    • aws-sdk-go-wrapper/s3/response_type.go
    • Line 25: warning: exported function NewCopyObjectResponse should have comment or be unexported (golint)
    • Line 87: warning: exported function NewListObjectsResponse should have comment or be unexported (golint)
    • Line 145: warning: exported type Object should have comment or be unexported (golint)
    • Line 155: warning: exported function NewObject should have comment or be unexported (golint)
    • aws-sdk-go-wrapper/dynamodb/client_op_batch_get_item.go
    • Line 17: warning: exported type BatchGetAllRequest should have comment or be unexported (golint)
    • Line 22: warning: exported method BatchGetAllRequest.ToInput should have comment or be unexported (golint)
    • Line 34: warning: exported type BatchGetAllResponse should have comment or be unexported (golint)
    • Line 55: warning: comment on exported method BatchGetAllResponse.Unmarshal should be of the form "Unmarshal ..." (golint)
    • aws-sdk-go-wrapper/pinpointemail/type.go
    • Line 13: warning: exported type EmailInput should have comment or be unexported (golint)
    • Line 32: warning: exported method EmailInput.ToInput should have comment or be unexported (golint)
    • Line 78: warning: exported method Content.ToContent should have comment or be unexported (golint)
    • Line 118: warning: exported type Tag should have comment or be unexported (golint)
    • Line 123: warning: exported method Tag.ToTag should have comment or be unexported (golint)
    • aws-sdk-go-wrapper/costexplorer/response_type.go
    • Line 14: warning: exported function NewUsageResult should have comment or be unexported (golint)
    • Line 29: warning: exported type GroupDefinition should have comment or be unexported (golint)
    • Line 61: warning: exported type ResultByTime should have comment or be unexported (golint)
    • Line 107: warning: exported type Group should have comment or be unexported (golint)
    • Line 142: warning: exported type MetricValues should have comment or be unexported (golint)
    • Line 182: warning: exported method MetricValues.GetOne should have comment or be unexported (golint)
    • Line 202: warning: exported type MetricValue should have comment or be unexported (golint)
    • aws-sdk-go-wrapper/cloudwatch/request_type.go
    • Line 11: warning: exported type MetricStatisticsInput should have comment or be unexported (golint)
    • Line 27: warning: exported method MetricStatisticsInput.ToInput should have comment or be unexported (golint)
    • Line 66: warning: exported type Dimension should have comment or be unexported (golint)
    • Line 71: warning: exported type PutMetricDataInput should have comment or be unexported (golint)
    • Line 76: warning: exported method PutMetricDataInput.AddMetric should have comment or be unexported (golint)
    • Line 80: warning: exported method PutMetricDataInput.ToInput should have comment or be unexported (golint)
    • Line 93: warning: exported type MetricDatum should have comment or be unexported (golint)
    • Line 107: warning: exported method MetricDatum.ToSDKValue should have comment or be unexported (golint)
    • Line 137: warning: exported type StatisticSet should have comment or be unexported (golint)
    • Line 150: warning: exported method StatisticSet.ToSDKValue should have comment or be unexported (golint)
    • aws-sdk-go-wrapper/cloudtrail/request_type.go
    • Line 20: warning: exported method LookupEventsInput.ToInput should have comment or be unexported (golint)
    • Line 44: warning: exported type LookupAttribute should have comment or be unexported (golint)
    • Line 49: warning: exported method LookupAttribute.ToSDKValue should have comment or be unexported (golint)
    • aws-sdk-go-wrapper/dynamodb/const.go
    • Line 10: warning: comment on exported const AttributeTypeString should be of the form "AttributeTypeString ..." (golint)
    • Line 12: warning: exported const AttributeTypeNumber should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: comment on exported const ComparisonOperatorEQ should be of the form "ComparisonOperatorEQ ..." (golint)
    • Line 39: warning: comment on exported const KeyTypeHash should be of the form "KeyTypeHash ..." (golint)
    • aws-sdk-go-wrapper/dynamodb/type.go
    • Line 500: warning: exported type KeysAndAttributes should have comment or be unexported (golint)
    • Line 508: warning: exported method KeysAndAttributes.ToSDK should have comment or be unexported (golint)
    • Line 587: warning: exported type AttributeValue should have comment or be unexported (golint)
    • Line 648: warning: exported method AttributeValue.ToSDK should have comment or be unexported (golint)
    • Line 735: warning: exported type ConsumedCapacity should have comment or be unexported (golint)
    • Line 782: warning: exported type Capacity 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!