pedroMMM/goss

View on GitHub
resource/kernel_param.go

Summary

Maintainability
A
0 mins
Test Coverage

comment on exported method KernelParam.GetTitle should be of the form "GetTitle ..."
Open

// FIXME: Can this be refactored?
Severity: Minor
Found in resource/kernel_param.go by golint

exported method KernelParam.GetMeta should have comment or be unexported
Open

func (r *KernelParam) GetMeta() meta    { return r.Meta }
Severity: Minor
Found in resource/kernel_param.go by golint

receiver name r should be consistent with previous receiver name a for KernelParam
Open

func (r *KernelParam) GetTitle() string { return r.Title }
Severity: Minor
Found in resource/kernel_param.go by golint

exported method KernelParam.ID should have comment or be unexported
Open

func (a *KernelParam) ID() string      { return a.Key }
Severity: Minor
Found in resource/kernel_param.go by golint

receiver name r should be consistent with previous receiver name a for KernelParam
Open

func (r *KernelParam) GetMeta() meta    { return r.Meta }
Severity: Minor
Found in resource/kernel_param.go by golint

exported function NewKernelParam should have comment or be unexported
Open

func NewKernelParam(sysKernelParam system.KernelParam, config util.Config) (*KernelParam, error) {
Severity: Minor
Found in resource/kernel_param.go by golint

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

func (a *KernelParam) Validate(sys *system.System) []TestResult {
Severity: Minor
Found in resource/kernel_param.go by golint

exported type KernelParam should have comment or be unexported
Open

type KernelParam struct {
Severity: Minor
Found in resource/kernel_param.go by golint

exported method KernelParam.SetID should have comment or be unexported
Open

func (a *KernelParam) SetID(id string) { a.Key = id }
Severity: Minor
Found in resource/kernel_param.go by golint

There are no issues that match your filters.

Category
Status