Fitbit/smartling

View on GitHub
model/project_resource.go

Summary

Maintainability
A
45 mins
Test Coverage

Avoid deeply nested control flow statements.
Open

            } else if i < p-1 {
                files = allFiles[low:high]
            } else {
                files = allFiles[low:]
            }
Severity: Major
Found in model/project_resource.go - About 45 mins to fix

    exported method ProjectResource.Files should have comment or be unexported
    Open

    func (r *ProjectResource) Files() []string {
    Severity: Minor
    Found in model/project_resource.go by golint

    exported method ProjectResource.BatchFiles should have comment or be unexported
    Open

    func (r *ProjectResource) BatchFiles(size int) [][]string {
    Severity: Minor
    Found in model/project_resource.go by golint

    package comment should be of the form "Package model ..."
    Wontfix

    // Copyright 2016, Fitbit, Inc.
    Severity: Minor
    Found in model/project_resource.go by golint

    exported type ProjectResource should have comment or be unexported
    Open

    type ProjectResource struct {
    Severity: Minor
    Found in model/project_resource.go by golint

    exported method ProjectResource.FilePath should have comment or be unexported
    Open

    func (r *ProjectResource) FilePath(filename string, locale string) (string, error) {
    Severity: Minor
    Found in model/project_resource.go by golint

    There are no issues that match your filters.

    Category
    Status