pkg/build/builder/ansible/static.go

Summary

Maintainability
C
1 day
Test Coverage
F
21%

File static.go has 841 lines of code (exceeds 500 allowed). Consider refactoring.
Open

// Code generated by "esc -no-compress -ignore static.go -o ansible/static.go -pkg ansible ansible"; DO NOT EDIT.

package ansible

import (
Severity: Major
Found in pkg/build/builder/ansible/static.go - About 1 day to fix

    Method _escStaticFS.prepare has 5 return statements (exceeds 4 allowed).
    Open

    func (_escStaticFS) prepare(name string) (*_escFile, error) {
        f, present := _escData[path.Clean(name)]
        if !present {
            return nil, os.ErrNotExist
        }
    Severity: Major
    Found in pkg/build/builder/ansible/static.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status