config/resolver.go

Summary

Maintainability
A
45 mins
Test Coverage

Method TaskExtendsResolver.resolve has 7 return statements (exceeds 4 allowed).
Open

func (r *TaskExtendsResolver) resolve(task Task) error {
    var (
        name    = task.GetName()
        extends = task.GetExtends()
    )
Severity: Major
Found in config/resolver.go - About 45 mins to fix

    exported method TaskExtendsResolver.Add should have comment or be unexported
    Open

    func (r *TaskExtendsResolver) Add(task Task) {
    Severity: Minor
    Found in config/resolver.go by golint

    exported type TaskExtendsResolver should have comment or be unexported
    Open

    type TaskExtendsResolver struct {
    Severity: Minor
    Found in config/resolver.go by golint

    exported method TaskExtendsResolver.Resolve should have comment or be unexported
    Open

    func (r *TaskExtendsResolver) Resolve() error {
    Severity: Minor
    Found in config/resolver.go by golint

    exported function NewTaskExtendsResolver should have comment or be unexported
    Open

    func NewTaskExtendsResolver(config *Config) *TaskExtendsResolver {
    Severity: Minor
    Found in config/resolver.go by golint

    There are no issues that match your filters.

    Category
    Status