wisedog/ladybug

View on GitHub

Showing 112 of 112 total issues

exported const ReviewTestcase should have comment (or a comment on this block) or be unexported
Open

    ReviewTestcase = 1 + iota
Severity: Minor
Found in models/review.go by golint

struct field ArtifactsUrl should be ArtifactsURL
Open

    ArtifactsUrl    string
Severity: Minor
Found in models/build.go by golint

struct field AssigneeId should be AssigneeID
Open

    AssigneeId  int // TODO add foreign key
Severity: Minor
Found in models/issue.go by golint

struct field Id should be ID
Open

    Id     string `json:"id"`
Severity: Minor
Found in models/wrapper.go by golint

if block ends with a return statement, so drop this else and outdent its block
Open

        } else {
Severity: Minor
Found in controllers/util.go by golint

exported method Build.Validate should have comment or be unexported
Open

func (build *Build) Validate() map[string]string {
Severity: Minor
Found in models/build.go by golint

comment on exported type JSTreeTestSuiteWrapper should be of the form "JSTreeTestSuiteWrapper ..." (with optional leading article)
Open

// Wrapper type for print out JSON format used in JSTree
Severity: Minor
Found in models/wrapper.go by golint

exported type JSTreeTestSuiteWrapperWithChildren should have comment or be unexported
Open

type JSTreeTestSuiteWrapperWithChildren struct {
Severity: Minor
Found in models/wrapper.go by golint

if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
Open

    } else {
Severity: Minor
Found in main.go by golint

struct field IdByTool should be IDByTool
Open

    IdByTool       string // for example, jenkins builds id is string
Severity: Minor
Found in models/build.go by golint

exported type Issue should have comment or be unexported
Open

type Issue struct {
Severity: Minor
Found in models/issue.go by golint

struct field Id should be ID
Open

    Id   string `json:"id"`
Severity: Minor
Found in models/wrapper.go by golint
Severity
Category
Status
Source
Language