arttor/helmify

View on GitHub
pkg/processor/storage/pvc.go

Summary

Maintainability
A
2 hrs
Test Coverage
F
58%

Method pvc.Process has 61 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (p pvc) Process(appMeta helmify.AppMetadata, obj *unstructured.Unstructured) (bool, helmify.Template, error) {
    if obj.GroupVersionKind() != pvcGVC {
        return false, nil, nil
    }
    meta, err := processor.ProcessObjMeta(appMeta, obj)
Severity: Minor
Found in pkg/processor/storage/pvc.go - About 1 hr to fix

    Method pvc.Process has 11 return statements (exceeds 4 allowed).
    Open

    func (p pvc) Process(appMeta helmify.AppMetadata, obj *unstructured.Unstructured) (bool, helmify.Template, error) {
        if obj.GroupVersionKind() != pvcGVC {
            return false, nil, nil
        }
        meta, err := processor.ProcessObjMeta(appMeta, obj)
    Severity: Major
    Found in pkg/processor/storage/pvc.go - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status