vorteil/vorteil

View on GitHub
cmd/vorteil/main.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function main has 61 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func main() {

    defer cli.HandleErrors()

    // Init FOSS COMMANDS
Severity: Minor
Found in cmd/vorteil/main.go - About 1 hr to fix

    Function main has 12 return statements (exceeds 4 allowed).
    Open

    func main() {
    
        defer cli.HandleErrors()
    
        // Init FOSS COMMANDS
    Severity: Major
    Found in cmd/vorteil/main.go - About 1 hr to fix

      2: cannot find package "github.com/sirupsen/logrus" in any of:
      Open

          "github.com/sirupsen/logrus"
      Severity: Minor
      Found in cmd/vorteil/main.go by govet

      There are no issues that match your filters.

      Category
      Status