Preparing report...

Report for github.com/hexya-addons/web

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


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.


golint86%

Golint is a linter for Go source code.

    • web/common_mixin.go
    • Line 30: warning: don't use underscores in Go names; func commonMixin_AddNameToRelations should be commonMixinAddNameToRelations (golint)
    • Line 73: warning: don't use underscores in Go names; func commonMixin_FormatRelationFields should be commonMixinFormatRelationFields (golint)
    • Line 115: warning: don't use underscores in Go names; func commonMixin_NameSearch should be commonMixinNameSearch (golint)
    • Line 140: warning: don't use underscores in Go names; func commonMixin_ProcessWriteValues should be commonMixinProcessWriteValues (golint)
    • Line 184: warning: don't use underscores in Go names; func commonMixin_ProcessCreateValues should be commonMixinProcessCreateValues (golint)
    • Line 226: warning: don't use underscores in Go names; func commonMixin_PostProcessCreateValues should be commonMixinPostProcessCreateValues (golint)
    • Line 248: warning: don't use underscores in Go names; func commonMixin_ExecuteO2MActions should be commonMixinExecuteO2MActions (golint)
    • Line 306: warning: don't use underscores in Go names; func commonMixin_NormalizeM2MData should be commonMixinNormalizeM2MData (golint)
    • Line 340: warning: don't use underscores in Go names; func commonMixin_GetFormviewID should be commonMixinGetFormviewID (golint)
    • Line 347: warning: don't use underscores in Go names; func commonMixin_GetFormviewAction should be commonMixinGetFormviewAction (golint)
    • Line 364: warning: don't use underscores in Go names; func commonMixin_FieldsViewGet should be commonMixinFieldsViewGet (golint)
    • Line 409: warning: don't use underscores in Go names; func commonMixin_LoadViews should be commonMixinLoadViews (golint)
    • Line 438: warning: don't use underscores in Go names; func commonMixin_GetToolbar should be commonMixinGetToolbar (golint)
    • Line 451: warning: don't use underscores in Go names; func commonMixin_ProcessView should be commonMixinProcessView (golint)
    • Line 467: warning: don't use underscores in Go names; func commonMixin_ManageGroupsOnFields should be commonMixinManageGroupsOnFields (golint)
    • Line 489: warning: don't use underscores in Go names; func commonMixin_AddModifiers should be commonMixinAddModifiers (golint)
    • Line 538: warning: don't use underscores in Go names; func commonMixin_ProcessFieldElementModifiers should be commonMixinProcessFieldElementModifiers (golint)
    • Line 597: warning: don't use underscores in Go names; func commonMixin_ProcessElementAttrs should be commonMixinProcessElementAttrs (golint)
    • Line 621: warning: don't use underscores in Go names; func commonMixin_SearchRead should be commonMixinSearchRead (golint)
    • Line 633: warning: don't use underscores in Go names; func commonMixin_AddDomainLimitOffset should be commonMixinAddDomainLimitOffset (golint)
    • Line 657: warning: don't use underscores in Go names; func commonMixin_PostProcessFilters should be commonMixinPostProcessFilters (golint)
    • Line 667: warning: don't use underscores in Go names; func commonMixin_WebReadGroup should be commonMixinWebReadGroup (golint)
    • Line 691: warning: don't use underscores in Go names; func commonMixin_WebReadGroupPrivate should be commonMixinWebReadGroupPrivate (golint)
    • Line 716: warning: don't use underscores in Go names; func commonMixin_WebSearchRead should be commonMixinWebSearchRead (golint)
    • Line 733: warning: don't use underscores in Go names; func commonMixin_ReadGroup should be commonMixinReadGroup (golint)
    • Line 768: warning: don't use underscores in Go names; func commonMixin_SearchDomain should be commonMixinSearchDomain (golint)
    • Line 779: warning: don't use underscores in Go names; func commonMixin_CheckAccessRights should be commonMixinCheckAccessRights (golint)
    • web/company.go
    • Line 12: warning: don't use underscores in Go names; var fields_Company should be fieldsCompany (golint)
    • web/filter.go
    • Line 19: warning: don't use underscores in Go names; var fields_Filter should be fieldsFilter (golint)
    • Line 37: warning: don't use underscores in Go names; func filter_GetFilters should be filterGetFilters (golint)
    • Line 49: warning: don't use underscores in Go names; func filter_Copy should be filterCopy (golint)
    • Line 57: warning: don't use underscores in Go names; func filter_CreateOrReplace should be filterCreateOrReplace (golint)
    • Line 113: warning: don't use underscores in Go names; func filter_CheckGlobalDefault should be filterCheckGlobalDefault (golint)
    • Line 130: warning: don't use underscores in Go names; func filter_GetActionCondition should be filterGetActionCondition (golint)
    • web/user.go
    • Line 14: warning: don't use underscores in Go names; var fields_User should be fieldsUser (golint)
    • Line 22: warning: don't use underscores in Go names; func user_SelfWritableFields should be userSelfWritableFields (golint)
    • Line 29: warning: don't use underscores in Go names; func user_SelfReadableFields should be userSelfReadableFields (golint)
    • Line 36: warning: don't use underscores in Go names; func user_ContextGet should be userContextGet (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!