Preparing report...

Report for github.com/evalphobia/go-face-plusplus

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


golint70%

Golint is a linter for Go source code.

    • go-face-plusplus/beautify/merge_face_request.go
    • Line 36: warning: exported method MergeFaceRequest.HasTemplateRectangleInt should have comment or be unexported (golint)
    • Line 40: warning: exported method MergeFaceRequest.HasMergeRectangleInt should have comment or be unexported (golint)
    • Line 74: warning: exported method MergeFaceResponse.GetResultImage should have comment or be unexported (golint)
    • go-face-plusplus/client/client.go
    • Line 16: warning: exported function New should have comment or be unexported (golint)
    • Line 20: warning: exported method Client.SetAPIKeys should have comment or be unexported (golint)
    • Line 25: warning: exported method Client.SetOption should have comment or be unexported (golint)
    • go-face-plusplus/face/face_detect_request.go
    • Line 39: warning: exported const ReturnLandmarkNO should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported method ReturnAttributes.Join should have comment or be unexported (golint)
    • Line 59: warning: exported const AttributeGender should have comment (or a comment on this block) or be unexported (golint)
    • go-face-plusplus/face/face_detect_response.go
    • Line 15: warning: exported type Face should have comment or be unexported (golint)
    • Line 22: warning: exported type FaceRectangle should have comment or be unexported (golint)
    • Line 29: warning: comment on exported type Landmark should be of the form "Landmark ..." (with optional leading article) (golint)
    • go-face-plusplus/face/face_detect_response_attribute.go
    • Line 21: warning: exported type StringValue should have comment or be unexported (golint)
    • Line 25: warning: exported type IntValue should have comment or be unexported (golint)
    • Line 29: warning: exported type ThresholdValue should have comment or be unexported (golint)
    • Line 34: warning: exported type HeadPose should have comment or be unexported (golint)
    • Line 40: warning: exported type Blur should have comment or be unexported (golint)
    • Line 46: warning: exported type EyeStatus should have comment or be unexported (golint)
    • Line 60: warning: exported type Emotion should have comment or be unexported (golint)
    • Line 70: warning: exported type MouthStatus should have comment or be unexported (golint)
    • Line 77: warning: exported type EyeGaze should have comment or be unexported (golint)
    • Line 90: warning: exported type SkinStatus should have comment or be unexported (golint)
    • Line 97: warning: exported type Beauty 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!


misspell90%

Misspell Finds commonly misspelled English words