cmd/werf/docs/replacers/kubectl/kubectl.go

Summary

Maintainability
D
2 days
Test Coverage
A
99%

Function setNewDocs has 476 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func setNewDocs(cmd *cobra.Command) {
    switch cmd.Use {
    case "events [--for TYPE/NAME] [--watch]":
        cmd.Annotations = map[string]string{
            common.DocsLongMD: GetAlphaEventsDocs().LongMD,
Severity: Major
Found in cmd/werf/docs/replacers/kubectl/kubectl.go - About 2 days to fix

    File kubectl.go has 505 lines of code (exceeds 500 allowed). Consider refactoring.
    Open

    package kubectl
    
    import (
        "fmt"
    
    
    Severity: Minor
    Found in cmd/werf/docs/replacers/kubectl/kubectl.go - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status