poka-yoke/spaceflight

View on GitHub

Showing 4 of 6 total issues

Function NewCollector has 122 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func NewCollector() *Collector {
    return &Collector{
        transformationsUsageAmount: prometheus.NewGauge(
            prometheus.GaugeOpts{
                Namespace:   "cloudinary",
Severity: Major
Found in pkg/cloudinary/collector.go - About 3 hrs to fix

    Avoid deeply nested control flow statements.
    Open

                        if *elem.Name == filter {
                            return elem
                        }
    Severity: Major
    Found in cmd/got/cmd/ttl.go - About 45 mins to fix

      2: cannot find package "github.com/poka-yoke/spaceflight/pkg/capcom" in any of:
      Open

          "github.com/poka-yoke/spaceflight/pkg/capcom"
      Severity: Minor
      Found in cmd/capcom/cmd/add.go by govet

      TODO found
      Confirmed

          // TODO: Check for need of pagination and handle it
      Severity: Minor
      Found in pkg/capcom/graphing.go by fixme
      Severity
      Category
      Status
      Source
      Language